Skip to content
Snippets Groups Projects

[WIP] enforce passing Capture by their Sensor

Merged Jeremie Deray requested to merge capture_passby_sensor into master
7 files
+ 46
13
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -151,7 +151,8 @@ int main(int argc, char** argv)
// Preferred method with factory objects:
image_ptr = new CaptureImage(t, camera_ptr, frame[f % buffer_size]);
image_ptr->process();
//image_ptr->process();
camera_ptr->addCapture(image_ptr);
//cv::imshow("test",frame[f % buffer_size]);
std::cout << "Time: " << ((double) clock() - t1) / CLOCKS_PER_SEC << "s" << std::endl;
cv::waitKey(5);
Loading