2.6.0
💥 Breaking Changes
Changes in the event onImageCaptured
. Add the image quality parameters:
- darkness: image darkness classification;
- lightness: image lightness classification;
- sharpness: image sharpness classification;
Before:
func onImageCaptured(
_ type: String,
_ count: Int,
_ total: Int,
_ imagePath: String
)
Now:
func onImageCaptured(
_ type: String,
_ count: Int,
_ total: Int,
_ imagePath: String,
_ darkness: NSNumber?,
_ lightness: NSNumber?,
_ sharpness: NSNumber?
)
✨ New Feature
The image quality parameters classify three attributes related to the image captured:
- darkness;
- lightness;
- sharpness;
Event | Parameters | Description |
---|---|---|
onImageCaptured | type: String, count: Int, total: Int, imagePath: String, darkness: NSNumber?, lightness: NSNumber?, sharpness: NSNumber? |
Must have started capture type of face/frame (see startCaptureType ). Emitted when the image file is created:
|
🐛 Bug Fix
- Fix face analysis "directions" (right/left) when using the back camera lens;
📝 Update Readme
- Fix project description;
- Add image quality parameters description;
- Add image quality parameters usage;