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
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Scan with twain with immediate barcode recognition
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  


1 Posts

Posted - Jul 29 2020 :  03:03:02  Show Profile  Reply
I would like to read documents from a scanner using Twain, and while scanning, immediately recognize the barcode, do not run it in ImageEnMView first, but first recognize the barcode and then goes into ImageEnMView, is that possible?

Could please help with short example immediately recognize the Barcode while scanning

Thanks for helping


38231 Posts

Posted - Jul 29 2020 :  23:03:07  Show Profile  Reply

In the OnAcquireBitmap event you get the scan as a TIEBitmap, and by setting Handled specify whether it is added to the TImageEnMView.

So you can just pass that bitmap to the barcode scanner, get the result and decide whether to allow addition or not.

Xequte Software
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: