44 #include <pcl/console/print.h>
45 #include <pcl/gpu/containers/device_array.h>
46 #include <pcl/gpu/people/label_common.h>
47 #include <pcl/gpu/people/tree.h>
48 #include <pcl/gpu/people/person_attribs.h>
51 #include <pcl/gpu/people/bodyparts_detector.h>
52 #include <pcl/gpu/people/face_detector.h>
53 #include <pcl/gpu/people/organized_plane_detector.h>
54 #include <pcl/gpu/people/probability_processor.h>
65 using Ptr = shared_ptr<PeopleDetector>;
66 using ConstPtr = shared_ptr<const PeopleDetector>;
104 delta_hue_tolerance_ = delta_hue_tolerance;
111 return (delta_hue_tolerance_);
115 inline const std::string
getClassName ()
const {
return "PeopleDetector"; }
160 friend class PeoplePCDApp;
PointCloud represents the base class in PCL for storing collections of 3D points.
shared_ptr< const PointCloud< PointT > > ConstPtr
shared_ptr< FaceDetector > Ptr
shared_ptr< OrganizedPlaneDetector > Ptr
bool first_iteration_
indicates first time callback (allows for tracking features to start from second frame)
shared_ptr< const PeopleDetector > ConstPtr
void setDeltaHueTolerance(unsigned int delta_hue_tolerance)
Set the tolerance for the delta on the Hue in Seeded Hue Segmentation step.
OrganizedPlaneDetector::Ptr org_plane_detector_
void shs5(const pcl::PointCloud< PointT > &cloud, const pcl::Indices &indices, unsigned char *mask)
unsigned int delta_hue_tolerance_
int process(const PointCloud< PointTC >::ConstPtr &cloud)
Possible will be removed because of extra overheads.
const std::string getClassName() const
Class getName method.
shared_ptr< PeopleDetector > Ptr
PersonAttribs::Ptr person_attribs_
RDFBodyPartsDetector::Ptr rdf_detector_
PointCloud< unsigned char > flowermat_host_
DeviceArray< unsigned char > kernelRect5x5_
int processProb(const PointCloud< PointTC >::ConstPtr &cloud)
int process(const Depth &depth, const Image &rgba)
DeviceArray2D< PointT > cloud_device_
PointCloud< unsigned short > depth_host_
unsigned int getDeltaHueTolerance() const
Get the tolerance for the delta on the Hue in Seeded Hue Segmentation step, defaults to 5.
FaceDetector::Ptr face_detector_
PointCloud< float > hue_host_
ProbabilityProcessor::Ptr probability_processor_
void allocate_buffers(int rows=480, int cols=640)
int processProb()
Process the depth based on probabilities supporting tracking, person specific files used.
PointCloud< PointTC > cloud_host_color_
void setIntrinsics(float fx, float fy, float cx=-1, float cy=-1)
User must set non standard intrinsics.
PeopleDetector()
Class constructor.
PointCloud< PointT > cloud_host_
shared_ptr< PersonAttribs > Ptr
shared_ptr< ProbabilityProcessor > Ptr
shared_ptr< RDFBodyPartsDetector > Ptr
Defines all the PCL implemented PointT point type structures.
IndicesAllocator<> Indices
Type used for indices in PCL.
A point structure representing Euclidean xyz coordinates.
A point structure representing Euclidean xyz coordinates, and the RGBA color.