NVIDIA DeepStream SDK API Reference
9.2 Release
9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/localizer_factory.hpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright (c) 2021-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 _NVTLOC_FACTORY_H
19
#define _NVTLOC_FACTORY_H
20
21
#include "modules/NvMultiObjectTracker/localizer.hpp"
22
#include "modules/NvMultiObjectTracker/NvMultiObjectTracker.hpp"
23
25
class
LocalizerFactory
26
{
27
public
:
29
static
LocalizerFactory
&
getInstance
()
30
{
31
static
LocalizerFactory
instance;
32
return
instance;
33
}
34
40
std::shared_ptr<IBatchLocalizer>
makeLocalizer
(
const
std::string customConfigFilePath)
41
{
43
return
std::make_shared<NvMultiObjectTrackerBase>(customConfigFilePath);
44
}
45
};
46
47
#endif // _NVTLOC_FACTORY_H
LocalizerFactory::getInstance
static LocalizerFactory & getInstance()
Return the static instance reference to the factory.
Definition:
9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/localizer_factory.hpp:29
LocalizerFactory
Creates batch localizers through a singleton factory.
Definition:
sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/localizer_factory.hpp:25
LocalizerFactory::makeLocalizer
std::shared_ptr< IBatchLocalizer > makeLocalizer(const std::string customConfigFilePath)
Create a concrete localizer from a tracker configuration.
Definition:
9.2/sources/libs/nvmultiobjecttracker/include/modules/NvMultiObjectTracker/localizer_factory.hpp:40
Privacy Policy
|
Your Privacy Choices
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Wed Oct 28 2026 12:02:08 | PR-09318-R32