mmpose icon indicating copy to clipboard operation
mmpose copied to clipboard

the erro happended when using my picture instead of the orignal in the 3D human keypoints

Open graceforlife opened this issue 3 years ago • 4 comments

屏幕截图 2022-10-16 202505 2 The first is the offical guideline,and I try use my picture with a new adress to replace the underline code.But I failed.Can you help me?Thanks!

graceforlife avatar Oct 16 '22 12:10 graceforlife

@graceforlife Hi. The argument --img-root should be the file directory of the image instead of the whole filename of your picture. Try to use this:

--img-root xxx/Pictures/

liqikai9 avatar Oct 16 '22 14:10 liqikai9

@graceforlife Hi. The argument --img-root should be the file directory of the image instead of the whole filename of your picture. Try to use this:

--img-root xxx/Pictures/

I changed it as you said, but it still appears erro,and the .jpg does not appear in my folder, but in the original image root folder 111

graceforlife avatar Oct 17 '22 02:10 graceforlife

I see. This demo requires the json_file as input as well. You can find the description about the argument here. In this example, the json-file is tests/data/h36m/h36m_coco.json, which contains the filename of the image:

image

If you would like to use your own images, please modify the file_name in the given json_file

liqikai9 avatar Oct 17 '22 03:10 liqikai9

I see. This demo requires the json_file as input as well. You can find the description about the argument here. In this example, the json-file is tests/data/h36m/h36m_coco.json, which contains the filename of the image:

image

If you would like to use your own images, please modify the file_name in the given json_file

oooo!I get it ,thank u very much!

graceforlife avatar Oct 17 '22 03:10 graceforlife