Skip to content
This repository has been archived by the owner on Jun 23, 2019. It is now read-only.

Upgrade to Project Oxford API v1

Compare
Choose a tag to compare
@felixrieseberg felixrieseberg released this 14 Dec 18:37
· 101 commits to master since this release

⚠️ This version includes breaking changes for everyone coming from 0.3.0 or below. All versions of project-oxford at or below 0.3.0 were written for the Project Oxford v0 API. ⚠️

  • Be warned that v1 IDs are not compatible with the v0 API. If you've squirreled away these IDs, you will need to retrain your PersonGroup.
  • The concept of a FaceList has been introduced. This is a collection of face IDs that you would typically associate with a Person in a PersonGroup.
  • The concept of persistedFaceIds has been introduced. These IDs are long-lived, and are used for training. By contrast, a plain faceId is a byproduct of face feature detection. Note that face.detect method no longer returns a faceId by default. If you are interested in getting a faceId, you must request it in the options {returnFaceId: true}.
  • You can get a persistedFaceId either via faceList.addFace or person.addFace.
  • A UA string was added for server-side analytics.
  • Emotion API did not handle rectangles as input correctly, now they do.
  • Emotion API now has some tests.