I would like to split the linked image into each phrase. However, I struggle to get the segmentation to work. I would like to split the sentence so I get multiple images, the splicing should be where there are large whitespaces.
I tried using findContours in cv2, but I could not get it to work. Could I get any help on this? Thanks.
Specifically, I am not sure how to find the white spaces. For instance in the image below, there should be a cut between "1 - 3/4'' Corp Stop" and "45' of 3/4'' Copper."
source https://stackoverflow.com/questions/70909623/splitting-image-of-handwriting-sentence-into-each-phrase
Comments
Post a Comment