23 lines
620 B
C++
23 lines
620 B
C++
#include <gst/gst.h>
|
|
|
|
#include <fstream>
|
|
#include <iostream>
|
|
|
|
#include "config_manager.hpp"
|
|
#include "gstnvdsmeta.h"
|
|
|
|
class NvTrackerManager {
|
|
private:
|
|
public:
|
|
GstElement *tracker = NULL;
|
|
static gint frame_number;
|
|
std::string ll_config_file;
|
|
std::string ll_lib_file;
|
|
NvTrackerManager();
|
|
~NvTrackerManager();
|
|
bool create_nv_tracker();
|
|
void attach_probe_to_element();
|
|
static GstPadProbeReturn tracker_src_pad_buffer_probe(GstPad *,
|
|
GstPadProbeInfo *,
|
|
gpointer);
|
|
}; |