Ask Your Question

Character Slant Correction

asked 2013-07-02 05:08:08 -0500

123ezone gravatar image

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 !

edit retag flag offensive close merge delete


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.

123ezone gravatar image123ezone ( 2013-07-02 12:06:07 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-02 06:46:40 -0500

Jawaher Khemakhem gravatar image

Here some codes here and here may be it help you .

edit flag offensive delete link more


Thank You!

123ezone gravatar image123ezone ( 2013-07-02 12:03:16 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-07-02 05:08:08 -0500

Seen: 944 times

Last updated: Jul 02 '13