Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
e1e269db
Commit
e1e269db
authored
Aug 29, 2014
by
dmitriy.anisimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed warnings for document & Win64
parent
bb704fc3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
8 deletions
+27
-8
datasetstools.rst
modules/datasetstools/doc/datasetstools.rst
+18
-0
tr_chars.cpp
modules/datasetstools/samples/tr_chars.cpp
+2
-1
gr_skig.cpp
modules/datasetstools/src/gr_skig.cpp
+5
-5
hpe_parse.cpp
modules/datasetstools/src/hpe_parse.cpp
+1
-1
util.cpp
modules/datasetstools/src/util.cpp
+1
-1
No files found.
modules/datasetstools/doc/datasetstools.rst
View file @
e1e269db
...
...
@@ -14,6 +14,7 @@ Action Recognition
ar_hmdb
=======
.. ocv:class:: ar_hmdb
Implements loading dataset:
_`"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
ar_sports
=========
.. ocv:class:: ar_sports
Implements loading dataset:
_`"Sports-1M Dataset"`: http://cs.stanford.edu/people/karpathy/deepvideo/
...
...
@@ -45,6 +47,7 @@ Face Recognition
fr_lfw
======
.. ocv:class:: fr_lfw
Implements loading dataset:
_`"Labeled Faces in the Wild-a"`: http://www.openu.ac.il/home/hassner/data/lfwa/
...
...
@@ -63,6 +66,7 @@ Gesture Recognition
gr_chalearn
===========
.. ocv:class:: gr_chalearn
Implements loading dataset:
_`"ChaLearn Looking at People"`: http://gesture.chalearn.org/
...
...
@@ -78,6 +82,7 @@ _`"ChaLearn Looking at People"`: http://gesture.chalearn.org/
gr_skig
=======
.. ocv:class:: gr_skig
Implements loading dataset:
_`"Sheffield Kinect Gesture Dataset"`: http://lshao.staff.shef.ac.uk/data/SheffieldKinectGesture.htm
...
...
@@ -96,6 +101,7 @@ Human Pose Estimation
hpe_parse
=========
.. ocv:class:: hpe_parse
Implements loading dataset:
_`"PARSE Dataset"`: http://www.ics.uci.edu/~dramanan/papers/parse/
...
...
@@ -114,6 +120,7 @@ Image Registration
ir_affine
=========
.. ocv:class:: ir_affine
Implements loading dataset:
_`"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
ir_robot
========
.. ocv:class:: ir_robot
Implements loading dataset:
_`"Robot Data Set"`: http://roboimagedata.compute.dtu.dk/?page_id=24
...
...
@@ -146,6 +154,7 @@ Image Segmentation
is_bsds
=======
.. ocv:class:: is_bsds
Implements loading dataset:
_`"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.
is_weizmann
===========
.. ocv:class:: is_weizmann
Implements loading dataset:
_`"Weizmann Segmentation Evaluation Database"`: http://www.wisdom.weizmann.ac.il/~vision/Seg_Evaluation_DB/
...
...
@@ -179,6 +189,7 @@ Multiview Stereo Matching
msm_epfl
========
.. ocv:class:: msm_epfl
Implements loading dataset:
_`"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
msm_middlebury
==============
.. ocv:class:: msm_middlebury
Implements loading dataset:
_`"Stereo – Middlebury Computer Vision"`: http://vision.middlebury.edu/mview/
...
...
@@ -212,6 +224,7 @@ Object Recognition
or_imagenet
===========
.. ocv:class:: or_imagenet
Implements loading dataset:
_`"ImageNet"`: http://www.image-net.org/
...
...
@@ -229,6 +242,7 @@ Currently implemented loading full list with urls. Planned to implement dataset
or_sun
======
.. ocv:class:: or_sun
Implements loading dataset:
_`"SUN Database"`: http://sun.cs.princeton.edu/
...
...
@@ -249,6 +263,7 @@ SLAM
slam_kitti
==========
.. ocv:class:: slam_kitti
Implements loading dataset:
_`"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.
slam_tumindoor
==============
.. ocv:class:: slam_tumindoor
Implements loading dataset:
_`"TUMindoor Dataset"`: http://www.navvis.lmt.ei.tum.de/dataset/
...
...
@@ -282,6 +298,7 @@ Text Recognition
tr_chars
========
.. ocv:class:: tr_chars
Implements loading dataset:
_`"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
======
.. ocv:class:: tr_svt
Implements loading dataset:
_`"The Street View Text Dataset"`: http://vision.ucsd.edu/~kai/svt/
...
...
modules/datasetstools/samples/tr_chars.cpp
View file @
e1e269db
...
...
@@ -72,7 +72,8 @@ int main(int argc, char *argv[])
tr_chars
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
);
dataset
.
pop_back
();
// remove last empty split
...
...
modules/datasetstools/src/gr_skig.cpp
View file @
e1e269db
...
...
@@ -92,15 +92,15 @@ void gr_skig::loadDataset(string &path)
curr
.
dep
=
pathDatasetDep
+
curr
.
dep
;
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_"
);
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_"
);
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_"
);
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_"
);
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
);
}
...
...
modules/datasetstools/src/hpe_parse.cpp
View file @
e1e269db
...
...
@@ -76,7 +76,7 @@ void hpe_parse::loadDataset(string &path)
for
(
vector
<
string
>::
iterator
it
=
fileNames
.
begin
();
it
!=
fileNames
.
end
();
++
it
)
{
string
&
file
=
*
it
,
ext
;
unsigned
in
t
len
=
file
.
length
();
size_
t
len
=
file
.
length
();
if
(
len
>
4
)
{
ext
=
file
.
substr
(
len
-
4
,
4
);
...
...
modules/datasetstools/src/util.cpp
View file @
e1e269db
...
...
@@ -89,7 +89,7 @@ void getDirList(string &dirName, vector<string> &fileNames)
struct
_finddata_t
file
;
string
filter
(
dirName
);
filter
+=
"
\\
*.*"
;
int
hFile
=
_findfirst
(
filter
.
c_str
(),
&
file
);
int
ptr_t
hFile
=
_findfirst
(
filter
.
c_str
(),
&
file
);
if
(
hFile
==-
1
)
{
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment