Ask Your Question
0

"AKAZE and ORB planar tracking" tutorial not run on OpenCV 3.0.0-beta

asked 2015-02-24 12:24:41 -0500

Minn gravatar image

Hi. I download & install OpenCV 3.0.0-beta a week ago.

OS: win7_x64. MS VC++ 2010 Express.

I try to build tutorial sample

http://docs.opencv.org/trunk/doc/tuto...

I can't run full this sample with OpenCV 3.0.0-beta.

1_ at line 141 my programm crashed & exit without any message.

Stats stats, akaze_stats, orb_stats;
Ptr<AKAZE> akaze = AKAZE::create();

// akaze->set("threshold", akaze_thresh);

Ptr<ORB> orb = ORB::create();
orb->setMaxFeatures(stats.keypoints);

I comment line 141.

2_ ORB method not run. I comment it all.

3_ My programm did not write output video file. What extention must have the output video file?

When I output to res.mpeg - file is empty (lenth = 0). Output to res.avi (lenth = 5,54Kb). All 705 frames counted. AKAZE-statistics printed.

May be I make something wrong. Help me, please.

Thanks.

edit retag flag offensive close merge delete

Comments

1

there's been some refactoring lately, removal of 'Algorithm' stuff, i guess you had a unlucky pick there.

akaze->set("threshold", akaze_thresh); should be : akaze->setThreshold(akaze_thresh); now.

try a fresh git pull and a rebuild.

berak gravatar imageberak ( 2015-02-26 12:40:13 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-02-26 12:28:37 -0500

Minn gravatar image
edit flag offensive delete link more

Comments

thanks for trying to help ;)

berak gravatar imageberak ( 2015-02-26 13:06:47 -0500 )edit

I failed again.The sample also didn't solve the problem. Error occored in the command"orb_res = orb_tracker.process(frame, stats);".

Sheng Liu gravatar imageSheng Liu ( 2015-04-15 00:38:45 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-02-24 12:24:41 -0500

Seen: 349 times

Last updated: Feb 26 '15