A class to handle gusture.
More...
#include <xv-sdk.h>
|
virtual int | registerDynamicGestureCallback (std::function< void(GestureData const &)>)=0 |
| Callback to get the dynamic gesture information. More...
|
|
virtual bool | UnregisterDynamicGestureCallback (int callbackID)=0 |
|
virtual int | registerKeypointsCallback (std::function< void(std::shared_ptr< const std::vector< keypoint >>)> callback)=0 |
| Callback to get the keypoints 21Dof information. More...
|
|
virtual bool | unregisterKeypointsCallback (int callbackId)=0 |
|
virtual int | registerSlamKeypointsCallback (std::function< void(std::shared_ptr< const std::vector< keypoint >>)> callback)=0 |
| Callback to get the keypoints 21Dof information based on slam position. More...
|
|
virtual bool | unregisterSlamKeypointsCallback (int callbackId)=0 |
|
virtual void | setConfigPath (std::string config)=0 |
| Set MNN configuration file path. More...
|
|
virtual bool | start ()=0 |
| start streaming.
|
|
virtual bool | stop ()=0 |
| stop streaming.
|
|
virtual int | registerCallback (std::function< void(GestureData const &)>)=0 |
| Register callback to receive data.
|
|
virtual bool | unregisterCallback (int callbackId)=0 |
| Unregister callback.
|
|
A class to handle gusture.
virtual int xv::GestureStream::registerDynamicGestureCallback |
( |
std::function< void(GestureData const &)> |
| ) |
|
|
pure virtual |
Callback to get the dynamic gesture information.
- Returns
- Id of the callback (used to unregister the callback).
virtual int xv::GestureStream::registerKeypointsCallback |
( |
| ) |
|
|
pure virtual |
Callback to get the keypoints 21Dof information.
The vector contains gesture keypoints 21Dof, size 21 means one hand, vector size 42 means two hands, 2D points, z isn't used by default.
- Returns
- Id of the callback (used to unregister the callback).
virtual int xv::GestureStream::registerSlamKeypointsCallback |
( |
| ) |
|
|
pure virtual |
Callback to get the keypoints 21Dof information based on slam position.
The vector contains gesture keypoints 21Dof based on slam position, size 21 means one hand, vector size 42 means two hands, 3D points with depth value.
- Returns
- Id of the callback (used to unregister the callback).
virtual void xv::GestureStream::setConfigPath |
( |
std::string |
config | ) |
|
|
pure virtual |
Set MNN configuration file path.
- Parameters
-
[in] | config | string value, end with \ |
The documentation for this class was generated from the following file: