diff --git a/README.md b/README.md index 143c9ed..b3a1a17 100644 --- a/README.md +++ b/README.md @@ -9,15 +9,18 @@ Machine Learning Plugin for Capacitor. Currently offered implementations include ## Compatibility Chart -| Feature | ios | android | -| ------------- | ------------- | ------------ | -| ML Framework | CoreML Vision | MLKIt Vision | -| Text Detection with Still Images | Yes | Yes | -| Detects lines of text | Yes | Yes | -| Bounding Coordinates for Text | Yes | Yes | -| Image Orientation | Yes (Up, Left, Right, Down) | Yes (Up, Left, Right, Down) | -| Skewed Text| Yes | No | -| Angled (Rotated <~ 45deg) Text | Yes | Yes | +| Feature | ios | android | +| -------------------------------- | --------------------------- | --------------------------- | +| ML Framework | CoreML Vision | Firebase MLKit | +| Text Detection with Still Images | Yes | Yes | +| Detects lines of text | Yes | Yes | +| Bounding Coordinates for Text | Yes | Yes | +| Image Orientation | Yes (Up, Left, Right, Down) | Yes (Up, Left, Right, Down) | +| Skewed Text | Yes | Unreliable | +| Rotated Text (<~ 45deg) | Yes | Yes (but with noise) | +| On-Device | Yes | Yes | +| SDK/ios Version | ios 13.0 or newer | Targets API level >= 16
Uses Gradle >= 4.1
com.android.tools.build:gradle >= v3.2.1
compileSdkVersion >= 28 | +| | | | ## Installation diff --git a/examples/text-detection/ImageReader/ios/App/App.xcodeproj/project.pbxproj b/examples/text-detection/ImageReader/ios/App/App.xcodeproj/project.pbxproj index 0692eab..c31a13b 100644 --- a/examples/text-detection/ImageReader/ios/App/App.xcodeproj/project.pbxproj +++ b/examples/text-detection/ImageReader/ios/App/App.xcodeproj/project.pbxproj @@ -345,7 +345,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = SL5E64FK4A; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = App/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; @@ -364,7 +364,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = SL5E64FK4A; + DEVELOPMENT_TEAM = ""; INFOPLIST_FILE = App/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; diff --git a/ios/Plugin/Plugin.swift b/ios/Plugin/Plugin.swift index 1580ac9..177d246 100644 --- a/ios/Plugin/Plugin.swift +++ b/ios/Plugin/Plugin.swift @@ -19,7 +19,6 @@ public class CapML: CAPPlugin { call.reject("file does not contain an image") return } - TextDetector(call: call, image: image).detectText() } }