 |
Face Engine SDK
4.7.0
A face detection, recognition and tracking engine.
|
Go to the documentation of this file.
15 #include "IResultBatch.h"
21 #ifndef DOXYGEN_SHOULD_SKIP_THIS
74 {
return static_cast<DetectionType>(
static_cast<int>(a) |
static_cast<int>(b)); }
107 {
return func(img, a, b); }
129 int detectionPerImageNum,
196 "\tconst Span<Face>& faces,\n"
197 "\tDetectionType type,\n"
198 "\tconst Span<Result<FSDKError>>& outErrors) call.\n")
251 uint32_t detectionPerImageNum,
virtual ResultValue< FSDKError, Ref< IResultBatch< Face > > > detect(const Span< const Image > images, const Span< const Rect > rectangles, int detectionPerImageNum, DetectionType type=dtBBox) noexcept=0
Detect faces and landmarks on multiple images.
Span. @detail Not owning data view. It incapsulated pointer to the continuous array with one or more ...
Definition: Span.h:14
@ DCT_CONFIDANCE
BestDetection - detections with highest score.
Definition: IDetector.h:56
FSDKError
Common SDK error codes.
Definition: FSDKError.h:17
#define DECLARE_SMARTPTR(X)
Smart ptr declaration helper macro.
Definition: Def.h:59
@ dtBBox
Get bounding boxes of faces.
Definition: IDetector.h:67
@ dtAll
Get all supported parameters.
Definition: IDetector.h:70
@ DCT_POINTS
Get 17 keypoints of human, with score for each one.
Definition: IDetector.h:81
@ FACE_DET_COUNT
Detector type count.
Definition: IDetector.h:49
Object system types and interfaces.
@ dt5Landmarks
Get bounding boxes and 5 facial landmarks.
Definition: IDetector.h:68
@ FACE_DET_DEFAULT
Default detector cpecified in config file;.
Definition: IDetector.h:45
SDK namespace.
Definition: IAGSEstimator.h:8
@ FACE_DET_V1
Detector type 1.
Definition: IDetector.h:46
virtual ResultValue< FSDKError, Ref< IResultBatch< Human > > > redetect(Span< const Image > images, Ref< IResultBatch< Human >> detectionBatch, HumanDetectionType type=HumanDetectionType::DCT_BOX) const noexcept=0
Batched redetect humans on multiple images based on the detection results for the previous frames.
DetectionComparerType
Strategy of BestDetections comparer.
Definition: IDetector.h:55
virtual void setCustomDetectionComparer(const IDetectionComparer *comparer) noexcept=0
Set custom detection comparer object.
@ RM_INFRA_RED
IR image processing mode.
Definition: IDetector.h:32
face detector interface.
Definition: IDetector.h:115
virtual fsdk::ResultValue< fsdk::FSDKError, fsdk::Face > redetectOne(const fsdk::Image &image, const fsdk::FloatRect &rect, fsdk::DetectionType type=fsdk::dtBBox) noexcept=0
Redetect face.
@ DCT_CENTER
BestDetection - most centered detection.
Definition: IDetector.h:57
@ DCT_BOX
Get bounding boxes of human bodies.
Definition: IDetector.h:80
@ DCT_CENTER_AND_CONFIDANCE
bestDetection - most centered with high score
Definition: IDetector.h:58
virtual void setDetectionComparer(DetectionComparerType comparerType) noexcept=0
Set detection comparer from SDK defined list.
virtual fsdk::ResultValue< fsdk::FSDKError, fsdk::OrientationType > estimateOrientation(const Image &image) noexcept=0
Estimate orientation of all image (Normal, Right90deg, Left90deg or UpsideDown).
@ FACE_DET_V2
Detector type 2.
Definition: IDetector.h:47
human body detector interface.
Definition: IDetector.h:237
@ FACE_DET_V3
Detector type 3.
Definition: IDetector.h:48
ObjectDetectorClassType
Object detector type enumeration.
Definition: IDetector.h:44
DetectionType
Detection type enumeration.
Definition: IDetector.h:66
Interface of BestDetection comparer. Implement it if you want to use own BestDetection strategy.
Definition: IDetector.h:92
virtual ResultValue< FSDKError, bool > redetectOne(Face &face, DetectionType type=dtBBox) noexcept=0
RecognitionMode
Recognition mode structure. Determines which recognition mode to use.
Definition: IDetector.h:30
@ dt68Landmarks
Get bounding boxes and 68 facial landmarks.
Definition: IDetector.h:69
@ DCT_SIZE
bestDetection - the largest detection
Definition: IDetector.h:59
Common data types and structures.
@ DCT_ALL
Get all supported parameters.
Definition: IDetector.h:82
Definition: IResultBatch.h:10
Syntax sugar, allows you to use lambdas to define a BestDetection comparer.
Definition: IDetector.h:101
OrientationType
Estimation of image orientation.
Definition: OrientationType.h:10
virtual Result< FSDKError > redetect(const fsdk::Span< fsdk::Face > &faces, fsdk::DetectionType type, const fsdk::Span< fsdk::Result< fsdk::FSDKError >> &outErrors) noexcept=0
Batched redetect faces.
Image.
Definition: Image.h:38
Smart pointer for reference counted objects.
Definition: Ref.h:20
virtual ResultValue< FSDKError, Face > detectOne(const Image &image, const Rect &rect, DetectionType type=dtBBox) noexcept=0
Light function to get just one best detection from single input image.
virtual Result< FSDKError > FSDK_DEPRECATED("This call is deprecated since v.3.9.3. Consider " "redetect(\n" "\tconst Span<Face>& faces,\n" "\tDetectionType type,\n" "\tconst Span<Result<FSDKError>>& outErrors) call.\n") redetect(const Span< Face > &faces
Batched redetect faces.
Base strong reference counted object interface.
Definition: IRefCounted.h:36
Face detection. @detail Stores a detected face bounding box within a source image frame as well as de...
Definition: Detection.h:10
HumanDetectionType
Human detection type enumeration.
Definition: IDetector.h:79
@ RM_RGB
RGB image processing mode.
Definition: IDetector.h:31
Addon for Result to output some value aside the result. Specialization for copiable types.
Definition: ResultValue.h:21