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
49bc100e
Commit
49bc100e
authored
Feb 17, 2015
by
Vijay Pradeep
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing rng_seed arg in order to maintain ABI compatibility. Hardcoding seed
parent
1292fdf7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
calib3d.hpp
modules/calib3d/include/opencv2/calib3d/calib3d.hpp
+1
-2
solvepnp.cpp
modules/calib3d/src/solvepnp.cpp
+2
-1
No files found.
modules/calib3d/include/opencv2/calib3d/calib3d.hpp
View file @
49bc100e
...
...
@@ -488,8 +488,7 @@ CV_EXPORTS_W void solvePnPRansac( InputArray objectPoints,
float
reprojectionError
=
8.0
,
int
minInliersCount
=
100
,
OutputArray
inliers
=
noArray
(),
int
flags
=
ITERATIVE
,
int
rng_seed
=
0
);
int
flags
=
ITERATIVE
);
//! initializes camera matrix from a few 3D points and the corresponding projections.
CV_EXPORTS_W
Mat
initCameraMatrix2D
(
InputArrayOfArrays
objectPoints
,
...
...
modules/calib3d/src/solvepnp.cpp
View file @
49bc100e
...
...
@@ -303,8 +303,9 @@ void cv::solvePnPRansac(InputArray _opoints, InputArray _ipoints,
InputArray
_cameraMatrix
,
InputArray
_distCoeffs
,
OutputArray
_rvec
,
OutputArray
_tvec
,
bool
useExtrinsicGuess
,
int
iterationsCount
,
float
reprojectionError
,
int
minInliersCount
,
OutputArray
_inliers
,
int
flags
,
int
_rng_seed
)
OutputArray
_inliers
,
int
flags
)
{
const
int
_rng_seed
=
0
;
Mat
opoints
=
_opoints
.
getMat
(),
ipoints
=
_ipoints
.
getMat
();
Mat
cameraMatrix
=
_cameraMatrix
.
getMat
(),
distCoeffs
=
_distCoeffs
.
getMat
();
...
...
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