blinkcard / blinkcard-react-native Goto Github PK
View Code? Open in Web Editor NEWAI-driven credit card scanning for cross-platform apps built with ReactNative.
AI-driven credit card scanning for cross-platform apps built with ReactNative.
Hello, I tried placing the sample component inside a functional react-native component but nothing happened. Can you pls give some equivalent sample of usage in functional comppnents or how to use the sample class component in a functional component pls?
Thanks!
I'm doing a POC with a trial version and it works great. However, I tried to find a documentation to follow to implement this. But couldn't find one (with the methods and stuff). Had to look at example app and try to understand.
Is there any documentation with exposed methods rather than in the example app ?
And the other thing is, I have a requirement to add a button to the scanner screen, where user can click on that and navigate to a specific screen (stopping the scan midway). Is this possible ? Can I add a custom react-native button ?
TIA
Hi, I'm currently facing this issue out of sudden. Not sure what's the issue here. Hope anyone can help me.
currently using @microblink/blinkcard-react-native @ v2.9.0
I tried to console.log the error at the catch. It doesn't appear anything.
startScan = async () => {
let recognizer;
recognizer = new BlinkCardReactNative.BlinkCardRecognizer();
recognizer.extractCvv = false;
recognizer.extractIban = false;
recognizer.extractExpiryDate = false;
recognizer.extractOwner = false;
recognizer.returnFullDocumentImage = true;
if (recognizer) {
try {
// logger appear here
const scanningResults = await BlinkCardReactNative.BlinkCard.scanWithCamera(
new BlinkCardReactNative.BlinkCardOverlaySettings(),
new BlinkCardReactNative.RecognizerCollection([recognizer]),
licenseKey
).catch((error) => {
// no logger appear here.
throw error;
});
// no logger appear after here.
if (scanningResults.length > 0) {
this.onResult(scanningResults[0]); // A function to insert into variable
}
} catch (error) {
alert(JSON.stringify(error))
}
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.