mirror of
https://gitcode.com/gh_mirrors/ope/OpenFace.git
synced 2025-12-30 04:52:29 +00:00
More debugging.
This commit is contained in:
@@ -406,8 +406,12 @@ void RecorderOpenFace::WriteObservation()
|
||||
|
||||
void RecorderOpenFace::WriteObservationTracked()
|
||||
{
|
||||
cout << "WriteObservationTracked called" << endl;
|
||||
|
||||
if (params.outputTracked())
|
||||
{
|
||||
cout << "Track should be output" << endl;
|
||||
|
||||
// To support both video and image input
|
||||
if ((!params.isSequence() && frame_number == 0) || (params.isSequence() && frame_number == 1))
|
||||
{
|
||||
@@ -435,6 +439,7 @@ void RecorderOpenFace::WriteObservationTracked()
|
||||
}
|
||||
|
||||
// Start the video and tracked image writing thread
|
||||
cout << "About to create a writing thread" << endl;
|
||||
writing_threads.run([&] {VideoWritingTask(&vis_to_out_queue, params.isSequence(), &video_writer); });
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user