Text extraction and segmentation open CV
I've never used OpenCV before, but I'm trying to write my neural network system to recognize text and I need some tool for text extraction/ segmentation. How can I use java OpenCV to preprocess and segmentate an image containing text. I don't need to recognize the text, I just need to get each letter in a separate image. Something like this : Try this code .No need of OpenCV import java.awt.image.BufferedImage; import java.util.ArrayList; import java.util.List; import org.neuroph.imgrec.ImageUtilities; public class CharExtractor { private int cropTopY = 0;//up locked coordinate private int