#include <result.h>
Public Types | |
using | ConstPtr = std::shared_ptr< Result const > |
using | Ptr = std::shared_ptr< Result > |
Public Member Functions | |
ClassificationResultPtr | getClassificationResult () |
DetectionResultPtr | getDetectionResult () |
void | parseSSDResult (const std::vector< float > &result, const std::vector< std::string > categories, int img_width, int img_height) |
void | parseYoloResult (const std::vector< float > &result, const std::vector< std::string > categories, int img_width, int img_height) |
Result (const std::string &cnn_type) | |
void | setClassificationResult (Item item) |
void | setClassificationResult (float time) |
void | setDetectionResult (ItemInBBox item) |
void | setDetectionResult (float time) |
Private Member Functions | |
float | IOU (ItemInBBox box1, ItemInBBox box2) |
void | NMS (ItemInBBoxArrayPtr objs_in_bboxes) |
Private Attributes | |
ClassificationResultPtr | classification_result |
DetectionResultPtr | detection_result |
using movidius_ncs_lib::Result::ConstPtr = std::shared_ptr<Result const> |
using movidius_ncs_lib::Result::Ptr = std::shared_ptr<Result> |
|
explicit |
Definition at line 25 of file result.cpp.
ClassificationResultPtr movidius_ncs_lib::Result::getClassificationResult | ( | ) |
Definition at line 39 of file result.cpp.
DetectionResultPtr movidius_ncs_lib::Result::getDetectionResult | ( | ) |
Definition at line 44 of file result.cpp.
|
private |
Definition at line 215 of file result.cpp.
|
private |
Definition at line 177 of file result.cpp.
void movidius_ncs_lib::Result::parseSSDResult | ( | const std::vector< float > & | result, |
const std::vector< std::string > | categories, | ||
int | img_width, | ||
int | img_height | ||
) |
Definition at line 108 of file result.cpp.
void movidius_ncs_lib::Result::parseYoloResult | ( | const std::vector< float > & | result, |
const std::vector< std::string > | categories, | ||
int | img_width, | ||
int | img_height | ||
) |
Definition at line 49 of file result.cpp.
void movidius_ncs_lib::Result::setClassificationResult | ( | Item | item | ) |
Definition at line 157 of file result.cpp.
void movidius_ncs_lib::Result::setClassificationResult | ( | float | time | ) |
Definition at line 162 of file result.cpp.
void movidius_ncs_lib::Result::setDetectionResult | ( | ItemInBBox | item | ) |
Definition at line 167 of file result.cpp.
void movidius_ncs_lib::Result::setDetectionResult | ( | float | time | ) |
Definition at line 172 of file result.cpp.
|
private |
|
private |