Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
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
Commits
927dccb4
Commit
927dccb4
authored
May 07, 2011
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compilation WITH_TBB
parent
1c18e5fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
solvepnp.cpp
modules/calib3d/src/solvepnp.cpp
+1
-3
latentsvm.cpp
modules/objdetect/src/latentsvm.cpp
+5
-2
No files found.
modules/calib3d/src/solvepnp.cpp
View file @
927dccb4
...
...
@@ -224,10 +224,8 @@ namespace cv
tvec
.
copyTo
(
initTvec
);
}
private
:
PnPSolver
&
operator
=
(
const
PnPSolver
&
);
PnPSolver
(
const
PnPSolver
&
);
const
Mat
&
objectPoints
;
const
Mat
&
imagePoints
;
const
Parameters
&
parameters
;
...
...
modules/objdetect/src/latentsvm.cpp
View file @
927dccb4
...
...
@@ -272,7 +272,7 @@ int searchObjectThreshold(const CvLSVMFeaturePyramid *H,
float
scoreThreshold
,
CvPoint
**
points
,
int
**
levels
,
int
*
kPoints
,
float
**
score
,
CvPoint
***
partsDisplacement
,
int
/*numThreads*/
)
int
numThreads
)
{
int
opResult
;
...
...
@@ -294,6 +294,8 @@ int searchObjectThreshold(const CvLSVMFeaturePyramid *H,
scoreThreshold
,
score
,
points
,
levels
,
kPoints
,
partsDisplacement
);
(
void
)
numThreads
;
#endif
if
(
opResult
!=
LATENT_SVM_OK
)
{
...
...
@@ -551,7 +553,7 @@ int searchObjectThresholdSomeComponents(const CvLSVMFeaturePyramid *H,
const
float
*
b
,
float
scoreThreshold
,
CvPoint
**
points
,
CvPoint
**
oppPoints
,
float
**
score
,
int
*
kPoints
,
int
/*numThreads*/
)
int
numThreads
)
{
int
error
=
0
;
int
i
,
j
,
s
,
f
,
componentIndex
;
...
...
@@ -592,6 +594,7 @@ int searchObjectThresholdSomeComponents(const CvLSVMFeaturePyramid *H,
return
LATENT_SVM_SEARCH_OBJECT_FAILED
;
}
#else
(
void
)
numThreads
;
searchObjectThreshold
(
H
,
&
(
filters
[
componentIndex
]),
kPartFilters
[
i
],
b
[
i
],
maxXBorder
,
maxYBorder
,
scoreThreshold
,
&
(
pointsArr
[
i
]),
&
(
levelsArr
[
i
]),
&
(
kPointsArr
[
i
]),
...
...
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