Go to the documentation of this file.
4 #include <unordered_map>
8 #include "depthai/build/config.hpp"
16 #ifdef DEPTHAI_HAVE_OPENCV_SUPPORT
17 #include <opencv2/opencv.hpp>
26 std::shared_ptr<RawBuffer>
serialize()
const override;
42 explicit ImgFrame(std::shared_ptr<RawImgFrame> ptr);
111 ImgFrame&
setTimestamp(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp);
116 ImgFrame&
setTimestampDevice(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp);
174 #ifdef DEPTHAI_HAVE_OPENCV_SUPPORT
192 cv::Mat
getFrame(
bool copy =
false);
208 template <
typename... T>
210 static constexpr
bool value =
false;
212 template <
typename... T>
217 template <
typename... T>
221 template <
typename... T>
ImgFrame & setTimestampDevice(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
float getLensPositionRaw() const
ImgFrame & setSequenceNum(int64_t seq)
ImgFrame & setSize(unsigned int width, unsigned int height)
ImgFrame & setWidth(unsigned int width)
std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > getTimestamp() const
static constexpr bool value
std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > getTimestampDevice() const
unsigned int getHeight() const
virtual ~ImgFrame()=default
unsigned int getCategory() const
std::chrono::microseconds getExposureTime() const
constexpr auto size(const C &c) -> decltype(c.size())
int getColorTemperature() const
unsigned int getInstanceNum() const
ImgFrame & setCategory(unsigned int category)
ImgFrame & setInstanceNum(unsigned int instance)
std::shared_ptr< RawBuffer > serialize() const override
Base message - buffer of binary data.
ImgFrame & setTimestamp(std::chrono::time_point< std::chrono::steady_clock, std::chrono::steady_clock::duration > timestamp)
ImgFrame & setType(Type type)
ImgFrame & setHeight(unsigned int height)
int getLensPosition() const
ImgFrame & setFrame(T...)
int getSensitivity() const
unsigned int getWidth() const
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19