Skip to content
Make ofxGui controls for cv::Algorithm
C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
src
.gitignore
LICENSE
README.md

README.md

ofxAlgorithmParameterGroup

Make ofxGui controls for cv::Algorithm

class ofApp : public ofBaseApp {
	// ....
	ofxPanel gui;
	ofxAlgorithmParameterGroup parameters;
};

void ofApp::setup() {
	// Any cv::Algorithm
	cv::Ptr<cv::FeatureDetector> detector = FeatureDetector::create("ORB");
	parameters.setAlgorithm(detector);
	
	cv::BackgroundSubtractorMOG2 mog2;
	parameters.setAlgorithm(&mog2);

	gui.setup();
	gui.add(parameters);
}

Require

  • openFrameworks v0.9.0RC1 or more
  • ofxGui
  • ofxCv or ofxOpenCv
You can’t perform that action at this time.