#include <ImgDetections.hpp>

Public Member Functions | |
| ImgDetections () | |
| Construct ImgDetections message. More... | |
| ImgDetections (std::shared_ptr< RawImgDetections > ptr) | |
| ImgDetections & | setSequenceNum (int64_t sequenceNum) |
| ImgDetections & | setTimestamp (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
| ImgDetections & | setTimestampDevice (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
| virtual | ~ImgDetections ()=default |
Public Member Functions inherited from dai::Buffer | |
| Buffer () | |
| Creates Buffer message. More... | |
| Buffer (std::shared_ptr< dai::RawBuffer > ptr) | |
| std::vector< std::uint8_t > & | getData () const |
| Get non-owning reference to internal buffer. More... | |
| int64_t | getSequenceNum () const |
| std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | getTimestamp () const |
| std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | getTimestampDevice () const |
| void | setData (const std::vector< std::uint8_t > &data) |
| void | setData (std::vector< std::uint8_t > &&data) |
| Buffer & | setSequenceNum (int64_t sequenceNum) |
| Buffer & | setTimestamp (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
| Buffer & | setTimestampDevice (std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp) |
| virtual | ~Buffer ()=default |
Public Member Functions inherited from dai::ADatatype | |
| ADatatype (std::shared_ptr< RawBuffer > r) | |
| std::shared_ptr< RawBuffer > | getRaw () const |
| virtual | ~ADatatype ()=default |
Public Attributes | |
| std::vector< ImgDetection > & | detections |
| Detections. More... | |
Private Member Functions | |
| std::shared_ptr< RawBuffer > | serialize () const override |
Private Attributes | |
| RawImgDetections & | dets |
Additional Inherited Members | |
Protected Attributes inherited from dai::ADatatype | |
| std::shared_ptr< RawBuffer > | raw |
ImgDetections message. Carries normalized detection results
Definition at line 14 of file ImgDetections.hpp.
| dai::ImgDetections::ImgDetections | ( | ) |
Construct ImgDetections message.
Definition at line 9 of file ImgDetections.cpp.
|
explicit |
Definition at line 10 of file ImgDetections.cpp.
|
virtualdefault |
|
overrideprivatevirtual |
Reimplemented from dai::Buffer.
Definition at line 5 of file ImgDetections.cpp.
| ImgDetections & dai::ImgDetections::setSequenceNum | ( | int64_t | sequenceNum | ) |
Retrieves image sequence number
Definition at line 22 of file ImgDetections.cpp.
| ImgDetections & dai::ImgDetections::setTimestamp | ( | std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | timestamp | ) |
Sets image timestamp related to dai::Clock::now()
Definition at line 14 of file ImgDetections.cpp.
| ImgDetections & dai::ImgDetections::setTimestampDevice | ( | std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > | timestamp | ) |
Sets image timestamp related to dai::Clock::now()
Definition at line 18 of file ImgDetections.cpp.
| std::vector<ImgDetection>& dai::ImgDetections::detections |
Detections.
Definition at line 25 of file ImgDetections.hpp.
|
private |
Definition at line 16 of file ImgDetections.hpp.