menu
opencv_dart package
documentation
objdetect.dart
FaceRecognizerSFAsync extension
FaceRecognizerSFAsync extension
dark_mode
light_mode
FaceRecognizerSFAsync
extension
on
FaceRecognizerSF
Methods
alignCropAsync
(
Mat
srcImg
,
Mat
faceBox
)
→
Future
<
Mat
>
featureAsync
(
Mat
alignedImg
, {
bool
clone
=
false
})
→
Future
<
Mat
>
matchAsync
(
Mat
faceFeature1
,
Mat
faceFeature2
, {
int
disType
=
FaceRecognizerSF.FR_COSINE
})
→
Future
<
double
>
Static Methods
fromFileAsync
(
String
model
,
String
config
, {
int
backendId
=
0
,
int
targetId
=
0
})
→
Future
<
FaceRecognizerSF
>
opencv_dart package
documentation
objdetect
FaceRecognizerSFAsync extension
cv.objdetect library