Pixlytics is an SDK to give you the possibility to detect items thanks on artificial inteligence recognition. The system works with a list of items stored on server which can be managed from the SDK itself.artificial. Then we can generate a trained model from this list and use it to operate recognition of items. All this operations are made with requests to Pixlytics server but the recognition can also be made with Offline mode.
CocoaPods is the recommended way to add Pixlytics to your project.
- Add a pod entry for Pixlytics to your Podfile :
pod 'Pixlytics'
- Install the pod(s) by running
pod install
. - Unzip the file opencv2.framework.zip and drag and drop the framework contained in it into your frameworks folder on xcode. You can check your framework is correctly added by checking the section 'Linked Frameworks and Libraries' in your .xcodeproj file (Targets).
- Include Pixlytics wherever you need it with
#import <Pixlytics_SDK/Pixlytics_SDK.h>
from Objective-C orimport Pixlytics_SDK
from Swift.
You can find a sample app code that shows the different ways of using the SDK Here
Attention : To use the SDK, you need a license key that you can get on the Pixlytics website
The sample code is commented and show usage examples of the SDK.
import Pixlytics_SDK
var online: SessionOnline? = SessionOnline(licenceKey: "your_license_key", success: { () in
failure(nil)
}, failure: { (error) in
failure(error)
})
var local: RecognitionSession? = RecognitionSession.init("your_license_key")
local?.loadModel("path_to_trained_model", completion: { (errorLoadmodel) in
//Handle error
})
The main sdk entry points are RecognitionSession and SessionOnline. You have to keep reference of the instance to use the service. Keep the service optionnal as it can fail at init.
When you will be at the upload step for submitting your app to the official app store, uncheck the option Include app symbols for your application to receive symbolicated crash logs from Apple
this is a consequence of disabling bitcode generation.
You can find a more detailled documentation of the SDK at the following address. If you need to contact us, send an email at [email protected]
- Xcode 11.0+
- iOS 10.0+
Pixlytics is available under a commercial license. See the LICENSE file for more info.
Wassa, [email protected]