Comments (5)
Thank you for great info @Olaf-R. Yes, this seems as MLKit problem.
You can file a bug report here but from my experience Google is now focusing on other stuff and all proposals about barcode scanning gets rejected.
from barcodescanning.native.maui.
I'm having the same issue with RawValue not displaying the asterisks. I have no way of verifying my barcodes on wrong reads.
Almost all our barcodes are in Code 39 with asterisks characters at the start and end of the barcodes.
Does the library tries to detect the barcode from a single image or multiple images ? In issue #42 you talked about the parameter PoolingInterval. How does it affect scanning ?
from barcodescanning.native.maui.
I also have issues with Code39 barcodes. I had filed issue #42 for this.
I dived quite a bit into Google's BarcodeScanner lib a while ago. The root of the problem might be that the lib doesn't seem to respect the start and stop delimiters (see the Wikipedia article on Code 39), hence the scanner will scan incomplete barcodes which thus leads to wrong results.
To test, all you need to do is to cover a small portion at the beginning or the end of a Code 39 barcode. The scanner should not react in thoses cases as the scanned value is incomplete. It does return a result though which might be just what you are seeing.
As long as there is no solution to this problem, my app is additionally checking the length and contents of a scanned code; upon finding any invalid/incomplete codes it will show a little toast-message. That's the best I could come up with.
FWIW, I have always seen identical values in DisplayValue and RawValue when I would have expected the asterisks to show up.
However, all of the above may be totally wrong, too.
Interesting to see that you seem to be doing the same thing - a two character type-prefix along with a numeric ID, the only dif being that my ID maxes out at 6 digits instead of 8. :-)
from barcodescanning.native.maui.
It looks like an issue with how Google MLKit handles Code39 barcodes, so unfortunately there is little that I can do.
Pooling just combines recognised barcodes from multiple frames. i don't think it will help with your issue.
Apple has internally 4 different subsets of Code39 symbology so on iOS i could implement fine selection of what Code39 barcodes get recognised.
from barcodescanning.native.maui.
Thank you so much for the replies.
I think i might be able to use code 128 and avoid this issue.
Still thanks for the attempt at improving it
from barcodescanning.native.maui.
Related Issues (20)
- No image detail when exporting the image using CaptureAsync() HOT 2
- MVVM: obtaining a result HOT 3
- The application sometimes quits unexpectedly HOT 6
- Transparent cameraview
- IOS Camera View Response HOT 1
- Enhancement Request: Customizable AimMode Overlay for Scanner
- AimMode causes camera to disconnect. HOT 6
- OnDetectionFinishedEventArg ~ OnDetectedEventArg HOT 1
- OnDetectionFinishedCommand?.Execute(results); never executes HOT 1
- Issue when OnDetectionFinishedCommand="DetectionFinishedCommand" HOT 4
- does not work with content page and flyout HOT 3
- Scan box HOT 2
- Flashlight.TurnOffAsync() problem
- Killed by watchdog timeout when running on real iOS device HOT 2
- Windows Support HOT 1
- Issue with Disabling Camera HOT 8
- Issue scanning PDF417 barcodes HOT 8
- Load Image Support HOT 2
- [Android] Issue in bindToLifecycle when opening scanner multiple times HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barcodescanning.native.maui.