自学内容网 自学内容网

yolov11 pose 推理代码

目录

效果图:

yolo_pose.py


效果图:

yolo_pose.py

import os

import cv2
from PIL import Image

from ultralytics import YOLO
import json
from pathlib import Path
import tqdm

class YOLOPose:
    def __init__(self, detections_file):
        self.detections_file = detections_file
        self.detections = self.load_json(detections_file)
        self.save_interval = 10
        self.model = YOLO('yolo11x-pose.pt', task='pose

原文地址:https://blog.csdn.net/jacke121/article/details/145309015

免责声明:本站文章内容转载自网络资源,如侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!