1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

Removed some methods from cv::Algorithm and changed ml module interfaces

This commit is contained in:
Maksim Shabunin
2015-02-05 17:40:21 +03:00
parent 312c8fa7e1
commit 34131405df
39 changed files with 1464 additions and 1761 deletions

View File

@@ -173,13 +173,13 @@ int main(int argc, char** argv)
Ptr<OdometryFrame> frame_prev = Ptr<OdometryFrame>(new OdometryFrame()),
frame_curr = Ptr<OdometryFrame>(new OdometryFrame());
Ptr<Odometry> odometry = Algorithm::create<Odometry>("RGBD." + string(argv[3]) + "Odometry");
Ptr<Odometry> odometry = Odometry::create("RGBD." + string(argv[3]) + "Odometry");
if(odometry.empty())
{
cout << "Can not create Odometry algorithm. Check the passed odometry name." << endl;
return -1;
}
odometry->set("cameraMatrix", cameraMatrix);
odometry->setCameraMatrix(cameraMatrix);
MyTickMeter gtm;
int count = 0;