Factory function to get an instance of derived classes of class
PointPainting
.
Prototype
std::unique_ptr<
PointPainting
> create(const std::string &seg_model_name, const std::string &pp_model_name_0, const std::string &pp_model_name_1, bool need_preprocess=true);
Parameters
The following table lists the create function arguments.
| Type | Member | Description |
|---|---|---|
| const std::string & | seg_model_name |
Segmentation
model name
|
| const std::string & | pp_model_name_0 | The first pointpillars nuscenes model name |
| const std::string & | pp_model_name_1 | The second pointpillars nuscenes model name |
Returns
An instance ofPointPainting
class.