geopavlakos / hamer

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

How to run the Demo with video? #50

Closed CAN-Lee closed 2 months ago

CAN-Lee commented 2 months ago

Hi @geopavlakos,

Thanks for your amazing works. I learn a lot from you.

I run successfully the Demo with images (.jpg) in example data. The results are so exicted. Then I want to try the demo with any videos (.mp4).

However, it seems that the Demo code only supports the file types like .jpg, .png in parser. So, is it possible to run the Demo with video? Or how to implement it?

Really appreciate it!

Can

geopavlakos commented 2 months ago

You could extract the frames from the video using ffmpeg, and then run the demo on all the frames with the demo code.

CAN-Lee commented 2 months ago

Hi @geopavlakos ,

Thanks for your rely. It is a good idea. I will try later.

Appreciate it !

Can