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

# FaceAnalyser.computeNoise Method

Module: FaceAnalyser

## Definition

Measures the image noise.

Python

    compute_noise(self, image: Image) -> int

Parameters

> `image` Image
> in Source image to process.

Returns

> `int`
> The estimated noise score. 0 means no noise, 100 means no signal.

Exceptions

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

Dart

    int computeNoise(Image image)

Parameters

> `image` Image
> in Source image to process.

Returns

> `int`
> The estimated noise score. 0 means no noise, 100 means no signal.

Exceptions

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

C#

    public int ComputeNoise(Image image)

Parameters

> `image` Image
> in Source image to process.

Returns

> `int`
> The estimated noise score. 0 means no noise, 100 means no signal.

Exceptions

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

Java

    public int computeNoise(Image image) throws FaceException

Parameters

> `image` Image
> in Source image to process.

Returns

> `int`
> The estimated noise score. 0 means no noise, 100 means no signal.

Exceptions

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

Swift

    public func computeNoise(image: Image) throws -> Int32

Parameters

> `image` Image
> in Source image to process.

Returns

> `Int`
> The estimated noise score. 0 means no noise, 100 means no signal.

Exceptions

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

C

    int id3FaceAnalyser_ComputeNoise (
        ID3_FACE_ANALYSER hFaceAnalyser,
        ID3_FACE_IMAGE hImage,
        int * noiseScore)

Parameters

> `hFaceAnalyser` ID3_FACE_ANALYSER
> in Handle to the FaceAnalyser object.
> `hImage` ID3_FACE_IMAGE
> in Source image to process.
> `noiseScore` int *
> out The estimated noise score. 0 means no noise, 100 means no signal.

Returns

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