Struct Resize

Inheritance Relationships

Base Type

Struct Documentation

struct Resize : public dai::OpBase

Public Types

enum Mode

Values:

enumerator VALUE
enumerator FIT
enumerator FILL

Public Functions

~Resize() override
Resize() = default
inline Resize(float width, float height, bool normalized = false)
inline virtual std::string toStr() const override
DEPTHAI_SERIALIZE(Resize, width, height, normalized, mode)

Public Members

float width
float height
bool normalized
Mode mode = FIT

Public Static Functions

static inline Resize fit()
static inline Resize fill()