Ask Your Question

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



there is an example saliency-example-computeSaliency

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

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

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

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


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

Seen: 869 times

Last updated: Apr 09 '17