Make performance tests for solvePnPRansec more determenistic

This commit is contained in:
Andrey Kamaev
2012-10-09 18:34:55 +04:00
parent d4cf9e22cc
commit 5a5c477be6
3 changed files with 17 additions and 6 deletions

View File

@@ -260,6 +260,8 @@ namespace cv
{
rvec.copyTo(initRvec);
tvec.copyTo(initTvec);
generator.state = theRNG().state; //to control it somehow...
}
private:
PnPSolver& operator=(const PnPSolver&);