Apollo 10.0
自动驾驶开放平台
offline_camera_detection.cc 文件参考
offline_camera_detection.cc 的引用(Include)关系图:

浏览源代码.

命名空间

namespace  apollo
 class register implement
 
namespace  apollo::perception
 apollo::perception
 
namespace  apollo::perception::camera
 

函数

 DEFINE_int32 (height, 1080, "image height")
 
 DEFINE_int32 (width, 1920, "image width")
 
 DEFINE_int32 (gpu_id, 0, "gpu id")
 
 DEFINE_string (dest_dir, "./data/output", "output dir")
 
 DEFINE_string (dist_type, "", "dist pred type: H-on-h, H-from-h")
 
 DEFINE_string (kitti_dir, "", "pre-detected obstacles (skip Detect)")
 
 DEFINE_string (root_dir, "modules/perception/tools/offline_camera_detection/", "image root dir")
 
 DEFINE_string (image_ext, ".jpg", "extension of image name")
 
 DEFINE_string (config_path, "perception/camera_detection_multi_stage/data", "config path")
 
 DEFINE_string (config_file, "yolox3d.pb.txt", "config file")
 
 DEFINE_string (camera_name, "front_6mm", "camera name")
 
 DEFINE_string (detector_name, "Yolox3DObstacleDetector", "detector name")
 
bool apollo::perception::camera::InitDataProvider (onboard::CameraFrame *camera_frame)
 
bool apollo::perception::camera::TestDetection ()
 
int main (int argc, char *argv[])
 

函数说明

◆ DEFINE_int32() [1/3]

DEFINE_int32 ( gpu_id  ,
,
"gpu id"   
)

◆ DEFINE_int32() [2/3]

DEFINE_int32 ( height  ,
1080  ,
"image height"   
)

◆ DEFINE_int32() [3/3]

DEFINE_int32 ( width  ,
1920  ,
"image width"   
)

◆ DEFINE_string() [1/9]

DEFINE_string ( camera_name  ,
"front_6mm"  ,
"camera name"   
)

◆ DEFINE_string() [2/9]

DEFINE_string ( config_file  ,
"yolox3d.pb.txt"  ,
"config file"   
)

◆ DEFINE_string() [3/9]

DEFINE_string ( config_path  ,
"perception/camera_detection_multi_stage/data"  ,
"config path"   
)

◆ DEFINE_string() [4/9]

DEFINE_string ( dest_dir  ,
"./data/output"  ,
"output dir"   
)

◆ DEFINE_string() [5/9]

DEFINE_string ( detector_name  ,
"Yolox3DObstacleDetector"  ,
"detector name"   
)

◆ DEFINE_string() [6/9]

DEFINE_string ( dist_type  ,
""  ,
"dist pred type: H-on-  h,
H-from-h"   
)

◆ DEFINE_string() [7/9]

DEFINE_string ( image_ext  ,
".jpg"  ,
"extension of image name"   
)

◆ DEFINE_string() [8/9]

DEFINE_string ( kitti_dir  ,
""  ,
"pre-detected obstacles (skip Detect)"   
)

◆ DEFINE_string() [9/9]

DEFINE_string ( root_dir  ,
"modules/perception/tools/offline_camera_detection/"  ,
"image root dir"   
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

在文件 offline_camera_detection.cc151 行定义.

151 {
152 FLAGS_alsologtostderr = 1;
153 google::ParseCommandLineFlags(&argc, &argv, true);
154 google::InitGoogleLogging(argv[0]);
155 google::SetUsageMessage(
156 "command line brew\n"
157 "Usage: camera_benchmark <args>\n");
159 return 0;
160}