OCR
Accura Scan’s OCR scans and extracts data from any government Id globally.
The method use to Start OCR scanning is
accura.startOcrWithCard(accuraConfs, countryID, cardID, cardName, cardType, function (results), function (error));Parameter:
Response:
Example function:
function startOcrWithCard() {
var accuraConfs = {};
var cardSlected = cards[cardSelected.split('_')[0]];
accura.startOcrWithCard(
accuraConfs,
countrySelectedForCard.split('_')[1],
cardSlected.id,
cardSlected.name,
cardSlected.type,
function (results) {
//The response from the sdk
}, function (error) {
alert(error);
})
}Last updated