NVIDIA DeepStream SDK API Reference

9.2 Release
sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef DUMMYREIDSERVICE_HPP_
19 #define DUMMYREIDSERVICE_HPP_
20 
21 #include <deque>
22 #include <map>
23 #include "modules/ReIDService/IReIDService.hpp"
24 
27 {
28 public:
33  DummyReIDService(const std::string &configFilePath)
34  {
35  m_isInit = false;
36  };
37 
39  virtual ~DummyReIDService(){};
40 
47  void initialize(
48  const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream,
49  const std::shared_ptr<NvTrackedObjectManager> &targetManager
50  ) override
51  {
52  m_isInit = true;
53  };
54 
59  void queryParams(NvMOTQuery &paramsQuery){};
60 
65  void query(const std::map<NvMOTStreamId, NvMOTFrame *> &inputMeta){};
66 
68  void updateTargetIDs(){};
69 
72 
73 protected:
74  bool m_isInit;
75 };
76 
77 #endif // DUMMYREIDSERVICE_HPP_
DummyReIDService
Provides a no-op remote ReID service implementation.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp:26
DummyReIDService::updateTargetIDs
void updateTargetIDs()
Update target ID using remoteTargetID from reid service.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp:68
DUMMY_REID_SERVICE
@ DUMMY_REID_SERVICE
No-op implementation that performs no remote association.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/IReIDService.hpp:29
DummyReIDService::getReIDServiceType
const REID_SERVICE_TYPES getReIDServiceType() override
Get the configured ReID-service implementation type.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp:71
DummyReIDService::initialize
void initialize(const SourceFrameInfo &frameInfo, const uint maxTargetsPerStream, const std::shared_ptr< NvTrackedObjectManager > &targetManager) override
Initialize variables and allocate memories.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp:47
uint
unsigned int uint
Definition: sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h:25
DummyReIDService::query
void query(const std::map< NvMOTStreamId, NvMOTFrame * > &inputMeta)
Send query to reid service for all unmatched active objects.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp:65
DummyReIDService::m_isInit
bool m_isInit
Reid status if runtime variables initialized.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp:74
DummyReIDService::~DummyReIDService
virtual ~DummyReIDService()
Release resources owned by the DummyReIDService instance.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp:39
REID_SERVICE_TYPES
REID_SERVICE_TYPES
Identifies the available ReID-service implementations.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/IReIDService.hpp:27
_NvMOTQuery
Holds the capabilities and requirements reported by the tracker library.
Definition: includes/nvdstracker.h:420
SourceFrameInfo
Information about the input source frames for the input frame batch.
Definition: sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/NvMultiObjectTracker_common.hpp:49
DummyReIDService::queryParams
void queryParams(NvMOTQuery &paramsQuery)
Populate the capabilities reported to the tracker.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp:59
IReIDService
Defines the interface for remote ReID association services.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/IReIDService.hpp:34
DummyReIDService::DummyReIDService
DummyReIDService(const std::string &configFilePath)
Construct a DummyReIDService instance from configuration.
Definition: sources/libs/nvmultiobjecttracker/include/modules/ReIDService/DummyReIDService.hpp:33