Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# PortraitProcessor.estimatePhotographicQuality Method

Module: PortraitProcessor

## Definition

Etimates the photographic quality of the specified portrait.

It includes image colorization, equal brightness, dynamic range, resolution, natural skin color, flash reflection, noise, over-exposure, under-exposure, pixelation, sharpness.

Python

    estimate_photographic_quality(self, portrait: Portrait) -> None

Parameters

> `portrait` Portrait
> in The portrait.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    void estimatePhotographicQuality(Portrait portrait)

Parameters

> `portrait` Portrait
> in The portrait.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public void EstimatePhotographicQuality(Portrait portrait)

Parameters

> `portrait` Portrait
> in The portrait.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public void estimatePhotographicQuality(Portrait portrait) throws FaceException

Parameters

> `portrait` Portrait
> in The portrait.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public func estimatePhotographicQuality(portrait: Portrait) throws

Parameters

> `portrait` Portrait
> in The portrait.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FacePortraitProcessor_EstimatePhotographicQuality (
        ID3_FACE_PORTRAIT_PROCESSOR hPortraitProcessor,
        ID3_FACE_PORTRAIT hPortrait)

Parameters

> `hPortraitProcessor` ID3_FACE_PORTRAIT_PROCESSOR
> in Handle to the PortraitProcessor object.
> `hPortrait` ID3_FACE_PORTRAIT
> in The portrait.

Returns

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