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 |
-
pytesseract.pytesseract.tesseract_cmd = "
|
52 |
|
53 |
# Run tesseract OCR on the cropped image
|
54 |
text = pytesseract.image_to_string(new_img, lang="eng")
|
|
|
48 |
st.image(image_with_contours, caption="Image with detected license plate")
|
49 |
|
50 |
# Configuration for tesseract
|
51 |
+
pytesseract.pytesseract.tesseract_cmd = "tessract1/tesseract.exe"
|
52 |
|
53 |
# Run tesseract OCR on the cropped image
|
54 |
text = pytesseract.image_to_string(new_img, lang="eng")
|