Face detection result batch interface.  
 More...
#include <IFaceDetectionBatch.h>
Face detection result batch interface. 
 
  
  
      
        
          | virtual Span<const Detection> fsdk::IFaceDetectionBatch::getDetections  | 
          ( | 
          size_t  | 
          index = 0 | ) | 
           const | 
         
       
   | 
  
pure virtualnoexcept   | 
  
 
Returns detection Span. 
- Parameters
 - 
  
    | [in] | index | index of the detection.  | 
  
   
- Returns
 - span of detection coordinates in corresponding source images space. 
 
- See Also
 - Span and Detection for details. 
 
- Note
 - all spans should be based on user owned continuous collections. 
 
- 
Result Span could be empty in two cases:
- If no any faces were detected on the target image.
 
- If detection request didn't contain the DT_BOX flag. 
 
 
- See Also
 - DetectionType 
 
 
 
  
  
      
        
          | virtual Face fsdk::IFaceDetectionBatch::getFace  | 
          ( | 
          const Image &  | 
          img,  | 
         
        
           | 
           | 
          size_t  | 
          imageIndex,  | 
         
        
           | 
           | 
          size_t  | 
          detectionIndex  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
pure virtualnoexcept   | 
  
 
Returns detected face. 
- Parameters
 - 
  
    | [in] | img | source image.  | 
    | [in] | imageIndex | index of the image.  | 
    | [in] | detectionIndex | index of the detection.  | 
  
   
- Returns
 - Detected face. 
 
- See Also
 - Face and Image for details. 
 
- Note
 - images format must be R8G8B8, 
 
- See Also
 - Format. 
 
- Note
 - Result Face could be invalid if no any faces were detected on the target image or parameters are invalid. 
 
 
 
  
  
      
        
          | virtual Span<const Landmarks5> fsdk::IFaceDetectionBatch::getLandmarks5  | 
          ( | 
          size_t  | 
          index = 0 | ) | 
           const | 
         
       
   | 
  
pure virtualnoexcept   | 
  
 
Returns Landmarks5 Span. 
- Parameters
 - 
  
    | [in] | index | index of the landmarks object.  | 
  
   
- Returns
 - Span of Landmarks5. 
 
- See Also
 - Span and Landmarks5 for details. 
 
- Note
 - all spans should be based on user owned continuous collections. 
 
- 
Result Span could be empty in two cases:
- If no any faces were detected on the target image.
 
- If detection request didn't contain the DT_LANDMARKS5 flag. 
 
 
- See Also
 - DetectionType 
 
 
 
  
  
      
        
          | virtual Span<const Landmarks68> fsdk::IFaceDetectionBatch::getLandmarks68  | 
          ( | 
          size_t  | 
          index = 0 | ) | 
           const | 
         
       
   | 
  
pure virtualnoexcept   | 
  
 
Returns Landmarks68 Span. 
- Parameters
 - 
  
    | [in] | index | index of the landmarks object.  | 
  
   
- Returns
 - Span of Landmarks68. 
 
- See Also
 - Span and Landmarks68 for details. 
 
- Note
 - all spans should be based on user owned continuous collections. 
 
- 
Result Span could be empty in two cases:
- If no any faces were detected on the target image.
 
- If detection request didn't contain the DT_LANDMARKS68 flag. 
 
 
- See Also
 - DetectionType 
 
 
 
  
  
      
        
          | virtual size_t fsdk::IFaceDetectionBatch::getSize  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtualnoexcept   | 
  
 
Returns size. 
- Returns
 - size of the detections. 
 
 
 
  
  
      
        
          | virtual size_t fsdk::IFaceDetectionBatch::getSize  | 
          ( | 
          size_t  | 
          imageIndex | ) | 
           const | 
         
       
   | 
  
pure virtualnoexcept   | 
  
 
Returns size of the results for the target index. 
- Parameters
 - 
  
    | [in] | imageIndex | index of the image.  | 
  
   
- Returns
 - size of the results for the target index. 
 
 
 
The documentation for this struct was generated from the following file: