[decoder] Add "tracking" feature for bounding boxes
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Mon, 15 May 2023 08:27:08 +0000 (17:27 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 23 May 2023 03:30:50 +0000 (12:30 +0900)
commit7cc360e45e8a43c317ce3da495608389d82b44d7
tree120c39ef79cf564a3343cab2ba2042d2f41933da
parent0247bc27aaee82675f2163cbd0c354f64b1ecb62
[decoder] Add "tracking" feature for bounding boxes

- If the property is given as  `... option6=1 ...`, result bounding boxes will be marked with unique IDs.
- Centroid based track algorithm is used. It calculate every euclidean centroid distance among previous boxes and incoming boxes. And match from the least distance pair.

NOTE that this is too naive and trivial to be applied to production level application. Use it for test purpose.

If you need more information about object tracking task, refer https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvtracker.html

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
ext/nnstreamer/tensor_decoder/tensordec-boundingbox.c