Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
b
c
d
e
h
i
l
m
n
p
r
s
u
x
Typedefs
b
c
d
e
f
g
i
m
p
r
u
v
Enumerations
Enumerator
a
b
f
g
i
m
n
r
s
u
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
m
n
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
k
l
m
p
r
s
t
v
w
Enumerator
a
b
d
f
g
h
i
l
m
n
o
p
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Macros
_
d
f
i
m
n
p
s
t
u
src
pipeline
node
AprilTag.cpp
Go to the documentation of this file.
1
#include "
depthai/pipeline/node/AprilTag.hpp
"
2
3
#include "spdlog/fmt/fmt.h"
4
5
namespace
dai
{
6
namespace
node {
7
8
AprilTag::AprilTag
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId) :
AprilTag
(par, nodeId,
std
::make_unique<
AprilTag
::
Properties
>()) {}
9
AprilTag::AprilTag
(
const
std::shared_ptr<PipelineImpl>& par, int64_t nodeId, std::unique_ptr<Properties> props)
10
:
NodeCRTP
<
Node
,
AprilTag
,
AprilTagProperties
>(par, nodeId,
std
::move(props)), rawConfig(
std
::make_shared<
RawAprilTagConfig
>()), initialConfig(rawConfig) {
11
setInputRefs
({&
inputConfig
, &
inputImage
});
12
setOutputRefs
({&
out
, &
passthroughInputImage
});
13
}
14
15
AprilTag::Properties
&
AprilTag::getProperties
() {
16
properties
.
initialConfig
= *
rawConfig
;
17
return
properties
;
18
}
19
20
// Node properties configuration
21
void
AprilTag::setWaitForConfigInput
(
bool
wait) {
22
properties
.
inputConfigSync
= wait;
23
}
24
25
}
// namespace node
26
}
// namespace dai
dai::NodeCRTP< Node, AprilTag, AprilTagProperties >::properties
Properties & properties
Underlying properties.
Definition:
Node.hpp:346
dai::node::AprilTag::passthroughInputImage
Output passthroughInputImage
Definition:
AprilTag.hpp:60
dai::Node::setInputRefs
void setInputRefs(std::initializer_list< Input * > l)
dai::node::AprilTag::AprilTag
AprilTag(const std::shared_ptr< PipelineImpl > &par, int64_t nodeId)
Definition:
AprilTag.cpp:8
dai::Node
Abstract Node.
Definition:
Node.hpp:29
dai::node::AprilTag::out
Output out
Definition:
AprilTag.hpp:49
dai::NodeCRTP
Definition:
Node.hpp:342
dai::AprilTagProperties
Definition:
AprilTagProperties.hpp:13
dai::RawAprilTagConfig
RawAprilTags configuration structure.
Definition:
RawAprilTagConfig.hpp:13
dai::node::AprilTag::rawConfig
std::shared_ptr< RawAprilTagConfig > rawConfig
Definition:
AprilTag.hpp:24
dai::node::AprilTag::inputConfig
Input inputConfig
Definition:
AprilTag.hpp:39
dai::Properties
Base Properties structure.
Definition:
Properties.hpp:8
dai::AprilTagProperties::inputConfigSync
bool inputConfigSync
Whether to wait for config at 'inputConfig' IO.
Definition:
AprilTagProperties.hpp:17
dai::node::AprilTag::inputImage
Input inputImage
Definition:
AprilTag.hpp:44
dai::Node::setOutputRefs
void setOutputRefs(std::initializer_list< Output * > l)
AprilTag.hpp
std
Definition:
Node.hpp:366
dai::node::AprilTag::setWaitForConfigInput
void setWaitForConfigInput(bool wait)
Definition:
AprilTag.cpp:21
dai::node::AprilTag
AprilTag node.
Definition:
AprilTag.hpp:16
dai::node::AprilTag::getProperties
Properties & getProperties()
Definition:
AprilTag.cpp:15
dai
Definition:
CameraExposureOffset.hpp:6
dai::AprilTagProperties::initialConfig
RawAprilTagConfig initialConfig
Definition:
AprilTagProperties.hpp:14
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:18