Vikas01 commited on
Commit
f8b021f
·
1 Parent(s): f4c386c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = r"tesseract1\tesseract.exe"
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 = "tesseract1/tesseract.exe"
52
 
53
  # Run tesseract OCR on the cropped image
54
  text = pytesseract.image_to_string(new_img, lang="eng")