Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ if img_file_buffer is not None:
|
|
| 48 |
st.image(image_with_contours, caption="Image with detected license plate")
|
| 49 |
|
| 50 |
# Configuration for tesseract
|
| 51 |
-
tesseract_path =
|
| 52 |
pytesseract.pytesseract.tesseract_cmd = tesseract_path
|
| 53 |
|
| 54 |
# Run tesseract OCR on the cropped image
|
|
|
|
| 48 |
st.image(image_with_contours, caption="Image with detected license plate")
|
| 49 |
|
| 50 |
# Configuration for tesseract
|
| 51 |
+
tesseract_path = r"D:\number_plate\tessract\tesseract.exe"
|
| 52 |
pytesseract.pytesseract.tesseract_cmd = tesseract_path
|
| 53 |
|
| 54 |
# Run tesseract OCR on the cropped image
|