Update app.py
Browse files
app.py
CHANGED
|
@@ -66,7 +66,7 @@ def plan2img(plan):
|
|
| 66 |
fname = plan
|
| 67 |
|
| 68 |
#op='pictures/found.png'
|
| 69 |
-
pages = convert_from_path(fname
|
| 70 |
imgg = np.array(pages[0])
|
| 71 |
# #op='pictures/found.png'
|
| 72 |
# doc = fitz.open(fname) # open document
|
|
|
|
| 66 |
fname = plan
|
| 67 |
|
| 68 |
#op='pictures/found.png'
|
| 69 |
+
pages = convert_from_path(fname)#, poppler_path = r'/poppler-0.68.0/bin')
|
| 70 |
imgg = np.array(pages[0])
|
| 71 |
# #op='pictures/found.png'
|
| 72 |
# doc = fitz.open(fname) # open document
|