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

Sequential decoding from Camera #5

Closed
swex opened this issue Sep 24, 2016 · 5 comments
Closed

Sequential decoding from Camera #5

swex opened this issue Sep 24, 2016 · 5 comments
Assignees

Comments

@swex
Copy link

swex commented Sep 24, 2016

As far as I understand now its only possible to decode image by image.
That forces user to interact with application in some way (by clicking decode/capture) I think library must provide way to scan images sequentially and emit signals on Tag found.
Or its possible already and I missed something..?
Again qtquick2 example would be perfect!

@ftylitak
Copy link
Owner

Today i made available a valuable contribution made a month ago, a project that provides an implementation to the continuous image decoding. Moreover, it is QtQuick2 so i would relate it to also issue #4.

Project QZXingLive at: https://github.com/ftylitak/qzxing/tree/master/examples/QZXingLive

The issues will not yet be closed since i believe that the example project can be further enhanced to either be easier to use or to embed parts of it to the core of the library.

Either way, your input and comments are important and i look forward to hear from you again.

Best regards

@swex
Copy link
Author

swex commented Sep 27, 2016

Thank you, anyway I got to QAbstractVideoFilter myself and problem I've faced now is YUV QVideoFrame format. One more way is to use QVideoProbe but it suffer from the same QVideoFrame to QImage format convertion problem as VideoFilter. So grabToImage on VideoOut probably stiil the best crossplatform way to get QImage from camera.

@QtRoS
Copy link

QtRoS commented Nov 12, 2016

@ftylitak I've tried to run QZXingLive on Android. I intended to test QR Code recognition. It doesn't capture anything at all. All decodings are unsuccessful. What can be wrong with it?

@ftylitak
Copy link
Owner

ftylitak commented Dec 3, 2016

@swex Today a pull request was merged into the code that adds support of the YUV to the QZXingLive project. Could you check if this fills your requirements?

@QtRoS the comming days i will do some tests on Android and i will let you know.

@Matzurai
Copy link

Changing the Camera element in main.qml:35 to
Camera { id:camera focus{ focusMode: Camera.FocusContinuous focusPointMode: Camera.FocusPointCenter } }
helps A LOT.

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

No branches or pull requests

4 participants