Skip to content

Classifying Sports Action in video clips using Deep Learning (flow networks)

Notifications You must be signed in to change notification settings

yash10p/Classify_Sports_Action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Action Classifier in Video using Convolutional Neural Network and LSTMs on sports data.

Architecture

2-Stream CNN approach was followed with one CNN taking resized RGB images to the other taking optical flow generated from the image as part of preprocessing.

The RGB CNN learns object detection whereas the optical flow CNN learns motion in the frames.

Preprocessing

  • All the frames were extracted from the video and save as RGB images.
  • Separate frames were generate by calculating the optical flow.
  • The frames were resized to 64x64x3.
  • As the videos were of unequal length, we split the frames in equal 20 bins and takes average of frames in a particular bin and then stack them over one another to finally form a 20x64x64x3 dimension video data.

Results

  • The training accuracy was 87% while the validation accuracy was 80%.

About

Classifying Sports Action in video clips using Deep Learning (flow networks)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages