simple-dynamsoft-mcp 1.0.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 +138 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/build.gradle +36 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/AndroidManifest.xml +23 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/java/com/dynamsoft/scanmultiplebarcodes/MainActivity.java +68 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/layout/activity_main.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/values/colors.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/values/strings.xml +3 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/build.gradle +36 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/AndroidManifest.xml +24 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/java/com/dynamsoft/scansinglebarcode/MainActivity.java +76 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/layout/activity_main.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/values/colors.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/values/strings.xml +3 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcode/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/build.gradle +43 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/AndroidManifest.xml +22 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/java/com/dynamsoft/scansinglebarcodekt/MainActivity.kt +73 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/layout/activity_main.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/values/colors.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/values/strings.xml +3 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/build.gradle +37 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/proguard-rules.pro +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/AndroidManifest.xml +27 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadAztec.json +91 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadCommon2D.json +185 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDPM.json +138 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDataMatrix.json +178 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDenseBarcodes.json +138 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDotCode.json +130 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadOneDIndustrial.json +155 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadOneDRetail.json +148 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadQR.json +150 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/HomeActivity.java +86 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ResultActivity.java +45 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ui/HomeItemAdapter.java +77 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ui/HomeItemsRecyclerView.java +75 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/java/com/dynamsoft/scenarioorientedsamples/ui/ModeInfo.java +41 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/dynamsoft_logo.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/icon_attention.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/scan_barcode_icon.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/setting.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/shape_home_item1.xml +7 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable/shape_home_item2.xml +7 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-hdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-ldpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-mdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xhdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxhdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/any_codes.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/aztec_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/common_2d.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/data_matrix.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/dot_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/dpm.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/high_density.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/industrial.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/qr_code.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/drawable-xxxhdpi/retail.webp +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/layout/activity_home.xml +96 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/layout/activity_result.xml +17 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/layout/layout_home_item.xml +55 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/attr_HomeItemsRecyclerView.xml +9 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/colors.xml +16 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/dimens.xml +8 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/strings.xml +23 -0
- package/code-snippet/android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/res/values/themes.xml +5 -0
- package/code-snippet/android/BarcodeScannerAPISamples/build.gradle +45 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradle.properties +21 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradlew +185 -0
- package/code-snippet/android/BarcodeScannerAPISamples/gradlew.bat +89 -0
- package/code-snippet/android/BarcodeScannerAPISamples/settings.gradle +19 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/build.gradle +38 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/AndroidManifest.xml +32 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/CaptureActivity.java +256 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/HomeActivity.java +28 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/settings/PreferencesConstants.java +12 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/java/com/dynamsoft/debug/settings/SettingsActivity.java +47 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/arrow_back_24.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/icon_attention.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/drawable/setting.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/activity_capture.xml +54 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/activity_settings.xml +17 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/layout/layout_appbar.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/menu/main_menu.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/arrays.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/colors.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/strings.xml +17 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/values/themes.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/Debug/src/main/res/xml/root_preferences.xml +28 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/build.gradle +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/AndroidManifest.xml +38 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/Templates/ReadFromAnImage.json +118 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/AllSupportedBarcodeTypes.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/BarcodeColorMode.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/DamagedBarcodes.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/batch-scan.jpg +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/assets/image/blurryEffect_DPM.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/MainActivity.java +199 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/ui/ThumbnailsRecyclerView.java +219 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/ui/resultsview/CustomizedResultsDisplayView.java +142 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/ui/resultsview/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/utils/BitmapUtils.java +74 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/java/com/dynamsoft/dbr/decodefromanimage/utils/UriUtils.java +116 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/boundary.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/dashed_border.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable/image_button_state.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-hdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-ldpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-mdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xhdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxhdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/arrow.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/gallery_import.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/drawable-xxxhdpi/take_photo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/activity_main.xml +155 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/item_result.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/item_thumbnail.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/layout/results_view.xml +60 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/attr_customized.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/colors.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/strings.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/values/themes.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeFromAnImage/src/main/res/xml/dynamsoft_file_paths.xml +6 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/build.gradle +38 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/AndroidManifest.xml +29 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/MainActivity.java +111 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/ui/resultsview/CustomizedResultsDisplayView.java +80 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/java/com/dynamsoft/dbr/decodewithcameraenhancer/ui/resultsview/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/activity_main.xml +22 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/item_result.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/layout/results_view.xml +48 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/attr_customized.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/strings.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/values/themes.xml +18 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/xml/backup_rules.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraEnhancer/src/main/res/xml/data_extraction_rules.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/build.gradle +44 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/AndroidManifest.xml +31 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/CameraXImageSourceAdapter.java +64 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/HomeActivity.java +16 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/MainActivity.java +134 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/ui/PreviewWithDrawingQuads.java +94 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/ui/resultsview/CustomizedResultsDisplayView.java +80 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/java/com/dynamsoft/dbr/decodewithcamerax/ui/resultsview/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/activity_main.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/item_result.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/layout/results_view.xml +48 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/attr_customized.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/strings.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/DecodeWithCameraX/src/main/res/values/themes.xml +18 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/build.gradle +35 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/AndroidManifest.xml +30 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/MainActivity.java +133 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/ParseUtil.java +107 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/java/com/dynamsoft/dcv/driverslicensescanner/ResultActivity.java +46 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/layout/activity_main.xml +32 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/layout/activity_result.xml +15 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/values/strings.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/DriversLicenseScanner/src/main/res/values/themes.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/build.gradle +47 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/AndroidManifest.xml +37 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/home/HomeActivity.java +37 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/CameraSettings.java +45 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/DecodeSettings.java +279 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/MultiFrameCrossFilterSettings.java +59 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/ResultFeedbackSettings.java +31 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/models/SettingsCache.java +49 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/scanner/ScannerActivity.java +225 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/scanner/ScannerViewModel.java +67 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/OnItemClickListener.java +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/SettingsActivity.java +37 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/SettingsFragment.java +160 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/SettingsViewModel.java +49 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/barcodeformat/BarcodeFormatsFragment.java +65 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/barcodeformat/BarcodeFormatsViewModel.java +61 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/simplifiedsettings/SimplifiedSettingsFragment.java +60 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/settings/simplifiedsettings/SimplifiedSettingsViewModel.java +24 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/CustomResultDisplayView.java +56 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/ExpandLinearLayout.java +220 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/Extension.java +27 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/RadioGroupWithTitle.java +145 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/ResultsRecyclerView.java +91 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/SingleLineLayout.java +302 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/formatselection/BarcodeFormatConstants.java +80 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/formatselection/FormatSelectionAdapter.java +122 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/formatselection/FormatSelectionView.java +98 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ItemTouchHelperInter.java +7 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ModeSelectionAdapter.java +174 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ModeSelectionView.java +98 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/ModesMapConstant.java +55 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/java/com/dynamsoft/dbr/generalsettings/ui/modeselection/MyTouchHelperCallBack.java +45 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/enter_pop_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/enter_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/exit_pop_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/anim/exit_slide.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/arrow_back_24.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/icon_right_transparent.xml +4 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_checkbox.xml +6 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_checkbox2.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_checktext_textcolor.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_radiobutton_selected.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_radiobutton_textcolor.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/selector_switch_track.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/setting.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/shape_circle_conner_dialog.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable/shape_radio_group.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-hdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-ldpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-mdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xhdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxhdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_circle_down.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_circle_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_orange_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/arrow_orange_up.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/export.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/icon_info.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/icon_right.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/drawable-xxxhdpi/icon_right_grey.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/activity_main.xml +41 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/activity_settings.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/dialog_import_template.xml +44 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/format_selection.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/fragment_barcode_format.xml +101 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/fragment_settings.xml +305 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/fragment_simplified_settings.xml +149 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/item_result.xml +42 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_appbar.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_expand_arrow_and_switch.xml +58 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_expand_arrow_only.xml +45 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_expand_switch_only.xml +44 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_radio_group_with_title.xml +46 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/layout_single_line.xml +33 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/modes_selection_spinner_item.xml +17 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/modes_selection_spinner_text.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/layout/results_view.xml +48 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/menu/menu_main.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/array.xml +14 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/attrs_customized.xml +65 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/colors.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/dimens.xml +20 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/spinner_items.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/strings.xml +112 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/values/themes.xml +29 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/xml/backup_rules.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/GeneralSettings/src/main/res/xml/data_extraction_rules.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/build.gradle +39 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/AndroidManifest.xml +28 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/assets/Templates/ReadMultipleBarcodes.json +116 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/java/com/dynamsoft/dbr/locateanitemwithbarcode/LocateGrabCodeActivity.java +87 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/java/com/dynamsoft/dbr/locateanitemwithbarcode/LocateScanActivity.java +162 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/java/com/dynamsoft/dbr/locateanitemwithbarcode/LocateStartActivity.java +53 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/arrow_back_24.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/ic_launcher_background.xml +170 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/drawable/scan_barcode_icon.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/layout/activity_grab_code.xml +23 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/layout/activity_locate_start.xml +94 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/layout/activity_scanner.xml +34 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/values/colors.xml +35 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/values/strings.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/LocateAnItemWithBarcode/src/main/res/values/themes.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/build.gradle +34 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/AndroidManifest.xml +27 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/assets/Templates/ReadGS1AIBarcode.json +135 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/java/com/dynamsoft/readgs1ai/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/java/com/dynamsoft/readgs1ai/MainActivity.java +178 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/layout/activity_main.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/values/strings.xml +7 -0
- package/code-snippet/android/FoundationalAPISamples/ReadGS1AI/src/main/res/values/themes.xml +11 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/build.gradle +39 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/proguard-rules.pro +21 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/AndroidManifest.xml +32 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/HomeActivity.java +17 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/MainActivity.java +257 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/UIHandler.java +14 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/java/com/dynamsoft/dbr/tinybarcodedecoding/ZoomSeekbarView.java +191 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/dbr_icon.xml +21 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/dynamsoft_logo.png +0 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/ic_baseline_shape.xml +5 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/drawable/shape_circle_bg.xml +16 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/layout/activity_home.xml +84 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/layout/activity_main.xml +77 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/values/colors.xml +8 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/values/strings.xml +10 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/values/themes.xml +12 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/xml/backup_rules.xml +13 -0
- package/code-snippet/android/FoundationalAPISamples/TinyBarcodeDecoding/src/main/res/xml/data_extraction_rules.xml +19 -0
- package/code-snippet/android/FoundationalAPISamples/build.gradle +42 -0
- package/code-snippet/android/FoundationalAPISamples/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/code-snippet/android/FoundationalAPISamples/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/code-snippet/android/FoundationalAPISamples/gradle.properties +21 -0
- package/code-snippet/android/FoundationalAPISamples/gradlew +185 -0
- package/code-snippet/android/FoundationalAPISamples/gradlew.bat +89 -0
- package/code-snippet/android/FoundationalAPISamples/settings.gradle +18 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/AppDelegate.swift +35 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/AppIcon.appiconset/Contents.json +36 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/DynamsoftResources.bundle/Templates/ReadMultipleBarcodes.json +139 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/SceneDelegate.swift +51 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes/ViewController.swift +161 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanMultipleBarcodes/ScanMultipleBarcodes.xcodeproj/project.pbxproj +422 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/AppDelegate.swift +35 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/AppIcon.appiconset/Contents.json +36 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/DynamsoftResources.bundle/Templates/ReadSingleBarcode.json +105 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/SceneDelegate.swift +51 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode/ViewController.swift +115 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcode/ScanSingleBarcode.xcodeproj/project.pbxproj +422 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/AppDelegate.h +13 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/AppDelegate.m +39 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/AppIcon.appiconset/Contents.json +36 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/DynamsoftResources.bundle/Templates/ReadSingleBarcode.json +105 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/SceneDelegate.h +14 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/SceneDelegate.m +56 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/ViewController.h +13 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/ViewController.m +127 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc/main.m +17 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeObjc/ScanSingleBarcodeObjc.xcodeproj/project.pbxproj +426 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/BarcodeScannerView.swift +66 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/ContentView.swift +47 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/Preview Content/Preview Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUIApp.swift +16 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScanSingleBarcodeSwiftUI/ScanSingleBarcodeSwiftUI.xcodeproj/project.pbxproj +377 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/AppDelegate.swift +35 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/dynamsoft-logo.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/1d_industrial.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/1d_industrial@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/1d_industrial@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_industrial.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/1d_retail.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/1d_retail@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/1d_retail@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/1d_retail.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/Contents.json +6 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/common_2d_1d.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/common_2d_1d@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/any_codes.imageset/common_2d_1d@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/aztec_code.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/aztec_code@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/aztec_code.imageset/aztec_code@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/common_2d.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/common_2d@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/common_2d.imageset/common_2d@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/data_matrix.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/data_matrix@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/data_matrix.imageset/data_matrix@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/dot_code.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/dot_code@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dot_code.imageset/dot_code@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/dpm.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/dpm@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/dpm_code.imageset/dpm@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/high_density.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/high_density@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/high_density.imageset/high_density@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/Contents.json +23 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/qr_code.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/qr_code@2x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Assets.xcassets/icons/qr_code.imageset/qr_code@3x.png +0 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadAztec.json +91 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadCommon1DAnd2D.json +272 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadCommon2D.json +185 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDPM.json +138 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDataMatrix.json +178 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDenseBarcodes.json +138 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadDotCode.json +130 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadOneDIndustrial.json +155 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadOneDRetail.json +148 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/DynamsoftResources.bundle/Templates/ReadQR.json +150 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/Info.plist +25 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/ResultViewController.swift +43 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/SceneDelegate.swift +57 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples/ViewController.swift +271 -0
- package/code-snippet/ios/BarcodeScannerAPISamples/ScenarioOrientedSamples/ScenarioOrientedSamples.xcodeproj/project.pbxproj +426 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/CameraViewController.swift +256 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/SettingsViewController.swift +234 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/Debug/Debug.xcodeproj/project.pbxproj +387 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/AppIcon.appiconset/Contents.json +35 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/gallery-import.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/gallery-import@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigGallery.imageset/gallery-import@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/take-photos.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/take-photos@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/bigTakePhoto.imageset/take-photos@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/btn-gallery-import.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/btn-gallery-import@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/gallery.imageset/btn-gallery-import@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/btn-take-photos 1.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/btn-take-photos@2x 1.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Buttons/takePhoto.imageset/btn-take-photos@3x 1.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/AllSupportedBarcodeTypes.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/BarcodeColorMode.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/DamagedBarcodes.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/ReadFromAnImage.json +118 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/batch-scan.jpg +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/Resource/blurryEffect_DPM.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/SceneDelegate.swift +51 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage/ViewController.swift +457 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeFromAnImage/DecodeFromAnImage.xcodeproj/project.pbxproj +389 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/AppDelegate.swift +33 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/CaptureEnhancer.swift +102 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/CaptureViewController.swift +191 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithAVCaptureSession/DecodeWithAVCaptureSession.xcodeproj/project.pbxproj +423 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/AppDelegate.swift +33 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Base.lproj/Main.storyboard +32 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/CameraViewController.swift +170 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/DecodeWithCameraEnhancer/DecodeWithCameraEnhancer.xcodeproj/project.pbxproj +419 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/AppDelegate.swift +29 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/AppIcon.appiconset/dcv-01.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/CameraViewController.swift +231 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Category/UIDevice+Addition.swift +59 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Category/UIView+Frame.swift +80 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/DriverLicenseResultViewController.swift +168 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Info.plist +8 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/Utils/Dynamsoft.swift +27 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/DriversLicenseScanner/DriversLicenseScanner.xcodeproj/project.pbxproj +447 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/arrow-circle-down.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/arrow-circle-down@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-down.imageset/arrow-circle-down@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/arrow-circle-up.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/arrow-circle-up@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/arrow-circle/arrow-circle-up.imageset/arrow-circle-up@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/BarcodeFormatViewController.swift +249 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/CameraViewController.swift +305 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/CustomTableViewCell.swift +234 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/Mode+Extension.swift +129 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/PickerPopupView.swift +145 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/SettingRow.swift +332 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/DataModel/UIColor+Extension.swift +19 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/SettingsViewController.swift +589 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/SimplifiedSettingsViewController.swift +532 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/GeneralSettings/GeneralSettings.xcodeproj/project.pbxproj +387 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/AppDelegate.swift +45 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/scan-barcodes.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/scan-barcodes@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Assets.xcassets/scan.imageset/scan-barcodes@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Base.lproj/Main.storyboard +145 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/CameraViewController.swift +187 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/ReadMultipleBarcodes.json +116 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/SceneDelegate.swift +51 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode/ViewController.swift +55 -0
- package/code-snippet/ios/FoundationalAPISamples/LocateAnItemWithBarcode/LocateAnItemWithBarcode.xcodeproj/project.pbxproj +429 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/AppDelegate.swift +35 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Base.lproj/Main.storyboard +24 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/CameraViewController.swift +114 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/DynamsoftResources.bundle/Root.plist +61 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/DynamsoftResources.bundle/Templates/ReadGS1AI.json +135 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/DynamsoftResources.bundle/en.lproj/Root.strings +0 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/Info.plist +25 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/SceneDelegate.swift +57 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/ReadGS1AI/ReadGS1AI.xcodeproj/project.pbxproj +389 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/AppDelegate.swift +20 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/AppIcon.appiconset/dbr.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/Contents.json +6 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/Contents.json +23 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/dynamsoft.imageset/dynamsoft-logo@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/icon_arrow_camera_zoom_close.imageset/Contents.json +22 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/icon_arrow_camera_zoom_close.imageset/icon_arrow_camera_zoom_close@2x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Assets.xcassets/icon_arrow_camera_zoom_close.imageset/icon_arrow_camera_zoom_close@3x.png +0 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Base.lproj/LaunchScreen.storyboard +25 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Base.lproj/Main.storyboard +52 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/CameraViewController.swift +231 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Category/UIDevice+Addition.swift +58 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Category/UIView+Frame.swift +60 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Info.plist +8 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/TinyBarcodeDecoding-Bridging-Header.h +4 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Utils/Dynamsoft.swift +53 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/ViewController.swift +111 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Views/CameraSettingView.swift +71 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Views/CameraZoomFloatingButton.swift +56 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding/Views/CameraZoomSlider.swift +104 -0
- package/code-snippet/ios/FoundationalAPISamples/TinyBarcodeDecoding/TinyBarcodeDecoding.xcodeproj/project.pbxproj +473 -0
- package/data/dynamsoft_sdks.json +118 -0
- package/package.json +32 -0
- package/src/index.js +832 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="9Vj-u8-qKk">
|
|
3
|
+
<device id="retina6_12" orientation="portrait" appearance="light"/>
|
|
4
|
+
<dependencies>
|
|
5
|
+
<deployment identifier="iOS"/>
|
|
6
|
+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22684"/>
|
|
7
|
+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
|
|
8
|
+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
|
9
|
+
</dependencies>
|
|
10
|
+
<scenes>
|
|
11
|
+
<!--View Controller-->
|
|
12
|
+
<scene sceneID="tne-QT-ifu">
|
|
13
|
+
<objects>
|
|
14
|
+
<viewController id="BYZ-38-t0r" customClass="ViewController" customModule="LocateAnItemWithBarcode" customModuleProvider="target" sceneMemberID="viewController">
|
|
15
|
+
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
|
|
16
|
+
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
|
|
17
|
+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
|
|
18
|
+
<subviews>
|
|
19
|
+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FjM-Xm-yN9">
|
|
20
|
+
<rect key="frame" x="20" y="284.66666666666663" width="353" height="282.66666666666663"/>
|
|
21
|
+
<subviews>
|
|
22
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qd7-p5-3hK">
|
|
23
|
+
<rect key="frame" x="20" y="214.66666666666663" width="313" height="48"/>
|
|
24
|
+
<color key="backgroundColor" red="0.99607843139999996" green="0.5568627451" blue="0.078431372550000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
|
|
25
|
+
<constraints>
|
|
26
|
+
<constraint firstAttribute="height" constant="48" id="VJg-l9-r0b"/>
|
|
27
|
+
</constraints>
|
|
28
|
+
<fontDescription key="fontDescription" type="system" pointSize="20"/>
|
|
29
|
+
<color key="tintColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
30
|
+
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
|
31
|
+
<state key="normal" title="Scan a Passport"/>
|
|
32
|
+
<buttonConfiguration key="configuration" style="plain" title="Start Searching">
|
|
33
|
+
<fontDescription key="titleFontDescription" type="system" pointSize="18"/>
|
|
34
|
+
</buttonConfiguration>
|
|
35
|
+
<connections>
|
|
36
|
+
<action selector="onStartSearching:" destination="BYZ-38-t0r" eventType="touchUpInside" id="CV1-4d-Ltl"/>
|
|
37
|
+
</connections>
|
|
38
|
+
</button>
|
|
39
|
+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2.Start searching for the item" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ew3-Rs-Q2K">
|
|
40
|
+
<rect key="frame" x="20" y="180.66666666666663" width="313" height="24"/>
|
|
41
|
+
<fontDescription key="fontDescription" type="system" pointSize="20"/>
|
|
42
|
+
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
43
|
+
<nil key="highlightedColor"/>
|
|
44
|
+
</label>
|
|
45
|
+
<textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter Item ID" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="YJP-Fy-OyE">
|
|
46
|
+
<rect key="frame" x="20" y="130.66666666666663" width="223" height="40"/>
|
|
47
|
+
<fontDescription key="fontDescription" type="system" pointSize="14"/>
|
|
48
|
+
<textInputTraits key="textInputTraits"/>
|
|
49
|
+
</textField>
|
|
50
|
+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="y5a-3a-35Q">
|
|
51
|
+
<rect key="frame" x="253" y="130.66666666666663" width="80" height="40"/>
|
|
52
|
+
<constraints>
|
|
53
|
+
<constraint firstAttribute="height" constant="40" id="fkX-AY-LGU"/>
|
|
54
|
+
</constraints>
|
|
55
|
+
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
|
|
56
|
+
<state key="normal" image="scan"/>
|
|
57
|
+
<connections>
|
|
58
|
+
<action selector="onButtonTouch:" destination="BYZ-38-t0r" eventType="touchUpInside" id="9UT-0l-WGf"/>
|
|
59
|
+
</connections>
|
|
60
|
+
</button>
|
|
61
|
+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1.Enter or Scan the Item ID that you're searching for:" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="J4p-rS-ODt">
|
|
62
|
+
<rect key="frame" x="20" y="72.666666666666629" width="313" height="48"/>
|
|
63
|
+
<fontDescription key="fontDescription" type="system" pointSize="20"/>
|
|
64
|
+
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
65
|
+
<nil key="highlightedColor"/>
|
|
66
|
+
</label>
|
|
67
|
+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Locate an Item with Barcode" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Awb-3O-OTj">
|
|
68
|
+
<rect key="frame" x="20" y="20" width="313" height="27.666666666666671"/>
|
|
69
|
+
<fontDescription key="fontDescription" type="system" pointSize="24"/>
|
|
70
|
+
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
71
|
+
<nil key="highlightedColor"/>
|
|
72
|
+
</label>
|
|
73
|
+
</subviews>
|
|
74
|
+
<color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
75
|
+
<constraints>
|
|
76
|
+
<constraint firstItem="Awb-3O-OTj" firstAttribute="leading" secondItem="FjM-Xm-yN9" secondAttribute="leading" constant="20" id="0es-nj-LCj"/>
|
|
77
|
+
<constraint firstItem="qd7-p5-3hK" firstAttribute="leading" secondItem="FjM-Xm-yN9" secondAttribute="leading" constant="20" id="9xR-2x-MRx"/>
|
|
78
|
+
<constraint firstItem="y5a-3a-35Q" firstAttribute="leading" secondItem="YJP-Fy-OyE" secondAttribute="trailing" constant="10" id="AWI-FC-Czk"/>
|
|
79
|
+
<constraint firstItem="J4p-rS-ODt" firstAttribute="top" secondItem="Awb-3O-OTj" secondAttribute="bottom" constant="25" id="BNS-wj-YoZ"/>
|
|
80
|
+
<constraint firstItem="Ew3-Rs-Q2K" firstAttribute="centerX" secondItem="FjM-Xm-yN9" secondAttribute="centerX" id="Bl7-yx-ite"/>
|
|
81
|
+
<constraint firstItem="Ew3-Rs-Q2K" firstAttribute="leading" secondItem="FjM-Xm-yN9" secondAttribute="leading" constant="20" id="FrQ-kc-xQm"/>
|
|
82
|
+
<constraint firstItem="y5a-3a-35Q" firstAttribute="leading" secondItem="FjM-Xm-yN9" secondAttribute="trailing" constant="-100" id="MTh-dE-cDw"/>
|
|
83
|
+
<constraint firstItem="YJP-Fy-OyE" firstAttribute="centerY" secondItem="y5a-3a-35Q" secondAttribute="centerY" id="Mx6-Sx-28r"/>
|
|
84
|
+
<constraint firstItem="qd7-p5-3hK" firstAttribute="top" secondItem="Ew3-Rs-Q2K" secondAttribute="bottom" constant="10" id="PrO-l2-MVx"/>
|
|
85
|
+
<constraint firstItem="J4p-rS-ODt" firstAttribute="centerX" secondItem="FjM-Xm-yN9" secondAttribute="centerX" id="RS2-SX-7BF"/>
|
|
86
|
+
<constraint firstItem="qd7-p5-3hK" firstAttribute="centerX" secondItem="FjM-Xm-yN9" secondAttribute="centerX" id="V2t-3p-z2v"/>
|
|
87
|
+
<constraint firstItem="Ew3-Rs-Q2K" firstAttribute="top" secondItem="y5a-3a-35Q" secondAttribute="bottom" constant="10" id="b32-aJ-wLf"/>
|
|
88
|
+
<constraint firstItem="YJP-Fy-OyE" firstAttribute="leading" secondItem="FjM-Xm-yN9" secondAttribute="leading" constant="20" id="cRM-KG-tjJ"/>
|
|
89
|
+
<constraint firstItem="Awb-3O-OTj" firstAttribute="top" secondItem="FjM-Xm-yN9" secondAttribute="top" constant="20" id="efd-qK-ulA"/>
|
|
90
|
+
<constraint firstAttribute="trailing" secondItem="y5a-3a-35Q" secondAttribute="trailing" constant="20" id="eg5-pl-SFx"/>
|
|
91
|
+
<constraint firstItem="Ew3-Rs-Q2K" firstAttribute="centerX" secondItem="FjM-Xm-yN9" secondAttribute="centerX" id="frW-zA-RJQ"/>
|
|
92
|
+
<constraint firstAttribute="bottom" secondItem="qd7-p5-3hK" secondAttribute="bottom" constant="20" id="hUF-Ld-bPZ"/>
|
|
93
|
+
<constraint firstItem="y5a-3a-35Q" firstAttribute="top" secondItem="J4p-rS-ODt" secondAttribute="bottom" constant="10" id="uAv-lV-u4b"/>
|
|
94
|
+
<constraint firstItem="YJP-Fy-OyE" firstAttribute="height" secondItem="y5a-3a-35Q" secondAttribute="height" id="ucD-Bb-FG3"/>
|
|
95
|
+
<constraint firstItem="Awb-3O-OTj" firstAttribute="centerX" secondItem="FjM-Xm-yN9" secondAttribute="centerX" id="wqW-Yb-Nhx"/>
|
|
96
|
+
<constraint firstItem="J4p-rS-ODt" firstAttribute="leading" secondItem="FjM-Xm-yN9" secondAttribute="leading" constant="20" id="xZq-py-md2"/>
|
|
97
|
+
</constraints>
|
|
98
|
+
</view>
|
|
99
|
+
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" image="dynamsoft" translatesAutoresizingMaskIntoConstraints="NO" id="DRn-iS-gfI">
|
|
100
|
+
<rect key="frame" x="121.66666666666669" y="617.33333333333337" width="150" height="37"/>
|
|
101
|
+
</imageView>
|
|
102
|
+
</subviews>
|
|
103
|
+
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
|
|
104
|
+
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
|
|
105
|
+
<constraints>
|
|
106
|
+
<constraint firstItem="DRn-iS-gfI" firstAttribute="top" secondItem="FjM-Xm-yN9" secondAttribute="bottom" constant="50" id="RNf-pv-CUt"/>
|
|
107
|
+
<constraint firstItem="DRn-iS-gfI" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="h9V-dR-uGe"/>
|
|
108
|
+
<constraint firstItem="FjM-Xm-yN9" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" constant="20" id="kCd-Hj-WR1"/>
|
|
109
|
+
<constraint firstItem="FjM-Xm-yN9" firstAttribute="centerY" secondItem="8bC-Xf-vdC" secondAttribute="centerY" id="rb6-UU-10a"/>
|
|
110
|
+
<constraint firstItem="FjM-Xm-yN9" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="yNx-Bk-Oel"/>
|
|
111
|
+
</constraints>
|
|
112
|
+
</view>
|
|
113
|
+
<navigationItem key="navigationItem" id="tDQ-Se-dwb"/>
|
|
114
|
+
<connections>
|
|
115
|
+
<outlet property="textField" destination="YJP-Fy-OyE" id="rhQ-nc-v8U"/>
|
|
116
|
+
</connections>
|
|
117
|
+
</viewController>
|
|
118
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
|
|
119
|
+
</objects>
|
|
120
|
+
<point key="canvasLocation" x="982.44274809160299" y="-27.464788732394368"/>
|
|
121
|
+
</scene>
|
|
122
|
+
<!--Navigation Controller-->
|
|
123
|
+
<scene sceneID="xow-Rq-GS8">
|
|
124
|
+
<objects>
|
|
125
|
+
<navigationController automaticallyAdjustsScrollViewInsets="NO" id="9Vj-u8-qKk" sceneMemberID="viewController">
|
|
126
|
+
<toolbarItems/>
|
|
127
|
+
<navigationBar key="navigationBar" contentMode="scaleToFill" id="yo0-pd-SXk">
|
|
128
|
+
<rect key="frame" x="0.0" y="59" width="393" height="44"/>
|
|
129
|
+
<autoresizingMask key="autoresizingMask"/>
|
|
130
|
+
</navigationBar>
|
|
131
|
+
<nil name="viewControllers"/>
|
|
132
|
+
<connections>
|
|
133
|
+
<segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="Jb8-OF-9qK"/>
|
|
134
|
+
</connections>
|
|
135
|
+
</navigationController>
|
|
136
|
+
<placeholder placeholderIdentifier="IBFirstResponder" id="pt9-Ow-xcF" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
|
|
137
|
+
</objects>
|
|
138
|
+
<point key="canvasLocation" x="55.725190839694655" y="-27.464788732394368"/>
|
|
139
|
+
</scene>
|
|
140
|
+
</scenes>
|
|
141
|
+
<resources>
|
|
142
|
+
<image name="dynamsoft" width="150" height="37"/>
|
|
143
|
+
<image name="scan" width="44" height="36"/>
|
|
144
|
+
</resources>
|
|
145
|
+
</document>
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This is the sample of Dynamsoft Barcode Reader.
|
|
3
|
+
*
|
|
4
|
+
* Copyright © Dynamsoft Corporation. All rights reserved.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import Foundation
|
|
8
|
+
import UIKit
|
|
9
|
+
import DynamsoftCaptureVisionBundle
|
|
10
|
+
|
|
11
|
+
class CameraViewController: UIViewController, CapturedResultReceiver {
|
|
12
|
+
|
|
13
|
+
weak var delegate: PopViewControllerDelegate?
|
|
14
|
+
var text:String?
|
|
15
|
+
var isStartSearching:Bool = false
|
|
16
|
+
let multipleName = "ReadMultipleBarcodes"
|
|
17
|
+
let defaultName = PresetTemplate.readBarcodes.rawValue
|
|
18
|
+
let path = Bundle.main.path(forResource: "ReadMultipleBarcodes", ofType: "json")!
|
|
19
|
+
let cvr = CaptureVisionRouter()
|
|
20
|
+
var cameraView:CameraView!
|
|
21
|
+
let dce = CameraEnhancer()
|
|
22
|
+
var drawingLayer:DrawingLayer!
|
|
23
|
+
let greenStyleId = DrawingStyleManager.createDrawingStyle(.green, strokeWidth: 2.0, fill: .green, textColor: .white, font: UIFont.systemFont(ofSize: 15.0))
|
|
24
|
+
let redStyleId = DrawingStyleManager.createDrawingStyle(.red, strokeWidth: 2.0, fill: .red, textColor: .white, font: UIFont.systemFont(ofSize: 15.0))
|
|
25
|
+
|
|
26
|
+
override func viewDidLoad() {
|
|
27
|
+
super.viewDidLoad()
|
|
28
|
+
setLicense()
|
|
29
|
+
setUpCamera()
|
|
30
|
+
setUpDCV()
|
|
31
|
+
setUpUI()
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
override func viewWillAppear(_ animated: Bool) {
|
|
35
|
+
super.viewWillAppear(animated)
|
|
36
|
+
self.title = "Locate Item"
|
|
37
|
+
self.navigationController?.navigationBar.isHidden = false
|
|
38
|
+
dce.open()
|
|
39
|
+
// Start capturing when the view will appear. If success, you will receive results in the CapturedResultReceiver.
|
|
40
|
+
var name:String
|
|
41
|
+
if isStartSearching {
|
|
42
|
+
name = multipleName
|
|
43
|
+
} else {
|
|
44
|
+
name = defaultName
|
|
45
|
+
try! cvr.resetSettings()
|
|
46
|
+
}
|
|
47
|
+
cvr.startCapturing(name) { isSuccess, error in
|
|
48
|
+
if (!isSuccess) {
|
|
49
|
+
if let error = error {
|
|
50
|
+
self.showResult("Error", error.localizedDescription)
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
override func viewWillDisappear(_ animated: Bool) {
|
|
57
|
+
super.viewWillDisappear(animated)
|
|
58
|
+
cvr.stopCapturing()
|
|
59
|
+
dce.close()
|
|
60
|
+
dce.clearBuffer()
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
func setUpCamera() {
|
|
64
|
+
cameraView = .init()
|
|
65
|
+
view.insertSubview(cameraView, at: 0)
|
|
66
|
+
cameraView.translatesAutoresizingMaskIntoConstraints = false
|
|
67
|
+
let safeArea = view.safeAreaLayoutGuide
|
|
68
|
+
NSLayoutConstraint.activate([
|
|
69
|
+
cameraView.leadingAnchor.constraint(equalTo: safeArea.leadingAnchor),
|
|
70
|
+
cameraView.trailingAnchor.constraint(equalTo: safeArea.trailingAnchor),
|
|
71
|
+
cameraView.topAnchor.constraint(equalTo: safeArea.topAnchor),
|
|
72
|
+
cameraView.bottomAnchor.constraint(equalTo: safeArea.bottomAnchor)
|
|
73
|
+
])
|
|
74
|
+
dce.cameraView = cameraView
|
|
75
|
+
cameraView.torchButtonVisible = true
|
|
76
|
+
let layer = cameraView.getDrawingLayer(DrawingLayerId.DBR.rawValue)
|
|
77
|
+
layer?.visible = false
|
|
78
|
+
drawingLayer = cameraView.createDrawingLayer()
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
func setUpDCV() {
|
|
82
|
+
try! cvr.initSettingsFromFile(path)
|
|
83
|
+
// Set the camera enhancer as the input.
|
|
84
|
+
try! cvr.setInput(dce)
|
|
85
|
+
// Add CapturedResultReceiver to receive the result callback when a video frame is processed.
|
|
86
|
+
cvr.addResultReceiver(self)
|
|
87
|
+
let filter = MultiFrameResultCrossFilter()
|
|
88
|
+
filter.enableLatestOverlapping(.barcode, isEnabled: true)
|
|
89
|
+
filter.setMaxOverlappingFrames(.barcode, maxOverlappingFrames: 10)
|
|
90
|
+
cvr.addResultFilter(filter)
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
func setUpUI() {
|
|
94
|
+
let safeArea = view.safeAreaLayoutGuide
|
|
95
|
+
let button = UIButton(type: .system)
|
|
96
|
+
button.translatesAutoresizingMaskIntoConstraints = false
|
|
97
|
+
button.setTitle("Locate another item", for: .normal)
|
|
98
|
+
button.backgroundColor = .orange
|
|
99
|
+
button.titleLabel?.font = UIFont.systemFont(ofSize: 16)
|
|
100
|
+
button.contentEdgeInsets = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
|
|
101
|
+
button.tintColor = .white
|
|
102
|
+
button.addTarget(self, action: #selector(click), for: .touchUpInside)
|
|
103
|
+
view.addSubview(button)
|
|
104
|
+
NSLayoutConstraint.activate([
|
|
105
|
+
button.topAnchor.constraint(equalTo: safeArea.topAnchor, constant: 20),
|
|
106
|
+
button.trailingAnchor.constraint(lessThanOrEqualTo: view.trailingAnchor, constant: -20),
|
|
107
|
+
])
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@objc
|
|
111
|
+
func click() {
|
|
112
|
+
self.navigationController?.popViewController(animated: true)
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
func onDecodedBarcodesReceived(_ result: DecodedBarcodesResult) {
|
|
116
|
+
if let items = result.items, items.count > 0 {
|
|
117
|
+
if !isStartSearching {
|
|
118
|
+
DispatchQueue.main.async {
|
|
119
|
+
self.cvr.stopCapturing()
|
|
120
|
+
self.dce.clearBuffer()
|
|
121
|
+
self.delegate?.didReceiveText(text: items.first?.text)
|
|
122
|
+
self.navigationController?.popViewController(animated: true)
|
|
123
|
+
}
|
|
124
|
+
} else {
|
|
125
|
+
var drawingItems:[DrawingItem] = []
|
|
126
|
+
for item in items {
|
|
127
|
+
let radius = 30.0
|
|
128
|
+
let arcItem = ArcDrawingItem(centre: item.location.centrePoint, radius: radius)
|
|
129
|
+
var str = ""
|
|
130
|
+
if item.text == text {
|
|
131
|
+
str = "+"
|
|
132
|
+
} else {
|
|
133
|
+
str = "✕"
|
|
134
|
+
}
|
|
135
|
+
let font = DrawingStyleManager.getDrawingStyle(arcItem.drawingStyleId)?.font ?? UIFont.systemFont(ofSize: 15)
|
|
136
|
+
let size = (str as NSString).size(withAttributes: [NSAttributedString.Key.font: font])
|
|
137
|
+
let width = ceil(size.width)
|
|
138
|
+
let height = ceil(size.height)
|
|
139
|
+
let point = dce.convertPointToViewCoordinates(item.location.centrePoint)
|
|
140
|
+
let symbolTextItem = TextDrawingItem(text: str, topLeftPoint: CGPoint(x: point.x - width/2, y: point.y - height/2), width: UInt(width), height: 0)
|
|
141
|
+
symbolTextItem.coordinateBase = .view
|
|
142
|
+
if item.text == text {
|
|
143
|
+
let textItem = TextDrawingItem(text: item.text, topLeftPoint: CGPoint(x: item.location.centrePoint.x - item.location.boundingRect.width/2, y: item.location.centrePoint.y + radius + 10), width: UInt(item.location.boundingRect.width), height: 0)
|
|
144
|
+
arcItem.drawingStyleId = greenStyleId
|
|
145
|
+
symbolTextItem.drawingStyleId = greenStyleId
|
|
146
|
+
textItem.drawingStyleId = greenStyleId
|
|
147
|
+
drawingItems.append(contentsOf: [arcItem, symbolTextItem, textItem])
|
|
148
|
+
} else {
|
|
149
|
+
arcItem.drawingStyleId = redStyleId
|
|
150
|
+
symbolTextItem.drawingStyleId = redStyleId
|
|
151
|
+
drawingItems.append(contentsOf: [arcItem, symbolTextItem])
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
drawingLayer.drawingItems = drawingItems
|
|
155
|
+
}
|
|
156
|
+
} else {
|
|
157
|
+
drawingLayer.drawingItems = nil
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
private func showResult(_ title: String, _ message: String?, completion: (() -> Void)? = nil) {
|
|
162
|
+
DispatchQueue.main.async {
|
|
163
|
+
let alert = UIAlertController(title: title, message: message, preferredStyle: .alert)
|
|
164
|
+
alert.addAction(UIAlertAction(title: "OK", style: .default, handler: { _ in completion?() }))
|
|
165
|
+
self.present(alert, animated: true, completion: nil)
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// MARK: LicenseVerificationListener
|
|
171
|
+
extension CameraViewController: LicenseVerificationListener {
|
|
172
|
+
|
|
173
|
+
func onLicenseVerified(_ isSuccess: Bool, error: Error?) {
|
|
174
|
+
if !isSuccess {
|
|
175
|
+
if let error = error {
|
|
176
|
+
print("\(error.localizedDescription)")
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
func setLicense() {
|
|
182
|
+
// Initialize the license.
|
|
183
|
+
// The license string here is a trial license. Note that network connection is required for this license to work.
|
|
184
|
+
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=ios
|
|
185
|
+
LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", verificationDelegate: self)
|
|
186
|
+
}
|
|
187
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>UIApplicationSceneManifest</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>UIApplicationSupportsMultipleScenes</key>
|
|
8
|
+
<false/>
|
|
9
|
+
<key>UISceneConfigurations</key>
|
|
10
|
+
<dict>
|
|
11
|
+
<key>UIWindowSceneSessionRoleApplication</key>
|
|
12
|
+
<array>
|
|
13
|
+
<dict>
|
|
14
|
+
<key>UISceneConfigurationName</key>
|
|
15
|
+
<string>Default Configuration</string>
|
|
16
|
+
<key>UISceneDelegateClassName</key>
|
|
17
|
+
<string>$(PRODUCT_MODULE_NAME).SceneDelegate</string>
|
|
18
|
+
<key>UISceneStoryboardFile</key>
|
|
19
|
+
<string>Main</string>
|
|
20
|
+
</dict>
|
|
21
|
+
</array>
|
|
22
|
+
</dict>
|
|
23
|
+
</dict>
|
|
24
|
+
</dict>
|
|
25
|
+
</plist>
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"GlobalParameter":
|
|
3
|
+
{
|
|
4
|
+
"IntraOpNumThreads": 2
|
|
5
|
+
},
|
|
6
|
+
"BarcodeFormatSpecificationOptions": [
|
|
7
|
+
{
|
|
8
|
+
"BarcodeFormatIds": [
|
|
9
|
+
"BF_PDF417",
|
|
10
|
+
"BF_QR_CODE",
|
|
11
|
+
"BF_DATAMATRIX",
|
|
12
|
+
"BF_AZTEC",
|
|
13
|
+
"BF_MICRO_QR",
|
|
14
|
+
"BF_MICRO_PDF417",
|
|
15
|
+
"BF_DOTCODE"
|
|
16
|
+
],
|
|
17
|
+
"MirrorMode": "MM_BOTH",
|
|
18
|
+
"Name": "bfs1-read-multiple-barcodes"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"Name": "bfs2-read-multiple-barcodes"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"BarcodeReaderTaskSettingOptions": [
|
|
25
|
+
{
|
|
26
|
+
"BarcodeFormatSpecificationNameArray": [
|
|
27
|
+
"bfs1-read-multiple-barcodes",
|
|
28
|
+
"bfs2-read-multiple-barcodes"
|
|
29
|
+
],
|
|
30
|
+
"ExpectedBarcodesCount": 999,
|
|
31
|
+
"MaxThreadsInOneTask": 1,
|
|
32
|
+
"Name": "task-read-multiple-barcodes",
|
|
33
|
+
"SectionArray": [
|
|
34
|
+
{
|
|
35
|
+
"ImageParameterName": "ip-read-multiple-barcodes",
|
|
36
|
+
"Section": "ST_REGION_PREDETECTION",
|
|
37
|
+
"StageArray": [
|
|
38
|
+
{
|
|
39
|
+
"Stage": "SST_PREDETECT_REGIONS"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"ImageParameterName": "ip-read-multiple-barcodes",
|
|
45
|
+
"Section": "ST_BARCODE_LOCALIZATION",
|
|
46
|
+
"StageArray": [
|
|
47
|
+
{
|
|
48
|
+
"LocalizationModes": [
|
|
49
|
+
{
|
|
50
|
+
"Mode": "LM_CONNECTED_BLOCKS"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"Mode": "LM_LINES"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"Mode": "LM_NEURAL_NETWORK"
|
|
57
|
+
}
|
|
58
|
+
],
|
|
59
|
+
"Stage": "SST_LOCALIZE_CANDIDATE_BARCODES"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"ImageParameterName": "ip-read-multiple-barcodes",
|
|
65
|
+
"Section": "ST_BARCODE_DECODING"
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"TextResultOrderModes": [
|
|
69
|
+
{
|
|
70
|
+
"Mode": "TROM_POSITION"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"Mode": "TROM_FORMAT"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"Mode": "TROM_CONFIDENCE"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"CaptureVisionTemplates": [
|
|
82
|
+
{
|
|
83
|
+
"ImageROIProcessingNameArray": [
|
|
84
|
+
"roi-read-multiple-barcodes"
|
|
85
|
+
],
|
|
86
|
+
"Name": "ReadMultipleBarcodes",
|
|
87
|
+
"MaxParallelTasks": 0,
|
|
88
|
+
"Timeout": 650
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"ImageParameterOptions": [
|
|
92
|
+
{
|
|
93
|
+
"ApplicableStages": [
|
|
94
|
+
{
|
|
95
|
+
"Stage": "SST_INPUT_COLOR_IMAGE"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"ImageScaleSetting": {
|
|
99
|
+
"EdgeLengthThreshold": 100000,
|
|
100
|
+
"ScaleType": "ST_SCALE_DOWN"
|
|
101
|
+
},
|
|
102
|
+
"Stage": "SST_SCALE_IMAGE"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"Name": "ip-read-multiple-barcodes"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"TargetROIDefOptions": [
|
|
109
|
+
{
|
|
110
|
+
"Name": "roi-read-multiple-barcodes",
|
|
111
|
+
"TaskSettingNameArray": [
|
|
112
|
+
"task-read-multiple-barcodes"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This is the sample of Dynamsoft Barcode Reader.
|
|
3
|
+
*
|
|
4
|
+
* Copyright © Dynamsoft Corporation. All rights reserved.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import UIKit
|
|
8
|
+
|
|
9
|
+
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
|
|
10
|
+
|
|
11
|
+
var window: UIWindow?
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
|
|
15
|
+
// Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
|
|
16
|
+
// If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
|
|
17
|
+
// This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
|
|
18
|
+
guard let _ = (scene as? UIWindowScene) else { return }
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
func sceneDidDisconnect(_ scene: UIScene) {
|
|
22
|
+
// Called as the scene is being released by the system.
|
|
23
|
+
// This occurs shortly after the scene enters the background, or when its session is discarded.
|
|
24
|
+
// Release any resources associated with this scene that can be re-created the next time the scene connects.
|
|
25
|
+
// The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead).
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
func sceneDidBecomeActive(_ scene: UIScene) {
|
|
29
|
+
// Called when the scene has moved from an inactive state to an active state.
|
|
30
|
+
// Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
func sceneWillResignActive(_ scene: UIScene) {
|
|
34
|
+
// Called when the scene will move from an active state to an inactive state.
|
|
35
|
+
// This may occur due to temporary interruptions (ex. an incoming phone call).
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
func sceneWillEnterForeground(_ scene: UIScene) {
|
|
39
|
+
// Called as the scene transitions from the background to the foreground.
|
|
40
|
+
// Use this method to undo the changes made on entering the background.
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
func sceneDidEnterBackground(_ scene: UIScene) {
|
|
44
|
+
// Called as the scene transitions from the foreground to the background.
|
|
45
|
+
// Use this method to save data, release shared resources, and store enough scene-specific state information
|
|
46
|
+
// to restore the scene back to its current state.
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This is the sample of Dynamsoft Barcode Reader.
|
|
3
|
+
*
|
|
4
|
+
* Copyright © Dynamsoft Corporation. All rights reserved.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import UIKit
|
|
8
|
+
|
|
9
|
+
protocol PopViewControllerDelegate: AnyObject {
|
|
10
|
+
func didReceiveText(text: String?)
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class ViewController: UIViewController, UITextFieldDelegate, PopViewControllerDelegate {
|
|
14
|
+
|
|
15
|
+
@IBOutlet weak var textField: UITextField!
|
|
16
|
+
|
|
17
|
+
override func viewDidLoad() {
|
|
18
|
+
super.viewDidLoad()
|
|
19
|
+
// Do any additional setup after loading the view.
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
override func viewWillAppear(_ animated: Bool) {
|
|
23
|
+
super.viewWillAppear(animated)
|
|
24
|
+
self.navigationController?.navigationBar.isHidden = true
|
|
25
|
+
textField.delegate = self
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@IBAction func onStartSearching(_ sender: Any) {
|
|
29
|
+
DispatchQueue.main.async {
|
|
30
|
+
let vc = CameraViewController()
|
|
31
|
+
vc.isStartSearching = true
|
|
32
|
+
vc.text = self.textField.text
|
|
33
|
+
self.navigationController?.pushViewController(vc, animated: true)
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@IBAction func onButtonTouch(_ sender: Any) {
|
|
38
|
+
DispatchQueue.main.async {
|
|
39
|
+
let vc = CameraViewController()
|
|
40
|
+
vc.isStartSearching = false
|
|
41
|
+
vc.delegate = self
|
|
42
|
+
self.navigationController?.pushViewController(vc, animated: true)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
func didReceiveText(text: String?) {
|
|
47
|
+
self.textField.text = text
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
func textFieldShouldReturn(_ textField: UITextField) -> Bool {
|
|
51
|
+
textField.resignFirstResponder()
|
|
52
|
+
return true
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|