This commit is contained in:
Tadas Baltrusaitis
2017-11-03 16:40:07 +00:00
parent 16918e7fb5
commit 1d8bc8c510
6 changed files with 142 additions and 27 deletions

View File

@@ -60,15 +60,23 @@ namespace Recorder
// Adding observations to the recorder
void SetObservationHOG(bool success, const cv::Mat_<double>& hog_descriptor, int num_cols, int num_rows, int num_channels);
void Write();
bool Open(std::string filename);
void Close();
private:
std::ofstream hog_file;
// Internals for recording
int num_cols;
int num_rows;
int num_channels;
cv::Mat_<double> hog_descriptor;
bool good_frame;
};
}
#endif