spencer-project / spencer_people_tracking

Multi-modal ROS-based people detection and tracking framework for mobile robots developed within the context of the EU FP7 project SPENCER.
http://www.spencer.eu/
656 stars 326 forks source link

ROS Melodic GPU compilation error #92

Open jainRAV opened 3 years ago

jainRAV commented 3 years ago

While compiling on Ubuntu 18.04 and ROS melodic with opencv 3.4.1, pcl_people_detector shows error:

#error GPU-based classifier has not yet been ported to OpenCV3/4.

Also opencv is installed with CUDA enabled. Does anyone know how to solve this issue?

Thanks

tlind commented 3 years ago

If you don't need maximum real-time frame rates, you can use the CPU-based version of that detector.

The GPU-based version needs to be largely re-written, since the relevant OpenCV API changed completely from version 2 to 3. We currently do not have plans to do so (due to lack of capacity), but appreciate any contributions by the community.

Alternatively, depending on which sensor you use, the upper-body detector might be an alternative. Both achieve roughly the same detection accuracy with the Asus Xtion Pro Live sensors.

frequiem11 commented 2 years ago

@jainRAV did you find a solution?