drop screen size to 320x240, otheriwse they won't all fit
This commit is contained in:
parent
4b0ef4a8ee
commit
627ce44fa0
2 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue