Skip to content

Descriptor IO example#

What it does#

The example demonstrates how to save a descriptor and descriptor batch to a file.

Prerequisites#

This example assumes that you have already read the FaceEngine Handbook (or at least have it somewhere nearby for reference) and know some core concepts, like memory management, object ownership, and life-time control. This sample will not explain these aspects in detail.

Example walkthrough#

To get familiar with FSDK usage and common practices, please go through example_extraction first.

How to run#

Use the following command to run the example.

./example_descriptor_io <some_image.ppm>

Example output#

Warped images, descriptors, descriptor batch.

Back to top