cordova-plugin-mlkit-suite 0.0.0-stage → 0.1.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/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/README.md +639 -2
- package/docs/mlkit-logo.svg +17 -0
- package/docs/screenshots/barcode-scanning.png +0 -0
- package/docs/screenshots/capabilities.jpg +0 -0
- package/docs/screenshots/demo-tour.gif +0 -0
- package/docs/screenshots/document-scanning.jpg +0 -0
- package/docs/screenshots/face-capture.png +0 -0
- package/docs/screenshots/text-recognition.jpg +0 -0
- package/package.json +62 -6
- package/plugin.xml +134 -0
- package/src/android/java/BarcodeConfirmationTracker.java +38 -0
- package/src/android/java/BarcodeFrameAnalyzer.java +111 -0
- package/src/android/java/BarcodeIconDrawable.java +67 -0
- package/src/android/java/BarcodeOverlayView.java +150 -0
- package/src/android/java/BarcodeScanActivity.java +308 -0
- package/src/android/java/BarcodeScanConfig.java +190 -0
- package/src/android/java/BarcodeScanRegion.java +33 -0
- package/src/android/java/DocumentScanActivity.java +202 -0
- package/src/android/java/DocumentScanConfig.java +142 -0
- package/src/android/java/DocumentScannerModuleInstaller.java +138 -0
- package/src/android/java/FaceCaptureActivity.java +367 -0
- package/src/android/java/FaceCaptureConfig.java +174 -0
- package/src/android/java/FaceCaptureModels.java +85 -0
- package/src/android/java/FaceFrameAnalyzer.java +185 -0
- package/src/android/java/FaceOverlayView.java +122 -0
- package/src/android/java/FaceStillProcessor.java +237 -0
- package/src/android/java/MlKitLoadingDialog.java +73 -0
- package/src/android/java/MlKitLocalization.java +80 -0
- package/src/android/java/MlKitModelsModuleInstaller.java +215 -0
- package/src/android/java/MlKitSuitePlugin.java +726 -0
- package/src/android/java/StaticImageProcessor.java +151 -0
- package/src/android/mlkit-suite.gradle +187 -0
- package/src/android/res/values/mlkit_suite_strings.xml +73 -0
- package/src/android/res/values/mlkit_suite_styles.xml +15 -0
- package/src/android/res/values-es/mlkit_suite_strings.xml +73 -0
- package/src/ios/BarcodeOverlayView.swift +142 -0
- package/src/ios/BarcodeScanTypes.swift +164 -0
- package/src/ios/BarcodeScanViewController.swift +392 -0
- package/src/ios/FaceCaptureTypes.swift +189 -0
- package/src/ios/FaceCaptureViewController.swift +437 -0
- package/src/ios/FaceOverlayView.swift +170 -0
- package/src/ios/FaceStillProcessor.swift +143 -0
- package/src/ios/MlKitLocalization.swift +62 -0
- package/src/ios/MlKitSuitePlugin.swift +594 -0
- package/src/ios/MlKitSuitePrivacy.bundle/PrivacyInfo.xcprivacy +15 -0
- package/src/ios/MlKitSuiteResources.bundle/Info.plist +14 -0
- package/src/ios/MlKitSuiteResources.bundle/en.lproj/Localizable.strings +70 -0
- package/src/ios/MlKitSuiteResources.bundle/es.lproj/Localizable.strings +70 -0
- package/tests/ios-face-capture.test.js +43 -0
- package/tests/ios-live-barcode.test.js +54 -0
- package/tests/java/BarcodeConfirmationTrackerTest.java +29 -0
- package/tests/java/BarcodeScanRegionTest.java +26 -0
- package/tests/java-confirmation.test.js +41 -0
- package/tests/js-api.test.js +136 -0
- package/tests/localization.test.js +49 -0
- package/www/MlKit.js +202 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
- Fixed iOS live barcode geometry and explicit camera mirroring configuration.
|
|
6
|
+
- Fixed guided face capture on iOS by producing the final JPEG from the same portrait video frame accepted by ML Kit, avoiding a second EXIF-dependent detection pass.
|
|
7
|
+
- Added per-check colors to the iOS face capture debug overlay.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Andres Zs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|