capawesome-team / capacitor-mlkit

⚡️ ML Kit plugins for Capacitor. Supports Android and iOS.
https://capawesome.io/plugins/mlkit/
Apache License 2.0
147 stars 43 forks source link

bug: Aztec codes support #200

Open scr2em opened 1 week ago

scr2em commented 1 week ago

Plugin(s)

Version

6.1.0

Platform(s)

Current behavior

Hi, For aztec codes, I have tried the demo repo to scan them but it couldn't

Expected behavior

In an interesting way, I used chatgpt to create a minimal ios app that uses AVFoundation directly, and it managed to scan the codes easily with 100% accuracy

can anyone check why aztec codes specifically are hard to scan with the plugin? it should be able to scan them everytime

Reproduction

use your demo app

Steps to reproduce

try to scan these codes

image image

Other information

No response

Capacitor doctor

Latest Dependencies:

@capacitor/cli: 6.1.2 @capacitor/core: 6.1.2 @capacitor/android: 6.1.2 @capacitor/ios: 6.1.2

Installed Dependencies:

@capacitor/cli: not installed @capacitor/core: 6.1.2 @capacitor/android: 6.1.2 @capacitor/ios: 6.1.2

Before submitting

scr2em commented 1 week ago

I did report this before, but this time it doesn't read them at all https://github.com/capawesome-team/capacitor-mlkit/issues/164

robingenz commented 1 week ago

In an interesting way, I used chatgpt to create a minimal ios app that uses AVFoundation directly, and it managed to scan the codes easily with 100% accuracy

This plugin uses ML Kit and not AVFoundation. But I will probably create a second implementation with AVFoundation soon.

Please share a screen recording of you reproducing it with the demo app.