LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-20-2016, 03:04 AM   #1
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Rep: Reputation: Disabled
To find available algorithms in your version of OPENCV?


hello everyone, i want to see available algorithms in my OPENCV version 2.4.1 for that i have written a code below ==>

vector<string> algorithms;
Algorithm::getList(algorithms);
cout << "Algorithms: " << algorithms.size() << endl;
for (int i=0; i<algorithms.size(); i++)
{
cout << algorithms[i] << endl;
}

and execute this program it give me following output ==>
Algorithms: 5
CLAHE
GeneralizedHough.POSITION
GeneralizedHough.POSITION_ROTATION
GeneralizedHough.POSITION_SCALE
GeneralizedHough.POSITION_SCALE_ROTATION

is this output is correct or is other any way to find out avaliable algorithm in opencv??

Last edited by sachinmm; 05-20-2016 at 03:10 AM.
 
Old 05-20-2016, 03:12 AM   #2
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
i have doubt on output of program because for my information the available algorithm in OPENCV 2.4.1 is ==>
FaceRecognizer.Eigenfaces
FaceRecognizer.Fisherfaces
FaceRecognizer.LBPH
 
Old 05-20-2016, 04:57 AM   #3
sachinmm
Member
 
Registered: Oct 2015
Posts: 67

Original Poster
Rep: Reputation: Disabled
got the correct output mistake in my code

Algorithms: 28
BackgroundSubtractor.GMG
BackgroundSubtractor.MOG
BackgroundSubtractor.MOG2
CLAHE
DenseOpticalFlow.DualTVL1
DescriptorMatcher.BFMatcher
DescriptorMatcher.FlannBasedMatcher
FaceRecognizer.Eigenfaces
FaceRecognizer.Fisherfaces
FaceRecognizer.LBPH
Feature2D.BRIEF
Feature2D.BRISK
Feature2D.Dense
Feature2D.FAST
Feature2D.FASTX
Feature2D.FREAK
Feature2D.GFTT
Feature2D.Grid
Feature2D.HARRIS
Feature2D.MSER
Feature2D.ORB
Feature2D.STAR
Feature2D.SimpleBlob
GeneralizedHough.POSITION
GeneralizedHough.POSITION_ROTATION
GeneralizedHough.POSITION_SCALE
GeneralizedHough.POSITION_SCALE_ROTATION
StatModel.EM
 
  


Reply

Tags
opencv



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building chromaprint and opencv requires older version libx264 Chelyuk Slackware 3 03-24-2014 01:45 PM
[SOLVED] Opencv related:How to find out corresponding points of same scene on two cameras? Dstruct0 Programming 2 05-04-2011 06:46 PM
OpenCV - Pixel format of incoming image is unsupported by OpenCV golmschenk Programming 1 04-01-2011 12:32 PM
Opencv error: /usr/bin/ld.real: cannot find -lcv; collect2: ld returned 1 exit status Ankithskarat Linux - Newbie 1 03-24-2010 12:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration