FaceRecognition/src/gstds_example_manager.cpp
2025-06-30 19:15:47 +00:00

13 lines
424 B
C++

#include "gstds_example_manager.hpp"
GstdsExampleManager::GstdsExampleManager() {}
bool GstdsExampleManager::create_gstds_example() {
custom_plugin = gst_element_factory_make("dsexample", "nvdsgst_dsexample");
g_object_set(G_OBJECT(custom_plugin), "full-frame", 0, NULL);
if (!custom_plugin) {
g_printerr("Custom_plugin could not be created. Exiting.\n");
return false;
}
return true;
}