opencv_grabber should use YARP_cv utilities #2161
Labels
Component: Devices
Fixed in: YARP v3.5.1
Issue Type: Feat/Enh Req
This issue requests some new feature or enhancement
Resolution: Fixed
opencv_grabber
converts thecv::Mat
to ayarp::sig::image
with amemcpy
.yarp/src/devices/opencv/OpenCVGrabber.cpp
Lines 196 to 200 in 0ac66ed
We should use instead
fromCvMat
(introduced in #1932) that does not involves copies:yarp/src/libYARP_cv/src/yarp/cv/Cv-inl.h
Lines 90 to 112 in 0ac66ed
The text was updated successfully, but these errors were encountered: