Struct ImageManipProperties
Defined in File ImageManipProperties.hpp
Inheritance Relationships
Base Type
public dai::PropertiesSerializable< Properties, ImageManipProperties >(Template Struct PropertiesSerializable)
Struct Documentation
-
struct ImageManipProperties : public dai::PropertiesSerializable<Properties, ImageManipProperties>
Specify properties for ImageManip
Public Types
-
enum class Backend : uint8_t
Enable hardware accelerated image manipulation if set to HW. Only applied on RVC4. This can cause some unexpected behavior when using multiple ImageManip nodes in series. Currently, the only operation affected is downscaling.
Values:
-
enumerator CPU
-
enumerator HW
-
enumerator CPU
-
enum class PerformanceMode : uint8_t
Set performance mode for ImageManip with a tradeoff between performance and power consumption. Only applied on RVC4. This only affects scaling NV12 and GRAY images.
PERFORMANCE: High performance, high power consumption. Uses the OpenCV backend.
BALANCED: Balanced performance and power consumption. Uses the FastCV backend configured for high performance where possible with a fallback to OpenCV.
LOW_POWER: Low performance, low power consumption. Uses the FastCV backend configured for low power where possible with a fallback to OpenCV.
Values:
-
enumerator PERFORMANCE
-
enumerator BALANCED
-
enumerator LOW_POWER
Public Functions
-
~ImageManipProperties() override
Public Members
-
ImageManipConfig initialConfig
Initial configuration for ImageManip node.
-
int outputFrameSize = 1 * 1024 * 1024
Maximum output frame size in bytes (eg: 300x300 BGR image -> 300*300*3 bytes)
-
int numFramesPool = 4
Num frames in output pool.
-
Backend backend = Backend::CPU
Using HW backend can cause some unexpected behavior when using multiple ImageManip nodes in series.
-
PerformanceMode performanceMode = PerformanceMode::PERFORMANCE
-
enum class Backend : uint8_t