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
Rohit Kumar
2015년 7월 3일
ma,am can you please give me the source code of video text extraction..
songhyeon Jeon
2018년 12월 28일
Can you please give me the source code..? please help me..
Image Analyst
2018년 12월 28일
Did any of you four see the link I gave below?
답변 (2개)
Image Analyst
2015년 7월 4일
1 개 추천
Rohit, see this link:
Automatically Detect and Recognize Text in Natural Images http://www.mathworks.com/help/vision/examples/automatically-detect-and-recognize-text-in-natural-images.html?prodcode=VP&language=en
Image Analyst
2011년 12월 25일
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.
댓글 수: 1
Image Analyst
2013년 2월 20일
See my Image Segmentation Tutorial. The code is in there. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
카테고리
도움말 센터 및 File Exchange에서 Audio and Video Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!