Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate QRCode scanning alternative #134

Open
AndreMiras opened this issue May 21, 2018 · 3 comments
Open

Investigate QRCode scanning alternative #134

AndreMiras opened this issue May 21, 2018 · 3 comments

Comments

@AndreMiras
Copy link
Owner

AndreMiras commented May 21, 2018

Our current QRCode scanner is running via https://github.com/AndreMiras/garden.zbarcam
The problem is this is not yet Python3 compatible.

I had a talk with qua-non (electrum contributor) on #kivy-dev and he suggested not to use zbarcam:

[09:56] you really do not need zbarcam
[09:56] that's old and buggy
[09:57] just call for loading a external app for scanning or do as we have in electrum

See complete log here: https://botbot.me/freenode/kivy-dev/2018-05-21/?msg=100273105&page=1

Electrum approach: spesmilo/electrum@7ccbbe7

@fs-melo
Copy link

fs-melo commented Jun 4, 2020

The Camera depends of the android.hardware.Camera API, that was deprecated in API level 21.
Buildozer 1.0 is not compiled android.hardware.Camera.

I think an alternative to solve the issue would be to upgrade from Camera API to Camera2 API, as in colour-blind-camera.

@AndreMiras
Copy link
Owner Author

Thanks for the investigation and update. Actually the original task is no longer valid since we're now based on https://github.com/kivy-garden/zbarcam which I ported to Python 3.
I didn't know about the android.hardware.Camera being deprecated actually. I should probably investigate that, but this should probably be handled more upstream in zbarcam, or xcamera or even kivy or p4a level

@fs-melo
Copy link

fs-melo commented Jun 5, 2020

Thank you for explaining.
I recorded an issue in Kivy:
Kivy camera does not run on android device when compiled with Buildozer 1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants