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

In ARM platform, camera pix format NV12, how can I detect the QR from NV12 stream? #99

Open
Jimmy-Nie opened this issue Aug 19, 2022 · 1 comment

Comments

@Jimmy-Nie
Copy link

  1. I use the ARM Platform: ARMv7
  2. I have finished complie the zxing lib
  3. Camera output NV12 format pix
  4. How can I detect QR from the stream?

I try transfer NV12 to png using OpenCV, but it's slow, does this zxing support detect QR from yuv stream?

@axxel
Copy link

axxel commented Aug 24, 2022

In case you don't get a satisfying response here, you might want to try an alternative zxing c++ port: https://github.com/nu-book/zxing-cpp

You can easily work with NV12 data directly: ZXing::ReadBarcodes({data, width, height, ImageFormat::Lum, stride}).

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

2 participants