Kastri icon indicating copy to clipboard operation
Kastri copied to clipboard

Camera and BarcodeReader?

Open alissonrodrigo opened this issue 3 years ago • 5 comments

Can I combine Camera and BarcodeReader functions? If yes, how can I implement the routine to read the Frames and check their Barcode without having to take a picture? Grateful

alissonrodrigo avatar Jul 26 '22 10:07 alissonrodrigo

I've been working on improving the camera support, which hopefully will include barcode reading. It may take a while, though. I need to solve this issue, for one: https://stackoverflow.com/questions/66323994/applying-rotation-to-glsurfaceview

DelphiWorlds avatar Jul 26 '22 12:07 DelphiWorlds

There is a Brazilian MVP who created a component based on his library that reads qr-code based on ZXing. the git of this component and https://github.com/ImperiumDelphi/TCodeReader

alissonrodrigo avatar Jul 26 '22 13:07 alissonrodrigo

There is a Brazilian MVP who created a component based on his library that reads qr-code based on ZXing. the git of this component and https://github.com/ImperiumDelphi/TCodeReader

I think that project is dead. Looks like he put the project up and isn't responding to issues or pull requests.

War3Evo avatar Oct 08 '22 14:10 War3Evo

I am working on a solution that uses a very simple camera implementation, and barcode scanning can be "pluggable", i.e. you'll be able to use one of the "plugins" provided, or even write your own. At present, the ZXing implementation is very, very slow, but only because converting from a native image (in this case CGImage) to a bitmap is really slow - the conversion takes around 250-300ms.

Also, so far I have only done the iOS part of the implementation, as it is the easiest to write code for

DelphiWorlds avatar May 14 '23 00:05 DelphiWorlds

The demo in question, is here. Please read the readme in the demo files

DelphiWorlds avatar May 29 '23 07:05 DelphiWorlds