FaceRecognitionService class
Constructors
- FaceRecognitionService.new({required FaceDetector faceDetector, required Interpreter interpreter})
Properties
- faceDetector → FaceDetector
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- interpreter → Interpreter
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculateCosineSimilarity(
List< double> vec1, List<double> vec2) → double -
detectFaces(
InputImage inputImage) → Future< List< Face> > -
extractEmbedding(
Image image, Face face) → Future< List< double> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- faceNetEmbeddingSize → const int
- faceNetImageSize → const int