Face Engine SDK  5.21.0
A face detection, recognition and tracking engine.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
fsdk::ImageColorEstimation Struct Reference

Image color type estimator interface. More...

#include <IBlackWhiteEstimator.h>

Public Types

enum  ImageColorType : uint8_t { ImageColorType::Color = 0, ImageColorType::Grayscale, ImageColorType::Infrared }
 Enumeration of possible image color types. More...
 

Public Attributes

float colorScore
 0(grayscale)..1(color);
 
float infraredScore
 0(infrared)..1(not infrared);
 
ImageColorType colorType
 

Detailed Description

Image color type estimator interface.

Note
This estimator has two interfaces. One of them is indifferent to image content and dimensions; you can pass both face crops (including warped images) and full frames. Check if image is grayscale or color. The second one can be used only with warped images. Check if image is color, grayscale or infrared. Both interfaces use different principles of color type estimation. Their values cannot be compared. Image color type estimation output.

These values are produced by IBlackWhiteEstimator object.

Member Enumeration Documentation

Enumeration of possible image color types.

Enumerator
Color 

Image is color.

Grayscale 

Image is grayscale.

Infrared 

Image is infrared.


The documentation for this struct was generated from the following file: