mobile_scanner icon indicating copy to clipboard operation
mobile_scanner copied to clipboard

iOS analyzeImage from gallery not working

Open Awais-ishaq opened this issue 11 months ago • 9 comments

iOS analyzeImage from gallery not working, always returns false

Awais-ishaq avatar Feb 28 '24 10:02 Awais-ishaq

Could you provide the version of mobile_scanner that you use, and a minimal reproducible sample? Please also include the file from the gallery that you are trying to analyze.

navaronbracke avatar Mar 05 '24 09:03 navaronbracke

3.5.7 Android and iOS analyzeImage from gallery not working

Could you provide the version of mobile_scanner that you use, and a minimal reproducible sample? Please also include the file from the gallery that you are trying to analyze.

bh1270 avatar Mar 22 '24 10:03 bh1270

Could you also provide a sample file that isn't working with analyzeImage() ?

navaronbracke avatar Mar 22 '24 10:03 navaronbracke

With a "sample file", I meant an image that has some kind of barcode in it that was not detected. The above images definitely do not have a barcode at all, so the result is working as intended for those.

navaronbracke avatar Mar 22 '24 10:03 navaronbracke

I ran example, but did not recognize my QR code

图片 图片 图片

bh1270 avatar Mar 24 '24 03:03 bh1270

The same issue.

when I use qr_flutter, and generate a qr image.

QrImageView(
  data: '[1234567890](https://github.com/juliansteenbakker/mobile_scanner/issues/967)',
  version: QrVersions.auto,
  gapless: false, // important
  size: 200.0,
),

use RepaintBoundary to get snapshot. analyzeImage

@navaronbracke Thanks

Cheng455153666 avatar Apr 03 '24 06:04 Cheng455153666