off-nutrition-table-extractor icon indicating copy to clipboard operation
off-nutrition-table-extractor copied to clipboard

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Open dragie opened this issue 5 years ago • 2 comments

Getting below error when i run the code

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

dragie avatar Dec 16 '19 19:12 dragie

@dragie

I had tried to get this running a couple months ago and also was getting an error. Can you provide the full trace back for your error?

This project does not provide a requirements file with the specific versions of all dependancies used. I think the error may be due to an update in one of the dependancies breaking some functionality used here, but I can try to check into it further.

alexbhandari avatar Jan 05 '20 19:01 alexbhandari

@dragie I had a look at your issue and i think you are putting these square brackets with the image path. Try without square brackets. Eg- "python detection.py -i test_images\image_name.jpg"

Utkarshrnigam avatar Jan 20 '20 13:01 Utkarshrnigam