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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user