Kindly execute FaceID for realtime inferencing.
FaceDetector.OPENCV_DL_FACEDETECTOR(default): OpenCV with prebuilt caffe face detection model- Configuration:
imageWidth:300imageHeight:300detectionThreshold:0.8
- Resources:
\OpenCVDeepLearningFaceDetector \res10_300x300_ssd_iter_140000.caffemodel \deploy.prototxt
- Configuration:
FaceDetector.OPENIMAJ_FKE_FACEDETECTOR: OpenIMAJ's FKEFaceDetector- Configuration
detectionThreshold:1.0
- Configuration
FaceIdentifier.FEATURE_DISTANCE_VGG16_PREBUILT: Identification by highest cosine similarity between webcam image and target embeddings (prebuilt VGG16 model with VGGFACE dataset, layerfc8as features).- Configuration
FaceFeatureProvider:VGG16FeatureProviderdictDir: resources \vgg16_faces_224detection target faces.numPredicts:1number of predictionsdetectionThreshold:0.78numSamples:3average of top 3 per class
- Resources:
\vgg16_faces_224 \person A \face1.jpg \face2.jpg \person B \face1.jpg \face2.jpg
- Configuration
FaceIdentifier.CUSTOM_VGG16: Identification by inference self trained model (may refer training steps)- Configuration
numPrediction:3
- Configuration
FaceIdentifier.FEATURE_DISTANCE_FACENET_PREBUILT(not stable): Identification by highest cosine similarity between webcam image and target embeddings (prebuilt InceptionResNetv1 model deployed on SKIL).FaceIdentifier.ZHZD: Identification by inference model trained by zhzd@skymind.cc, mainly for testing purposes.
- Using FaceIdentifier.FEATURE_DISTANCE: kindly invoke VGG16FaceDatasetPreperation.java to extract detection targets face images and load into
\vgg16_faces_224resource directory.