11 #include <unordered_map>
16 Counter(int32_t frame_rate = 10);
18 void update(int32_t
id, int16_t x, int16_t y);
29 std::vector<int32_t>
get();
32 int getSide(int16_t x, int16_t y);
38 std::vector<int16_t> splitter;
39 std::unordered_map<int32_t, object> objects;
void setSplitter(std::vector< int16_t > splitter)
Definition: counter.cpp:56
~Counter()
Definition: counter.cpp:9
void update(int32_t id, int16_t x, int16_t y)
Definition: counter.cpp:22
int getSide(int16_t x, int16_t y)
Definition: counter.cpp:11
std::vector< int16_t > getSplitter()
Definition: counter.cpp:83
Counter(int32_t frame_rate=10)
Definition: counter.cpp:7
std::vector< int32_t > get()
Definition: counter.cpp:64
void clear()
Definition: counter.cpp:50
int16_t y
Definition: counter.h:23
int16_t side
Definition: counter.h:24
int32_t count
Definition: counter.h:25
int16_t x
Definition: counter.h:22
int32_t id
Definition: counter.h:21