Struct FourPoints

Inheritance Relationships

Base Type

Struct Documentation

struct FourPoints : public dai::OpBase

Public Functions

~FourPoints() override
FourPoints() = default
inline FourPoints(std::array<dai::Point2f, 4> src, std::array<dai::Point2f, 4> dst, bool normalized = false)
inline virtual std::string toStr() const override
DEPTHAI_SERIALIZE(FourPoints, src, dst, normalized)

Public Members

std::array<dai::Point2f, 4> src = {dai::Point2f(0.0, 0.0), dai::Point2f(1.0, 0.0), dai::Point2f(1.0, 1.0), dai::Point2f(0.0, 1.0)}
std::array<dai::Point2f, 4> dst = {dai::Point2f(0.0, 0.0), dai::Point2f(1.0, 0.0), dai::Point2f(1.0, 1.0), dai::Point2f(0.0, 1.0)}
bool normalized = false