Text Detection & extraction in video

Hello I had detected text in video using sobel filter & I had search the connected component now I want to generate the rectangular region arrount the text so that I can extract text using matlab plz tell me how to generate rectangular region arround text. Thanking u.

4 件のコメント

msp
msp 2013 年 2 月 20 日
編集済み: msp 2013 年 2 月 20 日
Can u please share the source code for extraction in video please help me out.
Rohit  Kumar
Rohit Kumar 2015 年 7 月 3 日
ma,am can you please give me the source code of video text extraction..
songhyeon Jeon
songhyeon Jeon 2018 年 12 月 28 日
Can you please give me the source code..? please help me..
Image Analyst
Image Analyst 2018 年 12 月 28 日
Did any of you four see the link I gave below?

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

回答 (2 件)

Image Analyst
Image Analyst 2011 年 12 月 25 日

0 投票

Not quite sure how to answer. Just detect the top and bottom rows, and the left and right columns of where your Sobel filter determines there to be text, and that is your rectangle.
If you want to crop the original grayscale image and save the cropped portion out into its own separate image you can do this:
subImage = fullSizedImage(topRow:bottomRow, leftColumn:rightColumn);
If you want, you can use plot() or rectangle() to display a colored box over the original image in the graphics overlay.
plot([leftColumn rightColumn rightColumn leftColumn leftColumn],...
[topRow topRow bottomRow bottomRow topRow], 'b-');
If you need something different, then say what you need in more explicit terms.

質問済み:

2011 年 12 月 25 日

コメント済み:

2018 年 12 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by