OpenCV  4.9.0
Open Source Computer Vision
Classes | Namespaces | Typedefs | Enumerations | Functions
ot.hpp File Reference
#include <opencv2/gapi.hpp>
#include <opencv2/gapi/s11n.hpp>
#include <opencv2/gapi/gkernel.hpp>

Classes

struct  cv::detail::CompileArgTag< cv::gapi::ot::ObjectTrackerParams >
 
struct  cv::gapi::ot::ObjectTrackerParams
 
struct  cv::gapi::s11n::detail::S11N< cv::gapi::ot::ObjectTrackerParams >
 

Namespaces

 cv
 "black box" representation of the file storage associated with a file on disk.
 
 cv::detail
 
 cv::gapi
 
 cv::gapi::ot
 This namespace contains G-API Operation Types for VAS Object Tracking module functionality.
 
 cv::gapi::s11n
 This namespace contains G-API serialization and deserialization functions and data structures.
 
 cv::gapi::s11n::detail
 

Typedefs

using cv::gapi::ot::GTrackedInfo = std::tuple< cv::GArray< cv::Rect >, cv::GArray< int32_t >, cv::GArray< uint64_t >, cv::GArray< int > >
 

Enumerations

enum  cv::gapi::ot::TrackingStatus {
  cv::gapi::ot::NEW = 0,
  cv::gapi::ot::TRACKED,
  cv::gapi::ot::LOST
}
 

Functions

std::tuple< cv::GArray< cv::Rect >, cv::GArray< int >, cv::GArray< uint64_t >, cv::GArray< int > > cv::gapi::ot::track (const cv::GMat &mat, const cv::GArray< cv::Rect > &detected_rects, const cv::GArray< int > &detected_class_labels, float delta)
 Tracks objects with video frames. If a detected object is overlapped enough with one of tracked object, the tracked object's informationis updated with the input detected object. On the other hand, if a detected object is overlapped with none of tracked objects, the detected object is newly added and ObjectTracker starts to track the object. In zero term tracking type, ObjectTracker clears tracked objects in case that empty list of detected objects is passed in. More...
 
std::tuple< cv::GArray< cv::Rect >, cv::GArray< int >, cv::GArray< uint64_t >, cv::GArray< int > > cv::gapi::ot::track (const cv::GFrame &frame, const cv::GArray< cv::Rect > &detected_rects, const cv::GArray< int > &detected_class_labels, float delta)
 Tracks objects with video frames. Overload of track(...) for frame as GFrame. More...