Yeah my bad seems that just removing the resize code has made it able to 
actually detect the 1 as well thanks for all the help. 

On Tuesday, May 7, 2019 at 4:04:19 PM UTC-4, zdenop wrote:
>
> Sorry I misread the python message: actually tesseract did not find there 
> anything (which at the end is the same as there is l ;-) )
>
> First of all I would stop with that idiotic resizing. For tesseract is 
> AFAIR is best to have letter at size 13-30 px. Your as 240!
> Try to provide original captured image. 
>
>
> Zdenko
>
>
> ut 7. 5. 2019 o 21:41 Sean Connell <[email protected] <javascript:>> 
> napísal(a):
>
>> I see so should I fool around with the contrast or is there a way to make 
>> it so it while only use number selection when reading the image?
>>
>> On Tuesday, May 7, 2019 at 3:26:50 PM UTC-4, zdenop wrote:
>>>
>>> probably because it is recognized as "l" instead of 1 and you can not 
>>> convert letter to integer.
>>>
>>> Zdenko
>>>
>>>
>>> ut 7. 5. 2019 o 21:21 Sean Connell <[email protected]> napísal(a):
>>>
>>>> Thanks a bunch it works now. The only issue it has is when trying to 
>>>> detect the number 1 for some reason it just thinks nothing is there. 
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "tesseract-ocr" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/tesseract-ocr/9e2877fe-bf89-4446-bfc7-021a5bb7de86%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tesseract-ocr/9e2877fe-bf89-4446-bfc7-021a5bb7de86%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "tesseract-ocr" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/tesseract-ocr.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tesseract-ocr/74af4e0c-7ed0-4100-8d75-1719ae9d10bd%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/74af4e0c-7ed0-4100-8d75-1719ae9d10bd%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/eb945896-d0dc-47fd-b0ed-7e9a4bb5344e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to