SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
Counter Class Reference

#include <counter.h>

Collaboration diagram for Counter:

Classes

struct  object
 

Public Member Functions

 Counter (int32_t frame_rate=10)
 
 ~Counter ()
 
void update (int32_t id, int16_t x, int16_t y)
 
void clear ()
 
void setSplitter (std::vector< int16_t > splitter)
 
std::vector< int16_t > getSplitter ()
 
std::vector< int32_t > get ()
 

Protected Member Functions

int getSide (int16_t x, int16_t y)
 

Constructor & Destructor Documentation

◆ Counter()

Counter::Counter ( int32_t  frame_rate = 10)

◆ ~Counter()

Counter::~Counter ( )

Member Function Documentation

◆ clear()

void Counter::clear ( )

◆ get()

std::vector< int32_t > Counter::get ( )

◆ getSide()

int Counter::getSide ( int16_t  x,
int16_t  y 
)
protected
Here is the caller graph for this function:

◆ getSplitter()

std::vector< int16_t > Counter::getSplitter ( )

◆ setSplitter()

void Counter::setSplitter ( std::vector< int16_t >  splitter)

◆ update()

void Counter::update ( int32_t  id,
int16_t  x,
int16_t  y 
)
Here is the call graph for this function: