Permalink
Browse files

Set resolution to 320x240

  • Loading branch information...
1 parent 7131053 commit 08c25fdf61f2bdfe6f8560a6d430c5b58e959706 @jadonk committed Sep 21, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 stache.cpp
View
@@ -106,8 +106,8 @@ int main(int argc, const char** argv) {
capture = cvCaptureFromCAM(numCamera);
//if(camWidth) cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_WIDTH, camWidth);
//if(camHeight) cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_HEIGHT, camHeight);
- cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_WIDTH, 160);
- cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_HEIGHT, 120);
+ cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_WIDTH, 320);
+ cvSetCaptureProperty(capture, CV_CAP_PROP_FRAME_HEIGHT, 240);
//if(camFPS) cvSetCaptureProperty(capture, CV_CAP_PROP_FPS, camFPS);
if(capture) {
inputSetup(1);

0 comments on commit 08c25fd

Please sign in to comment.