Skip to content

v3.1.0

Compare
Choose a tag to compare
@TeruyaHaroldo TeruyaHaroldo released this 07 Apr 21:02
· 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:
  • type: "face" or "frame"
  • count: current index
  • total: total to create
  • image.path: the face/frame image path
  • image.source: the blob file
  • image.binary: the blob file
  • inferences: An Array with models output
  • darkness: image darkness classification.
  • lightness: image lightness classification.
  • sharpness: image sharpness classification.

    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;

    ⬆️ Upgrade Dependencies

    • android-yoonit-facefy: update from 2.9.0 to 2.10.0;
    • ios-yoonit-camera: update from 2.5.0 to 2.6.0;