Skip to content

this is a project where using the sensor kinect v2 where the data is represented using PCL 1.8, and try to estimate a piont cloud to simple shapes (plane, shpere and cylinder) using CGA

License

Notifications You must be signed in to change notification settings

carlosfva1990/Kinectv2_object_detection_CGA_and_EA_pcl_freenect2

Repository files navigation

Kinectv2_object_detection_CGA_and_EA_pcl_freenect2

this is a project using the sensor kinect v2 where the point cloud is estimated to a simple geometric object, using pcl 1.8, and for grabbing the data is a libfreenect2 grabber.

in this program display four windows, one is the comand line output, one the kinect data as Point cloud, other thar is the copy data to filter and one las window showing the filered point cloud.

the copy data is used to substract the points that are similar, and leaves what its diferent filter=cloud1-cloud2

selecting the window with the kinect data we can:

  • using the "a" key switch between AGC and the vectorial method
  • using the "p" key makes a copy of the current data
  • using the "s" key save the point cloud to a ply file
  • using the "o" key pause the program
  • using the "l" key execute one loop of the program
  • using the "u" to activate or deactivate the filter
  • using the "j" and "m" change the value of the treshold distance filter
  • using the "y" to activate or deactivate the down sample the point cloud
  • using the "h" and "n" change the value to down sample the point cloud

if you want the original grabber project the link is:

https://github.com/giacomodabisias/libfreenect2pclgrabber


Installation


first of all i used a i7 processor with 8gb of ram and windows 10 pro

the software i used:

and used the proyect libfreenect2pclgrabber (in /third_party folder)

when i build libfreenect2 i needed to copy "config.h" and "export.h" from /build_dir/libfreenect2/ to /include/libfreenect2/ and i copy the dll files to c:/windows/system32/ to avoid copying the files in every project folder.

About

this is a project where using the sensor kinect v2 where the data is represented using PCL 1.8, and try to estimate a piont cloud to simple shapes (plane, shpere and cylinder) using CGA

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published