Public Member Functions | Private Attributes | List of all members
opencv_apps::Storage Class Reference

Public Member Functions

void init ()
 
void load (std::vector< cv::Mat > &images, std::vector< std::string > &labels, bool append=true)
 
void save (const cv::Mat &image, const std::string &label)
 
void save (const std::vector< cv::Mat > &images, const std::vector< std::string > &labels)
 
 Storage (const fs::path &base_dir)
 

Private Attributes

fs::path base_dir_
 

Detailed Description

Definition at line 209 of file face_recognition_nodelet.cpp.

Constructor & Destructor Documentation

◆ Storage()

opencv_apps::Storage::Storage ( const fs::path &  base_dir)
inline

Definition at line 214 of file face_recognition_nodelet.cpp.

Member Function Documentation

◆ init()

void opencv_apps::Storage::init ( )
inline

Definition at line 228 of file face_recognition_nodelet.cpp.

◆ load()

void opencv_apps::Storage::load ( std::vector< cv::Mat > &  images,
std::vector< std::string > &  labels,
bool  append = true 
)
inline

Definition at line 238 of file face_recognition_nodelet.cpp.

◆ save() [1/2]

void opencv_apps::Storage::save ( const cv::Mat &  image,
const std::string &  label 
)
inline

Definition at line 283 of file face_recognition_nodelet.cpp.

◆ save() [2/2]

void opencv_apps::Storage::save ( const std::vector< cv::Mat > &  images,
const std::vector< std::string > &  labels 
)
inline

Definition at line 271 of file face_recognition_nodelet.cpp.

Member Data Documentation

◆ base_dir_

fs::path opencv_apps::Storage::base_dir_
private

Definition at line 211 of file face_recognition_nodelet.cpp.


The documentation for this class was generated from the following file:


opencv_apps
Author(s): Kei Okada
autogenerated on Fri May 23 2025 02:49:49