Passio Nutrition-AI SDK added data from Open Food Facts (https://en.openfoodfacts.org/). Each food that contains data from Open Food Facts will be marked by public var isOpenFood: Bool. In case you choose to use foods that are marked by isOpenFood = true
you agree to abide by the terms of the Open Food Facts license agreement (https://opendatacommons.org/licenses/odbl/1-0) and their terms of use (https://world.openfoodfacts.org/terms-of-use) and you will have to add to the UI the following license copy:
"This record contains information from Open Food Facts (https://en.openfoodfacts.org), which is made available here under the Open Database License (https://opendatacommons.org/licenses/odbl/1-0)"
If you don't wish to display the Open Food Facts license somewhere in your app, it is your responsibility to ignore results where isOpenFood = true
.
To use the SDK please make sure you receive your SDK license key from Passio. The SDK WILL NOT WORK without a valid SDK key.
You will have to download the latest releases from the link below. The command "git clone" WILL NOT download the PassioNutritionAISDK.xcframework. https://github.com/Passiolife/Passio-Nutrition-AI-iOS-SDK-Distribution/releases. Download the PassioSDKQuickStart.zip
or the PassioSDKFullDemo.zip
and either install the framework using the Swift Package Manager directions or copy the PassioNutritionAISDK.xcframework
to your project. Make sure you have followed the directions in the README files.
In order to use the PassioSDK your app needs to meet the following minimal requirements:
The SDK will only run or compile on iOS 13 or newer.
Passio SDK can only be used on a device and will not run on a simulator
The SDK requires access to iPhone's camera
Weight/Volume estimation will run only on iPhones with Dual Wide Camera (not on DualCamera). It will not run on the models below.
iPhone 11 Pro & Pro Max
iPhone 12 mini, Pro & Pro Max
If at any point you need help from the Passio team, please reach out to us at support@passiolife.com