Create your own unit

ViiM's architecture enables you to create your own processing units, extending ViiM's classes. There are two possible ways in which one can do this: i) one is by extending a class named ViiMUnitProcess and ii) the other is by extending ViiM's units directly.

ViiMUnitProcess is the unit process super class, which handles the data so each ViiM's processing unit can easily access their own information and process it separately from the other units. To better understand how ViiMUnitProcess relates to the other units, take a look at the on-line reference guide.

Depending on the type of unit one intends to create it could be preferable to extend a particular unit. Imagine that one needs to create a unit to classify human body poses. In that case it would be useful to extend ViiMUnitSkeleton because you'll have all the skeleton information directly trough your own unit.

In either case you will be able to register your new processing