Program Listing for File ImageManipProperties.hpp
↰ Return to documentation for file (include/depthai/properties/ImageManipProperties.hpp)
#pragma once
#include "depthai/common/optional.hpp"
#include "depthai/pipeline/datatype/ImageManipConfig.hpp"
#include "depthai/properties/Properties.hpp"
namespace dai {
struct ImageManipProperties : PropertiesSerializable<Properties, ImageManipProperties> {
enum class Backend : uint8_t { CPU, HW };
enum class PerformanceMode : uint8_t { PERFORMANCE, BALANCED, LOW_POWER };
ImageManipConfig initialConfig;
int outputFrameSize = 1 * 1024 * 1024;
int numFramesPool = 4;
Backend backend = Backend::CPU;
PerformanceMode performanceMode = PerformanceMode::PERFORMANCE;
~ImageManipProperties() override;
};
DEPTHAI_SERIALIZE_EXT(ImageManipProperties, initialConfig, outputFrameSize, numFramesPool, backend, performanceMode);
} // namespace dai