#include <YoloObjectDetector.hpp>
|
detection * | avgPredictions (network *net, int *nboxes) |
|
void | cameraCallback (const sensor_msgs::ImageConstPtr &msg) |
|
void | checkForObjectsActionGoalCB () |
|
void | checkForObjectsActionPreemptCB () |
|
void * | detectInThread () |
|
void * | detectLoop (void *ptr) |
|
void * | displayInThread (void *ptr) |
|
void * | displayLoop (void *ptr) |
|
void * | fetchInThread () |
|
CvMatWithHeader_ | getCvMatWithHeader () |
|
bool | getImageStatus (void) |
|
void | init () |
|
bool | isCheckingForObjects () const |
|
bool | isNodeRunning (void) |
|
bool | publishDetectionImage (const cv::Mat &detectionImage) |
|
void * | publishInThread () |
|
bool | readParameters () |
|
void | rememberNetwork (network *net) |
|
void | setupNetwork (char *cfgfile, char *weightfile, char *datafile, float thresh, char **names, int classes, int delay, char *prefix, int avg_frames, float hier, int w, int h, int frames, int fullscreen) |
|
int | sizeNetwork (network *net) |
|
void | yolo () |
|
Definition at line 79 of file YoloObjectDetector.hpp.
darknet_ros::YoloObjectDetector::~YoloObjectDetector |
( |
| ) |
|
detection * darknet_ros::YoloObjectDetector::avgPredictions |
( |
network * |
net, |
|
|
int * |
nboxes |
|
) |
| |
|
private |
void darknet_ros::YoloObjectDetector::cameraCallback |
( |
const sensor_msgs::ImageConstPtr & |
msg | ) |
|
|
private |
void darknet_ros::YoloObjectDetector::checkForObjectsActionGoalCB |
( |
| ) |
|
|
private |
void darknet_ros::YoloObjectDetector::checkForObjectsActionPreemptCB |
( |
| ) |
|
|
private |
void * darknet_ros::YoloObjectDetector::detectInThread |
( |
| ) |
|
|
private |
void * darknet_ros::YoloObjectDetector::detectLoop |
( |
void * |
ptr | ) |
|
|
private |
void * darknet_ros::YoloObjectDetector::displayInThread |
( |
void * |
ptr | ) |
|
|
private |
void * darknet_ros::YoloObjectDetector::displayLoop |
( |
void * |
ptr | ) |
|
|
private |
void * darknet_ros::YoloObjectDetector::fetchInThread |
( |
| ) |
|
|
private |
bool darknet_ros::YoloObjectDetector::getImageStatus |
( |
void |
| ) |
|
|
private |
void darknet_ros::YoloObjectDetector::init |
( |
| ) |
|
|
private |
bool darknet_ros::YoloObjectDetector::isCheckingForObjects |
( |
| ) |
const |
|
private |
Check if a preempt for the check for objects action has been requested.
- Returns
- false if preempt has been requested or inactive.
Definition at line 226 of file YoloObjectDetector.cpp.
bool darknet_ros::YoloObjectDetector::isNodeRunning |
( |
void |
| ) |
|
|
private |
bool darknet_ros::YoloObjectDetector::publishDetectionImage |
( |
const cv::Mat & |
detectionImage | ) |
|
|
private |
void * darknet_ros::YoloObjectDetector::publishInThread |
( |
| ) |
|
|
private |
bool darknet_ros::YoloObjectDetector::readParameters |
( |
| ) |
|
|
private |
void darknet_ros::YoloObjectDetector::rememberNetwork |
( |
network * |
net | ) |
|
|
private |
void darknet_ros::YoloObjectDetector::setupNetwork |
( |
char * |
cfgfile, |
|
|
char * |
weightfile, |
|
|
char * |
datafile, |
|
|
float |
thresh, |
|
|
char ** |
names, |
|
|
int |
classes, |
|
|
int |
delay, |
|
|
char * |
prefix, |
|
|
int |
avg_frames, |
|
|
float |
hier, |
|
|
int |
w, |
|
|
int |
h, |
|
|
int |
frames, |
|
|
int |
fullscreen |
|
) |
| |
|
private |
int darknet_ros::YoloObjectDetector::sizeNetwork |
( |
network * |
net | ) |
|
|
private |
void darknet_ros::YoloObjectDetector::yolo |
( |
| ) |
|
|
private |
int darknet_ros::YoloObjectDetector::actionId_ |
|
private |
float* darknet_ros::YoloObjectDetector::avg_ |
|
private |
ros::Publisher darknet_ros::YoloObjectDetector::boundingBoxesPublisher_ |
|
private |
darknet_ros_msgs::BoundingBoxes darknet_ros::YoloObjectDetector::boundingBoxesResults_ |
|
private |
image darknet_ros::YoloObjectDetector::buff_[3] |
|
private |
int darknet_ros::YoloObjectDetector::buffId_[3] |
|
private |
int darknet_ros::YoloObjectDetector::buffIndex_ = 0 |
|
private |
image darknet_ros::YoloObjectDetector::buffLetter_[3] |
|
private |
cv::Mat darknet_ros::YoloObjectDetector::camImageCopy_ |
|
private |
std::vector<std::string> darknet_ros::YoloObjectDetector::classLabels_ |
|
private |
image** darknet_ros::YoloObjectDetector::demoAlphabet_ |
|
private |
int darknet_ros::YoloObjectDetector::demoClasses_ |
|
private |
int darknet_ros::YoloObjectDetector::demoDelay_ = 0 |
|
private |
int darknet_ros::YoloObjectDetector::demoDone_ = 0 |
|
private |
int darknet_ros::YoloObjectDetector::demoFrame_ = 3 |
|
private |
float darknet_ros::YoloObjectDetector::demoHier_ = .5 |
|
private |
int darknet_ros::YoloObjectDetector::demoIndex_ = 0 |
|
private |
char** darknet_ros::YoloObjectDetector::demoNames_ |
|
private |
char* darknet_ros::YoloObjectDetector::demoPrefix_ |
|
private |
float darknet_ros::YoloObjectDetector::demoThresh_ = 0 |
|
private |
double darknet_ros::YoloObjectDetector::demoTime_ |
|
private |
int darknet_ros::YoloObjectDetector::demoTotal_ = 0 |
|
private |
ros::Publisher darknet_ros::YoloObjectDetector::detectionImagePublisher_ |
|
private |
cv::Mat darknet_ros::YoloObjectDetector::disp_ |
|
private |
bool darknet_ros::YoloObjectDetector::enableConsoleOutput_ |
|
private |
float darknet_ros::YoloObjectDetector::fps_ = 0 |
|
private |
int darknet_ros::YoloObjectDetector::frameHeight_ |
|
private |
int darknet_ros::YoloObjectDetector::frameWidth_ |
|
private |
int darknet_ros::YoloObjectDetector::fullScreen_ |
|
private |
bool darknet_ros::YoloObjectDetector::imageStatus_ = false |
|
private |
bool darknet_ros::YoloObjectDetector::isNodeRunning_ = true |
|
private |
float* darknet_ros::YoloObjectDetector::lastAvg2_ |
|
private |
float* darknet_ros::YoloObjectDetector::lastAvg_ |
|
private |
boost::shared_mutex darknet_ros::YoloObjectDetector::mutexActionStatus_ |
|
private |
boost::shared_mutex darknet_ros::YoloObjectDetector::mutexImageCallback_ |
|
private |
boost::shared_mutex darknet_ros::YoloObjectDetector::mutexImageStatus_ |
|
private |
boost::shared_mutex darknet_ros::YoloObjectDetector::mutexNodeStatus_ |
|
private |
network* darknet_ros::YoloObjectDetector::net_ |
|
private |
int darknet_ros::YoloObjectDetector::numClasses_ |
|
private |
float** darknet_ros::YoloObjectDetector::predictions_ |
|
private |
RosBox_* darknet_ros::YoloObjectDetector::roiBoxes_ |
|
private |
std::vector<int> darknet_ros::YoloObjectDetector::rosBoxCounter_ |
|
private |
std::vector<std::vector<RosBox_> > darknet_ros::YoloObjectDetector::rosBoxes_ |
|
private |
int darknet_ros::YoloObjectDetector::running_ = 0 |
|
private |
bool darknet_ros::YoloObjectDetector::viewImage_ |
|
private |
int darknet_ros::YoloObjectDetector::waitKeyDelay_ |
|
private |
std::thread darknet_ros::YoloObjectDetector::yoloThread_ |
|
private |
The documentation for this class was generated from the following files: