geopavlakos / hamer

HaMeR: Reconstructing Hands in 3D with Transformers
https://geopavlakos.github.io/hamer/
MIT License
326 stars 28 forks source link

About overlapping problem while run the demo.py #51

Closed taeyunwoo closed 1 month ago

taeyunwoo commented 1 month ago

Hello. First of all, I really appreciate your works! Thank you for opening your code.

The reason why I leave this issue is that, how to resolve the overlapping problem to one hand during rendering the estimated hand meshes with demo.py.

capture

As we can see in the upper image, the rendered right hand is overlapped by two estimated meshes. (red-dotted boxes in the third row)

Does this problem occur, since the detectron2 estimates these bounding boxes, which are fed into HAMER model? If not, can I solve this problem?

Sincerely. TY.

geopavlakos commented 1 month ago

In this. case, you could consider suppressing the duplicates. At inference time, you have two hands with their keypoints being in almost exactly the same 2D locations. This should be easy to detect and remove the duplicate detections.