/Pixlytics-ios

Pix IOS

Primary LanguageRubyOtherNOASSERTION

@# Pixlytics

Version License Platform

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.

Installation

Cocoapods

CocoaPods is the recommended way to add Pixlytics to your project.

  1. Add a pod entry for Pixlytics to your Podfile :

pod 'Pixlytics'

  1. Install the pod(s) by running pod install.
  2. Include Pixlytics wherever you need it with #import <Pixlytics_SDK/Pixlytics_SDK.h> from Objective-C or import Pixlytics_SDK from Swift.

Usage

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 exemples 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.

⚠️ ⚠️ You have to set the following parameter enable_bitcode to "NO" in your project build settings ⚠️ ⚠️

⚠️ In the case you want to set a model directly from your project resources. Take care to respect the tree view in the trained model's files (and not keeping all the files in root directory)

Documentation

You can find a more detailled documentation of the SDK at the following address. If you need to contact us, send an email at support@wassa.io

Requirements

  • Xcode 11.0+
  • iOS 10.0+

License

Pixlytics is available under a commercial license. See the LICENSE file for more info.

Author

Wassa, contact@wassa.fr