-
Notifications
You must be signed in to change notification settings - Fork 25
/
FC_global.h
64 lines (54 loc) · 862 Bytes
/
FC_global.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#include <stdio.h>
#include <string.h>
#include "FC_math.h"
#include "FC_marker.h"
#include "FC_opencv.h"
#define MAX_MARKERS 20
enum fc_tryb {
FC_INIT,
FC_PREV,
FC_FILTR,
FC_TRACK,
FC_MARK,
FC_MOCAP,
FC_MAX
};
enum fc_mayaServ {
FCM_STOP,
FCM_INIT,
FCM_ACTIVE,
FCM_MAX
};
//cam resolution
int maxX;
int maxY;
//current mode
int tryb;
//server status
int serverStatus;
//client status
int clientStatus;
//p0 (nose point :)
int punktZero;
//tmp markers
vec2_t t_marker[MAX_MARKERS];
//HSV filters
int h1,s1,v1,h2,s2,v2;
//jitter removal
int jitter;
//markers size
int mminx,mminy,mmaxx,mmaxy;
//blur
int fcBlur;
//erode
int fcErode;
//filter order
int fcOrder;
//inerpolation
int interpolacja;
//contours
int levels;
//marker entity
fc_entity_t fc_entity[MAX_MARKERS];
//socket for Maya client
int client_fd;