Table of Contents

Method LoadTrainingData

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

LoadTrainingData(string, out string[], out Point2f[][], char, float)

Loads a facial landmark dataset from a single file.

public static bool LoadTrainingData(string filename, out string[] images, out Point2f[][] facePoints, char delimiter = ' ', float offset = 0)

Parameters

filename string
images string[]
facePoints Point2f[][]
delimiter char
offset float

Returns

bool

LoadTrainingData(string, string, out string[], out Point2f[][], float)

Loads a facial landmark dataset from image and ground-truth list files.

public static bool LoadTrainingData(string imageList, string groundTruth, out string[] images, out Point2f[][] facePoints, float offset = 0)

Parameters

imageList string
groundTruth string
images string[]
facePoints Point2f[][]
offset float

Returns

bool

LoadTrainingData(IEnumerable<string>, out Point2f[][], out string[])

Loads training landmarks from a collection of annotation files.

public static bool LoadTrainingData(IEnumerable<string> filenames, out Point2f[][] landmarks, out string[] images)

Parameters

filenames IEnumerable<string>
landmarks Point2f[][]
images string[]

Returns

bool