SAPML
The SAPML
framework includes components for developing machine learning features in apps, including drop-in UI components for text recognition, topology APIs for easy searching and filtering of text observations, and Core ML model management APIs for distributing custom Core ML models hosted on the SAP Mobile Services to the app. Apple Vision framework is used for text detection.
Dependencies
The SAPML.xcframework depends on the following frameworks:
- SAPCommon.xcframework
- SAPFoundation.xcframework
- SAPFiori.xcframework
Installation
Add SAPCommon.xcframework, SAPFoundation.xcframework, SAPFiori.xcframework, and SAPML to your Xcode project. Add SAPCommon.xcframework, SAPFoundation.xcframework, SAPFiori.xcframework, and SAPML under Embedded Binaries in the General tab for your project configuration. Your app is now linked to the frameworks and appears under the Link Binary with Libraries and Embedded Frameworks section in the Build Phases tab of your app’s Xcode project settings.
Component Categories
- Text Recognition – Configure
FUITextRecognitionView
to scan, filter, and extract relevant texts using the device camera. - Observation Topology – Orders text observations in detected text for easier searching and filtering.
- Model Management – Distribute and update Core ML models that are hosted on SAP Mobile Services to the app. Keep track of downloaded models easily with
SAPMLModelManager
.