3DMPPE_POSENET_RELEASE icon indicating copy to clipboard operation
3DMPPE_POSENET_RELEASE copied to clipboard

Issue about bounding box value in your demo.py

Open xunhui-huang opened this issue 3 years ago • 7 comments

Thanks for your excellent work!I have a problem about your provided bounding box value in your demo.py. bbox_list = [[139.41, 102.25, 222.39, 241.57],\ [287.17, 61.52, 74.88, 165.61],\ [540.04, 48.81, 99.96, 223.36],\ [372.58, 170.84, 266.63, 217.19],\ [0.5, 43.74, 90.1, 220.09]] # xmin, ymin, width, height However,I try to use these value to draw bounding box in the provided input.jpg,The location of bounding box is far from the human body.So how can i get the value of bbox_list,and whether the value of 'xmin' and 'ymin' refers to the center of bbox?

xunhui-huang avatar May 19 '21 12:05 xunhui-huang

xmin and ymin means minimum x and y coordinates. In other word, top-left point of the box.

mks0601 avatar May 19 '21 12:05 mks0601

Thanks for your answer, I have another question. whether the demo.py has restrictions on the size of input image?I wish to implement your code to accept the wild image as input.Do I need to resize my input image?

xunhui-huang avatar May 20 '21 11:05 xunhui-huang

If you set bbox, the code will automatically crop and resize the bbox area to 256x256 size and fed it to the network.

mks0601 avatar May 20 '21 16:05 mks0601

Thx.

xunhui-huang avatar May 23 '21 06:05 xunhui-huang

Thanks for your wonderful work! I also have a problem about your provided bounding box value in your demo.py. How can I set th e value of bbox_list of my own input image? I found that bounding boxes are gotten from detect net in your paper. Should I use the the pre-trained ResNet50 to get it?

sainan-zhang avatar Jul 21 '21 02:07 sainan-zhang

You can use any off-the-shelf human detector, such as detectron2 and yolov5.

mks0601 avatar Jul 21 '21 02:07 mks0601

Thanks very much!

sainan-zhang avatar Jul 22 '21 03:07 sainan-zhang