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

# DetectedFaceList.rescaleAll Method

Module: DetectedFaceList

## Definition

Rescales all detected faces in the list.

Python

    rescale_all(self, scale: float) -> None

Parameters

> `scale` float
> in Scale factor to apply. Range is [0;+inf[.

Exceptions

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

Dart

    void rescaleAll(double scale)

Parameters

> `scale` double
> in Scale factor to apply. Range is [0;+inf[.

Exceptions

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

C#

    public void RescaleAll(float scale)

Parameters

> `scale` float
> in Scale factor to apply. Range is [0;+inf[.

Exceptions

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

Java

    public void rescaleAll(float scale) throws FaceException

Parameters

> `scale` float
> in Scale factor to apply. Range is [0;+inf[.

Exceptions

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

Swift

    public func rescaleAll(scale: Float) throws

Parameters

> `scale` Float
> in Scale factor to apply. Range is [0;+inf[.

Exceptions

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

C

    int id3DetectedFaceList_RescaleAll (
        ID3_DETECTED_FACE_LIST hDetectedFaceList,
        float scale)

Parameters

> `hDetectedFaceList` ID3_DETECTED_FACE_LIST
> in Handle to the DetectedFaceList object.
> `scale` float
> in Scale factor to apply. Range is [0;+inf[.

Returns

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