FaceCompressor.decompressAi Method

Module: FaceCompressor

Definition

Decompresses a 500-byte compressed template back into a 4:3 portrait image (256x192) using a Deep Learning decoder model.

Important

Loading the FaceCompressionDecoder model is required to use this function.

Image decompressAi(Uint8List? data)

Parameters

data Uint8List
in The 500-byte compressed face template buffer.

Returns

The decompressed 24-bit BGR portrait image of size 192x256.

Exceptions

An error has occurred during Face Library execution.