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

Namespaces

 cv
 
 engine
 
 math
 
 model
 
 server
 
 utils
 

Classes

class  Model
 
class  ModelFactory
 
class  Executor
 
class  SPSCRingBuffer
 
class  Camera
 
class  Device
 
class  Tick
 
class  Thread
 
class  Mutex
 
class  Guard
 
class  Semaphore
 
class  Event
 
class  MessageBox
 
class  Timer
 
class  Signal
 
class  Sensor
 
class  Storage
 
class  Transport
 
struct  TriggerRule
 
class  Encoder
 
class  Decoder
 
class  EncoderJSON
 
class  DecoderJSON
 
struct  ATService
 
class  ATServer
 

Typedefs

typedef std::function< void(std::atomic< bool > &)> task_t
 
typedef std::function< ma_err_t(std::vector< std::string >, Transport &, Encoder &)> ATServiceCallback
 

Functions

ma_err_t setAlgorithmInput (Model *algorithm, ma_img_t &img)
 
ma_err_t serializeAlgorithmOutput (Model *algorithm, Encoder *encoder, int width, int height)
 

Variables

constexpr char TAG [] = "ma::model"
 
std::forward_list< std::shared_ptr< TriggerRule > > trigger_rules
 
ma::Mutex trigger_rules_mutex
 

Typedef Documentation

◆ ATServiceCallback

typedef std::function<ma_err_t(std::vector<std::string>, Transport&, Encoder&)> ma::ATServiceCallback

◆ task_t

typedef std::function<void(std::atomic<bool>&)> ma::task_t

Function Documentation

◆ serializeAlgorithmOutput()

ma_err_t ma::serializeAlgorithmOutput ( Model algorithm,
Encoder encoder,
int  width,
int  height 
)
Here is the call graph for this function:

◆ setAlgorithmInput()

ma_err_t ma::setAlgorithmInput ( Model algorithm,
ma_img_t img 
)
Here is the call graph for this function:

Variable Documentation

◆ TAG

static const char * ma::TAG = "ma::model"
constexpr

◆ trigger_rules

std::forward_list<std::shared_ptr<TriggerRule> > ma::trigger_rules

◆ trigger_rules_mutex

ma::Mutex ma::trigger_rules_mutex