ros-perception / opencv_apps

http://wiki.ros.org/opencv_apps
64 stars 70 forks source link

Change image encoding argument #77

Closed gui2dev closed 4 years ago

gui2dev commented 6 years ago

I had issue using this nodelet with mono8 images. Changing from BGR8 -> MONO8 worked. So I supposed this fix is more global.

k-okada commented 6 years ago

thank you for report, but I think cv haar detector support both mono and rgb images (or actually it conver tto mono internally https://github.com/opencv/opencv/blob/3.4/modules/objdetect/src/haar.cpp#L1276), and

rostest opencv_apps test-people_detect.test


used mono image for test. Can you send us bag files or more details of your settings, so that I can reproduce your poblem?
gui2dev commented 6 years ago

I can't generate bag files right now, but I was using an mono ids ueye camera with ueye_cam ros package.

hh129sss5 commented 2 years ago

Closed approved all applied hh1

hh129sss5 commented 2 years ago

Closed approved all applied hh1

Approved