Commit e1e269db authored by dmitriy.anisimov's avatar dmitriy.anisimov

fixed warnings for document & Win64

parent bb704fc3
...@@ -14,6 +14,7 @@ Action Recognition ...@@ -14,6 +14,7 @@ Action Recognition
ar_hmdb ar_hmdb
======= =======
.. ocv:class:: ar_hmdb .. ocv:class:: ar_hmdb
Implements loading dataset: Implements loading dataset:
_`"HMDB: A Large Human Motion Database"`: http://serre-lab.clps.brown.edu/resource/hmdb-a-large-human-motion-database/ _`"HMDB: A Large Human Motion Database"`: http://serre-lab.clps.brown.edu/resource/hmdb-a-large-human-motion-database/
...@@ -29,6 +30,7 @@ _`"HMDB: A Large Human Motion Database"`: http://serre-lab.clps.brown.edu/resour ...@@ -29,6 +30,7 @@ _`"HMDB: A Large Human Motion Database"`: http://serre-lab.clps.brown.edu/resour
ar_sports ar_sports
========= =========
.. ocv:class:: ar_sports .. ocv:class:: ar_sports
Implements loading dataset: Implements loading dataset:
_`"Sports-1M Dataset"`: http://cs.stanford.edu/people/karpathy/deepvideo/ _`"Sports-1M Dataset"`: http://cs.stanford.edu/people/karpathy/deepvideo/
...@@ -45,6 +47,7 @@ Face Recognition ...@@ -45,6 +47,7 @@ Face Recognition
fr_lfw fr_lfw
====== ======
.. ocv:class:: fr_lfw .. ocv:class:: fr_lfw
Implements loading dataset: Implements loading dataset:
_`"Labeled Faces in the Wild-a"`: http://www.openu.ac.il/home/hassner/data/lfwa/ _`"Labeled Faces in the Wild-a"`: http://www.openu.ac.il/home/hassner/data/lfwa/
...@@ -63,6 +66,7 @@ Gesture Recognition ...@@ -63,6 +66,7 @@ Gesture Recognition
gr_chalearn gr_chalearn
=========== ===========
.. ocv:class:: gr_chalearn .. ocv:class:: gr_chalearn
Implements loading dataset: Implements loading dataset:
_`"ChaLearn Looking at People"`: http://gesture.chalearn.org/ _`"ChaLearn Looking at People"`: http://gesture.chalearn.org/
...@@ -78,6 +82,7 @@ _`"ChaLearn Looking at People"`: http://gesture.chalearn.org/ ...@@ -78,6 +82,7 @@ _`"ChaLearn Looking at People"`: http://gesture.chalearn.org/
gr_skig gr_skig
======= =======
.. ocv:class:: gr_skig .. ocv:class:: gr_skig
Implements loading dataset: Implements loading dataset:
_`"Sheffield Kinect Gesture Dataset"`: http://lshao.staff.shef.ac.uk/data/SheffieldKinectGesture.htm _`"Sheffield Kinect Gesture Dataset"`: http://lshao.staff.shef.ac.uk/data/SheffieldKinectGesture.htm
...@@ -96,6 +101,7 @@ Human Pose Estimation ...@@ -96,6 +101,7 @@ Human Pose Estimation
hpe_parse hpe_parse
========= =========
.. ocv:class:: hpe_parse .. ocv:class:: hpe_parse
Implements loading dataset: Implements loading dataset:
_`"PARSE Dataset"`: http://www.ics.uci.edu/~dramanan/papers/parse/ _`"PARSE Dataset"`: http://www.ics.uci.edu/~dramanan/papers/parse/
...@@ -114,6 +120,7 @@ Image Registration ...@@ -114,6 +120,7 @@ Image Registration
ir_affine ir_affine
========= =========
.. ocv:class:: ir_affine .. ocv:class:: ir_affine
Implements loading dataset: Implements loading dataset:
_`"Affine Covariant Regions Datasets"`: http://www.robots.ox.ac.uk/~vgg/data/data-aff.html _`"Affine Covariant Regions Datasets"`: http://www.robots.ox.ac.uk/~vgg/data/data-aff.html
...@@ -129,6 +136,7 @@ _`"Affine Covariant Regions Datasets"`: http://www.robots.ox.ac.uk/~vgg/data/dat ...@@ -129,6 +136,7 @@ _`"Affine Covariant Regions Datasets"`: http://www.robots.ox.ac.uk/~vgg/data/dat
ir_robot ir_robot
======== ========
.. ocv:class:: ir_robot .. ocv:class:: ir_robot
Implements loading dataset: Implements loading dataset:
_`"Robot Data Set"`: http://roboimagedata.compute.dtu.dk/?page_id=24 _`"Robot Data Set"`: http://roboimagedata.compute.dtu.dk/?page_id=24
...@@ -146,6 +154,7 @@ Image Segmentation ...@@ -146,6 +154,7 @@ Image Segmentation
is_bsds is_bsds
======= =======
.. ocv:class:: is_bsds .. ocv:class:: is_bsds
Implements loading dataset: Implements loading dataset:
_`"The Berkeley Segmentation Dataset and Benchmark"`: https://www.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/ _`"The Berkeley Segmentation Dataset and Benchmark"`: https://www.eecs.berkeley.edu/Research/Projects/CS/vision/bsds/
...@@ -161,6 +170,7 @@ _`"The Berkeley Segmentation Dataset and Benchmark"`: https://www.eecs.berkeley. ...@@ -161,6 +170,7 @@ _`"The Berkeley Segmentation Dataset and Benchmark"`: https://www.eecs.berkeley.
is_weizmann is_weizmann
=========== ===========
.. ocv:class:: is_weizmann .. ocv:class:: is_weizmann
Implements loading dataset: Implements loading dataset:
_`"Weizmann Segmentation Evaluation Database"`: http://www.wisdom.weizmann.ac.il/~vision/Seg_Evaluation_DB/ _`"Weizmann Segmentation Evaluation Database"`: http://www.wisdom.weizmann.ac.il/~vision/Seg_Evaluation_DB/
...@@ -179,6 +189,7 @@ Multiview Stereo Matching ...@@ -179,6 +189,7 @@ Multiview Stereo Matching
msm_epfl msm_epfl
======== ========
.. ocv:class:: msm_epfl .. ocv:class:: msm_epfl
Implements loading dataset: Implements loading dataset:
_`"EPFL Multi-View Stereo"`: http://cvlabwww.epfl.ch/~strecha/multiview/denseMVS.html _`"EPFL Multi-View Stereo"`: http://cvlabwww.epfl.ch/~strecha/multiview/denseMVS.html
...@@ -194,6 +205,7 @@ _`"EPFL Multi-View Stereo"`: http://cvlabwww.epfl.ch/~strecha/multiview/denseMVS ...@@ -194,6 +205,7 @@ _`"EPFL Multi-View Stereo"`: http://cvlabwww.epfl.ch/~strecha/multiview/denseMVS
msm_middlebury msm_middlebury
============== ==============
.. ocv:class:: msm_middlebury .. ocv:class:: msm_middlebury
Implements loading dataset: Implements loading dataset:
_`"Stereo – Middlebury Computer Vision"`: http://vision.middlebury.edu/mview/ _`"Stereo – Middlebury Computer Vision"`: http://vision.middlebury.edu/mview/
...@@ -212,6 +224,7 @@ Object Recognition ...@@ -212,6 +224,7 @@ Object Recognition
or_imagenet or_imagenet
=========== ===========
.. ocv:class:: or_imagenet .. ocv:class:: or_imagenet
Implements loading dataset: Implements loading dataset:
_`"ImageNet"`: http://www.image-net.org/ _`"ImageNet"`: http://www.image-net.org/
...@@ -229,6 +242,7 @@ Currently implemented loading full list with urls. Planned to implement dataset ...@@ -229,6 +242,7 @@ Currently implemented loading full list with urls. Planned to implement dataset
or_sun or_sun
====== ======
.. ocv:class:: or_sun .. ocv:class:: or_sun
Implements loading dataset: Implements loading dataset:
_`"SUN Database"`: http://sun.cs.princeton.edu/ _`"SUN Database"`: http://sun.cs.princeton.edu/
...@@ -249,6 +263,7 @@ SLAM ...@@ -249,6 +263,7 @@ SLAM
slam_kitti slam_kitti
========== ==========
.. ocv:class:: slam_kitti .. ocv:class:: slam_kitti
Implements loading dataset: Implements loading dataset:
_`"KITTI Vision Benchmark"`: http://www.cvlibs.net/datasets/kitti/eval_odometry.php _`"KITTI Vision Benchmark"`: http://www.cvlibs.net/datasets/kitti/eval_odometry.php
...@@ -264,6 +279,7 @@ _`"KITTI Vision Benchmark"`: http://www.cvlibs.net/datasets/kitti/eval_odometry. ...@@ -264,6 +279,7 @@ _`"KITTI Vision Benchmark"`: http://www.cvlibs.net/datasets/kitti/eval_odometry.
slam_tumindoor slam_tumindoor
============== ==============
.. ocv:class:: slam_tumindoor .. ocv:class:: slam_tumindoor
Implements loading dataset: Implements loading dataset:
_`"TUMindoor Dataset"`: http://www.navvis.lmt.ei.tum.de/dataset/ _`"TUMindoor Dataset"`: http://www.navvis.lmt.ei.tum.de/dataset/
...@@ -282,6 +298,7 @@ Text Recognition ...@@ -282,6 +298,7 @@ Text Recognition
tr_chars tr_chars
======== ========
.. ocv:class:: tr_chars .. ocv:class:: tr_chars
Implements loading dataset: Implements loading dataset:
_`"The Chars74K Dataset"`: http://www.ee.surrey.ac.uk/CVSSP/demos/chars74k/ _`"The Chars74K Dataset"`: http://www.ee.surrey.ac.uk/CVSSP/demos/chars74k/
...@@ -299,6 +316,7 @@ _`"The Chars74K Dataset"`: http://www.ee.surrey.ac.uk/CVSSP/demos/chars74k/ ...@@ -299,6 +316,7 @@ _`"The Chars74K Dataset"`: http://www.ee.surrey.ac.uk/CVSSP/demos/chars74k/
tr_svt tr_svt
====== ======
.. ocv:class:: tr_svt .. ocv:class:: tr_svt
Implements loading dataset: Implements loading dataset:
_`"The Street View Text Dataset"`: http://vision.ucsd.edu/~kai/svt/ _`"The Street View Text Dataset"`: http://vision.ucsd.edu/~kai/svt/
......
...@@ -72,7 +72,8 @@ int main(int argc, char *argv[]) ...@@ -72,7 +72,8 @@ int main(int argc, char *argv[])
tr_chars curr; tr_chars curr;
dataset.push_back(curr); dataset.push_back(curr);
dataset.back().load(path, dataset.size()-1); unsigned int number = (unsigned int)dataset.size()-1;
dataset.back().load(path, number);
} while (dataset.back().train.size()>0); } while (dataset.back().train.size()>0);
dataset.pop_back(); // remove last empty split dataset.pop_back(); // remove last empty split
......
...@@ -92,15 +92,15 @@ void gr_skig::loadDataset(string &path) ...@@ -92,15 +92,15 @@ void gr_skig::loadDataset(string &path)
curr.dep = pathDatasetDep + curr.dep; curr.dep = pathDatasetDep + curr.dep;
size_t pos = file.find("person_"); // TODO: check ::npos size_t pos = file.find("person_"); // TODO: check ::npos
curr.person = atoi( file.substr(pos+strlen("person_"), 1).c_str() ); curr.person = (unsigned char)atoi( file.substr(pos+strlen("person_"), 1).c_str() );
pos = file.find("backgroud_"); pos = file.find("backgroud_");
curr.background = atoi( file.substr(pos+strlen("backgroud_"), 1).c_str() ); curr.background = (unsigned char)atoi( file.substr(pos+strlen("backgroud_"), 1).c_str() );
pos = file.find("illumination_"); pos = file.find("illumination_");
curr.illumination = atoi( file.substr(pos+strlen("illumination_"), 1).c_str() ); curr.illumination = (unsigned char)atoi( file.substr(pos+strlen("illumination_"), 1).c_str() );
pos = file.find("pose_"); pos = file.find("pose_");
curr.pose = atoi( file.substr(pos+strlen("pose_"), 1).c_str() ); curr.pose = (unsigned char)atoi( file.substr(pos+strlen("pose_"), 1).c_str() );
pos = file.find("actionType_"); pos = file.find("actionType_");
curr.actionType = atoi( file.substr(pos+strlen("actionType_"), 1).c_str() ); curr.actionType = (unsigned char)atoi( file.substr(pos+strlen("actionType_"), 1).c_str() );
train.push_back(curr); train.push_back(curr);
} }
......
...@@ -76,7 +76,7 @@ void hpe_parse::loadDataset(string &path) ...@@ -76,7 +76,7 @@ void hpe_parse::loadDataset(string &path)
for (vector<string>::iterator it=fileNames.begin(); it!=fileNames.end(); ++it) for (vector<string>::iterator it=fileNames.begin(); it!=fileNames.end(); ++it)
{ {
string &file = *it, ext; string &file = *it, ext;
unsigned int len = file.length(); size_t len = file.length();
if (len>4) if (len>4)
{ {
ext = file.substr(len-4, 4); ext = file.substr(len-4, 4);
......
...@@ -89,7 +89,7 @@ void getDirList(string &dirName, vector<string> &fileNames) ...@@ -89,7 +89,7 @@ void getDirList(string &dirName, vector<string> &fileNames)
struct _finddata_t file; struct _finddata_t file;
string filter(dirName); string filter(dirName);
filter += "\\*.*"; filter += "\\*.*";
int hFile = _findfirst(filter.c_str(), &file); intptr_t hFile = _findfirst(filter.c_str(), &file);
if (hFile==-1) if (hFile==-1)
{ {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment