m7_livelyness_detection 0.0.4+4 m7_livelyness_detection: ^0.0.4+4 copied to clipboard
A single function package to detect weather the face visible in the camera is a live face or not.
0.0.4+4 #
- Minor Bug Fixes.
0.0.4+3 #
- Minor Bug Fixes.
0.0.4+2 #
- Android issue resilved.
0.0.4+1 #
- When allowing the user to capture even after the
maxSecToDetect
seconds have passed, the background color can be set accordingly.
final String? response =
await M7LivelynessDetection.instance.detectLivelyness(
context,
config: M7DetectionConfig(
steps: _veificationSteps,
startWithInfoScreen: _startWithInfo,
maxSecToDetect: _timeOutDuration == 100 ? 2500 : _timeOutDuration,
allowAfterMaxSec: _allowAfterTimeOut,
captureButtonColor: Colors.red, /// <-------- Pass [captureButtonColor] to set the color.
),
);
0.0.4 #
- If the user's device does not support face detection and still if you want to capture the image refer to the below-mentioned code.
M7LivelynessDetection.instance.detectLivelyness(
context,
config: M7DetectionConfig(
steps: _veificationSteps,
startWithInfoScreen: _startWithInfo,
maxSecToDetect: _timeOutDuration == 100 ? 2500 : _timeOutDuration,
allowAfterMaxSec: true, /// <-------- Pass [allowAfterMaxSec] as true.
),
)
0.0.3+hotfix #
- A minor hotfix for
image
package.
0.0.3 #
- The user can now add custom threshold for each step using the below-mentioned code
M7LivelynessDetection.instance.configure(
thresholds: [
M7SmileDetectionThreshold(
probability: 0.8,
),
M7BlinkDetectionThreshold(
leftEyeProbability: 0.25,
rightEyeProbability: 0.25,
),
],
);
- NOTE: -
Please call the above function before calling the
M7LivelynessDetection.instance.detectLivelyness
.
0.0.2+2 #
- Updated the README.md with contributors
0.0.2+1 #
- Added Demo video in the README.md file.
0.0.2 #
- Updated the README.md file
- Added documentation for the package.
- Updated the
example
project.
0.0.1 #
- Initial Commit.