Spelt / ZXing.Delphi

ZXing Barcode Scanning object Pascal Library for Delphi VCL and Delphi Firemonkey
Apache License 2.0
471 stars 206 forks source link

AdvancedTestApp Rio #78

Closed marcogps closed 5 years ago

marcogps commented 5 years ago

Is not working perfomance units in the Delphi 10.3 release, could you see what the problem is?

narkoKast commented 5 years ago

Only crash ...

flydev-fr commented 5 years ago

@narkoKast Working here, see the screenshot from the mobile (Samsung J5 / Android 8.1 / Rio 10.3)

screenshot_20181228-112543

marcogps commented 5 years ago

Probably not using an FMX.media.android drive for fps gain. As image is 3.4 fps, the problem occurs when you use it.

flydev-fr commented 5 years ago

With a resolution of 720x480 i got ~15fps. The screenshot is taken with a resolution of 1280x720.

Spelt commented 5 years ago

Way to slow.

I'll try to fix the Advanced app. I've heard that are some units missing.

Op vr 28 dec. 2018 om 12:57 schreef flydev notifications@github.com:

With a resolution of 720x480 i got ~15fps. The screenshot is taken with a resolution of 1280x720.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Spelt/ZXing.Delphi/issues/78#issuecomment-450348236, or mute the thread https://github.com/notifications/unsubscribe-auth/AMEt1XPg2kn6Qe1kjusLt6JaSr_lXDdDks5u9gcNgaJpZM4Ziyzw .

Spelt commented 5 years ago

You should have a stable 29/30 fps

Op vr 28 dec. 2018 om 13:00 schreef Edward Spelt edwardspelt@gmail.com:

Way to slow.

I'll try to fix the Advanced app. I've heard that are some units missing.

Op vr 28 dec. 2018 om 12:57 schreef flydev notifications@github.com:

With a resolution of 720x480 i got ~15fps. The screenshot is taken with a resolution of 1280x720.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Spelt/ZXing.Delphi/issues/78#issuecomment-450348236, or mute the thread https://github.com/notifications/unsubscribe-auth/AMEt1XPg2kn6Qe1kjusLt6JaSr_lXDdDks5u9gcNgaJpZM4Ziyzw .

flydev-fr commented 5 years ago

Compiling with FastUtils.pas from Fast folder, I got 25,1fps with a resolution of 720x480, which is quite acceptable 👍

25fps

marcogps commented 5 years ago

@flydev-fr Could you make this project available for download?

flydev-fr commented 5 years ago

@marcogps yes, I was going to do so once back at home. wait an hour or so.

flydev-fr commented 5 years ago

There you can grab the project : https://github.com/flydev-fr/ZXing.Test

narkoKast commented 5 years ago

I have checked new demo (Delphi RIO, phone: Android 6.0, LG-H815) If make scan ON I get debugger "FmxAdvancedTestApp.apk raised exception class illegal instruction(4)" and app crashed. If only change Resolution also get the same exception immediately.

Spelt commented 5 years ago

Hi. Unfortunately there is an incompatibility somewhere in the fastlib.o files. I updated the home page: https://github.com/Spelt/ZXing.Delphi if there is a change to the situation I'll post an update.

Spelt commented 5 years ago

Hi all,

The problem is solved. The camera on Android is good again.

Download now your update.

Let us know your result!

flydev-fr commented 5 years ago

Thanks, I saw the message from E. van Bilsen and tested it this afternoon, it works great !

372235 commented 5 years ago

When I turn on the camera and return to ZXingAPP, There was a mistake. like This:

marcogps commented 5 years ago

It was excellent with the stitching done. It is not running at 30 fps, but at a lower resolution such as 640x480 it is around 21 fps

Thank you

flydev-fr commented 5 years ago

A test with a resolution of 1280x720 give me 26/30 fps 👍

real-screen image