Coder Social home page Coder Social logo

Comments (5)

serdar-can avatar serdar-can commented on May 26, 2024

Hi @patv2learn , thank you for reporting the issue.

We have tested our Flutter plugin with various PDF417 barcodes, both from generators and real-life examples, and the demo project managed to read and successfully parse the PDF417 barcodes. We have tested our native SDK and its demo application and it is also successfully read and parse PDF417 barcodes. Both applications couldn't read your sample. Please check your sample barcode.

from hms-flutter-plugin.

patv2learn avatar patv2learn commented on May 26, 2024

Thanks for the update. I have try to test 10 different US and Canada driving license from Flutter plugin and none of them are working while these all images are working fine with other SDK.

Please try above attached image with https://online-barcode-reader.inliteresearch.com/ online demo for PDF417 and you will see the result.

Is there anyway, I can test native SDK using any demo application?

from hms-flutter-plugin.

serdar-can avatar serdar-can commented on May 26, 2024

Hello again, thank you for your collaboration.

The barcode scanning process may be affected by environmental conditions such as light, surface, and camera angle, thus please consider trying to scan under different conditions. You may also specify scanType as described below (in your Flutter project), in order to improve scanning speed.

DefaultViewRequest reequest = 
    new DefaultViewRequest(scanType: HmsScanTypes.Pdf417);
ScanResponse response = await HmsScanUtils.startDefaultView(request);

This is the demo application of Huawei Scan Native SDK, and you may find its documentation from this link.

If the problem is persistent also in the native SDK, please consider opening an issue on a related GitHub page.

from hms-flutter-plugin.

patv2learn avatar patv2learn commented on May 26, 2024

Thanks SerdarCanDev for the details. As such I have already tried only PDF417 approach with test application and strange thing is some state ID document has 1D and PDF417 both code on it and this change is keep trying to find document without success but if I put a paper or finger on 1D barcode to hide then PDF417 is getting read.

Again, for many US and Canada government issued ID are not reading in your SDK where there are other Web and Mobile SDK is reading them with success. So is there any other property/settings which can try to deep read or improve your SDK readability?

r/Pat

from hms-flutter-plugin.

serdar-can avatar serdar-can commented on May 26, 2024

Hi @patv2learn , thanks again for reporting the issue. Since it's a native SDK problem, a ticket has been submitted to the developer team and currently, they are investigating the issue.

For now, specifying the scanType is the only option for improving the readability and scanning speed. We will provide an update after optimizing the native SDK. Please follow the pub.dev for the latest releases.

from hms-flutter-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.