Gesture Recognition 处理不同数据集的框架


class cv::datasets::GR_chalearn
struct cv::datasets::GR_chalearnObj
class cv::datasets::GR_skig
struct cv::datasets::GR_skigObj
struct cv::datasets::groundTruth
struct cv::datasets::join
struct cv::datasets::skeleton

枚举

enum cv::datasets::actionType {
cv::datasets::circle = 1,
cv::datasets::triangle ,
cv::datasets::updown ,
cv::datasets::rightleft ,
cv::datasets::wave ,
cv::datasets::z ,
cv::datasets::cross ,
cv::datasets::comehere ,
cv::datasets::turnaround ,
cv::datasets::pat
}
enum cv::datasets::backgroundType {
cv::datasets::woodenBoard = 1,
cv::datasets::whitePaper ,
cv::datasets::paperWithCharacters
}
enum cv::datasets::illuminationType {
cv::datasets::light = 1,
cv::datasets::dark
}
enum cv::datasets::poseType {
cv::datasets::fist = 1,
cv::datasets::index ,
cv::datasets::flat
}

详细描述

ChaLearn Looking at People

Implements loading dataset:

"ChaLearn Looking at People": http://gesture.chalearn.org/

用法

  1. Follow instruction from site above, download files for dataset "Track 3: Gesture Recognition": Train1.zip - Train5.zip , Validation1.zip - Validation3.zip (Register on site: www.codalab.org and accept the terms and conditions of competition: https://www.codalab.org/competitions/991#learn_the_details There are three mirrors for downloading dataset files. When I downloaded data only mirror: "Universitat Oberta de Catalunya" works).
  2. Unpack train archives Train1.zip - Train5.zip to folder Train/ , validation archives Validation1.zip - Validation3.zip to folder Validation/
  3. Unpack all archives in Train/ & Validation/ in the folders with the same names, for example: Sample0001.zip to Sample0001/
  4. To load data run:
    ./opencv/build/bin/example_datasets_gr_chalearn -p=/home/user/path_to_unpacked_folders/

Sheffield Kinect Gesture Dataset

Implements loading dataset:

"Sheffield Kinect Gesture Dataset": http://lshao.staff.shef.ac.uk/data/SheffieldKinectGesture.htm

用法:

  1. From link above download dataset files: subject1_dep.7z - subject6_dep.7z , subject1_rgb.7z - subject6_rgb.7z .
  2. Unpack them.
  3. To load data run:
    ./opencv/build/bin/example_datasets_gr_skig -p=/home/user/path_to_unpacked_folders/

枚举类型文档编制

actionType

#include < opencv2/datasets/gr_skig.hpp >

枚举器
circle
Python: cv.datasets.circle
triangle
Python: cv.datasets.triangle
updown
Python: cv.datasets.updown
rightleft
Python: cv.datasets.rightleft
wave
Python: cv.datasets.wave
z
Python: cv.datasets.z
cross
Python: cv.datasets.cross
comehere
Python: cv.datasets.comehere
turnaround
Python: cv.datasets.turnaround
pat
Python: cv.datasets.pat

backgroundType

#include < opencv2/datasets/gr_skig.hpp >

枚举器
woodenBoard
Python: cv.datasets.woodenBoard
whitePaper
Python: cv.datasets.whitePaper
paperWithCharacters
Python: cv.datasets.paperWithCharacters

illuminationType

#include < opencv2/datasets/gr_skig.hpp >

枚举器
light
Python: cv.datasets.light
dark
Python: cv.datasets.dark

poseType

#include < opencv2/datasets/gr_skig.hpp >

枚举器
fist
Python: cv.datasets.fist
index
Python: cv.datasets.index
flat
Python: cv.datasets.flat