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
include
depthai
pipeline
datatype
SpatialImgDetections.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <chrono>
4
#include <unordered_map>
5
#include <vector>
6
7
#include "
depthai-shared/datatype/RawSpatialImgDetections.hpp
"
8
#include "
depthai/pipeline/datatype/Buffer.hpp
"
9
10
namespace
dai
{
11
15
class
SpatialImgDetections
:
public
Buffer
{
16
std::shared_ptr<RawBuffer>
serialize
()
const override
;
17
RawSpatialImgDetections
&
dets
;
18
19
public
:
23
SpatialImgDetections
();
24
explicit
SpatialImgDetections
(std::shared_ptr<RawSpatialImgDetections> ptr);
25
virtual
~SpatialImgDetections
() =
default
;
26
30
std::vector<SpatialImgDetection>&
detections
;
31
35
SpatialImgDetections
&
setTimestamp
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp);
36
40
SpatialImgDetections
&
setTimestampDevice
(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp);
41
45
SpatialImgDetections
&
setSequenceNum
(int64_t sequenceNum);
46
};
47
48
}
// namespace dai
dai::SpatialImgDetections::dets
RawSpatialImgDetections & dets
Definition:
SpatialImgDetections.hpp:17
dai::SpatialImgDetections::detections
std::vector< SpatialImgDetection > & detections
Definition:
SpatialImgDetections.hpp:30
dai::SpatialImgDetections::serialize
std::shared_ptr< RawBuffer > serialize() const override
Definition:
SpatialImgDetections.cpp:5
dai::SpatialImgDetections::setTimestamp
SpatialImgDetections & setTimestamp(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
Definition:
SpatialImgDetections.cpp:15
dai::SpatialImgDetections
Definition:
SpatialImgDetections.hpp:15
dai::SpatialImgDetections::setSequenceNum
SpatialImgDetections & setSequenceNum(int64_t sequenceNum)
Definition:
SpatialImgDetections.cpp:23
dai::SpatialImgDetections::~SpatialImgDetections
virtual ~SpatialImgDetections()=default
dai::Buffer
Base message - buffer of binary data.
Definition:
Buffer.hpp:13
dai::RawSpatialImgDetections
RawSpatialImgDetections structure.
Definition:
RawSpatialImgDetections.hpp:23
dai::SpatialImgDetections::SpatialImgDetections
SpatialImgDetections()
Definition:
SpatialImgDetections.cpp:9
dai::SpatialImgDetections::setTimestampDevice
SpatialImgDetections & setTimestampDevice(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
Definition:
SpatialImgDetections.cpp:19
Buffer.hpp
dai
Definition:
CameraExposureOffset.hpp:6
RawSpatialImgDetections.hpp
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19