OCR with javacv
I am making an OCR for my project and stuck on a point, Right now i am performing segmentation on the basis of contours its working fine with few images but there few more where it fails even when the image quality is good, I would appreciate if someone suggest me more accurate way, and if someone provide a code example, here is my current code. public static void imageBinarization(IplImage src, IplImage dst){ IplImage r, g, b, s; r = cvCreateImage(cvGetSize(src), IPL_DEPTH_8U, 1); g = cvCreateImage(cvGetSize(src), IPL_DEPTH_8U, 1); b = cvCreateImage(cvGetSize(src), IPL_DEPTH_8U, 1); cvSplit