2.11.0
🗑 Deprecated
- [Method] Removed
setFacePaddingPercent
;
✨ New Feature
- [Variable]
detectionTopSize
: Represents the percentage. Positive value enlarges and negative value reduce the top side of the detection. Use thesetDetectionBox
to have a visual result. - [Variable]
detectionRightSize
: Represents the percentage. Positive value enlarges and negative value reduce the right side of the detection. Use thesetDetectionBox
to have a visual result. - [Variable]
detectionBottomSize
: Represents the percentage. Positive value enlarges and negative value reduce the bottom side of the detection. Use thesetDetectionBox
to have a visual result. - [Variable]
detectionLeftSize
: Represents the percentage. Positive value enlarges and negative value reduce the left side of the detection. Use thesetDetectionBox
to have a visual result.
🐛 Bug Fix
- Fix saved image orientation when using camera lens back;
📝 Update Readme
- Add Variables section;
- Add Image Quality specifications:
Image Quality
The image quality is the classification of the three attributes: darkness, lightness and sharpness. Result available in the onImageCaptured
event. Let's see each parameter specifications:
Threshold | Classification |
---|---|
Darkness | |
darkness > 0.7 | Too dark |
darkness <= 0.7 | Acceptable |
Lightness | |
lightness > 0.65 | Too light |
lightness <= 0.65 | Acceptable |
Sharpness | |
sharpness >= 0.1591 | Blurred |
sharpness < 0.1591 | Acceptable |