OpenCV  4.5.1
Open Source Computer Vision
Classes

Classes

class  cv::datasets::AR_hmdb
 
struct  cv::datasets::AR_hmdbObj
 
class  cv::datasets::AR_sports
 
struct  cv::datasets::AR_sportsObj
 

Detailed Description

HMDB: A Large Human Motion Database

Implements loading dataset:

"HMDB: A Large Human Motion Database": http://serre-lab.clps.brown.edu/resource/hmdb-a-large-human-motion-database/

Usage:

  1. From link above download dataset files: hmdb51_org.rar & test_train_splits.rar.
  2. Unpack them. Unpack all archives from directory: hmdb51_org/ and remove them.
  3. To load data run:
    ./opencv/build/bin/example_datasets_ar_hmdb -p=/home/user/path_to_unpacked_folders/

Benchmark

For this dataset was implemented benchmark with accuracy: 0.107407 (using precomputed HOG/HOF "STIP" features from site, averaging for 3 splits)

To run this benchmark execute:

./opencv/build/bin/example_datasets_ar_hmdb_benchmark -p=/home/user/path_to_unpacked_folders/
Note
Precomputed features should be unpacked in the same folder: /home/user/path_to_unpacked_folders/hmdb51_org_stips/. Also unpack all archives from directory: hmdb51_org_stips/ and remove them.

Sports-1M Dataset

Implements loading dataset:

"Sports-1M Dataset": http://cs.stanford.edu/people/karpathy/deepvideo/

Usage:

  1. From link above download dataset files (git clone https://code.google.com/p/sports-1m-dataset/).
  2. To load data run:
    ./opencv/build/bin/example_datasets_ar_sports -p=/home/user/path_to_downloaded_folders/