cvedia::rt::iface::Tracker¶
Inherits from ModuleImpl, Module
Public Functions¶
| Name | |
|---|---|
| Tracker(std::string const & moduleName) | |
| virtual expected< cvec > | trackObjects(cbuffer const & buffer, cvec const & boxes, sol::protected_function callback) =0 |
| virtual expected< void > | updateThumbnails(cbuffer const & buffer) =0 |
| virtual expected< bool > | forceUpdateThumbnail(int trackId, cbuffer const & thumbnailImage, float confidence, Rect2f const & bbox =Rect2f()) =0 |
| virtual expected< bool > | forceUpdateSubObjectThumbnail(int trackId, cbuffer const & thumbnailImage, float confidence, Rect2f const & subObjectBbox =Rect2f()) =0 |
| virtual expected< void > | updateTracksMovement(cbuffer const & buffer) =0 |
| virtual expected< bool > | deleteTrackById(int id) =0 |
| virtual expected< std::vector< int > > | getTrackIds(int stateFilter =0) =0 |
| virtual expected< pCValue > | getTrackById(int id) =0 |
| virtual expected< pCValue > | getTrackValue(int id, std::string const & key) =0 |
| virtual expected< pCValue > | getTracks() =0 |
| virtual expected< void > | deleteTracks() =0 |
| virtual expected< void > | markTrackAsDead(int id) =0 |
| virtual expected< int > | clearDeadTracks() =0 |
| virtual expected< bool > | hasTrack(int id) =0 |
| virtual expected< bool > | saveTrack(int id, CValue const & track) =0 |
| virtual expected< bool > | saveTrackValue(int id, std::string const & key, CValue const & track) =0 |
| virtual expected< float > | updateTrackAverageEntry(int id, std::string const & entry, float val, int maxBufferSize) =0 |
| virtual expected< bool > | updateTracks(float timestep) =0 |
| virtual expected< void > | reset() =0 |
| virtual pCValue | getNewTrackIds() =0 |
| virtual pCValue | getMatchedTracks() =0 |
| virtual pCValue | getUnmatchedTracks() =0 |
| virtual expected< int > | getTrackCount() =0 |
| virtual expected< void > | updateMotionBuffer(cbuffer const & buffer) =0 |
| virtual expected< cbuffer > | getMotionBuffer() =0 |
| virtual expected< cbuffer > | splitMotionBufferForDebugOutput(cbuffer const & buffer) =0 |
| virtual expected< void > | drawMovementDirectionInMotionBuffer(cbuffer const & buffer, float movementDirectionX, float move) =0 |
Additional inherited members¶
Public Functions inherited from ModuleImpl
| Name | |
|---|---|
| ModuleImpl(std::string moduleName) | |
| virtual void * | getPtr() override |
| virtual void | verifyConfig(pCValue instanceConfig, ConfigCheckResults & configCheckResults) override |
| virtual pCValue | getConfigSpecs() const override |
| virtual std::string const & | getName() const override |
| virtual void | setName(std::string const & name) override |
| virtual void | setParent(iface::Module * parent) override |
| virtual iface::Module * | getParent() const override |
| virtual expected< pCValue > | getValue(std::string const & key, int dictType) const override |
| virtual expected< cvec > | getValue(std::vector< std::string > const & keys, int dictType) const override |
| virtual expected< void > | setValue(std::string const & key, pCValue const & value, int dictType) override |
| virtual expected< void > | setValue(cmap const & values, int dictType) override |
| expected< void > | unsetKey(std::string const & key, int const dictType) |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getStateDict() const override |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getConfigDict() const override |
| virtual expected< void > | setConfig(pCValue const & conf) const override |
| virtual std::string | getRootNode() const override |
Public Attributes inherited from ModuleImpl
| Name | |
|---|---|
| std::shared_mutex | pluginMut_ |
Public Functions inherited from Module
| Name | |
|---|---|
| Module() =default | |
| virtual | ~Module() =default |
| Module(Module const & other) =default | |
| Module & | operator=(Module const & other) =default |
| Module(Module && other) =default | |
| Module & | operator=(Module && other) =default |
| virtual void * | getPtr() =0 |
| virtual void | verifyConfig(pCValue instanceConfig, ConfigCheckResults & configCheckResults) =0 |
| virtual pCValue | getConfigSpecs() const =0 |
| virtual std::map< std::string, std::shared_ptr< ConfigDescriptor > > | getConfigDescriptors() const |
| virtual std::string const & | getName() const =0 |
| virtual void | setName(std::string const & name) =0 |
| virtual void | stop() |
| virtual void | setParent(iface::Module * ) =0 |
| virtual iface::Module * | getParent() const =0 |
| virtual expected< pCValue > | getValue(std::string const & key, int dictType) const =0 |
| virtual expected< cvec > | getValue(std::vector< std::string > const & keys, int dictType) const =0 |
| virtual expected< void > | setValue(std::string const & key, pCValue const & value, int dictType) =0 |
| virtual expected< void > | setValue(cmap const & values, int dictType) =0 |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getStateDict() const =0 |
| virtual expected< std::unique_ptr< iface::CVDictRoot > > | getConfigDict() const =0 |
| virtual expected< void > | setConfig(pCValue const & conf) const =0 |
| virtual std::string | getRootNode() const =0 |
Public Functions Documentation¶
function Tracker¶
inline Tracker(
std::string const & moduleName
)
function trackObjects¶
virtual expected< cvec > trackObjects(
cbuffer const & buffer,
cvec const & boxes,
sol::protected_function callback
) =0
function updateThumbnails¶
virtual expected< void > updateThumbnails(
cbuffer const & buffer
) =0
function forceUpdateThumbnail¶
virtual expected< bool > forceUpdateThumbnail(
int trackId,
cbuffer const & thumbnailImage,
float confidence,
Rect2f const & bbox =Rect2f()
) =0
function forceUpdateSubObjectThumbnail¶
virtual expected< bool > forceUpdateSubObjectThumbnail(
int trackId,
cbuffer const & thumbnailImage,
float confidence,
Rect2f const & subObjectBbox =Rect2f()
) =0
function updateTracksMovement¶
virtual expected< void > updateTracksMovement(
cbuffer const & buffer
) =0
function deleteTrackById¶
virtual expected< bool > deleteTrackById(
int id
) =0
function getTrackIds¶
virtual expected< std::vector< int > > getTrackIds(
int stateFilter =0
) =0
function getTrackById¶
virtual expected< pCValue > getTrackById(
int id
) =0
function getTrackValue¶
virtual expected< pCValue > getTrackValue(
int id,
std::string const & key
) =0
function getTracks¶
virtual expected< pCValue > getTracks() =0
function deleteTracks¶
virtual expected< void > deleteTracks() =0
function markTrackAsDead¶
virtual expected< void > markTrackAsDead(
int id
) =0
function clearDeadTracks¶
virtual expected< int > clearDeadTracks() =0
function hasTrack¶
virtual expected< bool > hasTrack(
int id
) =0
function saveTrack¶
virtual expected< bool > saveTrack(
int id,
CValue const & track
) =0
function saveTrackValue¶
virtual expected< bool > saveTrackValue(
int id,
std::string const & key,
CValue const & track
) =0
function updateTrackAverageEntry¶
virtual expected< float > updateTrackAverageEntry(
int id,
std::string const & entry,
float val,
int maxBufferSize
) =0
function updateTracks¶
virtual expected< bool > updateTracks(
float timestep
) =0
function reset¶
virtual expected< void > reset() =0
function getNewTrackIds¶
virtual pCValue getNewTrackIds() =0
function getMatchedTracks¶
virtual pCValue getMatchedTracks() =0
function getUnmatchedTracks¶
virtual pCValue getUnmatchedTracks() =0
function getTrackCount¶
virtual expected< int > getTrackCount() =0
function updateMotionBuffer¶
virtual expected< void > updateMotionBuffer(
cbuffer const & buffer
) =0
function getMotionBuffer¶
virtual expected< cbuffer > getMotionBuffer() =0
function splitMotionBufferForDebugOutput¶
virtual expected< cbuffer > splitMotionBufferForDebugOutput(
cbuffer const & buffer
) =0
function drawMovementDirectionInMotionBuffer¶
virtual expected< void > drawMovementDirectionInMotionBuffer(
cbuffer const & buffer,
float movementDirectionX,
float move
) =0