MATLAB: How to get character from mouse

freehand drawingocr

I want to get input from mouse for as image. I am working on OCR. imfreehand get input from mouse but at the end it turns out to be a polygon. I couldnot get the desired output. Please help

Best Answer

use
imfreehand('Closed',false)
to avoid the polygon..
Related Question