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 upgrade Opencv to 4.7 release but when I try to publish a compressed image topic I get this error in CompressedPublisher node:
[ERROR] [1680555257.247563111] [CompressedPublisher]: OpenCV(4.7.0) /root/opencv/modules/imgcodecs/src/loadsave.cpp:1145: error: (-2:Unspecified error) in function 'bool cv::imencode(const String&, cv::InputArray, std::vector&, const std::vector&)'
> Encoding 'params' must be key-value pairs:
> '(params.size() & 1) == 0'
> where
> 'params.size()' is 3
I followed the problem to the file opencv/modules/imgcodecs/src/loadsave.cpp line 1145 where they add new validations to the params argument. By now I commented that line in opencv library to continue working but I'm not sure how to manage it from image_transport_plugins.
The text was updated successfully, but these errors were encountered:
I upgrade Opencv to 4.7 release but when I try to publish a compressed image topic I get this error in CompressedPublisher node:
I followed the problem to the file
opencv/modules/imgcodecs/src/loadsave.cpp
line 1145 where they add new validations to theparams
argument. By now I commented that line in opencv library to continue working but I'm not sure how to manage it from image_transport_plugins.The text was updated successfully, but these errors were encountered: