ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Distinguish text and graphic
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PStadler

Austria
60 Posts

Posted - Nov 12 2013 :  00:13:23  Show Profile  Reply
Hello,

Is it possible with ImageEn to distinguish between pages scanned or saved as tiff
if they are only text or if they contain images?

Sincerely
Peter

fab

1310 Posts

Posted - Nov 27 2013 :  07:46:05  Show Profile  Reply
The short answer: I'm sorry, it is not possible.

However, it depends by the image type. If it is colored, you could look at the entire page histogram. An histogram with several color shades may (or not?) contain an image.

Using IEVision you could call TIEVisionOCR.getRegions with "textOnly = False": an empty string for reasonable large rectangle may (or not?) indicate an image.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: