Public Member Functions | |
DnnNode (ros::NodeHandle &nh) | |
Private Member Functions | |
void | image_callback (const sensor_msgs::ImageConstPtr &msg) |
bool | trigger_callback (dnn_detect::Detect::Request &req, dnn_detect::Detect::Response &res) |
Private Attributes | |
std::vector< std::string > | class_names |
ros::ServiceServer | detect_srv |
int | frame_num |
int | im_size |
image_transport::Publisher | image_pub |
image_transport::Subscriber | img_sub |
image_transport::ImageTransport | it |
float | mean_val |
float | min_confidence |
cv::dnn::Net | net |
volatile bool | processed |
bool | publish_images |
cv::Mat | resized_image |
dnn_detect::DetectedObjectArray | results |
ros::Publisher | results_pub |
int | rotate_flag |
cv::Mat | rotated_image |
float | scale_factor |
bool | single_shot |
volatile bool | triggered |
Definition at line 63 of file dnn_detect.cpp.
DnnNode::DnnNode | ( | ros::NodeHandle & | nh | ) |
Definition at line 218 of file dnn_detect.cpp.
|
private |
Definition at line 121 of file dnn_detect.cpp.
|
private |
Definition at line 104 of file dnn_detect.cpp.
|
private |
Definition at line 79 of file dnn_detect.cpp.
|
private |
Definition at line 93 of file dnn_detect.cpp.
|
private |
Definition at line 73 of file dnn_detect.cpp.
|
private |
Definition at line 75 of file dnn_detect.cpp.
|
private |
Definition at line 81 of file dnn_detect.cpp.
|
private |
Definition at line 68 of file dnn_detect.cpp.
|
private |
Definition at line 67 of file dnn_detect.cpp.
|
private |
Definition at line 78 of file dnn_detect.cpp.
|
private |
Definition at line 74 of file dnn_detect.cpp.
|
private |
Definition at line 83 of file dnn_detect.cpp.
|
private |
Definition at line 89 of file dnn_detect.cpp.
|
private |
Definition at line 71 of file dnn_detect.cpp.
|
private |
Definition at line 84 of file dnn_detect.cpp.
|
private |
Definition at line 91 of file dnn_detect.cpp.
|
private |
Definition at line 65 of file dnn_detect.cpp.
|
private |
Definition at line 76 of file dnn_detect.cpp.
|
private |
Definition at line 85 of file dnn_detect.cpp.
|
private |
Definition at line 77 of file dnn_detect.cpp.
|
private |
Definition at line 87 of file dnn_detect.cpp.
|
private |
Definition at line 88 of file dnn_detect.cpp.