v3.1.0
·
329 commits
to development
since this release
💥 Breaking Changes
Changes in the event imageCaptured
. Add the image quality parameters:
- darkness: image darkness classification;
- lightness: image lightness classification;
- sharpness: image sharpness classification;
Before:
imageCaptured(
type: string,
count: number,
total: number,
imagePath: string,
inferences: []
)
Now:
imageCaptured(
type: string,
count: number,
total: number,
imagePath: string,
inferences: []
darkness: number,
lightness: number,
sharpness: number
)
✨ New Feature
Image Quality
Event | Parameters | Description |
---|---|---|
imageCaptured | { type: string, count: number, total: number, image: object = { path: string, source: any, binary: any }, inferences: [{ ['model name']: model output }], darkness: number, lightness: number, sharpness: number } |
Must have started capture type of face/frame. Emitted when the face image file saved:
|
Face Contours for iOS
Function | Parameters | Valid values | Return Type | Description |
---|---|---|---|---|
setFaceContours | enable: boolean |
true or false |
void | Enable/disable display list of points on a detected face. |
setFaceContoursColor | color: string |
Hexadecimal color | void | Set face contours color. |
🐛 Bug Fix
Android
- Fix qrcode reading in specific devices;
- Fix face analysis when using the back camera lens;
iOS
- Fix drawing face bounding box;
- Fix face analysis when using the back camera lens;
📝 Update Readme
- Update project description;
- Update image captured event usage;
- Update face contours description;