|
Point Cloud Library (PCL) 1.15.1
|
Public Types | |
| using | Ptr = shared_ptr<FaceDetector> |
| using | ConstPtr = shared_ptr<const FaceDetector> |
Public Member Functions | |
| FaceDetector (int cols, int rows) | |
| This is the constructor. | |
| NCVStatus | loadFromXML2 (const std::string &filename, HaarClassifierCascadeDescriptor &haar, std::vector< HaarStage64 > &haar_stages, std::vector< HaarClassifierNode128 > &haarClassifierNodes, std::vector< HaarFeature64 > &haar_features) |
| NCVStatus | ncvHaarLoadFromFile_host (const std::string &filename, HaarClassifierCascadeDescriptor &haar, NCVVector< HaarStage64 > &h_haar_stages, NCVVector< HaarClassifierNode128 > &h_haar_nodes, NCVVector< HaarFeature64 > &h_haar_features) |
| NCVStatus | ncvHaarGetClassifierSize (const std::string &filename, Ncv32u &numStages, Ncv32u &numNodes, Ncv32u &numFeatures) |
| NCVStatus | NCVprocess (pcl::PointCloud< pcl::RGB > &cloud_in, pcl::PointCloud< pcl::Intensity32u > &cloud_out, HaarClassifierCascadeDescriptor &haar, NCVVector< HaarStage64 > &d_haar_stages, NCVVector< HaarClassifierNode128 > &d_haar_nodes, NCVVector< HaarFeature64 > &d_haar_features, NCVVector< HaarStage64 > &h_haar_stages, INCVMemAllocator &gpu_allocator, INCVMemAllocator &cpu_allocator, cudaDeviceProp &device_properties, Ncv32u width=640, Ncv32u height=480, NcvBool bFilterRects=false, NcvBool bLargestFace=true) |
| int | configure (std::string cascade_file_name) |
| void | process (pcl::PointCloud< pcl::RGB > &cloud, pcl::PointCloud< pcl::Intensity32u > &cloud_out) |
| Process step, this wraps the Nvidia code. | |
| void | setLargestObject (bool largest_object) |
| largest object sets return configuration | |
| bool | getLargestObject () const |
| void | setDeviceId (int id) |
| Set the cuda GPU to use. | |
| int | getCols () const |
| void | setCols (int cols) |
| int | getRows () const |
| void | setRows (int rows) |
| std::string | getCascadeFileName () const |
| void | setCascadeFileName (std::string cascadeFileName) |
| int | getDeviceId () const |
| Get the cuda GPU device id in use. | |
Static Public Member Functions | |
| static NCVStatus | loadFromNVBIN (const std::string &filename, HaarClassifierCascadeDescriptor &haar, std::vector< HaarStage64 > &haar_stages, std::vector< HaarClassifierNode128 > &haarClassifierNodes, std::vector< HaarFeature64 > &haar_features) |
Definition at line 58 of file face_detector.h.
| using pcl::gpu::people::FaceDetector::ConstPtr = shared_ptr<const FaceDetector> |
Definition at line 62 of file face_detector.h.
| using pcl::gpu::people::FaceDetector::Ptr = shared_ptr<FaceDetector> |
Definition at line 61 of file face_detector.h.
| pcl::gpu::people::FaceDetector::FaceDetector | ( | int | cols, |
| int | rows ) |
This is the constructor.
| int pcl::gpu::people::FaceDetector::configure | ( | std::string | cascade_file_name | ) |
|
inline |
Definition at line 153 of file face_detector.h.
|
inline |
Definition at line 132 of file face_detector.h.
|
inline |
Get the cuda GPU device id in use.
Definition at line 166 of file face_detector.h.
|
inline |
Definition at line 124 of file face_detector.h.
|
inline |
Definition at line 142 of file face_detector.h.
|
static |
| NCVStatus pcl::gpu::people::FaceDetector::loadFromXML2 | ( | const std::string & | filename, |
| HaarClassifierCascadeDescriptor & | haar, | ||
| std::vector< HaarStage64 > & | haar_stages, | ||
| std::vector< HaarClassifierNode128 > & | haarClassifierNodes, | ||
| std::vector< HaarFeature64 > & | haar_features ) |
| NCVStatus pcl::gpu::people::FaceDetector::ncvHaarGetClassifierSize | ( | const std::string & | filename, |
| Ncv32u & | numStages, | ||
| Ncv32u & | numNodes, | ||
| Ncv32u & | numFeatures ) |
| NCVStatus pcl::gpu::people::FaceDetector::ncvHaarLoadFromFile_host | ( | const std::string & | filename, |
| HaarClassifierCascadeDescriptor & | haar, | ||
| NCVVector< HaarStage64 > & | h_haar_stages, | ||
| NCVVector< HaarClassifierNode128 > & | h_haar_nodes, | ||
| NCVVector< HaarFeature64 > & | h_haar_features ) |
| NCVStatus pcl::gpu::people::FaceDetector::NCVprocess | ( | pcl::PointCloud< pcl::RGB > & | cloud_in, |
| pcl::PointCloud< pcl::Intensity32u > & | cloud_out, | ||
| HaarClassifierCascadeDescriptor & | haar, | ||
| NCVVector< HaarStage64 > & | d_haar_stages, | ||
| NCVVector< HaarClassifierNode128 > & | d_haar_nodes, | ||
| NCVVector< HaarFeature64 > & | d_haar_features, | ||
| NCVVector< HaarStage64 > & | h_haar_stages, | ||
| INCVMemAllocator & | gpu_allocator, | ||
| INCVMemAllocator & | cpu_allocator, | ||
| cudaDeviceProp & | device_properties, | ||
| Ncv32u | width = 640, | ||
| Ncv32u | height = 480, | ||
| NcvBool | bFilterRects = false, | ||
| NcvBool | bLargestFace = true ) |
| void pcl::gpu::people::FaceDetector::process | ( | pcl::PointCloud< pcl::RGB > & | cloud, |
| pcl::PointCloud< pcl::Intensity32u > & | cloud_out ) |
Process step, this wraps the Nvidia code.
|
inline |
Definition at line 159 of file face_detector.h.
|
inline |
Definition at line 137 of file face_detector.h.
| void pcl::gpu::people::FaceDetector::setDeviceId | ( | int | id | ) |
Set the cuda GPU to use.
|
inline |
largest object sets return configuration
Definition at line 119 of file face_detector.h.
|
inline |
Definition at line 147 of file face_detector.h.