ImFusion SDK 4.3
LiteTracker Class Reference

Public Member Functions

 LiteTracker ()
 Default constructor.
 
std::optional< std::tuple< std::vector< vec2f >, std::vector< float >, std::vector< float > > > process (const SharedImage &frame, std::vector< vec2f > newQueries={}, std::vector< int64_t > removeIdxs={})
 Computes tracking on the provided frame.
 

Member Function Documentation

◆ process()

std::optional< std::tuple< std::vector< vec2f >, std::vector< float >, std::vector< float > > > process ( const SharedImage & frame,
std::vector< vec2f > newQueries = {},
std::vector< int64_t > removeIdxs = {} )

Computes tracking on the provided frame.

Parameters
frameThe input image to process
newQueriesNew queries to track.
removeIdxsIndices of previously set queries to remove. LiteTracker first removes the already setup queries, then adds newQueries.
Returns
A tuple containing the coordinates, visibility, and confidence scores

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close