Coder Social home page Coder Social logo

Comments (2)

pavikrishna avatar pavikrishna commented on August 11, 2024

also the example in the docs is currently broken
https://codepen.io/microblink/pen/YzpWGMw

from blinkcard-in-browser.

AngTim avatar AngTim commented on August 11, 2024

Hello Krishna,

Thank you for the inquiry.
There are no downsides in the cancelRecognition event that you have implemented onFirstSideResult function if you wish only to scan the first side of the credit card. Unfortunately, there are not a lot of other solutions for single side scanning with the BlinkCard SDK since it does not include two separate recognizers which you can call depending on your use case SingleSideRecognizer and MultiSideRecognizer and only contains BlinkCardRecognizer which requires both sides of a document by default and that is why the help article suggests a workaround that could be easy to implement and understand for a first hand.
We are aware that it is no the most applicable approach and that is why we have made the following disclaimer:

It is important to note that this setup works only on a specific set of credit cards, like the example above, which only contains the CVV information on the back of the document.
To skip other credit cards with document fields organized differently, the recognizer settings would have to be updated, and maybe some other fields (extractIban, extractExpiryDate or extractOwner) skipped as well. Therefore the solution is not flexible and reproducible in many cases but works well in a specific situation on the same set of credit cards.

The issue with the codepen example has been raised to our engineers and should be resolved soon.
Please feel free to reach out if you have any additional questions or issues.

Kind regards,
Angelo
Web Support Specialist

from blinkcard-in-browser.

Related Issues (13)

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.