mmpose

https://mmpose.readthedocs.io/en/latest/demo.html`
要进行全身关键点推断,

python demo/top_down_img_demo_with_mmdet.py \
    demo/mmdetection_cfg/faster_rcnn_r50_fpn_1x_coco.py \
    http://download.openmmlab.com/mmdetection/v2.0/faster_rcnn/faster_rcnn_r50_fpn_1x_coco/faster_rcnn_r50_fpn_1x_coco_20200130-047c8118.pth \
    configs/top_down/hrnet/coco/hrnet_w48_coco_256x192.py \
    https://download.openmmlab.com/mmpose/top_down/hrnet/hrnet_w48_coco_256x192-b9e0b3ab_20200708.pth \
    --img-root tests/data/coco/ \
    --img middle_1056.jpg \
    --out-img-root vis_results

还需要安装mmcv-full,mmdet (mmdetection)
https://github.com/open-mmlab/mmcv#install-with-pip
mmcv:
->
pip install mmcv
pip install mmcv-full

https://github.com/open-mmlab/mmdetection
->

> https://github.com/open-mmlab/mmdetection/blob/master/docs/get_started.md

3.预训练模型test
https://mmpose.readthedocs.io/en/latest/top_down_models.html

猜你喜欢

转载自blog.csdn.net/qq_43309882/article/details/110394115