We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b411cb commit ca9671dCopy full SHA for ca9671d
drv_recognize/scripts/drv_object_detection.py
@@ -92,8 +92,6 @@ def _callback(self, req):
92
caffe.set_mode_cpu()
93
94
# Convert rosmsg to cv image
95
- # np_array = np.fromstring(req.img_in.data, np.uint8)
96
- # image = cv2.imdecode(np_array, cv2.CV_LOAD_IMAGE_COLOR)
97
bridge = CvBridge()
98
image = bridge.imgmsg_to_cv2(req.img_in, "bgr8")
99
0 commit comments