web_video_server icon indicating copy to clipboard operation
web_video_server copied to clipboard

Issue Compiling with OpenCV4

Open OfficialOwlElder opened this issue 5 years ago • 0 comments

image

I was having an issue compiling web_video_server with OpenCV4 on an Nvidia Jetson TX2 running JetPack 4.4.1 (Ubuntu 18.04). Resolved the issue by replacing all of constant prefixes "CV_" with "cv::".

from encode_params.push_back(CV_IMWRITE_JPEG_QUALITY); to encode_params.push_back(cv::IMWRITE_JPEG_QUALITY);

from encode_params.push_back(CV_IMWRITE_PNG_COMPRESSION); to encode_params.push_back(cv::IMWRITE_PNG_COMPRESSION);

Any thoughts on why this might be happening?

OfficialOwlElder avatar Jan 02 '21 00:01 OfficialOwlElder