how to get character from mouse

3 ビュー (過去 30 日間)
Aravin
Aravin 2016 年 8 月 30 日
回答済み: KSSV 2016 年 8 月 30 日
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

採用された回答

KSSV
KSSV 2016 年 8 月 30 日
use
imfreehand('Closed',false)
to avoid the polygon..
  1 件のコメント
Aravin
Aravin 2016 年 8 月 30 日
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.

サインインしてコメントする。

その他の回答 (1 件)

KSSV
KSSV 2016 年 8 月 30 日
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.

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by