Conscience Core
Public Member Functions | Public Attributes | List of all members
conscience_core::detector_engine::yolov8::Yolov8 Class Reference

#include <yolov8.h>

Public Member Functions

 Yolov8 ()
 
 ~Yolov8 ()
 
bool ReadModel (cv::dnn::Net &net, std::string &netPath, bool isCuda)
 
bool Detect (const cv::Mat &srcImg, cv::dnn::Net &net, std::vector< OutputSeg > &output)
 

Public Attributes

int _netWidth = 640
 
int _netHeight = 640
 
std::vector< std::string > _className
 

Constructor & Destructor Documentation

◆ Yolov8()

conscience_core::detector_engine::yolov8::Yolov8::Yolov8 ( )
inline

◆ ~Yolov8()

conscience_core::detector_engine::yolov8::Yolov8::~Yolov8 ( )
inline

Member Function Documentation

◆ Detect()

bool conscience_core::detector_engine::yolov8::Yolov8::Detect ( const cv::Mat &  srcImg,
cv::dnn::Net &  net,
std::vector< OutputSeg > &  output 
)

◆ ReadModel()

bool conscience_core::detector_engine::yolov8::Yolov8::ReadModel ( cv::dnn::Net &  net,
std::string &  netPath,
bool  isCuda 
)

Member Data Documentation

◆ _className

std::vector<std::string> conscience_core::detector_engine::yolov8::Yolov8::_className
Initial value:
= { "person", "bicycle", "car", "motorcycle", "airplane", "bus", "train", "truck", "boat", "traffic light",
"fire hydrant", "stop sign", "parking meter", "bench", "bird", "cat", "dog", "horse", "sheep", "cow",
"elephant", "bear", "zebra", "giraffe", "backpack", "umbrella", "handbag", "tie", "suitcase", "frisbee",
"skis", "snowboard", "sports ball", "kite", "baseball bat", "baseball glove", "skateboard", "surfboard",
"tennis racket", "bottle", "wine glass", "cup", "fork", "knife", "spoon", "bowl", "banana", "apple",
"sandwich", "orange", "broccoli", "carrot", "hot dog", "pizza", "donut", "cake", "chair", "couch",
"potted plant", "bed", "dining table", "toilet", "tv", "laptop", "mouse", "remote", "keyboard", "cell phone",
"microwave", "oven", "toaster", "sink", "refrigerator", "book", "clock", "vase", "scissors", "teddy bear",
"hair drier", "toothbrush" }

◆ _netHeight

int conscience_core::detector_engine::yolov8::Yolov8::_netHeight = 640

◆ _netWidth

int conscience_core::detector_engine::yolov8::Yolov8::_netWidth = 640

The documentation for this class was generated from the following files: