replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Reading text from a bmp file
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reading text from a bmp file

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General
View previous topic :: View next topic  
Author Message
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Mon Jul 06, 2015 8:45 pm    Post subject: Reading text from a bmp file Reply with quote

I'm trying to automate something.

As a first step, I have a bitmap file - like the one in the link below

https://files.staehleprecision.com/Heidenhain/LS703704replacement/Scale%20Drawings/

I want my fortran code to read some text in this bmp file.

Is it possible?[/url]
Back to top
View user's profile Send private message
christyleomin



Joined: 08 Apr 2011
Posts: 155

PostPosted: Mon Jul 06, 2015 11:06 pm    Post subject: Reply with quote

Eagerly looking forward for some help, Sirs Smile
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2402
Location: Yateley, Hants, UK

PostPosted: Tue Jul 07, 2015 9:55 am    Post subject: Reply with quote

Oh Drat, there I was thinking that Paul would come up with an undocumented function GET_TEXT_FROM_IMAGE@ and the job would be done! (Just joking ...)

I agree with John that it is a really difficult task. OCR is hard enough, although the technology exists and it might work well enough on large clearly defined character strings in your image, because engineering drawings usually use 'stick' fonts in a limited range of sizes. However, as engineering drawings are rarely done on paper sizes as small as A3 (quite often on A1 or A0) then a BMP is likely to be low resolution or with too few pixels to get a good recognition of the characters.

Anyway, once you have the text, what are you going to do with it without the drawing it relates to? Translate them to Sanskrit and rewrite them on the image?

Perhaps, if the drawings were done originally in software such as AutoCAD, you would be better off just reading the data file for that and sifting out the text strings. Many versions of AutoCAD save files in plain text ...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group