wmcnally / golfdb

GolfDB is a video database for Golf Swing Sequencing, which involves detecting 8 golf swing events in trimmed golf swing videos. This repo demos the baseline model, SwingNet.
198 stars 60 forks source link

Modifying eval.py #5

Closed liamhunn27 closed 4 years ago

liamhunn27 commented 4 years ago

Hi,

I want to use this model to return the location of the swing events for an individual video or even better, an image of each of the events. How should I modify eval.py to do this?

I also don't have access to a computer with a GPU at the moment because of Covid-19, so is it possible to do this without CUDA?

Kind regards, Liam

wmcnally commented 4 years ago

Hi Liam. See newly added test_video.py for processing your own videos. Hope this helps.

onkar-99 commented 3 years ago

Hey i am not able to get the coordinates of golf face even from test_video.py. Can you please tell me how do i get coordinates and not just frames where golf face is detected?

wmcnally commented 3 years ago

@onkar-99 I’m not sure what you mean when you say “coordinates of golf face.” SwingNet only outputs the swing event probabilities.