Yolov3

Copyright (c) organization

Author

btran

Date

2020-05-31

namespace Ort
class Yolov3 : public Ort::ImageRecognitionOrtSessionHandlerBase

Public Functions

Yolov3(const uint16_t numClasses, const std::string &modelPath, const std::optional<size_t> &gpuIdx = std::nullopt, const std::optional<std::vector<std::vector<int64_t>>> &inputShapes = std::nullopt)
~Yolov3()
void preprocess(float *dst, const unsigned char *src, const int64_t targetImgWidth, const int64_t targetImgHeight, const int numChannels) const

Public Static Attributes

constexpr int64_t IMG_H = 800
constexpr int64_t IMG_W = 800
constexpr int64_t IMG_CHANNEL = 3