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

ValueError: too many values to unpack (expected 2) #8

Closed
beyond2013 opened this issue Sep 30, 2020 · 1 comment
Closed

ValueError: too many values to unpack (expected 2) #8

beyond2013 opened this issue Sep 30, 2020 · 1 comment

Comments

@beyond2013
Copy link

Operating System: Windows 10 - 64 bit
Python 3.7
after installing requirements.txt
when I run python OCR.py I get the error as mentioned in the subject: ValueError: too many values to unpack (expected 2)
pythoneror

@HusseinYoussef
Copy link
Owner

What OpenCV version are you using?
It is an issue with OpenCV version since the behavior is different across different versions of OpenCV (OpenCV2, 3, 4). I am using OpenCV4.
I think you had an older version already so it skipped installing OpenCV.
I have modified the requirements.txt to specify the version I was using (version 4.1.1.26) so please install again and let me know.

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

No branches or pull requests

2 participants