Thanks for reaching out!
The error means that you haven't installed the libraries that the code requires to run. The opkg outputs that you receive say that the packages you are trying to install do not exist on the repo.
I tried to install the required packages, these are the steps I took:
pip install --upgrade pip
pip install pytesseract
pip install opencv-python
pip install pyttsx
opkg install tesseract tesseract-dbg tesseract-dev tesseract-doc
pip install tesseract-ocr
I was able to get rid of some errors but the following stayed:
Traceback (most recent call last):
File "2test.py", line 10, in <module>
api = tesseract.TessBaseAPI()
NameError: name 'tesseract' is not defined
Where did you get this code? Which packages did you install in Windows in order to make run it?
Let me know.
I collected code by googling. I modified the code according to my requirements of project.
But while running python progrom on windows i it acquires black screen like cmd.exe.
Still same error is following.
Is it possible for your to share the link of the page where you found the code you based your project in?
I'm afraid I don't understand this sentence:
"...But while running python progrom on windows i it acquires black screen like cmd.exe…"
What do you mean by that?
Did you install any python packages in order to run this code on your PC? If so, which ones and how?
Let me know.