ObjectDetectionOrtSessionHandler¶
Copyright (c) organization
- Author
btran
-
namespace
Ort -
class
ObjectDetectionOrtSessionHandler: public Ort::ImageRecognitionOrtSessionHandlerBase¶ - #include <ObjectDetectionOrtSessionHandler.hpp>
An ObjectDetectionOrtSessionHandler class object. This class inherits ImageRecognitionOrtSessionHandlerBase and is used by TestObjectDetection.cpp under examples.
Public Functions
-
ObjectDetectionOrtSessionHandler(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)¶ This calls ObjectDetectionOrtSessionHandler’s constructor. It also:
Initializes m_numClasses with numClasses.
Initializes an internal OrtSessionHandler with modelPath, gpuIdx and inputShapes.
-
~ObjectDetectionOrtSessionHandler()¶ Calls standard destructor. Is empty destructor.
-
-
class