https://github.com/asus4/ofxalgorithmparametergroup
Make ofxGui controls for cv::Algorithm
https://github.com/asus4/ofxalgorithmparametergroup
opencv openframeworks openframeworks-addon
Last synced: 5 months ago
JSON representation
Make ofxGui controls for cv::Algorithm
- Host: GitHub
- URL: https://github.com/asus4/ofxalgorithmparametergroup
- Owner: asus4
- License: mit
- Created: 2015-09-11T08:09:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-11T10:30:04.000Z (over 10 years ago)
- Last Synced: 2025-06-12T20:06:48.088Z (9 months ago)
- Topics: opencv, openframeworks, openframeworks-addon
- Language: C++
- Size: 145 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ofxAlgorithmParameterGroup
Make ofxGui controls for cv::Algorithm
```c++
class ofApp : public ofBaseApp {
// ....
ofxPanel gui;
ofxAlgorithmParameterGroup parameters;
};
void ofApp::setup() {
// Any cv::Algorithm
cv::Ptr 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