Pipelines¶
You can select the pipeline when you create the face analyzer:
idliveface::FaceAnalyzer analyzer = blueprint.CreateFaceAnalyzer("pegasus");
analyzer = blueprint.create_face_analyzer("pegasus")
FaceAnalyzer analyzer = blueprint.createFaceAnalyzer("pegasus");
If you don't explicitly provide the name of the pipeline, the default one will be used.
You can also get the list of all available pipelines from the blueprint:
for (std::string& pipeline : blueprint.GetAvailablePipelines()) {
std::cout << pipeline << std::endl;
}
print(blueprint.available_pipelines)
System.out.println(blueprint.getAvailablePipelines());
The default pipeline is always the first in the list.