Save image as current.jpg
This commit is contained in:
parent
85fe839b01
commit
48d2620a43
@ -48,7 +48,7 @@ int main() {
|
||||
cap.read(img);
|
||||
|
||||
try {
|
||||
imwrite("test.jpg", img);
|
||||
imwrite("current.jpg", img);
|
||||
} catch (const Exception &ex) {
|
||||
fprintf(stderr, "Exception converting image to JPG format: %s\n",
|
||||
ex.what());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user