segment image before send it to tesseract

49 views
Skip to first unread message

Jingjing Lin

unread,
Jul 5, 2019, 1:18:11 PM7/5/19
to tesseract-ocr
If we do the segmentation beforehand, can we send it to Tesseract and replace the segmentation tesseract is doing? I have x, y, w and h from my own segmentation method. I don't want to crop the image because I still want to treat the image as a whole image and maintain the positions of the text. 

Zdenko Podobny

unread,
Jul 5, 2019, 2:25:45 PM7/5/19
to tesser...@googlegroups.com

pi 5. 7. 2019 o 19:18 Jingjing Lin <joejo...@gmail.com> napísal(a):
If we do the segmentation beforehand, can we send it to Tesseract and replace the segmentation tesseract is doing? I have x, y, w and h from my own segmentation method. I don't want to crop the image because I still want to treat the image as a whole image and maintain the positions of the text. 

--
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 tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
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/1f136942-51e0-46d4-b507-34214d8fc574%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jingjing Lin

unread,
Jul 5, 2019, 2:57:12 PM7/5/19
to tesseract-ocr
Thanks. It works. 
在 2019年7月5日星期五 UTC-4下午2:25:45,zdenop写道:
pi 5. 7. 2019 o 19:18 Jingjing Lin <joejo...@gmail.com> napísal(a):
If we do the segmentation beforehand, can we send it to Tesseract and replace the segmentation tesseract is doing? I have x, y, w and h from my own segmentation method. I don't want to crop the image because I still want to treat the image as a whole image and maintain the positions of the text. 

--
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 tesser...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages