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
Between OpenCV 3 and 4, CV_LOAD_IMAGE_UNCHANGED changed to IMREAD_UNCHANGED. So to get this module to build with OpenCV 4, make this change in image_transport_plugins/compressed_depth_image_transport/src/codec.cpp, line 134:
Noetic is supposed to support OpenCV 4, but there are very few changes that need to be made for Melodic to support it. Few people use OpenCV 3 anymore.
The text was updated successfully, but these errors were encountered:
Between OpenCV 3 and 4, CV_LOAD_IMAGE_UNCHANGED changed to IMREAD_UNCHANGED. So to get this module to build with OpenCV 4, make this change in image_transport_plugins/compressed_depth_image_transport/src/codec.cpp, line 134:
cv_ptr->image = cv::imdecode(imageData, IMREAD_UNCHANGED);
Noetic is supposed to support OpenCV 4, but there are very few changes that need to be made for Melodic to support it. Few people use OpenCV 3 anymore.
The text was updated successfully, but these errors were encountered: