vitis::ai::PointPillars - 3.5 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 English
Base class for pointpillars .

Input is points data.

Output is a struct of detection results, named PointPillarsResult .

Sample code :

    ...
    auto net = vitis::ai::PointPillars::create("pointpillars_kitti_12000_0_pt",
"pointpillars_kitti_12000_1_pt", true); V1F PointCloud ; int len =
getfloatfilelen( lidar_path); PointCloud.resize( len );
    myreadfile(PointCloud.data(), len, lidar_path);
    auto res = net->run(PointCloud);
    ...
  please see the test sample for detail.

Quick Function Reference

The following table lists all the functions defined in the vitis::ai::PointPillars class:

Table 1. Quick Function Reference
Type Member Arguments
std::unique_ptr< PointPillars > create
  • const std::string & model_name
  • const std::string & model_name1
vitis::ai::PointPillarsResult run
  • const V1F & v1f
std::vector< vitis::ai::PointPillarsResult > run
  • const V2F & v2f
vitis::ai::PointPillarsResult run
  • const float * points
std::vector< vitis::ai::PointPillarsResult > run
  • const std::vector< const float * > & vpoints
size_t get_input_batch
  • void
void do_pointpillar_display