displaying text

4 次查看(过去 30 天)
kash
kash 2012-4-26
I have a an image
http://imgur.com/5lWKR, in which i need only the text to be displayed, please help, i dont need any background, just that text must be displayed
  2 个评论
Geoff
Geoff 2012-4-26
Are you supposed to do this on lots of similar images, or just this one? Do you allow any manual input, or does it need to be completely automatic?
PS: Please edit your answer and enclose the link with < and >. It's getting confused by the fact you put a comma straight after it.
kash
kash 2012-4-26
Geoff >yes i have do this on more images say 10 ><input is manual user have to select the input>

请先登录,再进行评论。

回答(1 个)

Jan
Jan 2012-4-26
What does "text to be dispalyed" exactly mean? Do you want to crop the image or to use OCR to convert the picture to a string?
For the later case I could provide the required task by using my eyes and brain:
fprintf(['NOTICE\nThank you for noticing this new notice\n', ...
'Your noticing it has been noted\n', ...
'and will be reported to the authorities']);
  2 个评论
kash
kash 2012-4-26
No jan it is manual operation ,i want to extract the text and display,for example say black backgroung with only the text in white in it
Andrei Bobrov
Andrei Bobrov 2012-4-26
+1
And no problem! ;)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by