xvsdk
3.2.0
|
A class to handle callbacks of the object detector (CNN) More...
#include <xv-sdk.h>
Public Types | |
enum | Source { LEFT = 0, RIGHT, RGB, TOF } |
using | Data = std::vector< Object > const & |
Public Member Functions | |
virtual bool | setDescriptor (const std::string &filepath)=0 |
virtual bool | setModel (const std::string &filepath)=0 |
virtual bool | setSource (const Source &source)=0 |
virtual xv::ObjectDetector::Source | getSource () const =0 |
virtual xv::ObjectDescriptor | getDescriptor () const =0 |
virtual int | registerCnnRawCallback (std::function< void(std::shared_ptr< CnnRawWrapper > const &)> poseCallback)=0 |
virtual bool | unregisterCnnRawCallback (int callbackId)=0 |
virtual bool | start ()=0 |
start streaming. | |
virtual bool | stop ()=0 |
stop streaming. | |
virtual int | registerCallback (std::function< void(std::vector< Object > const &)>)=0 |
Register callback to receive data. | |
virtual bool | unregisterCallback (int callbackId)=0 |
Unregister callback. | |
A class to handle callbacks of the object detector (CNN)