Ask Your Question
0

how do we know whether opencv_contrib is successfully installed or not?

asked 2017-04-06 07:12:15 -0500

I have installed opencv_contrib but while running say, Saliency API it shows build successfully. But the error shows access denied. Can you please mention any small program to know whether Saliency API is working fine or not?

edit retag flag offensive close merge delete

Comments

1

there is an example saliency-example-computeSaliency

LBerger gravatar imageLBerger ( 2017-04-06 07:48:32 -0500 )edit
1

again, we cannot help you without error msg or similar.

berak gravatar imageberak ( 2017-04-06 09:49:21 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-04-09 12:13:45 -0500

ManuVISION gravatar image

#include <opencv2 tracking.hpp="">

try initializing the tracker with

Ptr<tracker> tracker = Tracker::create( "MEDIANFLOW" );

if the error is : tracker was not defined in this scope. Then your contrib files are not installed

edit flag offensive delete link more
0

answered 2017-04-08 05:11:13 -0500

it has nonfree.hpp file in the xfeatures2d directory

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-04-06 07:12:15 -0500

Seen: 549 times

Last updated: Apr 09 '17