-
Notifications
You must be signed in to change notification settings - Fork 18
[EN] Run the Demo
yangyunxing edited this page Dec 19, 2017
·
6 revisions
- Register an account: https://console.faceplusplus.com/register
- Create a free key and secert: https://console.faceplusplus.com/app/apikey/create
- Download the Demo&SDK from https://codeload.github.com/FacePlusPlus/MegviiFacepp-iOS-SDK/zip/master
- Open
FaceppDemo.xcworkspaceunder the folderFaceppDemo, Do not open MGFacepp.xcworkspace

- Create a file named
MGNetAccount.hif not exist, and copy yourapikeyandapisecretlike this:
#define MG_USE_ONLINE_AUTH 1
#define MG_LICENSE_KEY @"xxxxx" //your apikey
#define MG_LICENSE_SECRET @"xxxxx" //your apisecret
- Add the bundleID of your project to your accout: https://console.faceplusplus.com/app/bundle/create (Keep the bundleID of your project in the list:https://console.faceplusplus.com/app/bundle/list)
- Modify the parameter

- Run
Discuss: There are only 5 licenses per day for trial/free version, the time of a license time is 24 hours.If you get a error DAILY_QUOTA_EXCEEDED ,it indicates you have used all of the five licenses,please remove your current apikey and create a new one.