+ 1
Simple code issue
Hi. This code contains a couple of defs and a simple while with an if statement in it. The problem is that whatever the “result_text” variable would be, the else part of the if statement only executes when it’s not supposed to. https://code.sololearn.com/cC8jvUnKWTQg/?ref=app
1 ответ
+ 1
Tesseract is an OCR library if I recall correctly...but we can't see what you're reading or its output sooo...
Assuming:
~ you're not OCR'ing paragraphs of text, but instead little squares of a couple numbers...
~ that "image_to_string()" indeed returns a string object...
~ you are getting answers that human eyes would say should match the list...
My wild guess is that...
~ your list is full of integer objects.