yolov8_seg.h
299 字节
#ifndef YOLOV8_SEG_H
#define YOLOV8_SEG_H
#include <opencv2/opencv.hpp>
#include "net.h"
struct Object
{
cv::Rect_<float> rect;
int label;
float prob;
int gindex;
cv::Mat mask;
};
int detect_yolov8_seg(const cv::Mat& bgr, std::vector<Object>& objects);
#endif // YOLOV8_SEG_H