chromefacematch 1.0.2 chromefacematch: ^1.0.2 copied to clipboard
this is a package for face detect and match with data base.
TODO: this is a package for face detect and match with data base.
Features #
- In this package we added FaceDetector.
- features like Face Match.
- Liveness detector
Getting started #
i am using some library to clear that.
Usage #
Add jniLib folder in android/app/src/main/jniLibs
https://drive.google.com/drive/folders/1ZW5lrK_d8iBjzz8Accj1mc1OFFX1D8Fy?usp=share_link
downlaod mobilefacenet.tflitte file from the link https://drive.google.com/file/d/13vQyFe_kVdO_cpvRjQupEy643DjXQICr/view?usp=share_link
assets:
- assets/mobilefacenet.tflite
use can you this in the main.dart file on top.
List<CameraDescription> cameras = [];
for use you can implement to method
import 'package:chromefacematch/chromefacematch.dart';
import 'package:camera/camera.dart';
late Scandata scandata;
@override
void initState(){
super.initState();
getAsync();
}
void getAsync() async{
cameras = await availableCameras();
setupServices();
}
bool isload=false;
void _incrementCounter() async {
final result = await Navigator.push(
context,
MaterialPageRoute(
builder: (
BuildContext context) =>
SignIn(),
),
);
if (result != null) {
scandata = await MLService.getscandata(result);
isload =true;
setState(() {
});
}
}
Additional information #
TODO: this library is very use full to detect face and match face to the database.