Closed koufopoulosf closed 2 years ago
The ZXing project seems to run pretty fast on android and at the same time maintains the high quality image!!
At this project it seems to be a trade-off between quality and frame rate (speed).. Has anyone figured out a solution to this?
Any recommendations would be highly appreciated!
Thanks!
The problem with ZXing + Delphi is the Delphi native component camera, which is not that good... The only solution that I saw was mixing ZXing and Kastri camera: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/Camera Which makes the ZXing code scanner prety faster than while using native camera.
Take a look on: https://github.com/ImperiumDelphi/TCodeReader He did exactly it. https://youtu.be/v8oROxOSFNU
Yes he has a nice implementation.
Btw on Android I don’t have perf problems anymore since Delphi 10.4.2
Op 25 okt. 2021 om 10:32 heeft Igor @.***> het volgende geschreven:
The problem with ZXing + Delphi is the Delphi native component camera, which is not that good... The only solution that I saw was mixing ZXing and Kastri camera: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/Camera Which makes the ZXing code scanner prety faster than while using native camera.
Take a look on: https://github.com/ImperiumDelphi/TCodeReader He did exactly it. https://youtu.be/v8oROxOSFNU
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Tested on my android device: when someone reopens the camera it automatically gets high quality, making it appear slow on the screen. Adding this line will make the camera open again from high quality to medium quality, thus appearing faster.