Does python cv_bridge perform a copy?
The c++ version of cv_bridge has a clear distinction between CvImageConstPtr toCvShare()
and CvImagePtr toCvCopy()
. The python version does not state how it handles the binary image data and how many copy operations happen on the image data to get it into an opencv style numpy array in the requested format. How much efficiency am I loosing by using python?
Using ROS Kinetic.
Asked by zacwitte on 2018-04-18 19:33:11 UTC
Comments
I'm not too much into this, but shouldn't
tensorflow
beopencv
?Asked by gvdhoorn on 2018-04-19 02:46:31 UTC
@gvdhoorn Ha. Sorry, Freudian slip - I meant ROS's cv_bridge. Fixed the original post to reflect that.
Asked by zacwitte on 2018-04-19 13:05:04 UTC