drop screen size to 320x240, otheriwse they won't all fit

This commit is contained in:
Donald Burr 2015-02-19 10:20:42 -08:00
parent 4b0ef4a8ee
commit 627ce44fa0
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ struct image_sockin : public sockin {
void showImage(int begin, int end, int listener) {
if (f_showall || (listener == id)) {
Mat imgbuf = cv::Mat(480, 640, CV_8U, &buf[begin]);
Mat imgbuf = cv::Mat(240, 320, CV_8U, &buf[begin]);
Mat imgMat = cv::imdecode(imgbuf, CV_LOAD_IMAGE_COLOR);
if (!imgMat.data) cerr << "reading failed\r\n";