HubCloneHubClone
Tasks

Video Classification

Video classification assigns a label to a whole video clip.

Inputs

Input
Clip of someone juggling, 6 s

Video Classification Model

Output

Output
  • juggling0.88
  • dancing0.06

About Video Classification

Video classification assigns a label to a whole video clip. Browse video classification models on HubClone to compare checkpoints, or open a Space to try one in the browser.

Use Cases

Activity recognition

Recognize sports or exercises in clips.

Content tagging

Organize video libraries by topic.

Inference

The Transformers pipeline API runs video classification models in a few lines. Replace <model-id> with any model listed on this page.

from transformers import pipeline

pipe = pipeline("video-classification", model="<model-id>")
pipe("clip.mp4")

Useful Resources

Want to dig deeper into the topic? Great! Here is a hand-picked list of resources we found helpful.

Documentation

  • Video Classification task guide
  • Pipelines reference

Notebooks

  • Fine-tuning a video classification model