You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: