Permalink
Browse files

Tiny cleanup

  • Loading branch information...
1 parent 4a572b4 commit 7b72954dec3974e9683e50172815ea326b2303fc @jadonk committed Jul 30, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 stache.cpp
View
@@ -60,22 +60,22 @@ String face_cascade_name = "lbpcascade_frontalface.xml";
CascadeClassifier face_cascade;
string window_name = "stache - BeagleBone OpenCV demo";
IplImage* mask = 0;
+
+/** Command-line arguments */
+int numCamera = -1;
+const char* stacheMaskFile = "stache-mask.png";
int scaleHeight = 6;
int offsetHeight = 4;
int camWidth = 0;
int camHeight = 0;
int camFPS = 0;
-RNG rng(12345);
-
/**
* @function main
*/
int main(int argc, const char** argv) {
CvCapture* capture;
Mat frame;
- int numCamera = -1;
- const char* stacheMaskFile = "stache-mask.png";
if(argc > 1) numCamera = atoi(argv[1]);
if(argc > 2) stacheMaskFile = argv[2];

0 comments on commit 7b72954

Please sign in to comment.