最强姿态模型 mmpose 使用实例

mmpose 介绍:

https://blog.csdn.net/jacke121/article/details/135040186

图片姿态实例:

本机地址:B:\/project\pose\mmpose-dev-1.x

# Copyright (c) OpenMMLab. All rights reserved.
import logging
from argparse import ArgumentParser

from mmcv.image import imread
from mmengine.logging import print_log

from mmpose.apis import inference_topdown, init_model
from mmpose.registry import VISUALIZERS
from mmpose.structures import merge_data_samples

def parse_args():
    parser = ArgumentParser()
    parser.add_argument('--img', default=r'F:\project\c++\landmark_c++\mediapipe_ncnn\sln\x64\Release\person.jpg', help='Image file')
    parser.add_argument('--config',default=r'../configs/body_2d_keyp

你可能感兴趣的:(深度学习宝典,姿态检测,深度学习,人工智能)