CVBpy 15.0
Finder Class Reference

Match3D DNC finder class is used to perform a search on a point cloud. More...

Inherits object.

Public Member Functions

List[cvb.dnc.SearchResultfind (self, cvb.DensePointCloud point_cloud, cvb.dnc.SearchParameters parameters)
 Search for objects on the given point cloud. More...
 
Tuple[cvb.dnc.TeachParameters, float, float] get_teach_parameters (self)
 Gets the TeachParameters with which this Finder was trained. More...
 
cvb.dnc.Finder load (str file_name)
 Loads a finder from the given file name. More...
 
None save (self, str file_name)
 Saves the finder to the given file name. More...
 

Detailed Description

Match3D DNC finder class is used to perform a search on a point cloud.

Member Function Documentation

◆ find()

List[cvb.dnc.SearchResult] find (   self,
cvb.DensePointCloud  point_cloud,
cvb.dnc.SearchParameters  parameters 
)

Search for objects on the given point cloud.

Detect objects in the given point cloud and return a list of results.Try to adjust the search parameters if there are too few results or the result list contains false positives. The given point_cloud must either be orientated in sensor frame coordinates, or it must be extrinsically calibrated such that the direction of the Z - axis points to the sensor.

Parameters

point_cloud : cvb.DensePointCloud PointCloud to search on.

parameters : cvb.dnc.SearchParameters Search parameters to use.

Returns

List[cvb.dnc.SearchResult] List of found results.

◆ get_teach_parameters()

Tuple[cvb.dnc.TeachParameters, float, float] get_teach_parameters (   self)

Gets the TeachParameters with which this Finder was trained.

This function returns the parameters with which the classifier was trained. The values for resolution and fringe are not teach parameters in the strict sense - they rather concern the sample generation itself - , but they are returned for the sake of completeness.

Returns

Tuple[cvb.dnc.TeachParameters, float, float] Tuple of TeachParameters, resolution and fringe.

◆ load()

cvb.dnc.Finder load ( str  file_name)

Loads a finder from the given file name.

Parameters

file_name : str File to load.

Returns

cvb.dnc.Finder Loaded finder.

◆ save()

None save (   self,
str  file_name 
)

Saves the finder to the given file name.

Parameters

file_name : str Path to save the finder to.