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
 Scan with twain with immediate barcode recognition
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ducci

Germany
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

xequte

5390 Posts

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

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

https://www.imageen.com/help/TImageEnMView.OnAcquireBitmap.html


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

https://www.imageen.com/help/TIEVisionBarCodeScanner.html

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