Line | |
---|
1 | #include "VisionFilter.h"
|
---|
2 | #include "compile_info.h"
|
---|
3 | #include <highgui.h>
|
---|
4 |
|
---|
5 | static void constructor() __attribute__((constructor));
|
---|
6 |
|
---|
7 | void constructor() {
|
---|
8 | compile_info("FlairVisionFilter");
|
---|
9 | }
|
---|
10 |
|
---|
11 | void saveToJpeg(IplImage* src_img,std::string filename,unsigned char compression_level) {
|
---|
12 | if(!cvSaveImage(filename.c_str(),src_img)) printf("Could not save.\n");
|
---|
13 | }
|
---|
14 |
|
---|
15 | bool InitVisionFilter(std::string args) {
|
---|
16 | printf("Using default vision lib filter, all functions are not ready!\n");
|
---|
17 | return true;
|
---|
18 | }
|
---|
19 |
|
---|
20 | void CloseVisionFilter(void) {
|
---|
21 |
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.