![]()  | 
  
    Face Engine SDK
    5.17.0
    
   A face detection, recognition and tracking engine. 
   | 
 
human body detector interface. More...
#include <IHumanDetector.h>
  
 Public Types | |
| using | HumanBatchFuture = vlc::future< IHumanDetectionBatchPtr > | 
| Common alias for IHumanDetector asynchronous interface.  | |
Public Member Functions | |
| virtual ResultValue< FSDKError,  IHumanDetectionBatchPtr >  | detect (Span< const Image > images, Span< const Rect > rects, uint32_t detectionPerImageNum, HumanDetectionType type=HDT_BOX) const noexcept=0 | 
| Batched detect of human bodies.  More... | |
| virtual ResultValue< FSDKError,  Human >  | detectOne (const Image &image, const Rect &rect, HumanDetectionType type=HDT_BOX) const noexcept=0 | 
| Detect one person on input image.  More... | |
| virtual ResultValue< FSDKError,  Human >  | redetectOne (const Image &image, const Detection &detection, HumanDetectionType type=HDT_BOX) const noexcept=0 | 
| redetect one person from input image.  More... | |
| virtual ResultValue< FSDKError,  IHumanDetectionBatchPtr >  | redetect (Span< const Image > images, Ref< IHumanDetectionBatch > detectionBatch, HumanDetectionType type=HDT_BOX) const noexcept=0 | 
| Batched redetect humans on multiple images based on the detection results for the previous frames.  More... | |
| virtual ResultValue< FSDKError,  IHumanDetectionBatchPtr >  | redetect (Span< const Image > images, Span< Span< const Detection >> detections, HumanDetectionType type=HDT_BOX) const noexcept=0 | 
| Batched redetect humans on multiple images based on the detection results for the previous frames.  More... | |
| virtual Result< FSDKError > | validate (Span< const Image > images, Span< const Rect > rects, uint32_t detectionPerImageNum, Span< Result< FSDKError >> errors) const noexcept=0 | 
| Validate input of multiple frames in a single function call.  More... | |
| virtual Result< FSDKError > | validate (Span< const Image > images, Ref< IHumanDetectionBatch > detectionBatch, Span< Result< FSDKError >> errors) const noexcept=0 | 
| Validate input of multiple frames in a single function call.  More... | |
| virtual Result< FSDKError > | validate (Span< const Image > images, Span< Span< const Detection >> detections, Span< Span< Result< FSDKError >>> errors) const noexcept=0 | 
| Validate input of multiple frames in a single function call.  More... | |
| virtual HumanBatchFuture | detectAsync (Span< const Image > images, Span< const Rect > rectangles, uint32_t detectionPerImageNum, HumanDetectionType type=HDT_BOX) const =0 | 
| Asynchronously detects human bodies on multiple images.  More... | |
| virtual HumanBatchFuture | redetectAsync (Span< const Image > images, Ref< IHumanDetectionBatch > detectionBatch, HumanDetectionType type=HDT_BOX) const =0 | 
| Asynchronously redetects human bodies on multiple images based on the detection results for the previous frames.  More... | |
| virtual HumanBatchFuture | redetectAsync (Span< const Image > images, Span< Span< const Detection >> detections, HumanDetectionType type=HDT_BOX) const =0 | 
| Asynchronously redetects human bodies on multiple images based on the detection results for the previous frames.  More... | |
  Public Member Functions inherited from fsdk::IRefCounted | |
| virtual int32_t | retain () noexcept=0 | 
| Increase strong reference count.  More... | |
| virtual int32_t | retainLocked () noexcept=0 | 
| Increase strong reference count thread safely.  More... | |
| virtual int32_t | release () noexcept=0 | 
| Decrease strong reference count.  More... | |
| virtual int32_t | getRefCount () const noexcept=0 | 
| Get actual strong reference count.  More... | |
| virtual int32_t | retainWeak () noexcept=0 | 
| Increase weak reference count.  More... | |
| virtual int32_t | releaseWeak () noexcept=0 | 
| Decrease weak reference count.  More... | |
| virtual int32_t | getWeakRefCount () const noexcept=0 | 
| Get actual weak reference count.  More... | |
human body detector interface.
      
  | 
  pure virtualnoexcept | 
Batched detect of human bodies.
| [in] | images | span of source images. | 
| [in] | rects | span of input rectangles of interest. | 
| [in] | detectionPerImageNum | max number of detections per input image. | 
| [in] | type | Human detection type. | 
      
  | 
  pure virtual | 
Asynchronously detects human bodies on multiple images.
| [in] | images | span of source images. | 
| [in] | rectangles | input rectangles of interest (ROI) span. | 
| [in] | detectionPerImageNum | the max number of detections per input image. | 
| [in] | type | Human detection type. | 
      
  | 
  pure virtualnoexcept | 
Detect one person on input image.
| [in] | image | source image. | 
| [in] | rect | rectangle of interest in the image. | 
| [in] | type | Human detection type. | 
      
  | 
  pure virtualnoexcept | 
Batched redetect humans on multiple images based on the detection results for the previous frames.
| [in] | images | span of source images. | 
| [in] | detectionBatch | result of detection on the previous frames - Ref with an IHumanDetectionBatch object. | 
| [in] | type | type of redetection. | 
      
  | 
  pure virtualnoexcept | 
Batched redetect humans on multiple images based on the detection results for the previous frames.
| [in] | images | span of source images. | 
| [in] | detections | span of detection coordinates in corresponding source images space from the previous frames. It is a two dimensional Span. There is one Span of the rectangles for each image. | 
| [in] | type | type of redetection. | 
      
  | 
  pure virtual | 
Asynchronously redetects human bodies on multiple images based on the detection results for the previous frames.
| [in] | images | span of source images. | 
| [in] | detectionBatch | result of detection on the previous frames - Ref with an IHumanDetectionBatch object. | 
| [in] | type | Human detection type. | 
      
  | 
  pure virtual | 
Asynchronously redetects human bodies on multiple images based on the detection results for the previous frames.
| [in] | images | span of source images. | 
| [in] | detections | span of detection coordinates in corresponding source images space from the previous frames. It is a two dimensional Span. There is one Span of the rectangles for each image. | 
| [in] | type | Human detection type. | 
      
  | 
  pure virtualnoexcept | 
redetect one person from input image.
| [in] | image | source image. | 
| [in] | detection | span of detection coordinates in corresponding source images space to make a redetect. | 
| [in] | type | Human detection type. | 
      
  | 
  pure virtualnoexcept | 
Validate input of multiple frames in a single function call.
| [in] | images | span of source images. | 
| [in] | rects | span of rectangle coordinates of corresponding source images. | 
| [in] | detectionPerImageNum | max number of detections per input image. | 
| [out] | errors | output span of errors for each image. | 
      
  | 
  pure virtualnoexcept | 
Validate input of multiple frames in a single function call.
| [in] | images | span of source images. | 
| [in] | detectionBatch | result of detection on the previous frames - Ref with an IHumanDetectionBatch object. | 
| [out] | errors | output span of errors for each image. | 
      
  | 
  pure virtualnoexcept | 
Validate input of multiple frames in a single function call.
| [in] | images | span of source images. | 
| [in] | detections | span of detection coordinates in corresponding source images space from the previous frames. It is a two dimensional Span. There is one Span of the Detections for each image. | 
| [out] | errors | output span of errors for each image. It is a two dimensional Span. There is one Span of the errors for each image. |