Results#
Result Base#
-
struct ResultBase#
Subclassed by AnomalyResult, ClassificationResult, DetectionResult, HumanPoseResult, ImageResult, InferenceResult, InstanceSegmentationResult, KeypointDetectionResult
Anomaly Result#
-
struct AnomalyResult : public ResultBase#
-
Public Members
-
cv::Mat anomaly_map#
-
std::vector<cv::Rect> pred_boxes#
-
std::string pred_label#
-
cv::Mat pred_mask#
-
double pred_score#
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const AnomalyResult &prediction)#
-
cv::Mat anomaly_map#
Inference Result#
-
struct InferenceResult : public ResultBase#
Public Functions
-
inline ov::Tensor getFirstOutputTensor()#
Returns the first output tensor This function is a useful addition to direct access to outputs list as many models have only one output
- Returns:
first output tensor
-
inline bool IsEmpty()#
Returns true if object contains no valid data
- Returns:
true if object contains no valid data
Public Members
-
std::shared_ptr<InternalModelData> internalModelData#
-
std::map<std::string, ov::Tensor> outputsData#
-
inline ov::Tensor getFirstOutputTensor()#
Classification Result#
-
struct ClassificationResult : public ResultBase#
-
Public Members
-
std::vector<Classification> topLabels#
-
ov::Tensor saliency_map#
-
ov::Tensor feature_vector#
-
ov::Tensor raw_scores#
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const ClassificationResult &prediction)#
-
struct Classification#
Public Functions
-
inline Classification(unsigned int id, const std::string &label, float score)#
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const Classification &prediction)#
-
inline Classification(unsigned int id, const std::string &label, float score)#
-
std::vector<Classification> topLabels#
Detected Object#
-
struct DetectedObject : public cv::Rect2f#
Subclassed by SegmentedObject
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const DetectedObject &detection)#
-
inline friend std::ostream &operator<<(std::ostream &os, const DetectedObject &detection)#
Detection Result#
-
struct DetectionResult : public ResultBase#
Subclassed by RetinaFaceDetectionResult
Public Members
-
std::vector<DetectedObject> objects#
-
ov::Tensor saliency_map#
-
ov::Tensor feature_vector#
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const DetectionResult &prediction)#
-
std::vector<DetectedObject> objects#
RetinaFace Detection Result#
-
struct RetinaFaceDetectionResult : public DetectionResult#
Public Functions
Public Members
-
std::vector<cv::Point2f> landmarks#
-
std::vector<cv::Point2f> landmarks#
ResultBase#
-
struct ResultBase
Subclassed by AnomalyResult, ClassificationResult, DetectionResult, HumanPoseResult, ImageResult, InferenceResult, InstanceSegmentationResult, KeypointDetectionResult
Public Functions
-
inline virtual ~ResultBase()
-
inline bool IsEmpty()
-
template<class T>
inline T &asRef()
-
template<class T>
inline const T &asRef() const
Public Members
-
int64_t frameId
-
std::shared_ptr<MetaData> metaData
-
inline virtual ~ResultBase()
Segmented Object#
-
struct SegmentedObject : public DetectedObject#
Subclassed by SegmentedObjectWithRects
Public Members
-
cv::Mat mask#
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const SegmentedObject &prediction)#
-
cv::Mat mask#
Segmented Object With Rects#
-
struct SegmentedObjectWithRects : public SegmentedObject#
Public Functions
-
inline SegmentedObjectWithRects(const SegmentedObject &segmented_object)#
Public Members
-
cv::RotatedRect rotated_rect#
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const SegmentedObjectWithRects &prediction)#
-
inline SegmentedObjectWithRects(const SegmentedObject &segmented_object)#
Instance Segmentation Result#
-
struct InstanceSegmentationResult : public ResultBase#
Public Functions
Public Members
-
std::vector<SegmentedObject> segmentedObjects#
-
std::vector<cv::Mat_<std::uint8_t>> saliency_map#
-
ov::Tensor feature_vector#
-
std::vector<SegmentedObject> segmentedObjects#
Image Result#
-
struct ImageResult : public ResultBase#
Subclassed by ImageResultWithSoftPrediction
Public Members
-
cv::Mat resultImage#
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const ImageResult &prediction)#
-
cv::Mat resultImage#
ImageResult With Soft Prediction#
-
struct ImageResultWithSoftPrediction : public ImageResult#
Public Functions
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const ImageResultWithSoftPrediction &prediction)#
-
inline friend std::ostream &operator<<(std::ostream &os, const ImageResultWithSoftPrediction &prediction)#
Contour#
-
struct Contour#
HumanPose#
-
struct HumanPose#
HumanPoseResult#
-
struct HumanPoseResult : public ResultBase#
Public Functions
DetectedKeypoints#
-
struct DetectedKeypoints#
Public Functions
-
inline explicit operator std::string()#
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const DetectedKeypoints &prediction)#
-
inline explicit operator std::string()#
KeypointDetectionResult#
-
struct KeypointDetectionResult : public ResultBase#
Public Functions
Public Members
-
std::vector<DetectedKeypoints> poses#
-
std::vector<DetectedKeypoints> poses#