Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError: [WinError 2] The system cannot find the file specified #6

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

Hemanth-Mydugolam
Copy link

i dont know why this problem is rising please give me solution. Following is the code
from PIL import Image
import pytesseract
print(pytesseract.image_to_string(Image.open('text.jpg')))

error: Traceback (most recent call last):
File "extract_text.py", line 3, in
print(pytesseract.image_to_string(Image.open('text.JPG')))
File "C:\Program Files (x86)\Python36-32\lib\site-packages\pytesseract\pytesseract.py", line 122, in image_to_string
config=config)
File "C:\Program Files (x86)\Python36-32\lib\site-packages\pytesseract\pytesseract.py", line 46, in run_tesseract
proc = subprocess.Popen(command, stderr=subprocess.PIPE)
File "C:\Program Files (x86)\Python36-32\lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "C:\Program Files (x86)\Python36-32\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

@rmast
Copy link

rmast commented Jan 27, 2024

I watched your demo-scan. It has the same wrong inversions as I have. The name of your pullrequest doesn't make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants