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

Too many values to unpack #2

Open
SaikrishnaViridis opened this issue Oct 18, 2017 · 2 comments
Open

Too many values to unpack #2

SaikrishnaViridis opened this issue Oct 18, 2017 · 2 comments
Labels

Comments

@SaikrishnaViridis
Copy link

" /crop_morphology.py test.jpg " is returning too many values to unpack message. Could you please provide the fix for this.

@dilippuri
Copy link
Owner

Actually the purpose of this " /crop_morphology.py test.jpg " is to crop the image where text resides.

@datNurd
Copy link

datNurd commented Nov 29, 2017

Hey Sai krishna,
Replace, 'contours, hierarchy' to '_,contours, hierarchy' in the python file(lines 116 and 237). This error is due to the version of CV2. The new CV2 version returns 3 values namely image,contours, hierarchy.

@dilippuri dilippuri added help wanted Hacktoberfest For Hacktoberfest labels Oct 1, 2018
dilippuri pushed a commit that referenced this issue Oct 11, 2019
rebasing from original repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants