diff --git a/photo.cpp b/photo.cpp index c86740e..80a8522 100644 --- a/photo.cpp +++ b/photo.cpp @@ -27,6 +27,7 @@ int main() cv::imwrite("calibration_images/"+std::to_string(i)+".jpg", image); } } + cam.stopVideo(); return 0; } \ No newline at end of file