Character Slant Correction
Hi, I'm Trying to correct slant of cursive handwritten characters before do the segmentation.What I need is to rotate the letters so they are upright. Can someone please help with opencv code to find a solution. Thank You very much !
std::vector<cv::Point> points;
cv::Mat_<uchar>::iterator it = img.begin<uchar>();
cv::Mat_<uchar>::iterator end = img.end<uchar>();
for (; it != end; ++it)
if (*it)
Can someone help me with converting this into opencv version 2.4.3. I have tried that but it didn't work.