Skip to content

Commit

Permalink
Added Anyline 10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Müller committed Jun 7, 2019
2 parents c04a9ab + b67b640 commit 1ea4ab8
Show file tree
Hide file tree
Showing 20 changed files with 147 additions and 18,075 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ example/RNExampleApp/android/.settings
example/RNExampleApp/ios/build/
example/RNExampleApp/node_modules/
example/RNExampleApp/ios/Pods
example/RNExampleApp/yarn.lock
example/RNExampleApp/package-lock.json

# OSX
#
.DS_Store
Expand Down
4 changes: 2 additions & 2 deletions example/RNExampleApp/config/Barcode_PDF417Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default {
"plugin": {
"id": "Barcode_ID",
"barcodePlugin": {
"barcodeFormatOptions": ["PDF417"]
"barcodeFormatOptions": ["PDF_417"]
}
},
"cutoutConfig": {
Expand Down Expand Up @@ -73,4 +73,4 @@ export default {
}
}
}
}
}
7 changes: 3 additions & 4 deletions example/RNExampleApp/config/CattleTagConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ export default {
"plugin": {
"id": "OCR_COW",
"ocrPlugin": {
"scanMode": "AUTO",
"languages": ["USNr.any"],
"customCmdFile": "cow_tag_scanner.ale"
"cattleTagConfig":{
}
}
},
"cutoutConfig": {
Expand Down Expand Up @@ -69,4 +68,4 @@ export default {
}
}
}
}
}
7 changes: 3 additions & 4 deletions example/RNExampleApp/config/ContainerShipConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ export default {
"plugin": {
"id": "CONTAINER_ID",
"ocrPlugin": {
"scanMode": "AUTO",
"languages": ["USNr.any"],
"customCmdFile": "container_scanner.ale"
"containerConfig": {
}
}
},
"cutoutConfig": {
Expand Down Expand Up @@ -62,4 +61,4 @@ export default {
"cancelOnResult": true
}
}
}
}
18 changes: 10 additions & 8 deletions example/RNExampleApp/config/IbanConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ export default {
"plugin": {
"id": "OCR_IBAN",
"ocrPlugin": {
"scanMode": "LINE",
"languages": ["USNr.any"],
"charWhitelist": "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
"minCharHeight": 25,
"maxCharHeight": 65,
"minConfidence": 70,
"validationRegex": "^[A-Z]{2}([0-9A-Z]\\s*){13,32}$"
"ocrConfig": {
"scanMode": "LINE",
"languages": ["USNr.any"],
"charWhitelist": "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
"minCharHeight": 25,
"maxCharHeight": 65,
"minConfidence": 70,
"validationRegex": "^[A-Z]{2}([0-9A-Z]\\s*){13,32}$"
}
}
},
"cutoutConfig": {
Expand Down Expand Up @@ -64,4 +66,4 @@ export default {
}
}
},
}
}
7 changes: 4 additions & 3 deletions example/RNExampleApp/config/USNRConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ export default {
"plugin": {
"id": "USNR_ID",
"ocrPlugin": {
"scanMode": "AUTO",
"languages": ["USNr.any"]
"ocrConfig" : {
"scanMode" : "AUTO",
}
}
},
"cutoutConfig": {
Expand Down Expand Up @@ -61,4 +62,4 @@ export default {
"cancelOnResult": true
}
}
}
}
7 changes: 3 additions & 4 deletions example/RNExampleApp/config/VINConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ export default {
"plugin": {
"id": "VIN_ID",
"ocrPlugin": {
"scanMode": "AUTO",
"languages": ["vin.any"],
"customCmdFile": "vin.ale"
"vinConfig":{
}
}
},
"cutoutConfig": {
Expand Down Expand Up @@ -62,4 +61,4 @@ export default {
"reportingEnabled": true
}
}
}
}
6 changes: 3 additions & 3 deletions example/RNExampleApp/config/VerticalContainerConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export default {
"plugin": {
"id": "CONTAINER_ID",
"ocrPlugin": {
"scanMode": "AUTO",
"languages": ["USNr.any"],
"customCmdFile": "container_scanner_vertical.ale"
"containerConfig":{
"scanMode": "vertical"
}
}
},
"cutoutConfig": {
Expand Down
15 changes: 8 additions & 7 deletions example/RNExampleApp/config/VoucherConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@ export default {
"plugin": {
"id": "OCR_VC",
"ocrPlugin": {
"scanMode": "AUTO",
"languages": ["anyline_capitals.traineddata"],
"charWhitelist": "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
"validationRegex": "[A-Z0-9]{8}$",
"minConfidence": 85

"ocrConfig": {
"scanMode": "AUTO",
"languages": ["anyline_capitals.traineddata"],
"charWhitelist": "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",
"validationRegex": "[A-Z0-9]{8}$",
"minConfidence": 75
}
}
},
"cutoutConfig": {
Expand Down Expand Up @@ -63,4 +64,4 @@ export default {
"cancelOnResult": true
}
}
}
}
26 changes: 3 additions & 23 deletions example/RNExampleApp/ios/RNExampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,6 @@
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
CFC58D215AF48F2928FE9038 /* [CP] Copy Pods Resources */,
81F708B8E79F363360D88E7F /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand Down Expand Up @@ -1204,41 +1203,22 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
81F708B8E79F363360D88E7F /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "[CP] Embed Pods Frameworks";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
CFC58D215AF48F2928FE9038 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${SRCROOT}/Pods/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-resources.sh",
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_10/Framework/AnylineResources.bundle",
"${PODS_ROOT}/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-resources.sh",
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_10.1/Framework/AnylineResources.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AnylineResources.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-resources.sh\"\n";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-resources.sh\"\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down
2 changes: 1 addition & 1 deletion example/RNExampleApp/ios/RNExampleApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>10.1.0</string>
<string>10.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
Loading

0 comments on commit 1ea4ab8

Please sign in to comment.