Update ImageProcessor.py
Browse files- ImageProcessor.py +0 -1
ImageProcessor.py
CHANGED
|
@@ -23,7 +23,6 @@ def is_leftmost(image, x, y_top, y_bot):
|
|
| 23 |
|
| 24 |
def get_indents(filename, body_bbox):
|
| 25 |
doc = fitz.open(filename)
|
| 26 |
-
df = pd.read_csv(data_csv_filename)
|
| 27 |
indented_lines = []
|
| 28 |
for (pg_ind, page) in enumerate(doc):
|
| 29 |
image = cv2.imread(filename.replace('opinion.pdf', str(pg_ind) + '.png'))
|
|
|
|
| 23 |
|
| 24 |
def get_indents(filename, body_bbox):
|
| 25 |
doc = fitz.open(filename)
|
|
|
|
| 26 |
indented_lines = []
|
| 27 |
for (pg_ind, page) in enumerate(doc):
|
| 28 |
image = cv2.imread(filename.replace('opinion.pdf', str(pg_ind) + '.png'))
|