mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2026-05-19 05:37:54 +00:00
Some recording fixes and cleanup
This commit is contained in:
@@ -96,8 +96,13 @@ namespace Recorder
|
||||
|
||||
void WriteObservation();
|
||||
|
||||
std::string GetCSVFile() { return csv_filename; }
|
||||
|
||||
private:
|
||||
|
||||
// Keeping track of what to output and how to output it
|
||||
const RecorderOpenFaceParameters params;
|
||||
|
||||
// Keep track of the file and output root location
|
||||
std::string record_root;
|
||||
std::string filename;
|
||||
@@ -107,8 +112,6 @@ namespace Recorder
|
||||
RecorderCSV csv_recorder;
|
||||
RecorderHOG hog_recorder;
|
||||
|
||||
const RecorderOpenFaceParameters params;
|
||||
|
||||
// The actual temporary storage for the observations
|
||||
double timestamp;
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@ namespace Recorder
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
// Constructors
|
||||
RecorderOpenFaceParameters();
|
||||
RecorderOpenFaceParameters(std::vector<std::string> &arguments, double fps_vid_out = 30, std::string output_codec = "DIVX");
|
||||
|
||||
bool isSequence() const { return is_sequence; }
|
||||
@@ -69,10 +69,7 @@ namespace Recorder
|
||||
double outputFps() const { return fps_vid_out; }
|
||||
|
||||
private:
|
||||
|
||||
// The default values initializer
|
||||
void init();
|
||||
|
||||
|
||||
// If we are recording results from a sequence each row refers to a frame, if we are recording an image each row is a face
|
||||
bool is_sequence;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user