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
 How to do Barcode recognition of PDF file that has
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

ImageEnSA

14 Posts

Posted - Aug 28 2019 :  20:30:12  Show Profile  Reply

Hi everyone,

I need a demo of barcode recognition of a pdf file that has multiple pages (each page might have multiple barcodes)

thanks

xequte

38616 Posts

Posted - Aug 29 2019 :  16:55:24  Show Profile  Reply
Hi

That will be two demos. To load PDF files into ImageEn you need a plug-in such as WPViewPDF:

https://www.imageen.com/WPViewPDF/

Barcode recognition is supported by our IEVision add-on, which has a demo at:

https://www.imageen.com/demos/index.html#IEVision

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

ImageEnSA

14 Posts

Posted - Aug 29 2019 :  20:18:27  Show Profile  Reply
OK, already have them .. may you please send me an example of Barcode recognition of PDF file that has multiples files

Go to Top of Page

xequte

38616 Posts

Posted - Aug 29 2019 :  22:30:44  Show Profile  Reply
Hi

The procedure for multipage files will be the same as for a single image file, except set ImageIndex before calling LoadFromFile.

https://www.imageen.com/help/TIOParams.ImageIndex.html


Here are some examples:

// Load a GIF and save each of its pages as a BMP File
ImageEnView1.IO.LoadFromFile('C:\input.gif');  // Load first image to get valid value for Params.ImageCount
for I := 0 to ImageEnView1.IO.Params.ImageCount - 1 do
begin
  ImageEnView1.IO.Params.ImageIndex := I;
  ImageEnView1.IO.LoadFromFile('C:\input.gif');
  ... Check for barcodes ...
end;

OR

idx := 0;
ImageEnView1.IO.LoadFromFile('C:\input.tif');
 ... Check for barcodes ...
while ImageEnView1.IO.Seek( ieioSeekNext ) <> idx do
begin
  ImageEnView1.IO.PrintImage();
  ... Check for barcodes ...
  inc(idx);
end


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: