how to get character from mouse

1 visualización (últimos 30 días)
Aravin
Aravin el 30 de Ag. de 2016
Respondida: KSSV el 30 de Ag. de 2016
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

Respuesta aceptada

KSSV
KSSV el 30 de Ag. de 2016
use
imfreehand('Closed',false)
to avoid the polygon..
  1 comentario
Aravin
Aravin el 30 de Ag. de 2016
Thank you sir. This is exactly what i want. May I request if you tell me how to increase the width of the line. As it is too thin now.

Iniciar sesión para comentar.

Más respuestas (1)

KSSV
KSSV el 30 de Ag. de 2016
You may follow the below link:
https://in.mathworks.com/matlabcentral/answers/91818-how-can-i-control-the-thickness-of-the-lines-in-imcrop-and-imfreehand-in-image-processing-toolbox-6
Way of thanking in mathworks is accepting the answer.

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by