Program Listing for File WarpProperties.hpp

Return to documentation for file (include/depthai/properties/WarpProperties.hpp)

#pragma once

#include "depthai/common/EepromData.hpp"
#include "depthai/common/Interpolation.hpp"
#include "depthai/common/optional.hpp"
#include "depthai/properties/Properties.hpp"

namespace dai {

struct WarpProperties : PropertiesSerializable<Properties, WarpProperties> {
    int outputWidth = 0;

    int outputHeight = 0;

    int outputFrameSize = 1 * 1024 * 1024;

    int numFramesPool = 4;

    int meshWidth = 0;
    int meshHeight = 0;
    std::string meshUri = "";

    std::vector<int> warpHwIds;

    Interpolation interpolation = Interpolation::AUTO;

    ~WarpProperties() override;
};

DEPTHAI_SERIALIZE_EXT(WarpProperties, outputWidth, outputHeight, outputFrameSize, numFramesPool, meshWidth, meshHeight, meshUri, warpHwIds, interpolation);

}  // namespace dai