|
Apollo 10.0
自动驾驶开放平台
|
#include <memory>#include <string>#include <vector>#include "gflags/gflags.h"#include "cyber/common/file.h"#include "modules/perception/common/algorithm/io/io_util.h"#include "modules/perception/common/algorithm/sensor_manager/sensor_manager.h"#include "modules/perception/common/camera/common/data_provider.h"#include "modules/perception/common/interface/base_obstacle_detector.h"#include "modules/perception/common/onboard/inner_component_messages/camera_detection_component_messages.h"#include "modules/perception/tools/common/ground_truth.h"#include "modules/perception/tools/common/util.h"#include "modules/perception/tools/common/visualizer.h"命名空间 | |
| 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 | ( | gpu_id | , |
| 0 | , | ||
| "gpu id" | |||
| ) |
| DEFINE_int32 | ( | height | , |
| 1080 | , | ||
| "image height" | |||
| ) |
| DEFINE_int32 | ( | width | , |
| 1920 | , | ||
| "image width" | |||
| ) |
| DEFINE_string | ( | camera_name | , |
| "front_6mm" | , | ||
| "camera name" | |||
| ) |
| DEFINE_string | ( | config_file | , |
| "yolox3d.pb.txt" | , | ||
| "config file" | |||
| ) |
| DEFINE_string | ( | config_path | , |
| "perception/camera_detection_multi_stage/data" | , | ||
| "config path" | |||
| ) |
| DEFINE_string | ( | dest_dir | , |
| "./data/output" | , | ||
| "output dir" | |||
| ) |
| DEFINE_string | ( | detector_name | , |
| "Yolox3DObstacleDetector" | , | ||
| "detector name" | |||
| ) |
| DEFINE_string | ( | dist_type | , |
| "" | , | ||
| "dist pred type: H-on- | h, | ||
| H-from-h" | |||
| ) |
| DEFINE_string | ( | image_ext | , |
| ".jpg" | , | ||
| "extension of image name" | |||
| ) |
| DEFINE_string | ( | kitti_dir | , |
| "" | , | ||
| "pre-detected obstacles (skip Detect)" | |||
| ) |
| DEFINE_string | ( | root_dir | , |
| "modules/perception/tools/offline_camera_detection/" | , | ||
| "image root dir" | |||
| ) |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
在文件 offline_camera_detection.cc 第 151 行定义.