• 此项目
    • 正在载入...
  • Sign in

xuning / dev_webcamoid

96x96
转到一个项目
Toggle navigation
  • 项目
  • 群组
  • 代码片段
  • 帮助
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • dev_webcamoid
  • libAvKys
  • Plugins
  • Mask
  • src
  • yolov8_seg.h
  • branch from https://gitlab.xuedianyun.com/liyong/classTikCamera/tree/dev · c8ec1afa
    c8ec1afa 浏览文件
    ningwebbeginner authored 2025-05-06 15:28:07 +0800
yolov8_seg.h 299 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#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