PointCloudLibrary / pcl

Point Cloud Library (PCL)
https://pointclouds.org/
Other
9.97k stars 4.62k forks source link

Body tracking on PCL PointCloud #5265

Open Alessandro-Minerba opened 2 years ago

Alessandro-Minerba commented 2 years ago

Hi, I'm looking for a project for real time body tracking (joints estimation) using a PointCloud. I tryied to use the gpu/people_detect project but I've got a lot of errors. I'm using Visual Studio 17 2022 on Windows 11 and 3 Azure Kinect for a merged point cloud construction. Thank you for your time.

mvieth commented 2 years ago

I tryied to use the gpu/people_detect project but I've got a lot of errors

Errors during building/compilation or when running the program? Please post the errors here.

If you are looking for recommendations which classes/algorithms you should use, the GitHub issues are not the right place for that. Please use Stackoverflow or the Discord community chat for that, maybe someone has a good suggestion for you

Alessandro-Minerba commented 2 years ago

image_2022_05_17T13_19_35_292Z image_2022_05_17T13_18_54_208Z I got an error in XnPlatform.h file for Visual Studio version and, commenting out that error line, there appear other errors related to libraries I can't solve.

Alessandro-Minerba commented 2 years ago

However thanks for your suggestion, I'll use Stackoverflow for community help anyway

larshg commented 2 years ago

How have you installed PCL? If its the All-In-One installer, the GPU libraries are not shipped in that package, so you would have to compile PCL yourself.

The linker errors are the missing GPU libraries like pcl_gpu_containers pcl_gpu_utils and pcl_gpu_people.

The kinect library is a bit more troublesome. I can't remember if I got it working with newer versions of Visual studio. Maybe have a look at: https://github.com/phygitalism/azure-kinect-pcl

Alessandro-Minerba commented 2 years ago

I've downloaded the master repository from github and built it with CMake with GPU and Apps checks on as suggested in another issue tracker and then I compiled it in Visual Studio. I'll take a look at that link, but in general the Azure Kinect library works with VS17 because I largely used it.