Constants¶
Copyright (c) organization
- Author
btran
-
namespace
Ort Variables
-
const std::vector<std::string>
IMAGENET_CLASSES¶ A vector of strings that contains all 1000 object classes in Imagenet Dataset.
-
constexpr int64_t
IMAGENET_NUM_CLASSES= 1000¶ A 64 bit long integer that stores the number of Imagenet object classes. This variable is used in examples/TestImageClassification.cpp and examples/TestObjectDetection.cpp.
-
const std::vector<float>
IMAGENET_MEAN= {0.406, 0.456, 0.485}¶ A BGR mean that helps normalize an input image.
-
const std::vector<float>
IMAGENET_STD= {0.225, 0.224, 0.229}¶ A BGR standard deviation that helps normalize an input image. This is used in tandem with IMAGENET_NUM_CLASSES.
-
const std::vector<std::string>
MSCOCO_CLASSES= {"background", "person", "bicycle", "car", "motorbike", "aeroplane", "bus", "train", "truck", "boat", "traffic light", "fire hydrant", "stop sign", "parking meter", "bench", "bird", "cat", "dog", "horse", "sheep", "cow", "elephant", "bear", "zebra", "giraffe", "backpack", "umbrella", "handbag", "tie", "suitcase", "frisbee", "skis", "snowboard", "sports ball", "kite", "baseball bat", "baseball glove", "skateboard", "surfboard", "tennis racket", "bottle", "wine glass", "cup", "fork", "knife", "spoon", "bowl", "banana", "apple", "sandwich", "orange", "broccoli", "carrot", "hot dog", "pizza", "donut", "cake", "chair", "sofa", "pottedplant", "bed", "diningtable", "toilet", "tvmonitor", "laptop", "mouse", "remote", "keyboard", "cell phone", "microwave", "oven", "toaster", "sink", "refrigerator", "book", "clock", "vase", "scissors", "teddy bear", "hair drier", "toothbrush"}¶ A vector of strings that contains all 81 object classes in MSCOCO Dataset.
-
constexpr int64_t
MSCOCO_NUM_CLASSES= 81¶ A 64 bit long integer that stores the number of MSCOCO object classes. This variable is used in examples/MaskRCNNApp.cpp.
-
const std::vector<std::array<int, 3>>
MSCOCO_COLOR_CHART= generateColorCharts(MSCOCO_NUM_CLASSES)¶ A vector of array of 3 values that is mapped with cv::Scalar that corresponds to the MSCOCO object classes. It calls generateColorCharts function which is defined under Utility.hpp.
-
const std::vector<std::string>
VOC_CLASSES= {"aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person", "pottedplant", "sheep", "sofa", "train", "tvmonitor"}¶ A vector of strings that contains all 20 object classes in Pascal VOC Dataset.
-
constexpr int64_t
VOC_NUM_CLASSES= 20¶ A 64 bit long integer that stores the number of Pascal VOC object classes. This variable is used in examples/TinyYolov2App.cpp.
-
const std::vector<std::array<int, 3>>
VOC_COLOR_CHART= generateColorCharts(VOC_NUM_CLASSES)¶ A vector of array of 3 values that is mapped with cv::Scalar that corresponds to the Pascal VOC object classes. It calls generateColorCharts function which is defined under Utility.hpp.
-
const std::vector<std::string>