-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathopencv.h
43 lines (34 loc) · 796 Bytes
/
opencv.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright 2011 <[email protected]>. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// OpenCV Homepage: http://code.opencv.org
#ifndef _GO_OPENCV_BINDING_H_
#define _GO_OPENCV_BINDING_H_
#include <cv.h>
#include <cvaux.h>
#include <ml.h>
#include <highgui.h>
#ifdef __cplusplus
extern "C" {
#endif
// Trackbar
int GoOpenCV_CreateTrackbar(
char* trackbar_name, char* window_name,
int value, int count
);
void GoOpenCV_DestroyTrackbar(
char* trackbar_name, char* window_name
);
// mouse callback
void GoOpenCV_SetMouseCallback(
const char* window_name
);
// video writer args
unsigned GoOpenCV_FOURCC_(
int c1, int c2, int c3, int c4
);
#ifdef __cplusplus
}
#endif
#endif // _GO_OPENCV_BINDING_H_