eos
0.7.1
|
Essential functions and classes to work with 3D face models and landmarks. More...
Classes | |
struct | Landmark |
Representation of a landmark, consisting of a landmark name and coordinates of the given type. Usually, the type would be cv::Vec2f . More... | |
class | LandmarkMapper |
Represents a mapping from one kind of landmarks to a different format (e.g. model vertices). More... | |
Typedefs | |
template<class LandmarkType > | |
using | LandmarkCollection = std::vector< Landmark< LandmarkType >> |
A trivial collection of landmarks that belong together. | |
Functions | |
template<class T > | |
LandmarkCollection< T > | filter (const LandmarkCollection< T > &landmarks, const std::vector< std::string > &filter) |
Filters the given LandmarkCollection and returns a new LandmarkCollection containing all landmarks whose name matches the one given by filter . More... | |
Essential functions and classes to work with 3D face models and landmarks.
LandmarkCollection<T> eos::core::filter | ( | const LandmarkCollection< T > & | landmarks, |
const std::vector< std::string > & | filter | ||
) |
Filters the given LandmarkCollection and returns a new LandmarkCollection containing all landmarks whose name matches the one given by filter
.
[in] | landmarks | The input LandmarkCollection to be filtered. |
[in] | filter | A landmark name (identifier) by which the given LandmarkCollection is filtered. |