@thegrizzlylabs/cordova-plugin-genius-scan 4.8.0 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +1 -1
- package/plugin.xml +7 -5
- package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/GSSDKCore +0 -0
- package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/GSSDKCore.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/dSYMs/GSSDKCore.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64/dSYMs/GSSDKCore.framework.dSYM/Contents/Resources/DWARF/GSSDKCore +0 -0
- package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/GSSDKCore +0 -0
- package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKCore.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKCore.framework.dSYM/Contents/Resources/DWARF/GSSDKCore +0 -0
- package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/GSSDKOCR +0 -0
- package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/GSSDKOCR.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/dSYMs/GSSDKOCR.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64/dSYMs/GSSDKOCR.framework.dSYM/Contents/Resources/DWARF/GSSDKOCR +0 -0
- package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/GSSDKOCR +0 -0
- package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKOCR.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKOCR.framework.dSYM/Contents/Resources/DWARF/GSSDKOCR +0 -0
- package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
- package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/dSYMs/GSSDKScanFlow.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/dSYMs/GSSDKScanFlow.framework.dSYM/Contents/Resources/DWARF/GSSDKScanFlow +0 -0
- package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/GSSDKScanFlow +0 -0
- package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Info.plist +0 -0
- package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKScanFlow.framework.dSYM/Contents/Info.plist +2 -2
- package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/dSYMs/GSSDKScanFlow.framework.dSYM/Contents/Resources/DWARF/GSSDKScanFlow +0 -0
package/README.md
CHANGED
|
@@ -138,6 +138,7 @@ It returns a promise with `result` object containing:
|
|
|
138
138
|
- `enhancedUrl`: the cropped and enhanced file, as processed by the SDK. "file://<filepath>.{jpeg|png}"
|
|
139
139
|
- `ocrResult`: the result of text recognition for this scan
|
|
140
140
|
- `text`: the raw text that was recognized
|
|
141
|
+
- `hocrTextLayout`: the recognized text in [hOCR](https://en.wikipedia.org/wiki/HOCR) format (with position, style…)
|
|
141
142
|
|
|
142
143
|
### Error callback
|
|
143
144
|
|
|
@@ -155,6 +156,7 @@ The `document` parameter is a map containing the following values:
|
|
|
155
156
|
|
|
156
157
|
- `pages`: an array of page objects. Each page object has:
|
|
157
158
|
- `imageUrl`: the URL of the image file for this page, e.g. `file://<filepath>.{jpeg|png}`
|
|
159
|
+
- `hocrTextLayout`: the text layout in hOCR format
|
|
158
160
|
|
|
159
161
|
The `configuration` parameter provides the following options:
|
|
160
162
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thegrizzlylabs/cordova-plugin-genius-scan",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.0",
|
|
4
4
|
"description": "Cordova Plugin for Genius Scan SDK",
|
|
5
5
|
"author": "TheGrizzlyLabs <sdk@thegrizzlylabs.com> (https://www.thegrizzlylabs.com/)",
|
|
6
6
|
"homepage": "https://geniusscansdk.com/",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<plugin id="@thegrizzlylabs/cordova-plugin-genius-scan" version="4.
|
|
2
|
+
<plugin id="@thegrizzlylabs/cordova-plugin-genius-scan" version="4.9.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
3
|
<name>Genius Scan</name>
|
|
4
4
|
<js-module name="GeniusScan" src="www/GeniusScan.js">
|
|
5
5
|
<clobbers target="cordova.plugins.GeniusScan" />
|
|
@@ -9,13 +9,15 @@
|
|
|
9
9
|
<feature name="GeniusScan">
|
|
10
10
|
<param name="android-package" value="com.geniusscansdk.cordova.GeniusScan" />
|
|
11
11
|
</feature>
|
|
12
|
+
<!-- Needed until we can upgrade cordova-android to a version that supports API 33 (v12.0.0?) -->
|
|
13
|
+
<preference name="android-targetSdkVersion" value="33" />
|
|
14
|
+
<preference name="android-compileSdkVersion" value="33" />
|
|
12
15
|
</config-file>
|
|
13
|
-
<config-file parent="/manifest/application" target="AndroidManifest.xml"
|
|
14
|
-
</config-file>
|
|
16
|
+
<config-file parent="/manifest/application" target="AndroidManifest.xml" />
|
|
15
17
|
<source-file src="src/android/GeniusScan.java" target-dir="src/com/geniusscansdk/cordova" />
|
|
16
18
|
<framework custom="true" src="src/android/build.gradle" type="gradleReference" />
|
|
17
|
-
<framework src="com.geniusscansdk:gssdk-scanflow:4.
|
|
18
|
-
<framework src="com.geniusscansdk:gssdk-ocr:4.
|
|
19
|
+
<framework src="com.geniusscansdk:gssdk-scanflow:4.9.0"/>
|
|
20
|
+
<framework src="com.geniusscansdk:gssdk-ocr:4.9.0"/>
|
|
19
21
|
</platform>
|
|
20
22
|
|
|
21
23
|
<platform name="ios">
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/ios/GSSDK/GSSDKCore.xcframework/ios-arm64_x86_64-simulator/GSSDKCore.framework/GSSDKCore
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/GSSDKOCR
CHANGED
|
Binary file
|
package/src/ios/GSSDK/GSSDKOCR.xcframework/ios-arm64_x86_64-simulator/GSSDKOCR.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/GSSDKScanFlow
CHANGED
|
Binary file
|
package/src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64/GSSDKScanFlow.framework/Info.plist
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|