projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92afe9e
)
Changed tabulation.
author
Leonid Beynenson
<no@email>
Wed, 10 Aug 2011 14:21:20 +0000
(14:21 +0000)
committer
Leonid Beynenson
<no@email>
Wed, 10 Aug 2011 14:21:20 +0000
(14:21 +0000)
modules/objdetect/src/cascadedetect.hpp
patch
|
blob
|
history
diff --git
a/modules/objdetect/src/cascadedetect.hpp
b/modules/objdetect/src/cascadedetect.hpp
index
e1080f9
..
b0f086e
100644
(file)
--- a/
modules/objdetect/src/cascadedetect.hpp
+++ b/
modules/objdetect/src/cascadedetect.hpp
@@
-371,7
+371,7
@@
inline int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvalu
CascadeClassifier::Data::Stage& stage = cascadeStages[si];
int wi, ntrees = stage.ntrees;
#ifdef HAVE_TEGRA_OPTIMIZATION
- tmp = 0;
+
tmp = 0;
#else
sum = 0;
#endif
@@
-391,9
+391,9
@@
inline int predictCategoricalStump( CascadeClassifier& cascade, Ptr<FeatureEvalu
}
#ifdef HAVE_TEGRA_OPTIMIZATION
if( tmp < stage.threshold ) {
- sum = (double)tmp;
+
sum = (double)tmp;
return -si;
- }
+
}
#else
if( sum < stage.threshold )
return -si;