Functions | Variables
rs-dnn.cpp File Reference
#include <opencv2/dnn.hpp>
#include <librealsense2/rs.hpp>
#include "../cv-helpers.hpp"
Include dependency graph for rs-dnn.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Variables

const char * classNames []
 
const size_t inHeight = 300
 
const float inScaleFactor = 0.007843f
 
const size_t inWidth = 300
 
const float meanVal = 127.5
 
const float WHRatio = inWidth / (float)inHeight
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 21 of file rs-dnn.cpp.

Variable Documentation

const char* classNames[]
Initial value:
= {"background",
"aeroplane", "bicycle", "bird", "boat",
"bottle", "bus", "car", "cat", "chair",
"cow", "diningtable", "dog", "horse",
"motorbike", "person", "pottedplant",
"sheep", "sofa", "train", "tvmonitor"}

Definition at line 14 of file rs-dnn.cpp.

const size_t inHeight = 300

Definition at line 10 of file rs-dnn.cpp.

const float inScaleFactor = 0.007843f

Definition at line 12 of file rs-dnn.cpp.

const size_t inWidth = 300

Definition at line 9 of file rs-dnn.cpp.

const float meanVal = 127.5

Definition at line 13 of file rs-dnn.cpp.

const float WHRatio = inWidth / (float)inHeight

Definition at line 11 of file rs-dnn.cpp.



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