![]() |
Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|
Namespace containing functions or objects/struct used to aid in easy use of YOLO models. Namespace can contain other namespace pertaining to the method of inference or library being used. More...
Namespaces | |
namespace | pytorch |
Namespace containing functions or objects/structs used to run inference on a YOLO model with the PyTorch library. This namespace contains static functions for getting available hardware devices, and classes for running a .pt model on each device. This namespace was built to work with YOLO models only! | |
namespace | tensorflow |
Namespace containing functions or objects/structs used to run inference on a YOLO model with the Tensorflow library. This namespace contains static functions for getting available hardware devices, and classes for running a .tflite model on each device. This namespace was built to work with YOLO models only! | |
Classes | |
struct | Detection |
This struct is used to. More... | |
Functions | |
void | NonMaxSuppression (std::vector< Detection > &vObjects, std::vector< int > &vClassIDs, std::vector< float > &vClassConfidences, std::vector< cv::Rect > &vBoundingBoxes, float fMinObjectConfidence, float fNMSThreshold) |
Perform non max suppression for the given predictions. This eliminates/combines predictions that overlap with each other. | |
void | DrawDetections (cv::Mat &cvInputFrame, std::vector< Detection > &vObjects) |
Given an image and a vector of object structs, draw each object bounding box, class type, and confidence onto the image. | |
Namespace containing functions or objects/struct used to aid in easy use of YOLO models. Namespace can contain other namespace pertaining to the method of inference or library being used.
|
inline |
Perform non max suppression for the given predictions. This eliminates/combines predictions that overlap with each other.
vObjects | - A vector that will be filled with all of the valid/filtered predictions with their data stored in an easy-to-use struct. |
vClassIDs | - A reference to a vector that contains class IDs for each prediction. |
vClassConfidences | - A reference to a vector that contains the highest class confidence for that prediction. |
vBoundingBoxes | - A reference to a vector that contains a cv::Rect bounding box for each prediction. |
fMinObjectConfidence | - The minimum confidence for determining which predictions to throw out. |
fNMSThreshold | - The threshold value for filtering out weaker bounding boxes or detections. |
|
inline |
Given an image and a vector of object structs, draw each object bounding box, class type, and confidence onto the image.
cvInputFrame | - A reference to the cv::Mat to draw overlays on. |
vObjects | - A reference to the vector containing the object detection structs. |