Vikas01 commited on
Commit
6046ae7
·
1 Parent(s): 1cbfefb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,8 +48,8 @@ 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 = r"D:\number_plate\tessract\tesseract.exe"
52
- pytesseract.pytesseract.tesseract_cmd = tesseract_path
53
 
54
  # Run tesseract OCR on the cropped image
55
  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
+ # 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
55
  text = pytesseract.image_to_string(new_img, lang="eng")