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
bb1008ec
Commit
bb1008ec
authored
Jun 24, 2014
by
Vlad Shakhuro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change namespace to xobjdetect
parent
ab9d2496
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
14 deletions
+14
-14
fcw_train.cpp
modules/adas/tools/fcw_train.cpp
+4
-4
xobjdetect.hpp
modules/xobjdetect/include/opencv2/xobjdetect.hpp
+2
-2
acffeature.cpp
modules/xobjdetect/src/acffeature.cpp
+2
-2
icfdetector.cpp
modules/xobjdetect/src/icfdetector.cpp
+2
-2
stump.cpp
modules/xobjdetect/src/stump.cpp
+2
-2
waldboost.cpp
modules/xobjdetect/src/waldboost.cpp
+2
-2
No files found.
modules/adas/tools/fcw_train.cpp
View file @
bb1008ec
...
...
@@ -19,10 +19,10 @@ using cv::Rect;
#include <opencv2/xobjdetect.hpp>
using
cv
::
adas
::
ICFDetectorParams
;
using
cv
::
adas
::
ICFDetector
;
using
cv
::
adas
::
WaldBoost
;
using
cv
::
adas
::
WaldBoostParams
;
using
cv
::
xobjdetect
::
ICFDetectorParams
;
using
cv
::
xobjdetect
::
ICFDetector
;
using
cv
::
xobjdetect
::
WaldBoost
;
using
cv
::
xobjdetect
::
WaldBoostParams
;
using
cv
::
Mat
;
static
bool
read_pos_int
(
const
char
*
str
,
int
*
n
)
...
...
modules/xobjdetect/include/opencv2/xobjdetect.hpp
View file @
bb1008ec
...
...
@@ -48,7 +48,7 @@ the use of this software, even if advised of the possibility of such damage.
namespace
cv
{
namespace
adas
namespace
xobjdetect
{
/* Compute channel pyramid for acf features
...
...
@@ -227,7 +227,7 @@ public:
bool
save
(
const
std
::
string
&
filename
);
};
}
/* namespace
adas
*/
}
/* namespace
xobjdetect
*/
}
/* namespace cv */
...
...
modules/xobjdetect/src/acffeature.cpp
View file @
bb1008ec
...
...
@@ -53,7 +53,7 @@ using std::min;
namespace
cv
{
namespace
adas
namespace
xobjdetect
{
ACFFeatureEvaluator
::
ACFFeatureEvaluator
(
const
vector
<
Point3i
>&
features
)
:
...
...
@@ -176,5 +176,5 @@ void computeChannels(cv::InputArray image, cv::OutputArrayOfArrays channels_)
channels_
.
setTo
(
channels
);
}
}
/* namespace
adas
*/
}
/* namespace
xobjdetect
*/
}
/* namespace cv */
modules/xobjdetect/src/icfdetector.cpp
View file @
bb1008ec
...
...
@@ -61,7 +61,7 @@ using std::max;
namespace
cv
{
namespace
adas
namespace
xobjdetect
{
static
bool
overlap
(
const
Rect
&
r
,
const
vector
<
Rect
>&
gt
)
...
...
@@ -158,5 +158,5 @@ bool ICFDetector::save(const string& filename)
return
true
;
}
}
/* namespace
adas
*/
}
/* namespace
xobjdetect
*/
}
/* namespace cv */
modules/xobjdetect/src/stump.cpp
View file @
bb1008ec
...
...
@@ -45,7 +45,7 @@ the use of this software, even if advised of the possibility of such damage.
namespace
cv
{
namespace
adas
namespace
xobjdetect
{
/* Cumulative sum by rows */
...
...
@@ -201,5 +201,5 @@ float Stump::predict(int value) const
return
polarity_
*
(
value
-
threshold_
)
>
0
?
pos_value_
:
neg_value_
;
}
}
/* namespace
adas
*/
}
/* namespace
xobjdetect
*/
}
/* namespace cv */
modules/xobjdetect/src/waldboost.cpp
View file @
bb1008ec
...
...
@@ -52,7 +52,7 @@ using std::vector;
namespace
cv
{
namespace
adas
namespace
xobjdetect
{
WaldBoost
::
WaldBoost
(
const
WaldBoostParams
&
params
)
:
params_
(
params
)
...
...
@@ -161,5 +161,5 @@ float WaldBoost::predict(const Ptr<ACFFeatureEvaluator>& feature_evaluator)
return
trace
;
}
}
/* namespace
adas
*/
}
/* namespace
xobjdetect
*/
}
/* namespace cv */
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