zxing-cpp icon indicating copy to clipboard operation
zxing-cpp copied to clipboard

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

Open Jimmy-Nie opened this issue 3 years ago • 1 comments

  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?

Jimmy-Nie avatar Aug 19 '22 06:08 Jimmy-Nie

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}).

axxel avatar Aug 24 '22 11:08 axxel