Apollo  6.0
Open source self driving car software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
apollo::perception::camera::TrackingFeatureExtractor Class Reference

#include <tracking_feat_extractor.h>

Inheritance diagram for apollo::perception::camera::TrackingFeatureExtractor:
Inheritance graph
Collaboration diagram for apollo::perception::camera::TrackingFeatureExtractor:
Collaboration graph

Public Member Functions

 TrackingFeatureExtractor ()
 
 ~TrackingFeatureExtractor ()
 
bool Init (const FeatureExtractorInitOptions &init_options) override
 
bool Extract (const FeatureExtractorOptions &options, CameraFrame *frame) override
 
std::string Name () const override
 
- Public Member Functions inherited from apollo::perception::camera::BaseFeatureExtractor
 BaseFeatureExtractor ()=default
 
virtual ~BaseFeatureExtractor ()=default
 
void set_roi (int x, int y, int w, int h)
 
void decode_bbox (std::vector< std::shared_ptr< base::Object >> *objects)
 
void encode_bbox (std::vector< std::shared_ptr< base::Object >> *objects)
 

Protected Member Functions

void init_roipooling (const FeatureExtractorInitOptions &init_options, const tracking_feature::ROIPoolingParam &param)
 

Protected Attributes

std::vector< std::shared_ptr< FeatureExtractorLayer > > roi_poolings_
 
inference::GPUL2Norm norm_
 
int input_height_ = 0
 
int input_width_ = 0
 
int feat_width_ = 0
 
int feat_height_ = 0
 
- Protected Attributes inherited from apollo::perception::camera::BaseFeatureExtractor
std::shared_ptr< base::Blob< float > > feat_blob_ = nullptr
 
int roi_x_ = 0
 
int roi_y_ = 0
 
int roi_w_ = 0
 
int roi_h_ = 0
 

Constructor & Destructor Documentation

◆ TrackingFeatureExtractor()

apollo::perception::camera::TrackingFeatureExtractor::TrackingFeatureExtractor ( )
inline

◆ ~TrackingFeatureExtractor()

apollo::perception::camera::TrackingFeatureExtractor::~TrackingFeatureExtractor ( )
inline

Member Function Documentation

◆ Extract()

bool apollo::perception::camera::TrackingFeatureExtractor::Extract ( const FeatureExtractorOptions options,
CameraFrame frame 
)
overridevirtual

◆ Init()

bool apollo::perception::camera::TrackingFeatureExtractor::Init ( const FeatureExtractorInitOptions init_options)
overridevirtual

◆ init_roipooling()

void apollo::perception::camera::TrackingFeatureExtractor::init_roipooling ( const FeatureExtractorInitOptions init_options,
const tracking_feature::ROIPoolingParam &  param 
)
protected

◆ Name()

std::string apollo::perception::camera::TrackingFeatureExtractor::Name ( ) const
inlineoverridevirtual

Member Data Documentation

◆ feat_height_

int apollo::perception::camera::TrackingFeatureExtractor::feat_height_ = 0
protected

◆ feat_width_

int apollo::perception::camera::TrackingFeatureExtractor::feat_width_ = 0
protected

◆ input_height_

int apollo::perception::camera::TrackingFeatureExtractor::input_height_ = 0
protected

◆ input_width_

int apollo::perception::camera::TrackingFeatureExtractor::input_width_ = 0
protected

◆ norm_

inference::GPUL2Norm apollo::perception::camera::TrackingFeatureExtractor::norm_
protected

◆ roi_poolings_

std::vector<std::shared_ptr<FeatureExtractorLayer> > apollo::perception::camera::TrackingFeatureExtractor::roi_poolings_
protected

The documentation for this class was generated from the following file: