OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Five Video Classification Methods

Five Video Classification Methods is a Python codebase demonstrating and training five deep-learning approaches to classifying actions in video with Keras and TensorFlow. It includes UCF101 data-preparation scripts, feature extraction and model-training code for frame-based ConvNets, RNN and MLP combinations, and 3D convolutions.

Independent OpenViST project profile, based on linked sources.

Five Video Classification Methods — Comparing frame-based and sequence-based video classification architectures
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it to study or train the included video action-classification approaches, particularly when working with UCF101 and a Keras/TensorFlow environment.

Who it is for

  • Learners comparing CNN, RNN, MLP and 3D-convolution approaches to video classification.
  • Researchers or developers seeking an example training baseline for action recognition with UCF101.

Documented uses

  • Prepare UCF101 videos, extract frames and create the data files used by the project.
  • Extract CNN features for the LSTM and MLP approaches.
  • Train the CNN-only model or configure and train another included model.
  • Inspect training progress through CSV and TensorBoard logs.
Before you choose

Requirements & limits

The public GitHub repository specifies an MIT license.

  • Requires Keras 2 and TensorFlow 1 or later, plus FFmpeg for video frame extraction.
  • The LSTM and MLP approaches require a separate feature-extraction stage; the README notes this can take substantial time.
  • The included code supports training, but does not implement a video-file-to-prediction demo.
  • The five approaches include independent frame classification, CNN features paired with an RNN or MLP, a time-distributed ConvNet with an RNN, and 3D convolution.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare UCF101 data for model training

Arrange UCF101 videos and generate extracted frames and the CSV data referenced by the project.

Before you start

  • Keras 2 and TensorFlow 1 or later are project requirements.
  • FFmpeg installed and available in the system path, or its path updated in data/2_extract_files.py.
  • UCF101 dataset downloaded and unrar available to extract the archive.

Steps

  1. From the data directory, download UCF101/UCF101.rar and extract it with unrar e UCF101.rar.

  2. Create the train, test, sequences and checkpoints directories in the data directory.

  3. Run the numbered data scripts in order, including python 1_move_files.py and python 2_extract_files.py.

Expected outcome

The project’s data-preparation scripts move videos, extract frames and create the CSV file used by the rest of the code.

Guide limitations

  • This prepares data; it does not train a model or provide video-to-prediction inference.
  • The instructions specify UCF101 and require FFmpeg for frame extraction.
Source-based practical guide

Train one of the example video classifiers

Run the CNN-only training script or select another included model through the training configuration.

Before you start

  • Prepared project data.
  • Keras 2 and TensorFlow 1 or later.
  • For the LSTM and MLP approaches, features must first be extracted from images with extract_features.py.

Steps

  1. For the CNN-only approach, run train_cnn.py.

  2. For other approaches, configure the model choice in train.py and run that script.

  3. Review CSV or TensorBoard training logs; the README gives tensorboard --logdir=data/logs as the command for viewing progress.

Expected outcome

The project’s training scripts run the selected included model and save training logs in CSV and TensorBoard formats.

Guide limitations

  • Feature extraction is a prerequisite for the LSTM and MLP models and may take substantial time.
  • The project does not include a demo that accepts a video and returns a prediction.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
4 November 2026
Original website title
harvitronix/five-video-classification-methods · Official homepage title · retained in its source language