Classes | Functions
rs-dnn-vino.cpp File Reference
#include <librealsense2/rs.hpp>
#include "cv-helpers.hpp"
#include <opencv2/core/utils/filesystem.hpp>
#include <rs-vino/object-detection.h>
#include <rs-vino/detected-object.h>
#include <easylogging++.h>
#include <rs-vino/openvino-helpers.h>
#include <chrono>
Include dependency graph for rs-dnn-vino.cpp:

Go to the source code of this file.

Classes

struct  detector_and_labels
 

Functions

void detect_objects (cv::Mat const &image, std::vector< openvino_helpers::object_detection::Result > const &results, std::vector< std::string > &labels, size_t &next_id, openvino_helpers::detected_objects &objects)
 
void draw_detector_overlay (cv::Mat &image, size_t current_detector, high_resolution_clock::time_point switch_time)
 
void draw_objects (cv::Mat &image, rs2::depth_frame depth_frame, openvino_helpers::detected_objects const &objects)
 
void load_detectors_into (std::vector< detector_and_labels > &detectors, openvino::Core &engine, std::string const &device_name)
 
int main (int argc, char *argv[])
 

Function Documentation

void detect_objects ( cv::Mat const &  image,
std::vector< openvino_helpers::object_detection::Result > const &  results,
std::vector< std::string > &  labels,
size_t next_id,
openvino_helpers::detected_objects objects 
)

Definition at line 108 of file rs-dnn-vino.cpp.

void draw_detector_overlay ( cv::Mat &  image,
size_t  current_detector,
high_resolution_clock::time_point  switch_time 
)

Definition at line 180 of file rs-dnn-vino.cpp.

void draw_objects ( cv::Mat &  image,
rs2::depth_frame  depth_frame,
openvino_helpers::detected_objects const &  objects 
)

Definition at line 146 of file rs-dnn-vino.cpp.

void load_detectors_into ( std::vector< detector_and_labels > &  detectors,
openvino::Core &  engine,
std::string const &  device_name 
)

Definition at line 65 of file rs-dnn-vino.cpp.

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

Definition at line 201 of file rs-dnn-vino.cpp.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:28