openfoodfacts/off-nutrition-table-extractor

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

dragie opened this issue · 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

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.

@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"