| 1 |
/* GStreamer object detection overlay |
| 2 |
* Copyright (C) <2024> Collabora Ltd. |
| 3 |
* @author: Daniel Morin <[email protected]> |
| 4 |
* |
| 5 |
* gsttensordecoders.c |
| 6 |
* |
| 7 |
* This library is free software; you can redistribute it and/or |
| 8 |
* modify it under the terms of the GNU Library General Public |
| 9 |
* License as published by the Free Software Foundation; either |
| 10 |
* version 2 of the License, or (at your option) any later version. |
| 11 |
* |
| 12 |
* This library is distributed in the hope that it will be useful, |
| 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
* Library General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU Library General Public |
| 18 |
* License along with this library; if not, write to the |
| 19 |
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, |
| 20 |
* Boston, MA 02110-1301, USA. |
| 21 |
*/ |
| 22 |
|
| 23 |
#ifdef HAVE_CONFIG_H |
| 24 |
# include "config.h" |
| 25 |
#endif |
| 26 |
|
| 27 |
#include "gstssdtensordec.h" |
| 28 |
#include "gstclassifiertensordecoder.h" |
| 29 |
#include "gstfacedetectortensordecoder.h" |
| 30 |
#include "gstioutracker.h" |
| 31 |
#include "gstyolotensordecoder.h" |
| 32 |
#include "gstyolosegtensordecoder.h" |
| 33 |
#include "gsttensordecodebin.h" |
| 34 |
|
| 35 |
/** |
| 36 |
* SECTION:plugin-tensordecoders |
| 37 |
* |
| 38 |
* Tensor decoders |
| 39 |
* |
| 40 |
* Since: 1.26 |
| 41 |
*/ |
| 42 |
static gboolean |
| 43 |
plugin_init (GstPlugin * plugin) |
| 44 |
{ |
| 45 |
gboolean ret = FALSE; |
| 46 |
ret |= GST_ELEMENT_REGISTER (ssd_tensor_dec, plugin); |
| 47 |
ret |= GST_ELEMENT_REGISTER (ssd_object_detector, plugin); |
| 48 |
ret |= GST_ELEMENT_REGISTER (classifier_tensor_decoder, plugin); |
| 49 |
ret |= GST_ELEMENT_REGISTER (face_detector_tensor_decoder, plugin); |
| 50 |
ret |= GST_ELEMENT_REGISTER (iou_tracker, plugin); |
| 51 |
ret |= GST_ELEMENT_REGISTER (yolo_tensor_decoder, plugin); |
| 52 |
ret |= GST_ELEMENT_REGISTER (yolo_seg_tensor_decoder, plugin); |
| 53 |
ret |= GST_ELEMENT_REGISTER (tensordecodebin, plugin); |
| 54 |
|
| 55 |
return ret; |
| 56 |
} |
| 57 |
|
| 58 |
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, |
| 59 |
GST_VERSION_MINOR, |
| 60 |
tensordecoders, |
| 61 |
"Tensor decoders elements", |
| 62 |
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN) |