Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Move saved image to tmp directory

  • Loading branch information...
commit 433cd5cccfcc3943bf943487094073bdb6146daf 1 parent 039da24
Jason Kridner authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  stache.cpp
2  stache.cpp
@@ -168,7 +168,7 @@ void detectAndDisplay(Mat frame) {
168 168 void saveFrame(Mat frame) {
169 169 char filename[20];
170 170 IplImage iplFrame = frame;
171   - sprintf(filename, "captured%03d.jpg", savedFrames);
  171 + sprintf(filename, "/tmp/captured%03d.jpg", savedFrames);
172 172 cvSaveImage(filename, &iplFrame);
173 173 fprintf(stdout, "{\"tweet\":\"New BeagleStache captured!\",\"filename\":\"%s\"}\n", filename);
174 174 fflush(stdout);

0 comments on commit 433cd5c

Please sign in to comment.
Something went wrong with that request. Please try again.