Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cordova-plugin-mobile-ocr

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-mobile-ocr - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

2

package.json
{
"name": "cordova-plugin-mobile-ocr",
"version": "1.0.1",
"version": "2.0.0",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -112,3 +112,3 @@ |[Introduction](#cordova-plugin-mobile-ocr) | [Supported_Platforms](#supported-platforms) | [Installation_Steps](#installation-steps) | [Plugin_Usage](#plugin-usage) | [Working_Examples](#working-examples) | [More_about_us!](#more-about-us)|

//Use above two lines to show recognizedText in html
console.log(recognizedText)
console.log(recognizedText);
alert(recognizedText);

@@ -132,3 +132,3 @@ }

function onSuccess(imageURI) {
textocr.recText(0, 3 imageURI, onSuccess, onFail);
textocr.recText(0, 3, imageURI, onSuccess, onFail);
// for sourceType Use 0,2 // 1,3,4 won't work

@@ -140,3 +140,3 @@ // for returnType Use 0,1,2 or 3 // 3 returns duplicates[see table]

//Use above two lines to show recognizedText in html
console.log(recognizedText)
console.log(recognizedText);
alert(recognizedText);

@@ -143,0 +143,0 @@ }

/*global cordova, module*/
module.exports = {
recText: function (sourceType, returnType, imageSource, successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, "Textocr", "recText", [sourceType, returnType, imageSource]);
recText: function (sourceType, imageSource, successCallback, errorCallback) {
cordova.exec(successCallback, errorCallback, "Textocr", "recText", [sourceType, imageSource]);
}
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc