57 double max_prob_noise = 1.0
61 max_pnoise_(max_prob_noise)
73 const std::string& filename
80 void thin_out(
size_t beg_fr,
size_t end_fr,
size_t every_nth);
125 const Vector& right_mouth,
133 const std::vector<std::string>& fps,
141 const std::vector<std::string>& fps,
void remove_overlapping(double thresh)
Removes overlapping boxes from a set.
Definition: pt_data.cpp:96
Box_set read_single_time(const std::string &filename) const
Reads boxes for single time from single file.
Definition: pt_data.cpp:37
Deva_facemark build_deva_facemark(const Vector &lefe_eye, const Vector &right_eye, const Vector &nose, const Vector &left_mouth, const Vector &right_mouth, double yaw)
Constructor.
Definition: pt_data.cpp:167
Facemark_data parse_deva_facemarks(const std::vector< std::string > &fps, double img_width, double img_height)
Definition: pt_data.cpp:213
double image_width() const
Returns the image width.
Definition: pt_data.h:86
A class that holds data for the tracking problem.
Definition: mcmcda_data.h:50
Definition: d_deva_facemark.h:34
height
Definition: APPgetLargeConnectedEdges.m:33
double image_height() const
Returns the image height.
Definition: pt_data.h:89
This class implements vectors, in the linear-algebra sense, with real-valued elements.
Definition: m_vector.h:87
std::set< Detection_box > Box_set
Definition: pt_data.h:44
std::vector< std::vector< Deva_facemark > > Facemark_data
Definition: pt_data.h:129
void thin_out(size_t beg_fr, size_t end_fr, size_t every_nth)
Thins out the data. Only frames in [beg_fr, end_fr] are kept, and only every every_nth frame is kept...
Definition: pt_data.cpp:83
Box_data(double width, double height, double max_prob_noise=1.0)
Constructor.
Definition: pt_data.h:54
void write_single_time(const Box_set &data_t, const std::string &filename) const
Write boxes for single time to single file.
Definition: pt_data.cpp:63
void write_deva_facemarks(const Facemark_data &fm_data, const std::vector< std::string > &fps, double img_width, double img_height)
Definition: pt_data.cpp:244