Public Member Functions | |
void | init () |
void | load (std::vector< cv::Mat > &images, std::vector< std::string > &labels, bool append=true) |
void | save (const std::vector< cv::Mat > &images, const std::vector< std::string > &labels) |
void | save (const cv::Mat &image, const std::string &label) |
Storage (const fs::path &base_dir) | |
Private Attributes | |
fs::path | base_dir_ |
Definition at line 183 of file face_recognition_nodelet.cpp.
opencv_apps::Storage::Storage | ( | const fs::path & | base_dir | ) | [inline] |
Definition at line 188 of file face_recognition_nodelet.cpp.
void opencv_apps::Storage::init | ( | ) | [inline] |
Definition at line 202 of file face_recognition_nodelet.cpp.
void opencv_apps::Storage::load | ( | std::vector< cv::Mat > & | images, |
std::vector< std::string > & | labels, | ||
bool | append = true |
||
) | [inline] |
Definition at line 212 of file face_recognition_nodelet.cpp.
void opencv_apps::Storage::save | ( | const std::vector< cv::Mat > & | images, |
const std::vector< std::string > & | labels | ||
) | [inline] |
Definition at line 245 of file face_recognition_nodelet.cpp.
void opencv_apps::Storage::save | ( | const cv::Mat & | image, |
const std::string & | label | ||
) | [inline] |
Definition at line 257 of file face_recognition_nodelet.cpp.
fs::path opencv_apps::Storage::base_dir_ [private] |
Definition at line 185 of file face_recognition_nodelet.cpp.