Ask Your Question

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

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

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

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();

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.


edit retag flag offensive close merge delete



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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

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

Minn gravatar image
edit flag offensive delete link more


thanks for trying to help ;)

berak gravatar imageberak ( 2015-02-26 13:06:47 -0600 )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 -0600 )edit

Question Tools

1 follower


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

Seen: 440 times

Last updated: Feb 26 '15