summaryrefslogtreecommitdiff
path: root/thirdparty1/linux/include/opencv2/datasets
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty1/linux/include/opencv2/datasets')
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/ar_hmdb.hpp80
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/ar_sports.hpp79
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/dataset.hpp545
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/fr_adience.hpp98
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/fr_lfw.hpp79
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/gr_chalearn.hpp96
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/gr_skig.hpp118
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/hpe_humaneva.hpp90
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/hpe_parse.hpp78
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/ir_affine.hpp80
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/ir_robot.hpp89
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/is_bsds.hpp78
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/is_weizmann.hpp81
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/msm_epfl.hpp90
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/msm_middlebury.hpp81
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/or_imagenet.hpp79
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/or_mnist.hpp79
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/or_pascal.hpp102
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/or_sun.hpp81
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/pd_caltech.hpp89
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/pd_inria.hpp96
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/slam_kitti.hpp87
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/slam_tumindoor.hpp87
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/tr_chars.hpp79
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/tr_icdar.hpp87
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/tr_svt.hpp86
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/track_alov.hpp107
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/track_vot.hpp96
-rw-r--r--thirdparty1/linux/include/opencv2/datasets/util.hpp74
29 files changed, 2991 insertions, 0 deletions
diff --git a/thirdparty1/linux/include/opencv2/datasets/ar_hmdb.hpp b/thirdparty1/linux/include/opencv2/datasets/ar_hmdb.hpp
new file mode 100644
index 0000000..8941583
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/ar_hmdb.hpp
@@ -0,0 +1,80 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_AR_HMDB_HPP
+#define OPENCV_DATASETS_AR_HMDB_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_ar
+//! @{
+
+struct AR_hmdbObj : public Object
+{
+ int id;
+ std::string name;
+ std::string videoName;
+};
+
+class CV_EXPORTS AR_hmdb : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<AR_hmdb> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/ar_sports.hpp b/thirdparty1/linux/include/opencv2/datasets/ar_sports.hpp
new file mode 100644
index 0000000..7f51405
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/ar_sports.hpp
@@ -0,0 +1,79 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_AR_SPORTS_HPP
+#define OPENCV_DATASETS_AR_SPORTS_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_ar
+//! @{
+
+struct AR_sportsObj : public Object
+{
+ std::string videoUrl;
+ std::vector<int> labels;
+};
+
+class CV_EXPORTS AR_sports : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<AR_sports> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/dataset.hpp b/thirdparty1/linux/include/opencv2/datasets/dataset.hpp
new file mode 100644
index 0000000..ccf2b66
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/dataset.hpp
@@ -0,0 +1,545 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_DATASET_HPP
+#define OPENCV_DATASETS_DATASET_HPP
+
+#include <string>
+#include <vector>
+
+#include <opencv2/core.hpp>
+
+/** @defgroup datasets Framework for working with different datasets
+
+The datasets module includes classes for working with different datasets: load data, evaluate
+different algorithms on them, contains benchmarks, etc.
+
+It is planned to have:
+
+- basic: loading code for all datasets to help start work with them.
+- next stage: quick benchmarks for all datasets to show how to solve them using OpenCV and
+implement evaluation code.
+- finally: implement on OpenCV state-of-the-art algorithms, which solve these tasks.
+
+@{
+@defgroup datasets_ar Action Recognition
+
+### 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:
+-# From link above download dataset files: `hmdb51_org.rar` & `test_train_splits.rar`.
+-# Unpack them. Unpack all archives from directory: `hmdb51_org/` and remove them.
+-# 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:
+-# From link above download dataset files (`git clone https://code.google.com/p/sports-1m-dataset/`).
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_ar_sports -p=/home/user/path_to_downloaded_folders/
+~~~
+
+@defgroup datasets_fr Face Recognition
+
+### Adience
+
+Implements loading dataset:
+
+"Adience": <http://www.openu.ac.il/home/hassner/Adience/data.html>
+
+Usage:
+-# From link above download any dataset file: `faces.tar.gz\aligned.tar.gz` and files with splits:
+`fold_0_data.txt-fold_4_data.txt`, `fold_frontal_0_data.txt-fold_frontal_4_data.txt`. (For
+face recognition task another splits should be created)
+-# Unpack dataset file to some folder and place split files into the same folder.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_fr_adience -p=/home/user/path_to_created_folder/
+~~~
+
+### Labeled Faces in the Wild
+
+Implements loading dataset:
+
+"Labeled Faces in the Wild": <http://vis-www.cs.umass.edu/lfw/>
+
+Usage:
+-# From link above download any dataset file:
+`lfw.tgz\lfwa.tar.gz\lfw-deepfunneled.tgz\lfw-funneled.tgz` and files with pairs: 10 test
+splits: `pairs.txt` and developer train split: `pairsDevTrain.txt`.
+-# Unpack dataset file and place `pairs.txt` and `pairsDevTrain.txt` in created folder.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_fr_lfw -p=/home/user/path_to_unpacked_folder/lfw2/
+~~~
+
+#### Benchmark
+
+For this dataset was implemented benchmark with accuracy: 0.623833 +- 0.005223 (train split:
+`pairsDevTrain.txt`, dataset: lfwa)
+
+To run this benchmark execute:
+~~~
+./opencv/build/bin/example_datasets_fr_lfw_benchmark -p=/home/user/path_to_unpacked_folder/lfw2/
+~~~
+
+@defgroup datasets_gr Gesture Recognition
+
+### ChaLearn Looking at People
+
+Implements loading dataset:
+
+"ChaLearn Looking at People": <http://gesture.chalearn.org/>
+
+Usage
+-# 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).
+-# Unpack train archives `Train1.zip`-`Train5.zip` to folder `Train/`, validation archives
+`Validation1.zip`-`Validation3.zip` to folder `Validation/`
+-# Unpack all archives in `Train/` & `Validation/` in the folders with the same names, for example:
+`Sample0001.zip` to `Sample0001/`
+-# 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>
+
+Usage:
+-# From link above download dataset files: `subject1_dep.7z`-`subject6_dep.7z`, `subject1_rgb.7z`-`subject6_rgb.7z`.
+-# Unpack them.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_gr_skig -p=/home/user/path_to_unpacked_folders/
+~~~
+
+@defgroup datasets_hpe Human Pose Estimation
+
+### HumanEva Dataset
+
+Implements loading dataset:
+
+"HumanEva Dataset": <http://humaneva.is.tue.mpg.de>
+
+Usage:
+-# From link above download dataset files for `HumanEva-I` (tar) & `HumanEva-II`.
+-# Unpack them to `HumanEva_1` & `HumanEva_2` accordingly.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_hpe_humaneva -p=/home/user/path_to_unpacked_folders/
+~~~
+
+### PARSE Dataset
+
+Implements loading dataset:
+
+"PARSE Dataset": <http://www.ics.uci.edu/~dramanan/papers/parse/>
+
+Usage:
+-# From link above download dataset file: `people.zip`.
+-# Unpack it.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_hpe_parse -p=/home/user/path_to_unpacked_folder/people_all/
+~~~
+
+@defgroup datasets_ir Image Registration
+
+### Affine Covariant Regions Datasets
+
+Implements loading dataset:
+
+"Affine Covariant Regions Datasets": <http://www.robots.ox.ac.uk/~vgg/data/data-aff.html>
+
+Usage:
+-# From link above download dataset files:
+`bark\bikes\boat\graf\leuven\trees\ubc\wall.tar.gz`.
+-# Unpack them.
+-# To load data, for example, for "bark", run:
+```
+./opencv/build/bin/example_datasets_ir_affine -p=/home/user/path_to_unpacked_folder/bark/
+```
+
+### Robot Data Set
+
+Implements loading dataset:
+
+"Robot Data Set, Point Feature Data Set – 2010": <http://roboimagedata.compute.dtu.dk/?page_id=24>
+
+Usage:
+-# From link above download dataset files: `SET001_6.tar.gz`-`SET055_60.tar.gz`
+-# Unpack them to one folder.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_ir_robot -p=/home/user/path_to_unpacked_folder/
+~~~
+
+@defgroup datasets_is Image Segmentation
+
+### The Berkeley Segmentation Dataset and Benchmark
+
+Implements loading dataset:
+
+"The Berkeley Segmentation Dataset and Benchmark": <https://www.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/>
+
+Usage:
+-# From link above download dataset files: `BSDS300-human.tgz` & `BSDS300-images.tgz`.
+-# Unpack them.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_is_bsds -p=/home/user/path_to_unpacked_folder/BSDS300/
+~~~
+
+### Weizmann Segmentation Evaluation Database
+
+Implements loading dataset:
+
+"Weizmann Segmentation Evaluation Database": <http://www.wisdom.weizmann.ac.il/~vision/Seg_Evaluation_DB/>
+
+Usage:
+-# From link above download dataset files: `Weizmann_Seg_DB_1obj.ZIP` & `Weizmann_Seg_DB_2obj.ZIP`.
+-# Unpack them.
+-# To load data, for example, for `1 object` dataset, run:
+~~~
+./opencv/build/bin/example_datasets_is_weizmann -p=/home/user/path_to_unpacked_folder/1obj/
+~~~
+
+@defgroup datasets_msm Multiview Stereo Matching
+
+### EPFL Multi-View Stereo
+
+Implements loading dataset:
+
+"EPFL Multi-View Stereo": <http://cvlab.epfl.ch/data/strechamvs>
+
+Usage:
+-# From link above download dataset files:
+`castle_dense\castle_dense_large\castle_entry\fountain\herzjesu_dense\herzjesu_dense_large_bounding\cameras\images\p.tar.gz`.
+-# Unpack them in separate folder for each object. For example, for "fountain", in folder `fountain/` :
+`fountain_dense_bounding.tar.gz -> bounding/`,
+`fountain_dense_cameras.tar.gz -> camera/`,
+`fountain_dense_images.tar.gz -> png/`,
+`fountain_dense_p.tar.gz -> P/`
+-# To load data, for example, for "fountain", run:
+~~~
+./opencv/build/bin/example_datasets_msm_epfl -p=/home/user/path_to_unpacked_folder/fountain/
+~~~
+
+### Stereo – Middlebury Computer Vision
+
+Implements loading dataset:
+
+"Stereo – Middlebury Computer Vision": <http://vision.middlebury.edu/mview/>
+
+Usage:
+-# From link above download dataset files:
+`dino\dinoRing\dinoSparseRing\temple\templeRing\templeSparseRing.zip`
+-# Unpack them.
+-# To load data, for example "temple" dataset, run:
+~~~
+./opencv/build/bin/example_datasets_msm_middlebury -p=/home/user/path_to_unpacked_folder/temple/
+~~~
+
+@defgroup datasets_or Object Recognition
+
+### ImageNet
+
+Implements loading dataset: "ImageNet": <http://www.image-net.org/>
+
+Usage:
+-# From link above download dataset files:
+`ILSVRC2010_images_train.tar\ILSVRC2010_images_test.tar\ILSVRC2010_images_val.tar` & devkit:
+`ILSVRC2010_devkit-1.0.tar.gz` (Implemented loading of 2010 dataset as only this dataset has ground
+truth for test data, but structure for ILSVRC2014 is similar)
+-# Unpack them to: `some_folder/train/`, `some_folder/test/`, `some_folder/val` &
+`some_folder/ILSVRC2010_validation_ground_truth.txt`,
+`some_folder/ILSVRC2010_test_ground_truth.txt`.
+-# Create file with labels: `some_folder/labels.txt`, for example, using python script below (each
+file's row format: `synset,labelID,description`. For example: "n07751451,18,plum").
+-# Unpack all tar files in train.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_or_imagenet -p=/home/user/some_folder/
+~~~
+
+Python script to parse `meta.mat`:
+~~~{py}
+ import scipy.io
+ meta_mat = scipy.io.loadmat("devkit-1.0/data/meta.mat")
+
+ labels_dic = dict((m[0][1][0], m[0][0][0][0]-1) for m in meta_mat['synsets']
+ label_names_dic = dict((m[0][1][0], m[0][2][0]) for m in meta_mat['synsets']
+
+ for label in labels_dic.keys():
+ print "{0},{1},{2}".format(label, labels_dic[label], label_names_dic[label])
+~~~
+
+### MNIST
+
+Implements loading dataset:
+
+"MNIST": <http://yann.lecun.com/exdb/mnist/>
+
+Usage:
+-# From link above download dataset files:
+`t10k-images-idx3-ubyte.gz`, `t10k-labels-idx1-ubyte.gz`, `train-images-idx3-ubyte.gz`, `train-labels-idx1-ubyte.gz`.
+-# Unpack them.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_or_mnist -p=/home/user/path_to_unpacked_files/
+~~~
+
+### SUN Database
+
+Implements loading dataset:
+
+"SUN Database, Scene Recognition Benchmark. SUN397": <http://vision.cs.princeton.edu/projects/2010/SUN/>
+
+Usage:
+-# From link above download dataset file: `SUN397.tar` & file with splits: `Partitions.zip`
+-# Unpack `SUN397.tar` into folder: `SUN397/` & `Partitions.zip` into folder: `SUN397/Partitions/`
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_or_sun -p=/home/user/path_to_unpacked_files/SUN397/
+~~~
+
+@defgroup datasets_pd Pedestrian Detection
+
+### Caltech Pedestrian Detection Benchmark
+
+Implements loading dataset:
+
+"Caltech Pedestrian Detection Benchmark": <http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/>
+
+@note First version of Caltech Pedestrian dataset loading. Code to unpack all frames from seq files
+commented as their number is huge! So currently load only meta information without data. Also
+ground truth isn't processed, as need to convert it from mat files first.
+
+Usage:
+-# From link above download dataset files: `set00.tar`-`set10.tar`.
+-# Unpack them to separate folder.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_pd_caltech -p=/home/user/path_to_unpacked_folders/
+~~~
+
+@defgroup datasets_slam SLAM
+
+### KITTI Vision Benchmark
+
+Implements loading dataset:
+
+"KITTI Vision Benchmark": <http://www.cvlibs.net/datasets/kitti/eval_odometry.php>
+
+Usage:
+-# From link above download "Odometry" dataset files:
+`data_odometry_gray\data_odometry_color\data_odometry_velodyne\data_odometry_poses\data_odometry_calib.zip`.
+-# Unpack `data_odometry_poses.zip`, it creates folder `dataset/poses/`. After that unpack
+`data_odometry_gray.zip`, `data_odometry_color.zip`, `data_odometry_velodyne.zip`. Folder
+`dataset/sequences/` will be created with folders `00/..21/`. Each of these folders will contain:
+`image_0/`, `image_1/`, `image_2/`, `image_3/`, `velodyne/` and files `calib.txt` & `times.txt`.
+These two last files will be replaced after unpacking `data_odometry_calib.zip` at the end.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_slam_kitti -p=/home/user/path_to_unpacked_folder/dataset/
+~~~
+
+### TUMindoor Dataset
+
+Implements loading dataset:
+
+"TUMindoor Dataset": <http://www.navvis.lmt.ei.tum.de/dataset/>
+
+Usage:
+-# From link above download dataset files: `dslr\info\ladybug\pointcloud.tar.bz2` for each dataset:
+`11-11-28 (1st floor)\11-12-13 (1st floor N1)\11-12-17a (4th floor)\11-12-17b (3rd floor)\11-12-17c (Ground I)\11-12-18a (Ground II)\11-12-18b (2nd floor)`
+-# Unpack them in separate folder for each dataset.
+`dslr.tar.bz2 -> dslr/`,
+`info.tar.bz2 -> info/`,
+`ladybug.tar.bz2 -> ladybug/`,
+`pointcloud.tar.bz2 -> pointcloud/`.
+-# To load each dataset run:
+~~~
+./opencv/build/bin/example_datasets_slam_tumindoor -p=/home/user/path_to_unpacked_folders/
+~~~
+
+@defgroup datasets_tr Text Recognition
+
+### The Chars74K Dataset
+
+Implements loading dataset:
+
+"The Chars74K Dataset": <http://www.ee.surrey.ac.uk/CVSSP/demos/chars74k/>
+
+Usage:
+-# From link above download dataset files:
+`EnglishFnt\EnglishHnd\EnglishImg\KannadaHnd\KannadaImg.tgz`, `ListsTXT.tgz`.
+-# Unpack them.
+-# Move `.m` files from folder `ListsTXT/` to appropriate folder. For example,
+`English/list_English_Img.m` for `EnglishImg.tgz`.
+-# To load data, for example "EnglishImg", run:
+~~~
+./opencv/build/bin/example_datasets_tr_chars -p=/home/user/path_to_unpacked_folder/English/
+~~~
+
+### The Street View Text Dataset
+
+Implements loading dataset:
+
+"The Street View Text Dataset": <http://vision.ucsd.edu/~kai/svt/>
+
+Usage:
+-# From link above download dataset file: `svt.zip`.
+-# Unpack it.
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_tr_svt -p=/home/user/path_to_unpacked_folder/svt/svt1/
+~~~
+
+#### Benchmark
+
+For this dataset was implemented benchmark with accuracy (mean f1): 0.217
+
+To run benchmark execute:
+~~~
+./opencv/build/bin/example_datasets_tr_svt_benchmark -p=/home/user/path_to_unpacked_folders/svt/svt1/
+~~~
+
+@defgroup datasets_track Tracking
+
+### VOT 2015 Database
+
+Implements loading dataset:
+
+"VOT 2015 dataset comprises 60 short sequences showing various objects in challenging backgrounds.
+The sequences were chosen from a large pool of sequences including the ALOV dataset, OTB2 dataset,
+non-tracking datasets, Computer Vision Online, Professor Bob Fisher’s Image Database, Videezy,
+Center for Research in Computer Vision, University of Central Florida, USA, NYU Center for Genomics
+and Systems Biology, Data Wrangling, Open Access Directory and Learning and Recognition in Vision
+Group, INRIA, France. The VOT sequence selection protocol was applied to obtain a representative
+set of challenging sequences.": <http://box.vicos.si/vot/vot2015.zip>
+
+Usage:
+-# From link above download dataset file: `vot2015.zip`
+-# Unpack `vot2015.zip` into folder: `VOT2015/`
+-# To load data run:
+~~~
+./opencv/build/bin/example_datasets_track_vot -p=/home/user/path_to_unpacked_files/VOT2015/
+~~~
+@}
+
+*/
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets
+//! @{
+
+struct Object
+{
+};
+
+class CV_EXPORTS Dataset
+{
+public:
+ Dataset() {}
+ virtual ~Dataset() {}
+
+ virtual void load(const std::string &path) = 0;
+
+ std::vector< Ptr<Object> >& getTrain(int splitNum = 0);
+ std::vector< Ptr<Object> >& getTest(int splitNum = 0);
+ std::vector< Ptr<Object> >& getValidation(int splitNum = 0);
+
+ int getNumSplits() const;
+
+protected:
+ std::vector< std::vector< Ptr<Object> > > train;
+ std::vector< std::vector< Ptr<Object> > > test;
+ std::vector< std::vector< Ptr<Object> > > validation;
+
+private:
+ std::vector< Ptr<Object> > empty;
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/fr_adience.hpp b/thirdparty1/linux/include/opencv2/datasets/fr_adience.hpp
new file mode 100644
index 0000000..c84bce1
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/fr_adience.hpp
@@ -0,0 +1,98 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_FR_ADIENCE_HPP
+#define OPENCV_DATASETS_FR_ADIENCE_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_fr
+//! @{
+
+enum genderType
+{
+ male = 0,
+ female,
+ none
+};
+
+struct FR_adienceObj : public Object
+{
+ std::string user_id;
+ std::string original_image;
+ int face_id;
+ std::string age;
+ genderType gender;
+ int x;
+ int y;
+ int dx;
+ int dy;
+ int tilt_ang;
+ int fiducial_yaw_angle;
+ int fiducial_score;
+};
+
+class CV_EXPORTS FR_adience : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<FR_adience> create();
+
+ std::vector<std::string> paths;
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/fr_lfw.hpp b/thirdparty1/linux/include/opencv2/datasets/fr_lfw.hpp
new file mode 100644
index 0000000..7065da7
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/fr_lfw.hpp
@@ -0,0 +1,79 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_FR_LFW_HPP
+#define OPENCV_DATASETS_FR_LFW_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_fr
+//! @{
+
+struct FR_lfwObj : public Object
+{
+ std::string image1, image2;
+ bool same;
+};
+
+class CV_EXPORTS FR_lfw : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<FR_lfw> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/gr_chalearn.hpp b/thirdparty1/linux/include/opencv2/datasets/gr_chalearn.hpp
new file mode 100644
index 0000000..a8eaa6c
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/gr_chalearn.hpp
@@ -0,0 +1,96 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_GR_CHALEARN_HPP
+#define OPENCV_DATASETS_GR_CHALEARN_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_gr
+//! @{
+
+struct groundTruth
+{
+ int gestureID, initialFrame, lastFrame;
+};
+
+struct join
+{
+ double Wx, Wy, Wz, Rx, Ry, Rz, Rw, Px, Py;
+};
+
+struct skeleton
+{
+ join s[20];
+};
+
+struct GR_chalearnObj : public Object
+{
+ std::string name, nameColor, nameDepth, nameUser;
+ int numFrames, fps, depth;
+ std::vector<groundTruth> groundTruths;
+ std::vector<skeleton> skeletons;
+};
+
+class CV_EXPORTS GR_chalearn : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<GR_chalearn> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/gr_skig.hpp b/thirdparty1/linux/include/opencv2/datasets/gr_skig.hpp
new file mode 100644
index 0000000..9c86224
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/gr_skig.hpp
@@ -0,0 +1,118 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_GR_SKIG_HPP
+#define OPENCV_DATASETS_GR_SKIG_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_gr
+//! @{
+
+enum actionType
+{
+ circle = 1,
+ triangle,
+ updown,
+ rightleft,
+ wave,
+ z,
+ cross,
+ comehere,
+ turnaround,
+ pat
+};
+
+enum poseType
+{
+ fist = 1,
+ index,
+ flat
+};
+
+enum illuminationType
+{
+ light = 1,
+ dark
+};
+
+enum backgroundType
+{
+ woodenBoard = 1,
+ whitePaper,
+ paperWithCharacters
+};
+
+struct GR_skigObj : public Object
+{
+ std::string rgb;
+ std::string dep;
+ char person; // 1..6
+ backgroundType background;
+ illuminationType illumination;
+ poseType pose;
+ actionType type;
+};
+
+class CV_EXPORTS GR_skig : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<GR_skig> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/hpe_humaneva.hpp b/thirdparty1/linux/include/opencv2/datasets/hpe_humaneva.hpp
new file mode 100644
index 0000000..5366e0d
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/hpe_humaneva.hpp
@@ -0,0 +1,90 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_HPE_HUMANEVA_HPP
+#define OPENCV_DATASETS_HPE_HUMANEVA_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_hpe
+//! @{
+
+struct HPE_humanevaObj : public Object
+{
+ char person; // 1..4
+ std::string action;
+ int type1;
+ std::string type2;
+ Matx13d ofs;
+ std::string fileName;
+ std::vector<std::string> imageNames; // for HumanEva_II
+};
+
+enum datasetType
+{
+ humaneva_1 = 1,
+ humaneva_2
+};
+
+class CV_EXPORTS HPE_humaneva : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<HPE_humaneva> create(int num=humaneva_1);
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/hpe_parse.hpp b/thirdparty1/linux/include/opencv2/datasets/hpe_parse.hpp
new file mode 100644
index 0000000..7629e2c
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/hpe_parse.hpp
@@ -0,0 +1,78 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_HPE_PARSE_HPP
+#define OPENCV_DATASETS_HPE_PARSE_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_hpe
+//! @{
+
+struct HPE_parseObj : public Object
+{
+ std::string name;
+};
+
+class CV_EXPORTS HPE_parse : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<HPE_parse> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/ir_affine.hpp b/thirdparty1/linux/include/opencv2/datasets/ir_affine.hpp
new file mode 100644
index 0000000..3b04a4b
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/ir_affine.hpp
@@ -0,0 +1,80 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_IR_AFFINE_HPP
+#define OPENCV_DATASETS_IR_AFFINE_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+#include <opencv2/core/matx.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_ir
+//! @{
+
+struct IR_affineObj : public Object
+{
+ std::string imageName;
+ Matx33d mat;
+};
+
+class CV_EXPORTS IR_affine : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<IR_affine> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/ir_robot.hpp b/thirdparty1/linux/include/opencv2/datasets/ir_robot.hpp
new file mode 100644
index 0000000..0acfe0a
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/ir_robot.hpp
@@ -0,0 +1,89 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_IR_ROBOT_HPP
+#define OPENCV_DATASETS_IR_ROBOT_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_ir
+//! @{
+
+// calibration matrix from calibrationFile.mat
+// 2.8290e+03 0.0000e+00 8.0279e+02
+// 0.0000e+00 2.8285e+03 6.1618e+02
+// 0.0000e+00 0.0000e+00 1.0000e+00
+
+struct cameraPos
+{
+ std::vector<std::string> images;
+};
+
+struct IR_robotObj : public Object
+{
+ std::string name;
+ std::vector<cameraPos> pos;
+};
+
+class CV_EXPORTS IR_robot : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<IR_robot> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/is_bsds.hpp b/thirdparty1/linux/include/opencv2/datasets/is_bsds.hpp
new file mode 100644
index 0000000..7357a67
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/is_bsds.hpp
@@ -0,0 +1,78 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_IS_BSDS_HPP
+#define OPENCV_DATASETS_IS_BSDS_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_is
+//! @{
+
+struct IS_bsdsObj : public Object
+{
+ std::string name;
+};
+
+class CV_EXPORTS IS_bsds : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<IS_bsds> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/is_weizmann.hpp b/thirdparty1/linux/include/opencv2/datasets/is_weizmann.hpp
new file mode 100644
index 0000000..5daa420
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/is_weizmann.hpp
@@ -0,0 +1,81 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_IS_WEIZMANN_HPP
+#define OPENCV_DATASETS_IS_WEIZMANN_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_is
+//! @{
+
+struct IS_weizmannObj : public Object
+{
+ std::string imageName;
+ std::string srcBw;
+ std::string srcColor;
+ std::string humanSeg; // TODO: read human segmented
+};
+
+class CV_EXPORTS IS_weizmann : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<IS_weizmann> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/msm_epfl.hpp b/thirdparty1/linux/include/opencv2/datasets/msm_epfl.hpp
new file mode 100644
index 0000000..a08fc4b
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/msm_epfl.hpp
@@ -0,0 +1,90 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_MSM_EPFL_HPP
+#define OPENCV_DATASETS_MSM_EPFL_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_msm
+//! @{
+
+struct cameraParam
+{
+ Matx33d mat1;
+ double mat2[3];
+ Matx33d mat3;
+ double mat4[3];
+ int imageWidth, imageHeight;
+};
+
+struct MSM_epflObj : public Object
+{
+ std::string imageName;
+ Matx23d bounding;
+ Matx34d p;
+ cameraParam camera;
+};
+
+class CV_EXPORTS MSM_epfl : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<MSM_epfl> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/msm_middlebury.hpp b/thirdparty1/linux/include/opencv2/datasets/msm_middlebury.hpp
new file mode 100644
index 0000000..2fd67bf
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/msm_middlebury.hpp
@@ -0,0 +1,81 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_MSM_MIDDLEBURY_HPP
+#define OPENCV_DATASETS_MSM_MIDDLEBURY_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_msm
+//! @{
+
+struct MSM_middleburyObj : public Object
+{
+ std::string imageName;
+ Matx33d k;
+ Matx33d r;
+ double t[3];
+};
+
+class CV_EXPORTS MSM_middlebury : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<MSM_middlebury> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/or_imagenet.hpp b/thirdparty1/linux/include/opencv2/datasets/or_imagenet.hpp
new file mode 100644
index 0000000..26a8f63
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/or_imagenet.hpp
@@ -0,0 +1,79 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_OR_IMAGENET_HPP
+#define OPENCV_DATASETS_OR_IMAGENET_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_or
+//! @{
+
+struct OR_imagenetObj : public Object
+{
+ int id;
+ std::string image;
+};
+
+class CV_EXPORTS OR_imagenet : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<OR_imagenet> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/or_mnist.hpp b/thirdparty1/linux/include/opencv2/datasets/or_mnist.hpp
new file mode 100644
index 0000000..ff6bd60
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/or_mnist.hpp
@@ -0,0 +1,79 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_OR_MNIST_HPP
+#define OPENCV_DATASETS_OR_MNIST_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_or
+//! @{
+
+struct OR_mnistObj : public Object
+{
+ char label; // 0..9
+ Mat image; // [28][28]
+};
+
+class CV_EXPORTS OR_mnist : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<OR_mnist> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/or_pascal.hpp b/thirdparty1/linux/include/opencv2/datasets/or_pascal.hpp
new file mode 100644
index 0000000..bca8e62
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/or_pascal.hpp
@@ -0,0 +1,102 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2015, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_VOC_PASCAL_HPP
+#define OPENCV_DATASETS_VOC_PASCAL_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_or
+//! @{
+struct PascalPart: public Object
+{
+ std::string name;
+ int xmin;
+ int ymin;
+ int xmax;
+ int ymax;
+};
+
+struct PascalObj: public PascalPart
+{
+ std::string pose;
+ bool truncated;
+ bool difficult;
+ bool occluded;
+
+ std::vector<PascalPart> parts;
+};
+
+struct OR_pascalObj : public Object
+{
+ std::string filename;
+
+ int width;
+ int height;
+ int depth;
+
+ std::vector<PascalObj> objects;
+};
+
+class CV_EXPORTS OR_pascal : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<OR_pascal> create();
+};
+
+//! @}
+
+}// namespace dataset
+}// namespace cv
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/or_sun.hpp b/thirdparty1/linux/include/opencv2/datasets/or_sun.hpp
new file mode 100644
index 0000000..059c0d4
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/or_sun.hpp
@@ -0,0 +1,81 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_OR_SUN_HPP
+#define OPENCV_DATASETS_OR_SUN_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_or
+//! @{
+
+struct OR_sunObj : public Object
+{
+ int label;
+ std::string name;
+};
+
+class CV_EXPORTS OR_sun : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<OR_sun> create();
+
+ std::vector<std::string> paths;
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/pd_caltech.hpp b/thirdparty1/linux/include/opencv2/datasets/pd_caltech.hpp
new file mode 100644
index 0000000..9ff7278
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/pd_caltech.hpp
@@ -0,0 +1,89 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_PD_CALTECH_HPP
+#define OPENCV_DATASETS_PD_CALTECH_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_pd
+//! @{
+
+struct PD_caltechObj : public Object
+{
+ //double groundTrue[][];
+ //Mat image;
+ std::string name;
+ std::vector< std::string > imageNames;
+};
+
+//
+// first version of Caltech Pedestrian dataset loading
+// code to unpack all frames from seq files commented as their number is huge
+// so currently load only meta information without data
+//
+// also ground truth isn't processed, as need to convert it from mat files first
+//
+
+class CV_EXPORTS PD_caltech : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<PD_caltech> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/pd_inria.hpp b/thirdparty1/linux/include/opencv2/datasets/pd_inria.hpp
new file mode 100644
index 0000000..7586578
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/pd_inria.hpp
@@ -0,0 +1,96 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2015, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_PD_INRIA_HPP
+#define OPENCV_DATASETS_PD_INRIA_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_pd
+//! @{
+
+enum sampleType
+{
+ POS = 0,
+ NEG = 1
+};
+
+struct PD_inriaObj : public Object
+{
+ // image file name
+ std::string filename;
+
+ // positive or negative
+ sampleType sType;
+
+ // image size
+ int width;
+ int height;
+ int depth;
+
+ // bounding boxes
+ std::vector< Rect > bndboxes;
+};
+
+class CV_EXPORTS PD_inria : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<PD_inria> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/slam_kitti.hpp b/thirdparty1/linux/include/opencv2/datasets/slam_kitti.hpp
new file mode 100644
index 0000000..1b7c408
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/slam_kitti.hpp
@@ -0,0 +1,87 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_SLAM_KITTI_HPP
+#define OPENCV_DATASETS_SLAM_KITTI_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_slam
+//! @{
+
+struct pose
+{
+ double elem[12];
+};
+
+struct SLAM_kittiObj : public Object
+{
+ std::string name;
+ std::vector<std::string> images[4];
+ std::vector<std::string> velodyne;
+ std::vector<double> times, p[4];
+ std::vector<pose> posesArray;
+};
+
+class CV_EXPORTS SLAM_kitti : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<SLAM_kitti> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/slam_tumindoor.hpp b/thirdparty1/linux/include/opencv2/datasets/slam_tumindoor.hpp
new file mode 100644
index 0000000..758dd13
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/slam_tumindoor.hpp
@@ -0,0 +1,87 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_SLAM_TUMINDOOR_HPP
+#define OPENCV_DATASETS_SLAM_TUMINDOOR_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_slam
+//! @{
+
+enum imageType
+{
+ LEFT = 0,
+ RIGHT,
+ LADYBUG
+};
+
+struct SLAM_tumindoorObj : public Object
+{
+ std::string name;
+ Matx44d transformMat;
+ imageType type;
+};
+
+class CV_EXPORTS SLAM_tumindoor : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<SLAM_tumindoor> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/tr_chars.hpp b/thirdparty1/linux/include/opencv2/datasets/tr_chars.hpp
new file mode 100644
index 0000000..c213bff
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/tr_chars.hpp
@@ -0,0 +1,79 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_TR_CHARS_HPP
+#define OPENCV_DATASETS_TR_CHARS_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_tr
+//! @{
+
+struct TR_charsObj : public Object
+{
+ std::string imgName;
+ int label;
+};
+
+class CV_EXPORTS TR_chars : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<TR_chars> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/tr_icdar.hpp b/thirdparty1/linux/include/opencv2/datasets/tr_icdar.hpp
new file mode 100644
index 0000000..abfd7db
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/tr_icdar.hpp
@@ -0,0 +1,87 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_TR_ICDAR_HPP
+#define OPENCV_DATASETS_TR_ICDAR_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_tr
+//! @{
+
+struct word
+{
+ std::string value;
+ int height, width, x, y;
+};
+
+struct TR_icdarObj : public Object
+{
+ std::string fileName;
+ std::vector<std::string> lex100;
+ std::vector<std::string> lexFull;
+ std::vector<word> words;
+};
+
+class CV_EXPORTS TR_icdar : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<TR_icdar> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/tr_svt.hpp b/thirdparty1/linux/include/opencv2/datasets/tr_svt.hpp
new file mode 100644
index 0000000..6c2d533
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/tr_svt.hpp
@@ -0,0 +1,86 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_TR_SVT_HPP
+#define OPENCV_DATASETS_TR_SVT_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_tr
+//! @{
+
+struct tag
+{
+ std::string value;
+ int height, width, x, y;
+};
+
+struct TR_svtObj : public Object
+{
+ std::string fileName;
+ std::vector<std::string> lex;
+ std::vector<tag> tags;
+};
+
+class CV_EXPORTS TR_svt : public Dataset
+{
+public:
+ virtual void load(const std::string &path) = 0;
+
+ static Ptr<TR_svt> create();
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/track_alov.hpp b/thirdparty1/linux/include/opencv2/datasets/track_alov.hpp
new file mode 100644
index 0000000..276e2f1
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/track_alov.hpp
@@ -0,0 +1,107 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_TRACK_ALOV_HPP
+#define OPENCV_DATASETS_TRACK_ALOV_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+#include "opencv2/datasets/util.hpp"
+
+using namespace std;
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_track
+//! @{
+
+struct TRACK_alovObj : public Object
+{
+ int id;
+ std::string imagePath;
+ vector <Point2f> gtbb;
+};
+
+const string sectionNames[] = { "01-Light", "02-SurfaceCover", "03-Specularity", "04-Transparency", "05-Shape", "06-MotionSmoothness", "07-MotionCoherence",
+"08-Clutter", "09-Confusion", "10-LowContrast", "11-Occlusion", "12-MovingCamera", "13-ZoomingCamera", "14-LongDuration" };
+
+const int sectionSizes[] = { 33, 15, 18, 20, 24, 22, 12, 15, 37, 23, 34, 22, 29, 10 };
+
+class CV_EXPORTS TRACK_alov : public Dataset
+{
+public:
+ static Ptr<TRACK_alov> create();
+
+ virtual void load(const std::string &path) = 0;
+
+ //Load only frames with annotations (~every 5-th frame)
+ virtual void loadAnnotatedOnly(const std::string &path) = 0;
+
+ virtual int getDatasetsNum() = 0;
+
+ virtual int getDatasetLength(int id) = 0;
+
+ virtual bool initDataset(int id) = 0;
+
+ virtual bool getNextFrame(Mat &frame) = 0;
+ virtual vector <Point2f> getNextGT() = 0;
+
+ //Get frame/GT by datasetID (1..N) frameID (1..K)
+ virtual bool getFrame(Mat &frame, int datasetID, int frameID) = 0;
+ virtual vector <Point2f> getGT(int datasetID, int frameID) = 0;
+
+protected:
+ vector <vector <Ptr<TRACK_alovObj> > > data;
+ int activeDatasetID;
+ int frameCounter;
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/track_vot.hpp b/thirdparty1/linux/include/opencv2/datasets/track_vot.hpp
new file mode 100644
index 0000000..6249f02
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/track_vot.hpp
@@ -0,0 +1,96 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_TRACK_VOT_HPP
+#define OPENCV_DATASETS_TRACK_VOT_HPP
+
+#include <string>
+#include <vector>
+
+#include "opencv2/datasets/dataset.hpp"
+#include "opencv2/datasets/util.hpp"
+
+using namespace std;
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets_track
+//! @{
+
+struct TRACK_votObj : public Object
+{
+ int id;
+ std::string imagePath;
+ vector <Point2d> gtbb;
+};
+
+class CV_EXPORTS TRACK_vot : public Dataset
+{
+public:
+ static Ptr<TRACK_vot> create();
+
+ virtual void load(const std::string &path) = 0;
+
+ virtual int getDatasetsNum() = 0;
+
+ virtual int getDatasetLength(int id) = 0;
+
+ virtual bool initDataset(int id) = 0;
+
+ virtual bool getNextFrame(Mat &frame) = 0;
+
+ virtual vector <Point2d> getGT() = 0;
+
+protected:
+ vector <vector <Ptr<TRACK_votObj> > > data;
+ int activeDatasetID;
+ int frameCounter;
+};
+
+//! @}
+
+}
+}
+
+#endif
diff --git a/thirdparty1/linux/include/opencv2/datasets/util.hpp b/thirdparty1/linux/include/opencv2/datasets/util.hpp
new file mode 100644
index 0000000..316de3a
--- /dev/null
+++ b/thirdparty1/linux/include/opencv2/datasets/util.hpp
@@ -0,0 +1,74 @@
+/*M///////////////////////////////////////////////////////////////////////////////////////
+//
+// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
+//
+// By downloading, copying, installing or using the software you agree to this license.
+// If you do not agree to this license, do not download, install,
+// copy or use the software.
+//
+//
+// License Agreement
+// For Open Source Computer Vision Library
+//
+// Copyright (C) 2014, Itseez Inc, all rights reserved.
+// Third party copyrights are property of their respective owners.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// * Redistribution's of source code must retain the above copyright notice,
+// this list of conditions and the following disclaimer.
+//
+// * Redistribution's in binary form must reproduce the above copyright notice,
+// this list of conditions and the following disclaimer in the documentation
+// and/or other materials provided with the distribution.
+//
+// * The name of the copyright holders may not be used to endorse or promote products
+// derived from this software without specific prior written permission.
+//
+// This software is provided by the copyright holders and contributors "as is" and
+// any express or implied warranties, including, but not limited to, the implied
+// warranties of merchantability and fitness for a particular purpose are disclaimed.
+// In no event shall the Itseez Inc or contributors be liable for any direct,
+// indirect, incidental, special, exemplary, or consequential damages
+// (including, but not limited to, procurement of substitute goods or services;
+// loss of use, data, or profits; or business interruption) however caused
+// and on any theory of liability, whether in contract, strict liability,
+// or tort (including negligence or otherwise) arising in any way out of
+// the use of this software, even if advised of the possibility of such damage.
+//
+//M*/
+
+#ifndef OPENCV_DATASETS_UTIL_HPP
+#define OPENCV_DATASETS_UTIL_HPP
+
+#include <string>
+#include <vector>
+
+#include <cstdio>
+#include <cstdlib> // atoi, atof
+
+#include <fstream>
+
+#include <opencv2/core.hpp>
+
+namespace cv
+{
+namespace datasets
+{
+
+//! @addtogroup datasets
+//! @{
+
+void CV_EXPORTS split(const std::string &s, std::vector<std::string> &elems, char delim);
+
+void CV_EXPORTS createDirectory(const std::string &path);
+
+void CV_EXPORTS getDirList(const std::string &dirName, std::vector<std::string> &fileNames);
+
+//! @}
+
+}
+}
+
+#endif