FaceAnalyser.checkColorizedImage Method

Module: FaceAnalyser

Definition

Verifies if an image is colorized or grayscale.

check_colorized_image(self, image: Image) -> bool

Parameters

image Image
in Source image to process.

Returns

bool
The boolean decision: True if colorized, False if grayscale.

Exceptions

An error has occurred during Face Library execution.
bool checkColorizedImage(Image image)

Parameters

image Image
in Source image to process.

Returns

bool
The boolean decision: True if colorized, False if grayscale.

Exceptions

An error has occurred during Face Library execution.
public bool CheckColorizedImage(Image image)

Parameters

image Image
in Source image to process.

Returns

bool
The boolean decision: True if colorized, False if grayscale.

Exceptions

An error has occurred during Face Library execution.
public boolean checkColorizedImage(Image image) throws FaceException

Parameters

image Image
in Source image to process.

Returns

boolean
The boolean decision: True if colorized, False if grayscale.

Exceptions

An error has occurred during Face Library execution.
public func checkColorizedImage(image: Image) throws -> Bool

Parameters

image Image
in Source image to process.

Returns

Bool
The boolean decision: True if colorized, False if grayscale.

Exceptions

An error has occurred during Face Library execution.
int id3FaceAnalyser_CheckColorizedImage (
    ID3_FACE_ANALYSER hFaceAnalyser,
    ID3_FACE_IMAGE hImage,
    bool * isColorized)

Parameters

hFaceAnalyser ID3_FACE_ANALYSER
in Handle to the FaceAnalyser object.

in Source image to process.

isColorized bool *
out The boolean decision: True if colorized, False if grayscale.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.