# DepthAI Python API

DepthAI Python API can be found on Github [luxonis/depthai-python](https://github.com/luxonis/depthai-python). Below is the
reference documentation for the Python API.

### depthai

Kind: Package

#### node

Kind: Module

##### depthai.node.AprilTag(depthai.Node)

Kind: Class

AprilTag node.

###### setWaitForConfigInput(self, wait: bool)

Kind: Method

Specify whether or not wait until configuration message arrives to inputConfig
Input.

Parameter ``wait``:
True to wait for configuration message, false otherwise.

###### initialConfig

Kind: Property

Initial config to use when calculating spatial location data.

###### inputConfig

Kind: Property

Input AprilTagConfig message with ability to modify parameters in runtime.
Default queue is non-blocking with size 4.

###### inputImage

Kind: Property

Input message with depth data used to retrieve spatial information about
detected object. Default queue is non-blocking with size 4.

###### out

Kind: Property

Outputs AprilTags message that carries spatial location results.

###### passthroughInputImage

Kind: Property

Passthrough message on which the calculation was performed. Suitable for when
input queue is set to non-blocking behavior.

##### depthai.node.Camera(depthai.Node)

Kind: Class

Camera node. Experimental node, for both mono and color types of sensors

###### getBoardSocket(self) -> depthai.CameraBoardSocket: depthai.CameraBoardSocket

Kind: Method

Retrieves which board socket to use

Returns:
Board socket to use

###### getCalibrationAlpha(self) -> float|None: float|None

Kind: Method

Get calibration alpha parameter that determines FOV of undistorted frames

###### getCamera(self) -> str: str

Kind: Method

Retrieves which camera to use by name

Returns:
Name of the camera to use

###### getFps(self) -> float: float

Kind: Method

Get rate at which camera should produce frames

Returns:
Rate in frames per second

###### getHeight(self) -> int: int

Kind: Method

Get sensor resolution height

###### getImageOrientation(self) -> depthai.CameraImageOrientation: depthai.CameraImageOrientation

Kind: Method

Get camera image orientation

###### getMeshSource(self) -> depthai.CameraProperties.WarpMeshSource: depthai.CameraProperties.WarpMeshSource

Kind: Method

Gets the source of the warp mesh

###### getMeshStep(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Gets the distance between mesh points

###### getPreviewHeight(self) -> int: int

Kind: Method

Get preview height

###### getPreviewSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get preview size as tuple

###### getPreviewWidth(self) -> int: int

Kind: Method

Get preview width

###### getSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get sensor resolution as size

###### getStillHeight(self) -> int: int

Kind: Method

Get still height

###### getStillSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get still size as tuple

###### getStillWidth(self) -> int: int

Kind: Method

Get still width

###### getVideoHeight(self) -> int: int

Kind: Method

Get video height

###### getVideoSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get video size as tuple

###### getVideoWidth(self) -> int: int

Kind: Method

Get video width

###### getWidth(self) -> int: int

Kind: Method

Get sensor resolution width

###### loadMeshData(self, warpMesh: typing_extensions.Buffer)

Kind: Method

Specify mesh calibration data for undistortion See `loadMeshFiles` for the
expected data format

###### loadMeshFile(self, warpMesh: Path)

Kind: Method

Specify local filesystem paths to the undistort mesh calibration files.

When a mesh calibration is set, it overrides the camera intrinsics/extrinsics
matrices. Overrides useHomographyRectification behavior. Mesh format: a sequence
of (y,x) points as 'float' with coordinates from the input image to be mapped in
the output. The mesh can be subsampled, configured by `setMeshStep`.

With a 1280x800 resolution and the default (16,16) step, the required mesh size
is:

width: 1280 / 16 + 1 = 81

height: 800 / 16 + 1 = 51

###### setBoardSocket(self, boardSocket: depthai.CameraBoardSocket)

Kind: Method

Specify which board socket to use

Parameter ``boardSocket``:
Board socket to use

###### setCalibrationAlpha(self, alpha: typing.SupportsFloat)

Kind: Method

Set calibration alpha parameter that determines FOV of undistorted frames

###### setCamera(self, name: str)

Kind: Method

Specify which camera to use by name

Parameter ``name``:
Name of the camera to use

###### setFps(self, fps: typing.SupportsFloat)

Kind: Method

Set rate at which camera should produce frames

Parameter ``fps``:
Rate in frames per second

###### setImageOrientation(self, imageOrientation: depthai.CameraImageOrientation)

Kind: Method

Set camera image orientation

###### setIsp3aFps(self, isp3aFps: typing.SupportsInt)

Kind: Method

Isp 3A rate (auto focus, auto exposure, auto white balance, camera controls
etc.). Default (0) matches the camera FPS, meaning that 3A is running on each
frame. Reducing the rate of 3A reduces the CPU usage on CSS, but also increases
the convergence rate of 3A. Note that camera controls will be processed at this
rate. E.g. if camera is running at 30 fps, and camera control is sent at every
frame, but 3A fps is set to 15, the camera control messages will be processed at
15 fps rate, which will lead to queueing.

###### setMeshSource(self, source: depthai.CameraProperties.WarpMeshSource)

Kind: Method

Set the source of the warp mesh or disable

###### setMeshStep(self, width: typing.SupportsInt, height: typing.SupportsInt)

Kind: Method

Set the distance between mesh points. Default: (32, 32)

###### setPreviewSize()

Kind: Method

###### setRawOutputPacked(self, packed: bool)

Kind: Method

Configures whether the camera `raw` frames are saved as MIPI-packed to memory.
The packed format is more efficient, consuming less memory on device, and less
data to send to host: RAW10: 4 pixels saved on 5 bytes, RAW12: 2 pixels saved on
3 bytes. When packing is disabled (`false`), data is saved lsb-aligned, e.g. a
RAW10 pixel will be stored as uint16, on bits 9..0: 0b0000'00pp'pppp'pppp.
Default is auto: enabled for standard color/monochrome cameras where ISP can
work with both packed/unpacked, but disabled for other cameras like ToF.

###### setSize()

Kind: Method

###### setStillSize()

Kind: Method

###### setVideoSize()

Kind: Method

###### frameEvent

Kind: Property

Outputs metadata-only ImgFrame message as an early indicator of an incoming
frame.

It's sent on the MIPI SoF (start-of-frame) event, just after the exposure of the
current frame has finished and before the exposure for next frame starts. Could
be used to synchronize various processes with camera capture. Fields populated:
camera id, sequence number, timestamp

###### initialControl

Kind: Property

Initial control options to apply to sensor

###### inputConfig

Kind: Property

Input for ImageManipConfig message, which can modify crop parameters in runtime

Default queue is non-blocking with size 8

###### inputControl

Kind: Property

Input for CameraControl message, which can modify camera parameters in runtime

Default queue is blocking with size 8

###### isp

Kind: Property

Outputs ImgFrame message that carries YUV420 planar (I420/IYUV) frame data.

Generated by the ISP engine, and the source for the 'video', 'preview' and
'still' outputs

###### preview

Kind: Property

Outputs ImgFrame message that carries BGR/RGB planar/interleaved encoded frame
data.

Suitable for use with NeuralNetwork node

###### raw

Kind: Property

Outputs ImgFrame message that carries RAW10-packed (MIPI CSI-2 format) frame
data.

Captured directly from the camera sensor, and the source for the 'isp' output.

###### still

Kind: Property

Outputs ImgFrame message that carries NV12 encoded (YUV420, UV plane
interleaved) frame data.

The message is sent only when a CameraControl message arrives to inputControl
with captureStill command set.

###### video

Kind: Property

Outputs ImgFrame message that carries NV12 encoded (YUV420, UV plane
interleaved) frame data.

Suitable for use with VideoEncoder node

##### depthai.node.Cast(depthai.Node)

Kind: Class

Cast node.

###### setNumFramesPool(self, arg0: typing.SupportsInt) -> Cast: Cast

Kind: Method

Set number of frames in pool

Parameter ``numFramesPool``:
Number of frames in pool

###### setOffset(self, arg0: typing.SupportsFloat) -> Cast: Cast

Kind: Method

Set offset

Parameter ``offset``:
Offset

###### setOutputFrameType(self, arg0: depthai.RawImgFrame.Type) -> Cast: Cast

Kind: Method

Set output frame type

Parameter ``outputType``:
Output frame type

###### setScale(self, arg0: typing.SupportsFloat) -> Cast: Cast

Kind: Method

Set scale

Parameter ``scale``:
Scale

###### input

Kind: Property

Input NNData or ImgFrame message.

###### output

Kind: Property

Output ImgFrame message.

###### passthroughInput

Kind: Property

Passthrough input message.

##### depthai.node.ColorCamera(depthai.Node)

Kind: Class

ColorCamera node. For use with color sensors.

###### getBoardSocket(self) -> depthai.CameraBoardSocket: depthai.CameraBoardSocket

Kind: Method

Retrieves which board socket to use

Returns:
Board socket to use

###### getCamId(self) -> int: int

Kind: Method

###### getCamera(self) -> str: str

Kind: Method

Retrieves which camera to use by name

Returns:
Name of the camera to use

###### getColorOrder(self) -> depthai.ColorCameraProperties.ColorOrder: depthai.ColorCameraProperties.ColorOrder

Kind: Method

Get color order of preview output frames. RGB or BGR

###### getFp16(self) -> bool: bool

Kind: Method

Get fp16 (0..255) data of preview output frames

###### getFps(self) -> float: float

Kind: Method

Get rate at which camera should produce frames

Returns:
Rate in frames per second

###### getFrameEventFilter(self) -> list[depthai.FrameEvent]: list[depthai.FrameEvent]

Kind: Method

###### getImageOrientation(self) -> depthai.CameraImageOrientation: depthai.CameraImageOrientation

Kind: Method

Get camera image orientation

###### getInterleaved(self) -> bool: bool

Kind: Method

Get planar or interleaved data of preview output frames

###### getIspHeight(self) -> int: int

Kind: Method

Get 'isp' output height

###### getIspNumFramesPool(self) -> int: int

Kind: Method

Get number of frames in isp pool

###### getIspSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get 'isp' output resolution as size, after scaling

###### getIspWidth(self) -> int: int

Kind: Method

Get 'isp' output width

###### getPreviewHeight(self) -> int: int

Kind: Method

Get preview height

###### getPreviewKeepAspectRatio(self) -> bool: bool

Kind: Method

See also:
setPreviewKeepAspectRatio

Returns:
Preview keep aspect ratio option

###### getPreviewNumFramesPool(self) -> int: int

Kind: Method

Get number of frames in preview pool

###### getPreviewSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get preview size as tuple

###### getPreviewWidth(self) -> int: int

Kind: Method

Get preview width

###### getRawNumFramesPool(self) -> int: int

Kind: Method

Get number of frames in raw pool

###### getResolution(self) -> depthai.ColorCameraProperties.SensorResolution: depthai.ColorCameraProperties.SensorResolution

Kind: Method

Get sensor resolution

###### getResolutionHeight(self) -> int: int

Kind: Method

Get sensor resolution height

###### getResolutionSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get sensor resolution as size

###### getResolutionWidth(self) -> int: int

Kind: Method

Get sensor resolution width

###### getSensorCrop(self) -> tuple[float, float]: tuple[float, float]

Kind: Method

Returns:
Sensor top left crop coordinates

###### getSensorCropX(self) -> float: float

Kind: Method

Get sensor top left x crop coordinate

###### getSensorCropY(self) -> float: float

Kind: Method

Get sensor top left y crop coordinate

###### getStillHeight(self) -> int: int

Kind: Method

Get still height

###### getStillNumFramesPool(self) -> int: int

Kind: Method

Get number of frames in still pool

###### getStillSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get still size as tuple

###### getStillWidth(self) -> int: int

Kind: Method

Get still width

###### getVideoHeight(self) -> int: int

Kind: Method

Get video height

###### getVideoNumFramesPool(self) -> int: int

Kind: Method

Get number of frames in video pool

###### getVideoSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get video size as tuple

###### getVideoWidth(self) -> int: int

Kind: Method

Get video width

###### getWaitForConfigInput(self) -> bool: bool

Kind: Method

See also:
setWaitForConfigInput

Returns:
True if wait for inputConfig message, false otherwise

###### sensorCenterCrop(self)

Kind: Method

Specify sensor center crop. Resolution size / video size

###### setBoardSocket(self, boardSocket: depthai.CameraBoardSocket)

Kind: Method

Specify which board socket to use

Parameter ``boardSocket``:
Board socket to use

###### setCamId(self, arg0: typing.SupportsInt)

Kind: Method

###### setCamera(self, name: str)

Kind: Method

Specify which camera to use by name

Parameter ``name``:
Name of the camera to use

###### setColorOrder(self, colorOrder: depthai.ColorCameraProperties.ColorOrder)

Kind: Method

Set color order of preview output images. RGB or BGR

###### setFp16(self, fp16: bool)

Kind: Method

Set fp16 (0..255) data type of preview output frames

###### setFps(self, fps: typing.SupportsFloat)

Kind: Method

Set rate at which camera should produce frames

Parameter ``fps``:
Rate in frames per second

###### setFrameEventFilter(self, events: collections.abc.Sequence [ depthai.FrameEvent ])

Kind: Method

###### setImageOrientation(self, imageOrientation: depthai.CameraImageOrientation)

Kind: Method

Set camera image orientation

###### setInterleaved(self, interleaved: bool)

Kind: Method

Set planar or interleaved data of preview output frames

###### setIsp3aFps(self, isp3aFps: typing.SupportsInt)

Kind: Method

Isp 3A rate (auto focus, auto exposure, auto white balance, camera controls
etc.). Default (0) matches the camera FPS, meaning that 3A is running on each
frame. Reducing the rate of 3A reduces the CPU usage on CSS, but also increases
the convergence rate of 3A. Note that camera controls will be processed at this
rate. E.g. if camera is running at 30 fps, and camera control is sent at every
frame, but 3A fps is set to 15, the camera control messages will be processed at
15 fps rate, which will lead to queueing.

###### setIspNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Set number of frames in isp pool

###### setIspScale()

Kind: Method

###### setNumFramesPool(self, raw: typing.SupportsInt, isp: typing.SupportsInt, preview: typing.SupportsInt, video:
typing.SupportsInt, still: typing.SupportsInt)

Kind: Method

Set number of frames in all pools

###### setPreviewKeepAspectRatio(self, keep: bool)

Kind: Method

Specifies whether preview output should preserve aspect ratio, after downscaling
from video size or not.

Parameter ``keep``:
If true, a larger crop region will be considered to still be able to create
the final image in the specified aspect ratio. Otherwise video size is
resized to fit preview size

###### setPreviewNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Set number of frames in preview pool

###### setPreviewSize()

Kind: Method

###### setRawNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Set number of frames in raw pool

###### setRawOutputPacked(self, packed: bool)

Kind: Method

Configures whether the camera `raw` frames are saved as MIPI-packed to memory.
The packed format is more efficient, consuming less memory on device, and less
data to send to host: RAW10: 4 pixels saved on 5 bytes, RAW12: 2 pixels saved on
3 bytes. When packing is disabled (`false`), data is saved lsb-aligned, e.g. a
RAW10 pixel will be stored as uint16, on bits 9..0: 0b0000'00pp'pppp'pppp.
Default is auto: enabled for standard color/monochrome cameras where ISP can
work with both packed/unpacked, but disabled for other cameras like ToF.

###### setResolution(self, resolution: depthai.ColorCameraProperties.SensorResolution)

Kind: Method

Set sensor resolution

###### setSensorCrop(self, x: typing.SupportsFloat, y: typing.SupportsFloat)

Kind: Method

Specifies the cropping that happens when converting ISP to video output. By
default, video will be center cropped from the ISP output. Note that this
doesn't actually do on-sensor cropping (and MIPI-stream only that region), but
it does postprocessing on the ISP (on RVC).

Parameter ``x``:
Top left X coordinate

Parameter ``y``:
Top left Y coordinate

###### setStillNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Set number of frames in preview pool

###### setStillSize()

Kind: Method

###### setVideoNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Set number of frames in preview pool

###### setVideoSize()

Kind: Method

###### setWaitForConfigInput(self, wait: bool)

Kind: Method

Specify to wait until inputConfig receives a configuration message, before
sending out a frame.

Parameter ``wait``:
True to wait for inputConfig message, false otherwise

###### frameEvent

Kind: Property

Outputs metadata-only ImgFrame message as an early indicator of an incoming
frame.

It's sent on the MIPI SoF (start-of-frame) event, just after the exposure of the
current frame has finished and before the exposure for next frame starts. Could
be used to synchronize various processes with camera capture. Fields populated:
camera id, sequence number, timestamp

###### initialControl

Kind: Property

Initial control options to apply to sensor

###### inputConfig

Kind: Property

Input for ImageManipConfig message, which can modify crop parameters in runtime

Default queue is non-blocking with size 8

###### inputControl

Kind: Property

Input for CameraControl message, which can modify camera parameters in runtime

Default queue is blocking with size 8

###### isp

Kind: Property

Outputs ImgFrame message that carries YUV420 planar (I420/IYUV) frame data.

Generated by the ISP engine, and the source for the 'video', 'preview' and
'still' outputs

###### preview

Kind: Property

Outputs ImgFrame message that carries BGR/RGB planar/interleaved encoded frame
data.

Suitable for use with NeuralNetwork node

###### raw

Kind: Property

Outputs ImgFrame message that carries RAW10-packed (MIPI CSI-2 format) frame
data.

Captured directly from the camera sensor, and the source for the 'isp' output.

###### still

Kind: Property

Outputs ImgFrame message that carries NV12 encoded (YUV420, UV plane
interleaved) frame data.

The message is sent only when a CameraControl message arrives to inputControl
with captureStill command set.

###### video

Kind: Property

Outputs ImgFrame message that carries NV12 encoded (YUV420, UV plane
interleaved) frame data.

Suitable for use with VideoEncoder node

##### depthai.node.DetectionNetwork(depthai.node.NeuralNetwork)

Kind: Class

DetectionNetwork, base for different network specializations

###### getConfidenceThreshold(self) -> float: float

Kind: Method

Retrieves threshold at which to filter the rest of the detections.

Returns:
Detection confidence

###### setConfidenceThreshold(self, thresh: typing.SupportsFloat)

Kind: Method

Specifies confidence threshold at which to filter the rest of the detections.

Parameter ``thresh``:
Detection confidence must be greater than specified threshold to be added to
the list

###### input

Kind: Property

Input message with data to be inferred upon Default queue is blocking with size
5

###### out

Kind: Property

Outputs ImgDetections message that carries parsed detection results. Overrides
NeuralNetwork 'out' with ImgDetections output message type.

###### outNetwork

Kind: Property

Outputs unparsed inference results.

###### passthrough

Kind: Property

Passthrough message on which the inference was performed.

Suitable for when input queue is set to non-blocking behavior.

##### depthai.node.DetectionParser(depthai.Node)

Kind: Class

DetectionParser node. Parses detection results from different neural networks
and is being used internally by MobileNetDetectionNetwork and
YoloDetectionNetwork.

###### getAnchorMasks(self) -> dict[str, list[int]]: dict[str, list[int]]

Kind: Method

Get anchor masks

###### getAnchors(self) -> list[float]: list[float]

Kind: Method

Get anchors

###### getConfidenceThreshold(self) -> float: float

Kind: Method

Retrieves threshold at which to filter the rest of the detections.

Returns:
Detection confidence

###### getCoordinateSize(self) -> int: int

Kind: Method

Get coordianate size

###### getIouThreshold(self) -> float: float

Kind: Method

Get Iou threshold

###### getNNFamily(self) -> depthai.DetectionNetworkType: depthai.DetectionNetworkType

Kind: Method

Gets NN Family to parse

###### getNumClasses(self) -> int: int

Kind: Method

Get num classes

###### getNumFramesPool(self) -> int: int

Kind: Method

Returns number of frames in pool

###### setAnchorMasks(self, anchorMasks: collections.abc.Mapping [ str , collections.abc.Sequence [ typing.SupportsInt ] ])

Kind: Method

Set anchor masks

###### setAnchors(self, anchors: collections.abc.Sequence [ typing.SupportsFloat ])

Kind: Method

Set anchors

###### setBlob(self, blob: depthai.OpenVINO.Blob)

Kind: Method

Retrieves some input tensor information from the blob

Parameter ``blob``:
OpenVINO blob to retrieve the information from

###### setConfidenceThreshold(self, thresh: typing.SupportsFloat)

Kind: Method

Specifies confidence threshold at which to filter the rest of the detections.

Parameter ``thresh``:
Detection confidence must be greater than specified threshold to be added to
the list

###### setCoordinateSize(self, coordinates: typing.SupportsInt)

Kind: Method

Set coordianate size

###### setIouThreshold(self, thresh: typing.SupportsFloat)

Kind: Method

Set Iou threshold

###### setNNFamily(self, type: depthai.DetectionNetworkType)

Kind: Method

Sets NN Family to parse

###### setNumClasses(self, numClasses: typing.SupportsInt)

Kind: Method

Set num classes

###### setNumFramesPool(self, numFramesPool: typing.SupportsInt)

Kind: Method

Specify number of frames in pool.

Parameter ``numFramesPool``:
How many frames should the pool have

###### input

Kind: Property

Input NN results with detection data to parse Default queue is blocking with
size 5

###### out

Kind: Property

Outputs image frame with detected edges

##### depthai.node.EdgeDetector(depthai.Node)

Kind: Class

EdgeDetector node. Performs edge detection using 3x3 Sobel filter

###### getWaitForConfigInput(self) -> bool: bool

Kind: Method

See also:
setWaitForConfigInput

Returns:
True if wait for inputConfig message, false otherwise

###### setMaxOutputFrameSize(self, arg0: typing.SupportsInt)

Kind: Method

Specify maximum size of output image.

Parameter ``maxFrameSize``:
Maximum frame size in bytes

###### setNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Specify number of frames in pool.

Parameter ``numFramesPool``:
How many frames should the pool have

###### setWaitForConfigInput(self, wait: bool)

Kind: Method

Specify whether or not wait until configuration message arrives to inputConfig
Input.

Parameter ``wait``:
True to wait for configuration message, false otherwise.

###### initialConfig

Kind: Property

Initial config to use for edge detection.

###### inputConfig

Kind: Property

Input EdgeDetectorConfig message with ability to modify parameters in runtime.
Default queue is non-blocking with size 4.

###### inputImage

Kind: Property

Input image on which edge detection is performed. Default queue is non-blocking
with size 4.

###### outputImage

Kind: Property

Outputs image frame with detected edges

##### depthai.node.FeatureTracker(depthai.Node)

Kind: Class

FeatureTracker node. Performs feature tracking and reidentification using motion
estimation between 2 consecutive frames.

###### getWaitForConfigInput(self) -> bool: bool

Kind: Method

See also:
setWaitForConfigInput

Returns:
True if wait for inputConfig message, false otherwise

###### setHardwareResources(self, numShaves: typing.SupportsInt, numMemorySlices: typing.SupportsInt)

Kind: Method

Specify allocated hardware resources for feature tracking. 2 shaves/memory
slices are required for optical flow, 1 for corner detection only.

Parameter ``numShaves``:
Number of shaves. Maximum 2.

Parameter ``numMemorySlices``:
Number of memory slices. Maximum 2.

###### setWaitForConfigInput(self, wait: bool)

Kind: Method

Specify whether or not wait until configuration message arrives to inputConfig
Input.

Parameter ``wait``:
True to wait for configuration message, false otherwise.

###### initialConfig

Kind: Property

Initial config to use for feature tracking.

###### inputConfig

Kind: Property

Input FeatureTrackerConfig message with ability to modify parameters in runtime.
Default queue is non-blocking with size 4.

###### inputImage

Kind: Property

Input message with frame data on which feature tracking is performed. Default
queue is non-blocking with size 4.

###### outputFeatures

Kind: Property

Outputs TrackedFeatures message that carries tracked features results.

###### passthroughInputImage

Kind: Property

Passthrough message on which the calculation was performed. Suitable for when
input queue is set to non-blocking behavior.

##### depthai.node.IMU(depthai.Node)

Kind: Class

IMU node for BNO08X.

###### enableFirmwareUpdate(self, arg0: bool)

Kind: Method

###### enableIMUSensor()

Kind: Method

###### getBatchReportThreshold(self) -> int: int

Kind: Method

Above this packet threshold data will be sent to host, if queue is not blocked

###### getMaxBatchReports(self) -> int: int

Kind: Method

Maximum number of IMU packets in a batch report

###### setBatchReportThreshold(self, batchReportThreshold: typing.SupportsInt)

Kind: Method

Above this packet threshold data will be sent to host, if queue is not blocked

###### setMaxBatchReports(self, maxBatchReports: typing.SupportsInt)

Kind: Method

Maximum number of IMU packets in a batch report

###### out

Kind: Property

Outputs IMUData message that carries IMU packets.

##### depthai.node.ImageAlign(depthai.Node)

Kind: Class

ImageAlign node. Calculates spatial location data on a set of ROIs on depth map.

###### setInterpolation(self, arg0: depthai.Interpolation) -> ImageAlign: ImageAlign

Kind: Method

Specify interpolation method to use when resizing

###### setNumFramesPool(self, arg0: typing.SupportsInt) -> ImageAlign: ImageAlign

Kind: Method

Specify number of frames in the pool

###### setNumShaves(self, arg0: typing.SupportsInt) -> ImageAlign: ImageAlign

Kind: Method

Specify number of shaves to use for this node

###### setOutKeepAspectRatio(self, arg0: bool) -> ImageAlign: ImageAlign

Kind: Method

Specify whether to keep aspect ratio when resizing

###### setOutputSize(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt) -> ImageAlign: ImageAlign

Kind: Method

Specify the output size of the aligned image

###### initialConfig

Kind: Property

Initial config to use when calculating spatial location data.

###### input

Kind: Property

Input message. Default queue is non-blocking with size 4.

###### inputAlignTo

Kind: Property

Input align to message. Default queue is non-blocking with size 1.

###### inputConfig

Kind: Property

Input message with ability to modify parameters in runtime. Default queue is
non-blocking with size 4.

###### outputAligned

Kind: Property

Outputs ImgFrame message that is aligned to inputAlignTo.

###### passthroughInput

Kind: Property

Passthrough message on which the calculation was performed. Suitable for when
input queue is set to non-blocking behavior.

##### depthai.node.ImageManip(depthai.Node)

Kind: Class

ImageManip node. Capability to crop, resize, warp, ... incoming image frames

###### getWaitForConfigInput(self) -> bool: bool

Kind: Method

See also:
setWaitForConfigInput

Returns:
True if wait for inputConfig message, false otherwise

###### setCenterCrop(self, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat)

Kind: Method

###### setCropRect(self, arg0: typing.SupportsFloat, arg1: typing.SupportsFloat, arg2: typing.SupportsFloat, arg3:
typing.SupportsFloat)

Kind: Method

###### setFrameType(self, arg0: depthai.RawImgFrame.Type)

Kind: Method

###### setHorizontalFlip(self, arg0: bool)

Kind: Method

###### setKeepAspectRatio(self, arg0: bool)

Kind: Method

###### setMaxOutputFrameSize(self, arg0: typing.SupportsInt)

Kind: Method

Specify maximum size of output image.

Parameter ``maxFrameSize``:
Maximum frame size in bytes

###### setNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Specify number of frames in pool.

Parameter ``numFramesPool``:
How many frames should the pool have

###### setResize(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt)

Kind: Method

###### setResizeThumbnail(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt, arg2: typing.SupportsInt, arg3:
typing.SupportsInt, arg4: typing.SupportsInt)

Kind: Method

###### setWaitForConfigInput(self, wait: bool)

Kind: Method

Specify whether or not wait until configuration message arrives to inputConfig
Input.

Parameter ``wait``:
True to wait for configuration message, false otherwise.

###### setWarpMesh()

Kind: Method

###### initialConfig

Kind: Property

Initial config to use when manipulating frames

###### inputConfig

Kind: Property

Input ImageManipConfig message with ability to modify parameters in runtime
Default queue is blocking with size 8

###### inputImage

Kind: Property

Input image to be modified Default queue is blocking with size 8

###### out

Kind: Property

Outputs ImgFrame message that carries modified image.

##### depthai.node.MessageDemux(depthai.Node)

Kind: Class

###### getProcessor(self) -> depthai.ProcessorType: depthai.ProcessorType

Kind: Method

Get on which processor the node should run

Returns:
Processor type - Leon CSS or Leon MSS

###### setProcessor(self, arg0: depthai.ProcessorType)

Kind: Method

Set on which processor the node should run

Parameter ``type``:
Processor type - Leon CSS or Leon MSS

###### input

Kind: Property

Input message of type MessageGroup

###### outputs

Kind: Property

A map of outputs, where keys are same as in the input MessageGroup

##### depthai.node.MobileNetDetectionNetwork(depthai.node.DetectionNetwork)

Kind: Class

MobileNetDetectionNetwork node. Parses MobileNet results

##### depthai.node.MobileNetSpatialDetectionNetwork(depthai.node.SpatialDetectionNetwork)

Kind: Class

MobileNetSpatialDetectionNetwork node. Mobilenet-SSD based network with spatial
location data.

##### depthai.node.MonoCamera(depthai.Node)

Kind: Class

MonoCamera node. For use with grayscale sensors.

###### getBoardSocket(self) -> depthai.CameraBoardSocket: depthai.CameraBoardSocket

Kind: Method

Retrieves which board socket to use

Returns:
Board socket to use

###### getCamId(self) -> int: int

Kind: Method

###### getCamera(self) -> str: str

Kind: Method

Retrieves which camera to use by name

Returns:
Name of the camera to use

###### getFps(self) -> float: float

Kind: Method

Get rate at which camera should produce frames

Returns:
Rate in frames per second

###### getFrameEventFilter(self) -> list[depthai.FrameEvent]: list[depthai.FrameEvent]

Kind: Method

###### getImageOrientation(self) -> depthai.CameraImageOrientation: depthai.CameraImageOrientation

Kind: Method

Get camera image orientation

###### getNumFramesPool(self) -> int: int

Kind: Method

Get number of frames in main (ISP output) pool

###### getRawNumFramesPool(self) -> int: int

Kind: Method

Get number of frames in raw pool

###### getResolution(self) -> depthai.MonoCameraProperties.SensorResolution: depthai.MonoCameraProperties.SensorResolution

Kind: Method

Get sensor resolution

###### getResolutionHeight(self) -> int: int

Kind: Method

Get sensor resolution height

###### getResolutionSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get sensor resolution as size

###### getResolutionWidth(self) -> int: int

Kind: Method

Get sensor resolution width

###### setBoardSocket(self, boardSocket: depthai.CameraBoardSocket)

Kind: Method

Specify which board socket to use

Parameter ``boardSocket``:
Board socket to use

###### setCamId(self, arg0: typing.SupportsInt)

Kind: Method

###### setCamera(self, name: str)

Kind: Method

Specify which camera to use by name

Parameter ``name``:
Name of the camera to use

###### setFps(self, fps: typing.SupportsFloat)

Kind: Method

Set rate at which camera should produce frames

Parameter ``fps``:
Rate in frames per second

###### setFrameEventFilter(self, events: collections.abc.Sequence [ depthai.FrameEvent ])

Kind: Method

###### setImageOrientation(self, imageOrientation: depthai.CameraImageOrientation)

Kind: Method

Set camera image orientation

###### setIsp3aFps(self, isp3aFps: typing.SupportsInt)

Kind: Method

Isp 3A rate (auto focus, auto exposure, auto white balance, camera controls
etc.). Default (0) matches the camera FPS, meaning that 3A is running on each
frame. Reducing the rate of 3A reduces the CPU usage on CSS, but also increases
the convergence rate of 3A. Note that camera controls will be processed at this
rate. E.g. if camera is running at 30 fps, and camera control is sent at every
frame, but 3A fps is set to 15, the camera control messages will be processed at
15 fps rate, which will lead to queueing.

###### setNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Set number of frames in main (ISP output) pool

###### setRawNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Set number of frames in raw pool

###### setRawOutputPacked(self, packed: bool)

Kind: Method

Configures whether the camera `raw` frames are saved as MIPI-packed to memory.
The packed format is more efficient, consuming less memory on device, and less
data to send to host: RAW10: 4 pixels saved on 5 bytes, RAW12: 2 pixels saved on
3 bytes. When packing is disabled (`false`), data is saved lsb-aligned, e.g. a
RAW10 pixel will be stored as uint16, on bits 9..0: 0b0000'00pp'pppp'pppp.
Default is auto: enabled for standard color/monochrome cameras where ISP can
work with both packed/unpacked, but disabled for other cameras like ToF.

###### setResolution(self, resolution: depthai.MonoCameraProperties.SensorResolution)

Kind: Method

Set sensor resolution

###### frameEvent

Kind: Property

Outputs metadata-only ImgFrame message as an early indicator of an incoming
frame.

It's sent on the MIPI SoF (start-of-frame) event, just after the exposure of the
current frame has finished and before the exposure for next frame starts. Could
be used to synchronize various processes with camera capture. Fields populated:
camera id, sequence number, timestamp

###### initialControl

Kind: Property

Initial control options to apply to sensor

###### inputControl

Kind: Property

Input for CameraControl message, which can modify camera parameters in runtime
Default queue is blocking with size 8

###### out

Kind: Property

Outputs ImgFrame message that carries RAW8 encoded (grayscale) frame data.

Suitable for use StereoDepth node. Processed by ISP

###### raw

Kind: Property

Outputs ImgFrame message that carries RAW10-packed (MIPI CSI-2 format) frame
data.

Captured directly from the camera sensor

##### depthai.node.NeuralNetwork(depthai.Node)

Kind: Class

NeuralNetwork node. Runs a neural inference on input data.

###### getNumInferenceThreads(self) -> int: int

Kind: Method

How many inference threads will be used to run the network

Returns:
Number of threads, 0, 1 or 2. Zero means AUTO

###### setBlob()

Kind: Method

###### setBlobPath(self, path: Path)

Kind: Method

Load network blob into assets and use once pipeline is started.

Throws:
Error if file doesn't exist or isn't a valid network blob.

Parameter ``path``:
Path to network blob

###### setNumInferenceThreads(self, numThreads: typing.SupportsInt)

Kind: Method

How many threads should the node use to run the network.

Parameter ``numThreads``:
Number of threads to dedicate to this node

###### setNumNCEPerInferenceThread(self, numNCEPerThread: typing.SupportsInt)

Kind: Method

How many Neural Compute Engines should a single thread use for inference

Parameter ``numNCEPerThread``:
Number of NCE per thread

###### setNumPoolFrames(self, numFrames: typing.SupportsInt)

Kind: Method

Specifies how many frames will be available in the pool

Parameter ``numFrames``:
How many frames will pool have

###### input

Kind: Property

Input message with data to be inferred upon Default queue is blocking with size
5

###### inputs

Kind: Property

Inputs mapped to network inputs. Useful for inferring from separate data sources
Default input is non-blocking with queue size 1 and waits for messages

###### out

Kind: Property

Outputs NNData message that carries inference results

###### passthrough

Kind: Property

Passthrough message on which the inference was performed.

Suitable for when input queue is set to non-blocking behavior.

###### passthroughs

Kind: Property

Passthroughs which correspond to specified input

##### depthai.node.ObjectTracker(depthai.Node)

Kind: Class

ObjectTracker node. Performs object tracking using Kalman filter and hungarian
algorithm.

###### setDetectionLabelsToTrack(self, labels: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

Specify detection labels to track.

Parameter ``labels``:
Detection labels to track. Default every label is tracked from image
detection network output.

###### setMaxObjectsToTrack(self, maxObjectsToTrack: typing.SupportsInt)

Kind: Method

Specify maximum number of object to track.

Parameter ``maxObjectsToTrack``:
Maximum number of object to track. Maximum 60 in case of SHORT_TERM_KCF,
otherwise 1000.

###### setOcclusionRatioThreshold(self, occlusionRatioThreshold: typing.SupportsFloat)

Kind: Method

Specify occlusion ratio threshold.

Parameter ``occlusionRatioThreshold``:
Occlusion ratio threshold. Used to filter out overlapping tracklets. Default
0.4.

###### setTrackerIdAssignmentPolicy(self, type: depthai.TrackerIdAssignmentPolicy)

Kind: Method

Specify tracker ID assignment policy.

Parameter ``type``:
Tracker ID assignment policy.

###### setTrackerThreshold(self, threshold: typing.SupportsFloat)

Kind: Method

Specify tracker threshold.

Parameter ``threshold``:
Above this threshold the detected objects will be tracked. Default 0, all
image detections are tracked.

###### setTrackerType(self, type: depthai.TrackerType)

Kind: Method

Specify tracker type algorithm.

Parameter ``type``:
Tracker type.

###### setTrackingPerClass(self, trackingPerClass: bool)

Kind: Method

Whether tracker should take into consideration class label for tracking.

###### setTrackletBirthThreshold(self, threshold: typing.SupportsInt)

Kind: Method

Specify tracklet birth threshold.

Parameter ``threshold``:
Tracklet birth threshold. Minimum consecutive tracked frames required to
consider a tracklet as a new instance. Default 3.

###### setTrackletMaxLifespan(self, lifespan: typing.SupportsInt)

Kind: Method

Specify tracklet lifespan.

Parameter ``lifespan``:
Tracklet lifespan in number of frames. Number of frames after which a LOST
tracklet is removed. Default 120.

###### inputConfig

Kind: Property

Input ObjectTrackerConfig message with ability to modify parameters at runtime.
Default queue is non-blocking with size 4.

###### inputDetectionFrame

Kind: Property

Input ImgFrame message on which object detection was performed. Default queue is
non-blocking with size 4.

###### inputDetections

Kind: Property

Input message with image detection from neural network. Default queue is non-
blocking with size 4.

###### inputTrackerFrame

Kind: Property

Input ImgFrame message on which tracking will be performed. RGBp, BGRp, NV12,
YUV420p types are supported. Default queue is non-blocking with size 4.

###### out

Kind: Property

Outputs Tracklets message that carries object tracking results.

###### passthroughDetectionFrame

Kind: Property

Passthrough ImgFrame message on which object detection was performed. Suitable
for when input queue is set to non-blocking behavior.

###### passthroughDetections

Kind: Property

Passthrough image detections message from neural network output. Suitable for
when input queue is set to non-blocking behavior.

###### passthroughTrackerFrame

Kind: Property

Passthrough ImgFrame message on which tracking was performed. Suitable for when
input queue is set to non-blocking behavior.

##### depthai.node.PointCloud(depthai.Node)

Kind: Class

PointCloud node. Computes point cloud from depth frames.

###### setNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Specify number of frames in pool.

Parameter ``numFramesPool``:
How many frames should the pool have

###### initialConfig

Kind: Property

Initial config to use when computing the point cloud.

###### inputConfig

Kind: Property

Input PointCloudConfig message with ability to modify parameters in runtime.
Default queue is non-blocking with size 4.

###### inputDepth

Kind: Property

Input message with depth data used to create the point cloud. Default queue is
non-blocking with size 4.

###### outputPointCloud

Kind: Property

Outputs PointCloudData message

###### passthroughDepth

Kind: Property

Passthrough depth from which the point cloud was calculated. Suitable for when
input queue is set to non-blocking behavior.

##### depthai.node.SPIIn(depthai.Node)

Kind: Class

SPIIn node. Receives messages over SPI.

###### getBusId(self) -> int: int

Kind: Method

Get bus id

###### getMaxDataSize(self) -> int: int

Kind: Method

Get maximum messages size in bytes

###### getNumFrames(self) -> int: int

Kind: Method

Get number of frames in pool

###### getStreamName(self) -> str: str

Kind: Method

Get stream name

###### setBusId(self, id: typing.SupportsInt)

Kind: Method

Specifies SPI Bus number to use

Parameter ``id``:
SPI Bus id

###### setMaxDataSize(self, maxDataSize: typing.SupportsInt)

Kind: Method

Set maximum message size it can receive

Parameter ``maxDataSize``:
Maximum size in bytes

###### setNumFrames(self, numFrames: typing.SupportsInt)

Kind: Method

Set number of frames in pool for sending messages forward

Parameter ``numFrames``:
Maximum number of frames in pool

###### setStreamName(self, name: str)

Kind: Method

Specifies stream name over which the node will receive data

Parameter ``name``:
Stream name

###### out

Kind: Property

Outputs message of same type as send from host.

##### depthai.node.SPIOut(depthai.Node)

Kind: Class

SPIOut node. Sends messages over SPI.

###### setBusId(self, id: typing.SupportsInt)

Kind: Method

Specifies SPI Bus number to use

Parameter ``id``:
SPI Bus id

###### setStreamName(self, name: str)

Kind: Method

Specifies stream name over which the node will send data

Parameter ``name``:
Stream name

###### input

Kind: Property

Input for any type of messages to be transferred over SPI stream

Default queue is blocking with size 8

##### depthai.node.Script(depthai.Node)

Kind: Class

###### getProcessor(self) -> depthai.ProcessorType: depthai.ProcessorType

Kind: Method

Get on which processor the script should run

Returns:
Processor type - Leon CSS or Leon MSS

###### getScriptName(self) -> str: str

Kind: Method

Get the script name in utf-8.

When name set with setScript() or setScriptPath(), returns that name. When
script loaded with setScriptPath() with name not provided, returns the utf-8
string of that path. Otherwise, returns "<script>"

Returns:
std::string of script name in utf-8

###### setProcessor(self, arg0: depthai.ProcessorType)

Kind: Method

Set on which processor the script should run

Parameter ``type``:
Processor type - Leon CSS or Leon MSS

###### setScript()

Kind: Method

###### setScriptPath()

Kind: Method

###### inputs

Kind: Property

###### outputs

Kind: Property

##### depthai.node.SpatialDetectionNetwork(depthai.node.DetectionNetwork)

Kind: Class

SpatialDetectionNetwork node. Runs a neural inference on input image and
calculates spatial location data.

###### setBoundingBoxScaleFactor(self, scaleFactor: typing.SupportsFloat)

Kind: Method

Specifies scale factor for detected bounding boxes.

Parameter ``scaleFactor``:
Scale factor must be in the interval (0,1].

###### setDepthLowerThreshold(self, lowerThreshold: typing.SupportsInt)

Kind: Method

Specifies lower threshold in depth units (millimeter by default) for depth
values which will used to calculate spatial data

Parameter ``lowerThreshold``:
LowerThreshold must be in the interval [0,upperThreshold] and less than
upperThreshold.

###### setDepthUpperThreshold(self, upperThreshold: typing.SupportsInt)

Kind: Method

Specifies upper threshold in depth units (millimeter by default) for depth
values which will used to calculate spatial data

Parameter ``upperThreshold``:
UpperThreshold must be in the interval (lowerThreshold,65535].

###### setSpatialCalculationAlgorithm(self, calculationAlgorithm: depthai.SpatialLocationCalculatorAlgorithm)

Kind: Method

Specifies spatial location calculator algorithm: Average/Min/Max

Parameter ``calculationAlgorithm``:
Calculation algorithm.

###### setSpatialCalculationStepSize(self, stepSize: typing.SupportsInt)

Kind: Method

Specifies spatial location calculator step size for depth calculation. Step size
1 means that every pixel is taken into calculation, size 2 means every second
etc.

Parameter ``stepSize``:
Step size.

###### boundingBoxMapping

Kind: Property

Outputs mapping of detected bounding boxes relative to depth map

Suitable for when displaying remapped bounding boxes on depth frame

###### input

Kind: Property

Input message with data to be inferred upon Default queue is blocking with size
5

###### inputDepth

Kind: Property

Input message with depth data used to retrieve spatial information about
detected object Default queue is non-blocking with size 4

###### out

Kind: Property

Outputs ImgDetections message that carries parsed detection results.

###### passthrough

Kind: Property

Passthrough message on which the inference was performed.

Suitable for when input queue is set to non-blocking behavior.

###### passthroughDepth

Kind: Property

Passthrough message for depth frame on which the spatial location calculation
was performed.

Suitable for when input queue is set to non-blocking behavior.

###### spatialLocationCalculatorOutput

Kind: Property

Output of SpatialLocationCalculator node, which is used internally by
SpatialDetectionNetwork. Suitable when extra information is required from
SpatialLocationCalculator node, e.g. minimum, maximum distance.

##### depthai.node.SpatialLocationCalculator(depthai.Node)

Kind: Class

SpatialLocationCalculator node. Calculates spatial location data on a set of
ROIs on depth map.

###### getWaitForConfigInput(self) -> bool: bool

Kind: Method

See also:
setWaitForConfigInput

Returns:
True if wait for inputConfig message, false otherwise

###### setWaitForConfigInput(self, wait: bool)

Kind: Method

Specify whether or not wait until configuration message arrives to inputConfig
Input.

Parameter ``wait``:
True to wait for configuration message, false otherwise.

###### initialConfig

Kind: Property

Initial config to use when calculating spatial location data.

###### inputConfig

Kind: Property

Input SpatialLocationCalculatorConfig message with ability to modify parameters
in runtime. Default queue is non-blocking with size 4.

###### inputDepth

Kind: Property

Input message with depth data used to retrieve spatial information about
detected object. Default queue is non-blocking with size 4.

###### out

Kind: Property

Outputs SpatialLocationCalculatorData message that carries spatial location
results.

###### passthroughDepth

Kind: Property

Passthrough message on which the calculation was performed. Suitable for when
input queue is set to non-blocking behavior.

##### depthai.node.StereoDepth(depthai.Node)

Kind: Class

StereoDepth node. Compute stereo disparity and depth from left-right image pair.

###### depthai.node.StereoDepth.PresetMode

Kind: Class

Preset modes for stereo depth.

Members:

HIGH_ACCURACY : **Deprecated:** Will be removed in future releases and replaced with DEFAULT

HIGH_DENSITY : **Deprecated:** Will be removed in future releases and replaced with DEFAULT

DEFAULT

FACE

HIGH_DETAIL

ROBOTICS

###### DEFAULT: typing.ClassVar[StereoDepth.PresetMode]

Kind: Class Variable

###### FACE: typing.ClassVar[StereoDepth.PresetMode]

Kind: Class Variable

###### HIGH_ACCURACY: typing.ClassVar[StereoDepth.PresetMode]

Kind: Class Variable

###### HIGH_DENSITY: typing.ClassVar[StereoDepth.PresetMode]

Kind: Class Variable

###### HIGH_DETAIL: typing.ClassVar[StereoDepth.PresetMode]

Kind: Class Variable

###### ROBOTICS: typing.ClassVar[StereoDepth.PresetMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, StereoDepth.PresetMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### enableDistortionCorrection(self, arg0: bool)

Kind: Method

Equivalent to useHomographyRectification(!enableDistortionCorrection)

###### getMaxDisparity(self) -> float: float

Kind: Method

Useful for normalization of the disparity map.

Returns:
Maximum disparity value that the node can return

###### loadMeshData(self, dataLeft: collections.abc.Sequence [ typing.SupportsInt ], dataRight: collections.abc.Sequence [
typing.SupportsInt ])

Kind: Method

Specify mesh calibration data for 'left' and 'right' inputs, as vectors of
bytes. Overrides useHomographyRectification behavior. See `loadMeshFiles` for
the expected data format

###### loadMeshFiles(self, pathLeft: Path, pathRight: Path)

Kind: Method

Specify local filesystem paths to the mesh calibration files for 'left' and
'right' inputs.

When a mesh calibration is set, it overrides the camera intrinsics/extrinsics
matrices. Overrides useHomographyRectification behavior. Mesh format: a sequence
of (y,x) points as 'float' with coordinates from the input image to be mapped in
the output. The mesh can be subsampled, configured by `setMeshStep`.

With a 1280x800 resolution and the default (16,16) step, the required mesh size
is:

width: 1280 / 16 + 1 = 81

height: 800 / 16 + 1 = 51

###### setAlphaScaling(self, arg0: typing.SupportsFloat)

Kind: Method

Free scaling parameter between 0 (when all the pixels in the undistorted image
are valid) and 1 (when all the source image pixels are retained in the
undistorted image). On some high distortion lenses, and/or due to rectification
(image rotated) invalid areas may appear even with alpha=0, in these cases alpha
< 0.0 helps removing invalid areas. See getOptimalNewCameraMatrix from opencv
for more details.

###### setBaseline(self, arg0: typing.SupportsFloat)

Kind: Method

Override baseline from calibration. Used only in disparity to depth conversion.
Units are centimeters.

###### setConfidenceThreshold(self, arg0: typing.SupportsInt)

Kind: Method

Confidence threshold for disparity calculation

Parameter ``confThr``:
Confidence threshold value 0..255

###### setDefaultProfilePreset(self, arg0: StereoDepth.PresetMode)

Kind: Method

Sets a default preset based on specified option.

Parameter ``mode``:
Stereo depth preset mode

###### setDepthAlign()

Kind: Method

###### setDepthAlignmentUseSpecTranslation(self, arg0: bool)

Kind: Method

Use baseline information for depth alignment from specs (design data) or from
calibration. Default: true

###### setDisparityToDepthUseSpecTranslation(self, arg0: bool)

Kind: Method

Use baseline information for disparity to depth conversion from specs (design
data) or from calibration. Default: true

###### setEmptyCalibration(self)

Kind: Method

Specify that a passthrough/dummy calibration should be used, when input frames
are already rectified (e.g. sourced from recordings on the host)

###### setExtendedDisparity(self, enable: bool)

Kind: Method

Disparity range increased from 0-95 to 0-190, combined from full resolution and
downscaled images.

Suitable for short range objects. Currently incompatible with sub-pixel
disparity

###### setFocalLength(self, arg0: typing.SupportsFloat)

Kind: Method

Override focal length from calibration. Used only in disparity to depth
conversion. Units are pixels.

###### setFocalLengthFromCalibration(self, arg0: bool)

Kind: Method

Whether to use focal length from calibration intrinsics or calculate based on
calibration FOV. Default value is true.

###### setInputResolution()

Kind: Method

###### setLeftRightCheck(self, enable: bool)

Kind: Method

Computes and combines disparities in both L-R and R-L directions, and combine
them.

For better occlusion handling, discarding invalid disparity values

###### setMedianFilter(self, arg0: depthai.MedianFilter)

Kind: Method

Parameter ``median``:
Set kernel size for disparity/depth median filtering, or disable

###### setMeshStep(self, width: typing.SupportsInt, height: typing.SupportsInt)

Kind: Method

Set the distance between mesh points. Default: (16, 16)

###### setNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Specify number of frames in pool.

Parameter ``numFramesPool``:
How many frames should the pool have

###### setOutputDepth(self, arg0: bool)

Kind: Method

###### setOutputKeepAspectRatio(self, keep: bool)

Kind: Method

Specifies whether the frames resized by `setOutputSize` should preserve aspect
ratio, with potential cropping when enabled. Default `true`

###### setOutputRectified(self, arg0: bool)

Kind: Method

###### setOutputSize(self, width: typing.SupportsInt, height: typing.SupportsInt)

Kind: Method

Specify disparity/depth output resolution size, implemented by scaling.

Currently only applicable when aligning to RGB camera

###### setPostProcessingHardwareResources(self, arg0: typing.SupportsInt, arg1: typing.SupportsInt)

Kind: Method

Specify allocated hardware resources for stereo depth. Suitable only to increase
post processing runtime.

Parameter ``numShaves``:
Number of shaves.

Parameter ``numMemorySlices``:
Number of memory slices.

###### setRectification(self, enable: bool)

Kind: Method

Rectify input images or not.

###### setRectificationUseSpecTranslation(self, arg0: bool)

Kind: Method

Obtain rectification matrices using spec translation (design data) or from
calibration in calculations. Should be used only for debugging. Default: false

###### setRectifyEdgeFillColor(self, color: typing.SupportsInt)

Kind: Method

Fill color for missing data at frame edges

Parameter ``color``:
Grayscale 0..255, or -1 to replicate pixels

###### setRectifyMirrorFrame(self, arg0: bool)

Kind: Method

DEPRECATED function. It was removed, since rectified images are not flipped
anymore. Mirror rectified frames, only when LR-check mode is disabled. Default
`true`. The mirroring is required to have a normal non-mirrored disparity/depth
output.

A side effect of this option is disparity alignment to the perspective of left
or right input: `false`: mapped to left and mirrored, `true`: mapped to right.
With LR-check enabled, this option is ignored, none of the outputs are mirrored,
and disparity is mapped to right.

Parameter ``enable``:
True for normal disparity/depth, otherwise mirrored

###### setRuntimeModeSwitch(self, arg0: bool)

Kind: Method

Enable runtime stereo mode switch, e.g. from standard to LR-check. Note: when
enabled resources allocated for worst case to enable switching to any mode.

###### setSubpixel(self, enable: bool)

Kind: Method

Computes disparity with sub-pixel interpolation (3 fractional bits by default).

Suitable for long range. Currently incompatible with extended disparity

###### setSubpixelFractionalBits(self, subpixelFractionalBits: typing.SupportsInt)

Kind: Method

Number of fractional bits for subpixel mode. Default value: 3. Valid values:
3,4,5. Defines the number of fractional disparities: 2^x. Median filter
postprocessing is supported only for 3 fractional bits.

###### useHomographyRectification(self, arg0: bool)

Kind: Method

Use 3x3 homography matrix for stereo rectification instead of sparse mesh
generated on device. Default behaviour is AUTO, for lenses with FOV over 85
degrees sparse mesh is used, otherwise 3x3 homography. If custom mesh data is
provided through loadMeshData or loadMeshFiles this option is ignored.

Parameter ``useHomographyRectification``:
true: 3x3 homography matrix generated from calibration data is used for
stereo rectification, can't correct lens distortion. false: sparse mesh is
generated on-device from calibration data with mesh step specified with
setMeshStep (Default: (16, 16)), can correct lens distortion. Implementation
for generating the mesh is same as opencv's initUndistortRectifyMap
function. Only the first 8 distortion coefficients are used from calibration
data.

###### confidenceMap

Kind: Property

Outputs ImgFrame message that carries RAW8 confidence map. Lower values means
higher confidence of the calculated disparity value. RGB alignment, left-right
check or any postproccessing (e.g. median filter) is not performed on confidence
map.

###### debugDispCostDump

Kind: Property

Outputs ImgFrame message that carries cost dump of disparity map. Useful for
debugging/fine tuning.

###### debugDispLrCheckIt1

Kind: Property

Outputs ImgFrame message that carries left-right check first iteration (before
combining with second iteration) disparity map. Useful for debugging/fine
tuning.

###### debugDispLrCheckIt2

Kind: Property

Outputs ImgFrame message that carries left-right check second iteration (before
combining with first iteration) disparity map. Useful for debugging/fine tuning.

###### debugExtDispLrCheckIt1

Kind: Property

Outputs ImgFrame message that carries extended left-right check first iteration
(downscaled frame, before combining with second iteration) disparity map. Useful
for debugging/fine tuning.

###### debugExtDispLrCheckIt2

Kind: Property

Outputs ImgFrame message that carries extended left-right check second iteration
(downscaled frame, before combining with first iteration) disparity map. Useful
for debugging/fine tuning.

###### depth

Kind: Property

Outputs ImgFrame message that carries RAW16 encoded (0..65535) depth data in
depth units (millimeter by default).

Non-determined / invalid depth values are set to 0

###### disparity

Kind: Property

Outputs ImgFrame message that carries RAW8 / RAW16 encoded disparity data: RAW8
encoded (0..95) for standard mode; RAW8 encoded (0..190) for extended disparity
mode; RAW16 encoded for subpixel disparity mode: - 0..760 for 3 fractional bits
(by default) - 0..1520 for 4 fractional bits - 0..3040 for 5 fractional bits

###### initialConfig

Kind: Property

Initial config to use for StereoDepth.

###### inputConfig

Kind: Property

Input StereoDepthConfig message with ability to modify parameters in runtime.
Default queue is non-blocking with size 4.

###### left

Kind: Property

Input for left ImgFrame of left-right pair

Default queue is non-blocking with size 8

###### outConfig

Kind: Property

Outputs StereoDepthConfig message that contains current stereo configuration.

###### rectifiedLeft

Kind: Property

Outputs ImgFrame message that carries RAW8 encoded (grayscale) rectified frame
data.

###### rectifiedRight

Kind: Property

Outputs ImgFrame message that carries RAW8 encoded (grayscale) rectified frame
data.

###### right

Kind: Property

Input for right ImgFrame of left-right pair

Default queue is non-blocking with size 8

###### syncedLeft

Kind: Property

Passthrough ImgFrame message from 'left' Input.

###### syncedRight

Kind: Property

Passthrough ImgFrame message from 'right' Input.

##### depthai.node.Sync(depthai.Node)

Kind: Class

###### getProcessor(self) -> depthai.ProcessorType: depthai.ProcessorType

Kind: Method

Get on which processor the node should run

Returns:
Processor type - Leon CSS or Leon MSS

###### getSyncAttempts(self) -> int: int

Kind: Method

Gets the number of sync attempts

###### getSyncThreshold(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Gets the maximal interval between messages in the group in milliseconds

###### setProcessor(self, arg0: depthai.ProcessorType)

Kind: Method

Set on which processor the node should run

Parameter ``type``:
Processor type - Leon CSS or Leon MSS

###### setSyncAttempts(self, maxDataSize: typing.SupportsInt)

Kind: Method

Set the number of attempts to get the specified max interval between messages in
the group

Parameter ``syncAttempts``:
Number of attempts to get the specified max interval between messages in the
group: - if syncAttempts = 0 then the node sends a message as soon at the
group is filled - if syncAttempts > 0 then the node will make syncAttemts
attempts to synchronize before sending out a message - if syncAttempts = -1
(default) then the node will only send a message if successfully
synchronized

###### setSyncThreshold(self, syncThreshold: datetime.timedelta)

Kind: Method

Set the maximal interval between messages in the group

Parameter ``syncThreshold``:
Maximal interval between messages in the group

###### inputs

Kind: Property

A map of inputs

###### out

Kind: Property

Output message of type MessageGroup

##### depthai.node.SystemLogger(depthai.Node)

Kind: Class

SystemLogger node. Send system information periodically.

###### getRate(self) -> float: float

Kind: Method

Gets logging rate, at which messages will be sent out

###### setRate(self, hz: typing.SupportsFloat)

Kind: Method

Specify logging rate, at which messages will be sent out

Parameter ``hz``:
Sending rate in hertz (messages per second)

###### out

Kind: Property

Outputs SystemInformation message that carries various system information like
memory and CPU usage, temperatures, ...

##### depthai.node.ToF(depthai.Node)

Kind: Class

ToF node

###### setNumFramesPool(self, arg0: typing.SupportsInt) -> ToF: ToF

Kind: Method

Specify number of frames in output pool

Parameter ``numFramesPool``:
Number of frames in output pool

###### setNumShaves(self, arg0: typing.SupportsInt) -> ToF: ToF

Kind: Method

Specify number of shaves reserved for ToF decoding.

###### amplitude

Kind: Property

Outputs ImgFrame message that carries amplitude image.

###### depth

Kind: Property

Outputs ImgFrame message that carries decoded depth image.

###### initialConfig

Kind: Property

Initial config to use for depth calculation.

###### input

Kind: Property

Input raw ToF data. Default queue is blocking with size 8.

###### inputConfig

Kind: Property

Input ToF message with ability to modify parameters in runtime. Default queue is
non-blocking with size 4.

###### intensity

Kind: Property

Outputs ImgFrame message that carries intensity image.

###### phase

Kind: Property

Outputs ImgFrame message that carries phase image, useful for debugging. float32
type.

##### depthai.node.UVC(depthai.Node)

Kind: Class

UVC (USB Video Class) node

###### setGpiosOnInit(self, list: collections.abc.Mapping [ typing.SupportsInt , typing.SupportsInt ])

Kind: Method

Set GPIO list <gpio_number, value> for GPIOs to set (on/off) at init

###### setGpiosOnStreamOff(self, list: collections.abc.Mapping [ typing.SupportsInt , typing.SupportsInt ])

Kind: Method

Set GPIO list <gpio_number, value> for GPIOs to set when streaming is disabled

###### setGpiosOnStreamOn(self, list: collections.abc.Mapping [ typing.SupportsInt , typing.SupportsInt ])

Kind: Method

Set GPIO list <gpio_number, value> for GPIOs to set when streaming is enabled

###### input

Kind: Property

Input for image frames to be streamed over UVC

Default queue is blocking with size 8

##### depthai.node.VideoEncoder(depthai.Node)

Kind: Class

VideoEncoder node. Encodes frames into MJPEG, H264 or H265.

###### getBitrate(self) -> int: int

Kind: Method

Get bitrate in bps

###### getBitrateKbps(self) -> int: int

Kind: Method

Get bitrate in kbps

###### getFrameRate(self) -> float: float

Kind: Method

Get frame rate

###### getHeight(self) -> int: int

Kind: Method

Get input height

###### getKeyframeFrequency(self) -> int: int

Kind: Method

Get keyframe frequency

###### getLossless(self) -> bool: bool

Kind: Method

Get lossless mode. Applies only when using [M]JPEG profile.

###### getMaxOutputFrameSize(self) -> int: int

Kind: Method

###### getNumBFrames(self) -> int: int

Kind: Method

Get number of B frames

###### getNumFramesPool(self) -> int: int

Kind: Method

Get number of frames in pool

Returns:
Number of pool frames

###### getProfile(self) -> depthai.VideoEncoderProperties.Profile: depthai.VideoEncoderProperties.Profile

Kind: Method

Get profile

###### getQuality(self) -> int: int

Kind: Method

Get quality

###### getRateControlMode(self) -> depthai.VideoEncoderProperties.RateControlMode: depthai.VideoEncoderProperties.RateControlMode

Kind: Method

Get rate control mode

###### getSize(self) -> tuple[int, int]: tuple[int, int]

Kind: Method

Get input size

###### getWidth(self) -> int: int

Kind: Method

Get input width

###### setBitrate(self, bitrate: typing.SupportsInt)

Kind: Method

Set output bitrate in bps, for CBR rate control mode. 0 for auto (based on frame
size and FPS). Applicable only to H264 and H265 profiles

###### setBitrateKbps(self, bitrateKbps: typing.SupportsInt)

Kind: Method

Set output bitrate in kbps, for CBR rate control mode. 0 for auto (based on
frame size and FPS). Applicable only to H264 and H265 profiles

###### setDefaultProfilePreset()

Kind: Method

###### setFrameRate(self, frameRate: typing.SupportsFloat)

Kind: Method

Sets expected frame rate

Parameter ``frameRate``:
Frame rate in frames per second

###### setKeyframeFrequency(self, freq: typing.SupportsInt)

Kind: Method

Set keyframe frequency. Every Nth frame a keyframe is inserted.

Applicable only to H264 and H265 profiles

Examples:

- 30 FPS video, keyframe frequency: 30. Every 1s a keyframe will be inserted

- 60 FPS video, keyframe frequency: 180. Every 3s a keyframe will be inserted

###### setLossless(self, arg0: bool)

Kind: Method

Set lossless mode. Applies only to [M]JPEG profile

Parameter ``lossless``:
True to enable lossless jpeg encoding, false otherwise

###### setMaxOutputFrameSize(self, maxFrameSize: typing.SupportsInt)

Kind: Method

Specifies maximum output encoded frame size

###### setNumBFrames(self, numBFrames: typing.SupportsInt)

Kind: Method

Set number of B frames to be inserted. Applicable only to H264 and H265 profiles

###### setNumFramesPool(self, frames: typing.SupportsInt)

Kind: Method

Set number of frames in pool

Parameter ``frames``:
Number of pool frames

###### setProfile()

Kind: Method

###### setQuality(self, quality: typing.SupportsInt)

Kind: Method

Set quality for [M]JPEG profile

Parameter ``quality``:
Value between 0-100%. Approximates quality

###### setRateControlMode(self, mode: depthai.VideoEncoderProperties.RateControlMode)

Kind: Method

Set rate control mode Applicable only to H264 and H265 profiles

###### bitstream

Kind: Property

Outputs ImgFrame message that carries BITSTREAM encoded (MJPEG, H264 or H265)
frame data. Mutually exclusive with out.

###### input

Kind: Property

Input for NV12 ImgFrame to be encoded Default queue is blocking with size set by
'setNumFramesPool' (4).

###### out

Kind: Property

Outputs EncodedFrame message that carries encoded (MJPEG, H264 or H265) frame
data. Mutually exclusive with bitstream.

##### depthai.node.Warp(depthai.Node)

Kind: Class

Warp node. Capability to crop, resize, warp, ... incoming image frames

###### getHwIds(self) -> list[int]: list[int]

Kind: Method

Retrieve which hardware warp engines to use

###### getInterpolation(self) -> depthai.Interpolation: depthai.Interpolation

Kind: Method

Retrieve which interpolation method to use

###### setHwIds(self, arg0: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

Specify which hardware warp engines to use

Parameter ``ids``:
Which warp engines to use (0, 1, 2)

###### setInterpolation(self, arg0: depthai.Interpolation)

Kind: Method

Specify which interpolation method to use

Parameter ``interpolation``:
type of interpolation

###### setMaxOutputFrameSize(self, arg0: typing.SupportsInt)

Kind: Method

Specify maximum size of output image.

Parameter ``maxFrameSize``:
Maximum frame size in bytes

###### setNumFramesPool(self, arg0: typing.SupportsInt)

Kind: Method

Specify number of frames in pool.

Parameter ``numFramesPool``:
How many frames should the pool have

###### setOutputSize()

Kind: Method

###### setWarpMesh()

Kind: Method

###### inputImage

Kind: Property

Input image to be modified Default queue is blocking with size 8

###### out

Kind: Property

Outputs ImgFrame message that carries warped image.

##### depthai.node.XLinkIn(depthai.Node)

Kind: Class

XLinkIn node. Receives messages over XLink.

###### getMaxDataSize(self) -> int: int

Kind: Method

Get maximum messages size in bytes

###### getNumFrames(self) -> int: int

Kind: Method

Get number of frames in pool

###### getStreamName(self) -> str: str

Kind: Method

Get stream name

###### setMaxDataSize(self, maxDataSize: typing.SupportsInt)

Kind: Method

Set maximum message size it can receive

Parameter ``maxDataSize``:
Maximum size in bytes

###### setNumFrames(self, numFrames: typing.SupportsInt)

Kind: Method

Set number of frames in pool for sending messages forward

Parameter ``numFrames``:
Maximum number of frames in pool

###### setStreamName(self, streamName: str)

Kind: Method

Specifies XLink stream name to use.

The name should not start with double underscores '__', as those are reserved
for internal use.

Parameter ``name``:
Stream name

###### out

Kind: Property

Outputs message of same type as send from host.

##### depthai.node.XLinkOut(depthai.Node)

Kind: Class

XLinkOut node. Sends messages over XLink.

###### getFpsLimit(self) -> float: float

Kind: Method

Get rate limit in messages per second

###### getMetadataOnly(self) -> bool: bool

Kind: Method

Get whether to transfer only messages attributes and not buffer data

###### getStreamName(self) -> str: str

Kind: Method

Get stream name

###### setFpsLimit(self, fpsLimit: typing.SupportsFloat)

Kind: Method

Specifies a message sending limit. It's approximated from specified rate.

Parameter ``fps``:
Approximate rate limit in messages per second

###### setMetadataOnly(self, arg0: bool)

Kind: Method

Specify whether to transfer only messages attributes and not buffer data

###### setStreamName(self, streamName: str)

Kind: Method

Specifies XLink stream name to use.

The name should not start with double underscores '__', as those are reserved
for internal use.

Parameter ``name``:
Stream name

###### input

Kind: Property

Input for any type of messages to be transferred over XLink stream

Default queue is blocking with size 8

##### depthai.node.YoloDetectionNetwork(depthai.node.DetectionNetwork)

Kind: Class

YoloDetectionNetwork node. Parses Yolo results

###### getAnchorMasks(self) -> dict[str, list[int]]: dict[str, list[int]]

Kind: Method

Get anchor masks

###### getAnchors(self) -> list[float]: list[float]

Kind: Method

Get anchors

###### getCoordinateSize(self) -> int: int

Kind: Method

Get coordianate size

###### getIouThreshold(self) -> float: float

Kind: Method

Get Iou threshold

###### getNumClasses(self) -> int: int

Kind: Method

Get num classes

###### setAnchorMasks(self, anchorMasks: collections.abc.Mapping [ str , collections.abc.Sequence [ typing.SupportsInt ] ])

Kind: Method

Set anchor masks

###### setAnchors(self, anchors: collections.abc.Sequence [ typing.SupportsFloat ])

Kind: Method

Set anchors

###### setCoordinateSize(self, coordinates: typing.SupportsInt)

Kind: Method

Set coordianate size

###### setIouThreshold(self, thresh: typing.SupportsFloat)

Kind: Method

Set Iou threshold

###### setNumClasses(self, numClasses: typing.SupportsInt)

Kind: Method

Set num classes

##### depthai.node.YoloSpatialDetectionNetwork(depthai.node.SpatialDetectionNetwork)

Kind: Class

YoloSpatialDetectionNetwork node. Yolo-based network with spatial location data.

###### getAnchorMasks(self) -> dict[str, list[int]]: dict[str, list[int]]

Kind: Method

Get anchor masks

###### getAnchors(self) -> list[float]: list[float]

Kind: Method

Get anchors

###### getCoordinateSize(self) -> int: int

Kind: Method

Get coordianate size

###### getIouThreshold(self) -> float: float

Kind: Method

Get Iou threshold

###### getNumClasses(self) -> int: int

Kind: Method

Get num classes

###### setAnchorMasks(self, anchorMasks: collections.abc.Mapping [ str , collections.abc.Sequence [ typing.SupportsInt ] ])

Kind: Method

Set anchor masks

###### setAnchors(self, anchors: collections.abc.Sequence [ typing.SupportsFloat ])

Kind: Method

Set anchors

###### setCoordinateSize(self, coordinates: typing.SupportsInt)

Kind: Method

Set coordianate size

###### setIouThreshold(self, thresh: typing.SupportsFloat)

Kind: Method

Set Iou threshold

###### setNumClasses(self, numClasses: typing.SupportsInt)

Kind: Method

Set num classes

#### depthai.ADatatype

Kind: Class

Abstract message

##### getRaw(self) -> RawBuffer: RawBuffer

Kind: Method

#### depthai.AprilTag

Kind: Class

AprilTag structure.

##### __init__(self)

Kind: Method

##### bottomLeft

Kind: Property

The detected bottom left coordinates.

##### bottomLeft.setter(self, arg0: Point2f)

Kind: Method

##### bottomRight

Kind: Property

The detected bottom right coordinates.

##### bottomRight.setter(self, arg0: Point2f)

Kind: Method

##### decisionMargin

Kind: Property

A measure of the quality of the binary decoding process; the average difference
between the intensity of a data bit versus the decision threshold. Higher
numbers roughly indicate better decodes. This is a reasonable measure of
detection accuracy only for very small tags-- not effective for larger tags
(where we could have sampled anywhere within a bit cell and still gotten a good
detection.

##### decisionMargin.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### hamming

Kind: Property

How many error bits were corrected? Note: accepting large numbers of corrected
errors leads to greatly increased false positive rates. As of this
implementation, the detector cannot detect tags with a hamming distance greater
than 2.

##### hamming.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### id

Kind: Property

The decoded ID of the tag

##### id.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### topLeft

Kind: Property

The detected top left coordinates.

##### topLeft.setter(self, arg0: Point2f)

Kind: Method

##### topRight

Kind: Property

The detected top right coordinates.

##### topRight.setter(self, arg0: Point2f)

Kind: Method

#### depthai.AprilTagConfig(depthai.Buffer)

Kind: Class

AprilTagConfig message.

##### depthai.AprilTagConfig.Family

Kind: Class

Supported AprilTag families.

Members:

TAG_36H11

TAG_36H10

TAG_25H9

TAG_16H5

TAG_CIR21H7

TAG_STAND41H12

###### TAG_16H5: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_25H9: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_36H10: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_36H11: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_CIR21H7: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_STAND41H12: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawAprilTagConfig.Family]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawAprilTagConfig.Family) -> int: int

Kind: Method

###### __init__(self: RawAprilTagConfig.Family, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawAprilTagConfig.Family) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawAprilTagConfig.Family, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.AprilTagConfig.QuadThresholds

Kind: Class

AprilTag quad threshold parameters.

###### __init__(self: RawAprilTagConfig.QuadThresholds)

Kind: Method

###### criticalDegree

Kind: Property

Reject quads where pairs of edges have angles that are close to straight or
close to 180 degrees. Zero means that no quads are rejected. (In degrees).

###### criticalDegree.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### deglitch

Kind: Property

Should the thresholded image be deglitched? Only useful for very noisy images

###### deglitch.setter(self, arg0: bool)

Kind: Method

###### maxLineFitMse

Kind: Property

When fitting lines to the contours, what is the maximum mean squared error
allowed? This is useful in rejecting contours that are far from being quad
shaped; rejecting these quads "early" saves expensive decoding processing.

###### maxLineFitMse.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### maxNmaxima

Kind: Property

How many corner candidates to consider when segmenting a group of pixels into a
quad.

###### maxNmaxima.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### minClusterPixels

Kind: Property

Reject quads containing too few pixels.

###### minClusterPixels.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### minWhiteBlackDiff

Kind: Property

When we build our model of black & white pixels, we add an extra check that the
white model must be (overall) brighter than the black model. How much brighter?
(in pixel values: [0,255]).

###### minWhiteBlackDiff.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### __init__(self)

Kind: Method

##### get(self) -> RawAprilTagConfig: RawAprilTagConfig

Kind: Method

Retrieve configuration data for AprilTag.

Returns:
config for stereo depth algorithm

##### set(self, arg0: RawAprilTagConfig) -> AprilTagConfig: AprilTagConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

##### setFamily(self, family: RawAprilTagConfig.Family) -> AprilTagConfig: AprilTagConfig

Kind: Method

Parameter ``family``:
AprilTag family

#### depthai.AprilTagProperties

Kind: Class

Specify properties for AprilTag

##### initialConfig: RawAprilTagConfig

Kind: Class Variable

##### inputConfigSync

Kind: Property

Whether to wait for config at 'inputConfig' IO

##### inputConfigSync.setter(self, arg0: bool)

Kind: Method

#### depthai.AprilTags(depthai.Buffer)

Kind: Class

AprilTags message.

##### __init__(self)

Kind: Method

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### setSequenceNum(self, arg0: typing.SupportsInt) -> AprilTags: AprilTags

Kind: Method

Retrieves image sequence number

##### setTimestamp(self, arg0: datetime.timedelta) -> AprilTags: AprilTags

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> AprilTags: AprilTags

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### aprilTags

Kind: Property

##### aprilTags.setter(self, arg1: collections.abc.Sequence [ AprilTag ])

Kind: Method

#### depthai.Asset

Kind: Class

Asset is identified with string key and can store arbitrary binary data

##### __init__()

Kind: Method

##### alignment

Kind: Property

##### alignment.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### data

Kind: Property

##### data.setter(self, arg1: typing.Annotated [ numpy.typing.ArrayLike , numpy.uint8 ])

Kind: Method

##### key

Kind: Property

#### depthai.AssetManager

Kind: Class

AssetManager can store assets and serialize

##### __init__(self)

Kind: Method

##### addExisting(self, assets: collections.abc.Sequence [ Asset ])

Kind: Method

Adds all assets in an array to the AssetManager

Parameter ``assets``:
Vector of assets to add

##### get()

Kind: Method

##### getAll()

Kind: Method

##### remove(self, key: str)

Kind: Method

Removes asset with key

Parameter ``key``:
Key of asset to remove

##### set()

Kind: Method

##### size(self) -> int: int

Kind: Method

Returns:
Number of asset stored in the AssetManager

#### depthai.BoardConfig

Kind: Class

##### depthai.BoardConfig.GPIO

Kind: Class

GPIO config

###### depthai.BoardConfig.GPIO.Direction

Kind: Class

Members:

INPUT :

OUTPUT :

###### INPUT: typing.ClassVar[BoardConfig.GPIO.Direction]

Kind: Class Variable

###### OUTPUT: typing.ClassVar[BoardConfig.GPIO.Direction]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, BoardConfig.GPIO.Direction]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.BoardConfig.GPIO.Drive

Kind: Class

Drive strength in mA (2, 4, 8 and 12mA)

Members:

MA_2 :

MA_4 :

MA_8 :

MA_12 :

###### MA_12: typing.ClassVar[BoardConfig.GPIO.Drive]

Kind: Class Variable

###### MA_2: typing.ClassVar[BoardConfig.GPIO.Drive]

Kind: Class Variable

###### MA_4: typing.ClassVar[BoardConfig.GPIO.Drive]

Kind: Class Variable

###### MA_8: typing.ClassVar[BoardConfig.GPIO.Drive]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, BoardConfig.GPIO.Drive]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.BoardConfig.GPIO.Level

Kind: Class

Members:

LOW :

HIGH :

###### HIGH: typing.ClassVar[BoardConfig.GPIO.Level]

Kind: Class Variable

###### LOW: typing.ClassVar[BoardConfig.GPIO.Level]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, BoardConfig.GPIO.Level]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.BoardConfig.GPIO.Mode

Kind: Class

Members:

ALT_MODE_0 :

ALT_MODE_1 :

ALT_MODE_2 :

ALT_MODE_3 :

ALT_MODE_4 :

ALT_MODE_5 :

ALT_MODE_6 :

DIRECT :

###### ALT_MODE_0: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_1: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_2: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_3: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_4: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_5: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_6: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### DIRECT: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, BoardConfig.GPIO.Mode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.BoardConfig.GPIO.Pull

Kind: Class

Members:

NO_PULL :

PULL_UP :

PULL_DOWN :

BUS_KEEPER :

###### BUS_KEEPER: typing.ClassVar[BoardConfig.GPIO.Pull]

Kind: Class Variable

###### NO_PULL: typing.ClassVar[BoardConfig.GPIO.Pull]

Kind: Class Variable

###### PULL_DOWN: typing.ClassVar[BoardConfig.GPIO.Pull]

Kind: Class Variable

###### PULL_UP: typing.ClassVar[BoardConfig.GPIO.Pull]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, BoardConfig.GPIO.Pull]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### ALT_MODE_0: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_1: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_2: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_3: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_4: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_5: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### ALT_MODE_6: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### BUS_KEEPER: typing.ClassVar[BoardConfig.GPIO.Pull]

Kind: Class Variable

###### DIRECT: typing.ClassVar[BoardConfig.GPIO.Mode]

Kind: Class Variable

###### HIGH: typing.ClassVar[BoardConfig.GPIO.Level]

Kind: Class Variable

###### INPUT: typing.ClassVar[BoardConfig.GPIO.Direction]

Kind: Class Variable

###### LOW: typing.ClassVar[BoardConfig.GPIO.Level]

Kind: Class Variable

###### MA_12: typing.ClassVar[BoardConfig.GPIO.Drive]

Kind: Class Variable

###### MA_2: typing.ClassVar[BoardConfig.GPIO.Drive]

Kind: Class Variable

###### MA_4: typing.ClassVar[BoardConfig.GPIO.Drive]

Kind: Class Variable

###### MA_8: typing.ClassVar[BoardConfig.GPIO.Drive]

Kind: Class Variable

###### NO_PULL: typing.ClassVar[BoardConfig.GPIO.Pull]

Kind: Class Variable

###### OUTPUT: typing.ClassVar[BoardConfig.GPIO.Direction]

Kind: Class Variable

###### PULL_DOWN: typing.ClassVar[BoardConfig.GPIO.Pull]

Kind: Class Variable

###### PULL_UP: typing.ClassVar[BoardConfig.GPIO.Pull]

Kind: Class Variable

###### direction: BoardConfig.GPIO.Direction

Kind: Class Variable

###### drive: BoardConfig.GPIO.Drive

Kind: Class Variable

###### level: BoardConfig.GPIO.Level

Kind: Class Variable

###### mode: BoardConfig.GPIO.Mode

Kind: Class Variable

###### pull: BoardConfig.GPIO.Pull

Kind: Class Variable

###### schmitt: bool

Kind: Class Variable

###### slewFast: bool

Kind: Class Variable

###### __init__()

Kind: Method

##### depthai.BoardConfig.GPIOMap

Kind: Class

###### __bool__(self) -> bool: bool

Kind: Method

Check whether the map is nonempty

###### __contains__()

Kind: Method

###### __delitem__(self, arg0: typing.SupportsInt)

Kind: Method

###### __getitem__(self, arg0: typing.SupportsInt) -> BoardConfig.GPIO: BoardConfig.GPIO

Kind: Method

###### __init__(self)

Kind: Method

###### __iter__(self) -> collections.abc.Iterator[int]: collections.abc.Iterator[int]

Kind: Method

###### __len__(self) -> int: int

Kind: Method

###### __setitem__(self, arg0: typing.SupportsInt, arg1: BoardConfig.GPIO)

Kind: Method

###### items(self) -> BoardConfig.ItemsView: BoardConfig.ItemsView

Kind: Method

###### keys(self) -> BoardConfig.KeysView: BoardConfig.KeysView

Kind: Method

###### values(self) -> BoardConfig.ValuesView: BoardConfig.ValuesView

Kind: Method

##### depthai.BoardConfig.ItemsView

Kind: Class

###### __iter__(self) -> collections.abc.Iterator: collections.abc.Iterator

Kind: Method

###### __len__(self) -> int: int

Kind: Method

##### depthai.BoardConfig.KeysView

Kind: Class

###### __contains__(self, arg0: typing.Any) -> bool: bool

Kind: Method

###### __iter__(self) -> collections.abc.Iterator: collections.abc.Iterator

Kind: Method

###### __len__(self) -> int: int

Kind: Method

##### depthai.BoardConfig.Network

Kind: Class

Network configuration

###### xlinkTcpNoDelay: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

###### mtu

Kind: Property

###### mtu.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.BoardConfig.UART

Kind: Class

UART instance config

###### __init__(self)

Kind: Method

###### tmp

Kind: Property

###### tmp.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.BoardConfig.UARTMap

Kind: Class

###### __bool__(self) -> bool: bool

Kind: Method

Check whether the map is nonempty

###### __contains__()

Kind: Method

###### __delitem__(self, arg0: typing.SupportsInt)

Kind: Method

###### __getitem__(self, arg0: typing.SupportsInt) -> BoardConfig.UART: BoardConfig.UART

Kind: Method

###### __init__(self)

Kind: Method

###### __iter__(self) -> collections.abc.Iterator[int]: collections.abc.Iterator[int]

Kind: Method

###### __len__(self) -> int: int

Kind: Method

###### __setitem__(self, arg0: typing.SupportsInt, arg1: BoardConfig.UART)

Kind: Method

###### items(self) -> BoardConfig.ItemsView: BoardConfig.ItemsView

Kind: Method

###### keys(self) -> BoardConfig.KeysView: BoardConfig.KeysView

Kind: Method

###### values(self) -> BoardConfig.ValuesView: BoardConfig.ValuesView

Kind: Method

##### depthai.BoardConfig.USB

Kind: Class

USB related config

###### manufacturer: str

Kind: Class Variable

###### maxSpeed: UsbSpeed

Kind: Class Variable

###### productName: str

Kind: Class Variable

###### __init__(self)

Kind: Method

###### flashBootedPid

Kind: Property

###### flashBootedPid.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### flashBootedVid

Kind: Property

###### flashBootedVid.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### pid

Kind: Property

###### pid.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### vid

Kind: Property

###### vid.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.BoardConfig.UVC

Kind: Class

UVC configuration for USB descriptor

###### cameraName: str

Kind: Class Variable

###### enable: bool

Kind: Class Variable

###### frameType: RawImgFrame.Type

Kind: Class Variable

###### __init__()

Kind: Method

###### height

Kind: Property

###### height.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### width

Kind: Property

###### width.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.BoardConfig.ValuesView

Kind: Class

###### __iter__(self) -> collections.abc.Iterator: collections.abc.Iterator

Kind: Method

###### __len__(self) -> int: int

Kind: Method

##### gpio: BoardConfig.GPIOMap

Kind: Class Variable

##### network: BoardConfig.Network

Kind: Class Variable

##### usb: BoardConfig.USB

Kind: Class Variable

##### uvc: depthai.BoardConfig.UVC|None

Kind: Class Variable

##### __init__(self)

Kind: Method

##### emmc

Kind: Property

eMMC config

##### emmc.setter(self, arg0: bool | None)

Kind: Method

##### logDevicePrints

Kind: Property

log device prints

##### logDevicePrints.setter(self, arg0: bool | None)

Kind: Method

##### logPath

Kind: Property

log path

##### logPath.setter(self, arg0: str | None)

Kind: Method

##### logSizeMax

Kind: Property

Max log size

##### logSizeMax.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

##### logVerbosity

Kind: Property

log verbosity

##### logVerbosity.setter(self, arg0: depthai.LogLevel | None)

Kind: Method

##### mipi4LaneRgb

Kind: Property

MIPI 4Lane RGB config

##### mipi4LaneRgb.setter(self, arg0: bool | None)

Kind: Method

##### pcieInternalClock

Kind: Property

PCIe config

##### pcieInternalClock.setter(self, arg0: bool | None)

Kind: Method

##### sysctl

Kind: Property

Optional list of FreeBSD sysctl parameters to be set (system, network, etc.).
For example: "net.inet.tcp.delayed_ack=0" (this one is also set by default)

##### sysctl.setter(self, arg0: collections.abc.Sequence [ str ])

Kind: Method

##### uart

Kind: Property

UART instance map

##### uart.setter(self, arg0: BoardConfig.UARTMap)

Kind: Method

##### usb3PhyInternalClock

Kind: Property

USB3 phy config

##### usb3PhyInternalClock.setter(self, arg0: bool | None)

Kind: Method

##### watchdogInitialDelayMs

Kind: Property

##### watchdogInitialDelayMs.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

##### watchdogTimeoutMs

Kind: Property

Watchdog config

##### watchdogTimeoutMs.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

#### depthai.Buffer(depthai.ADatatype)

Kind: Class

Base message - buffer of binary data

##### __init__(self: typing_extensions.Buffer)

Kind: Method

Creates Buffer message

##### getData(self) -> numpy.typing.NDArray[numpy.uint8]: numpy.typing.NDArray[numpy.uint8]

Kind: Method

Get non-owning reference to internal buffer

Returns:
Reference to internal buffer

##### getSequenceNum(self: typing_extensions.Buffer) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self: typing_extensions.Buffer) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self: typing_extensions.Buffer) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### setData()

Kind: Method

##### setSequenceNum(self: typing_extensions.Buffer, arg0: typing.SupportsInt) -> typing_extensions.Buffer:
typing_extensions.Buffer

Kind: Method

Retrieves sequence number

##### setTimestamp(self: typing_extensions.Buffer, arg0: datetime.timedelta) -> typing_extensions.Buffer: typing_extensions.Buffer

Kind: Method

Sets timestamp related to dai::Clock::now()

##### setTimestampDevice(self: typing_extensions.Buffer, arg0: datetime.timedelta) -> typing_extensions.Buffer:
typing_extensions.Buffer

Kind: Method

Sets timestamp related to dai::Clock::now()

#### depthai.CalibrationHandler

Kind: Class

CalibrationHandler is an interface to read/load/write structured calibration and
device data. The following fields are protected and aren't allowed to be
overridden by default: - boardName - boardRev - boardConf - hardwareConf -
batchName - batchTime - boardOptions - productName

##### fromJson(arg0: json) -> CalibrationHandler: CalibrationHandler

Kind: Static Method

Construct a new Calibration Handler object from JSON EepromData.

Parameter ``eepromDataJson``:
EepromData as JSON

##### __init__()

Kind: Method

##### eepromToJson(self) -> json: json

Kind: Method

Get JSON representation of calibration data

Returns:
JSON structure

##### eepromToJsonFile(self, destPath: Path) -> bool: bool

Kind: Method

Write raw calibration/board data to json file.

Parameter ``destPath``:
Full path to the json file in which raw calibration data will be stored

Returns:
True on success, false otherwise

##### getBaselineDistance(self, cam1: CameraBoardSocket = ..., cam2: CameraBoardSocket = ..., useSpecTranslation: bool = True) ->
float: float

Kind: Method

Get the baseline distance between two specified cameras. By default it will get
the baseline between CameraBoardSocket.CAM_C and CameraBoardSocket.CAM_B.

Parameter ``cam1``:
First camera

Parameter ``cam2``:
Second camera

Parameter ``useSpecTranslation``:
Enabling this bool uses the translation information from the board design
data (not the calibration data)

Returns:
baseline distance in centimeters

##### getCameraExtrinsics(self, srcCamera: CameraBoardSocket, dstCamera: CameraBoardSocket, useSpecTranslation: bool = False) ->
list[list[float]]: list[list[float]]

Kind: Method

Get the Camera Extrinsics object between two cameras from the calibration data
if there is a linked connection between any two cameras then the relative
rotation and translation (in centimeters) is returned by this function.

Parameter ``srcCamera``:
Camera Id of the camera which will be considered as origin.

Parameter ``dstCamera``:
Camera Id of the destination camera to which we are fetching the rotation
and translation from the SrcCamera

Parameter ``useSpecTranslation``:
Enabling this bool uses the translation information from the board design
data

Returns:
a transformationMatrix which is 4x4 in homogeneous coordinate system

Matrix representation of transformation matrix \f[ \text{Transformation Matrix}
= \left [ \begin{matrix} r_{00} & r_{01} & r_{02} & T_x \\ r_{10} & r_{11} &
r_{12} & T_y \\ r_{20} & r_{21} & r_{22} & T_z \\ 0 & 0 & 0 & 1 \end{matrix}
\right ] \f]

##### getCameraIntrinsics()

Kind: Method

##### getCameraToImuExtrinsics(self, cameraId: CameraBoardSocket, useSpecTranslation: bool = False) -> list[list[float]]:
list[list[float]]

Kind: Method

Get the Camera To Imu Extrinsics object From the data loaded if there is a
linked connection between IMU and the given camera then there relative rotation
and translation from the camera to IMU is returned.

Parameter ``cameraId``:
Camera Id of the camera which will be considered as origin. from which
Transformation matrix to the IMU will be found

Parameter ``useSpecTranslation``:
Enabling this bool uses the translation information from the board design
data

Returns:
Returns a transformationMatrix which is 4x4 in homogeneous coordinate system

Matrix representation of transformation matrix \f[ \text{Transformation Matrix}
= \left [ \begin{matrix} r_{00} & r_{01} & r_{02} & T_x \\ r_{10} & r_{11} &
r_{12} & T_y \\ r_{20} & r_{21} & r_{22} & T_z \\ 0 & 0 & 0 & 1 \end{matrix}
\right ] \f]

##### getCameraTranslationVector(self, srcCamera: CameraBoardSocket, dstCamera: CameraBoardSocket, useSpecTranslation: bool =
True) -> list[float]: list[float]

Kind: Method

Get the Camera translation vector between two cameras from the calibration data.

Parameter ``srcCamera``:
Camera Id of the camera which will be considered as origin.

Parameter ``dstCamera``:
Camera Id of the destination camera to which we are fetching the translation
vector from the SrcCamera

Parameter ``useSpecTranslation``:
Disabling this bool uses the translation information from the calibration
data (not the board design data)

Returns:
a translation vector like [x, y, z] in centimeters

##### getDefaultIntrinsics(self, cameraId: CameraBoardSocket) -> tuple[list[list[float]], int, int]: tuple[list[list[float]], int,
int]

Kind: Method

Get the Default Intrinsics object

Parameter ``cameraId``:
Uses the cameraId to identify which camera intrinsics to return

Returns:
Represents the 3x3 intrinsics matrix of the respective camera along with
width and height at which it was calibrated.

Matrix representation of intrinsic matrix \f[ \text{Intrinsic Matrix} = \left [
\begin{matrix} f_x & 0 & c_x \\ 0 & f_y & c_y \\ 0 & 0 & 1 \end{matrix} \right ]
\f]

##### getDistortionCoefficients(self, cameraId: CameraBoardSocket) -> list[float]: list[float]

Kind: Method

Get the Distortion Coefficients object

Parameter ``cameraId``:
Uses the cameraId to identify which distortion Coefficients to return.

Returns:
the distortion coefficients of the requested camera in this order:
[k1,k2,p1,p2,k3,k4,k5,k6,s1,s2,s3,s4,tx,ty] for CameraModel::Perspective or
[k1, k2, k3, k4] for CameraModel::Fisheye see
https://docs.opencv.org/4.5.4/d9/d0c/group__calib3d.html for Perspective
model (Rational Polynomial Model) see
https://docs.opencv.org/4.5.4/db/d58/group__calib3d__fisheye.html for
Fisheye model

##### getDistortionModel(self, cameraId: CameraBoardSocket) -> CameraModel: CameraModel

Kind: Method

Get the distortion model of the given camera

Parameter ``cameraId``:
of the camera with lens position is requested.

Returns:
lens position of the camera with given cameraId at which it was calibrated.

##### getEepromData(self) -> EepromData: EepromData

Kind: Method

Get the Eeprom Data object

Returns:
EepromData object which contains the raw calibration data

##### getFov(self, cameraId: CameraBoardSocket, useSpec: bool = True) -> float: float

Kind: Method

Get the Fov of the camera

Parameter ``cameraId``:
of the camera of which we are fetching fov.

Parameter ``useSpec``:
Disabling this bool will calculate the fov based on intrinsics (focal
length, image width), instead of getting it from the camera specs

Returns:
field of view of the camera with given cameraId.

##### getImuToCameraExtrinsics(self, cameraId: CameraBoardSocket, useSpecTranslation: bool = False) -> list[list[float]]:
list[list[float]]

Kind: Method

Get the Imu To Camera Extrinsics object from the data loaded if there is a
linked connection between IMU and the given camera then there relative rotation
and translation from the IMU to Camera is returned.

Parameter ``cameraId``:
Camera Id of the camera which will be considered as destination. To which
Transformation matrix from the IMU will be found.

Parameter ``useSpecTranslation``:
Enabling this bool uses the translation information from the board design
data

Returns:
Returns a transformationMatrix which is 4x4 in homogeneous coordinate system

Matrix representation of transformation matrix \f[ \text{Transformation Matrix}
= \left [ \begin{matrix} r_{00} & r_{01} & r_{02} & T_x \\ r_{10} & r_{11} &
r_{12} & T_y \\ r_{20} & r_{21} & r_{22} & T_z \\ 0 & 0 & 0 & 1 \end{matrix}
\right ] \f]

##### getLensPosition(self, cameraId: CameraBoardSocket) -> int: int

Kind: Method

Get the lens position of the given camera

Parameter ``cameraId``:
of the camera with lens position is requested.

Returns:
lens position of the camera with given cameraId at which it was calibrated.

##### getStereoLeftCameraId(self) -> CameraBoardSocket: CameraBoardSocket

Kind: Method

Get the camera id of the camera which is used as left camera of the stereo setup

Returns:
cameraID of the camera used as left camera

##### getStereoLeftRectificationRotation(self) -> list[list[float]]: list[list[float]]

Kind: Method

Get the Stereo Left Rectification Rotation object

Returns:
returns a 3x3 rectification rotation matrix

##### getStereoRightCameraId(self) -> CameraBoardSocket: CameraBoardSocket

Kind: Method

Get the camera id of the camera which is used as right camera of the stereo
setup

Returns:
cameraID of the camera used as right camera

##### getStereoRightRectificationRotation(self) -> list[list[float]]: list[list[float]]

Kind: Method

Get the Stereo Right Rectification Rotation object

Returns:
returns a 3x3 rectification rotation matrix

##### setBoardInfo()

Kind: Method

##### setCameraExtrinsics(self, srcCameraId: CameraBoardSocket, destCameraId: CameraBoardSocket, rotationMatrix:
collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsFloat ] ], translation: collections.abc.Sequence [
typing.SupportsFloat ], specTranslation: collections.abc.Sequence [ typing.SupportsFloat ] = [0.0, 0.0, 0.0])

Kind: Method

Set the Camera Extrinsics object

Parameter ``srcCameraId``:
Camera Id of the camera which will be considered as relative origin.

Parameter ``destCameraId``:
Camera Id of the camera which will be considered as destination from
srcCameraId.

Parameter ``rotationMatrix``:
Rotation between srcCameraId and destCameraId origins.

Parameter ``translation``:
Translation between srcCameraId and destCameraId origins.

Parameter ``specTranslation``:
Translation between srcCameraId and destCameraId origins from the design.

##### setCameraIntrinsics()

Kind: Method

##### setCameraType(self, cameraId: CameraBoardSocket, cameraModel: CameraModel)

Kind: Method

Set the Camera Type object

Parameter ``cameraId``:
CameraId of the camera for which cameraModel Type is being updated.

Parameter ``cameraModel``:
Type of the model the camera represents

##### setDeviceName(self, deviceName: str)

Kind: Method

Set the deviceName which responses to getDeviceName of Device

Parameter ``deviceName``:
Sets device name.

##### setDistortionCoefficients(self, cameraId: CameraBoardSocket, distortionCoefficients: collections.abc.Sequence [
typing.SupportsFloat ])

Kind: Method

Sets the distortion Coefficients obtained from camera calibration

Parameter ``cameraId``:
Camera Id of the camera for which distortion coefficients are computed

Parameter ``distortionCoefficients``:
Distortion Coefficients of the respective Camera.

##### setFov(self, cameraId: CameraBoardSocket, hfov: typing.SupportsFloat)

Kind: Method

Set the Fov of the Camera

Parameter ``cameraId``:
Camera Id of the camera

Parameter ``hfov``:
Horizontal fov of the camera from Camera Datasheet

##### setImuExtrinsics(self, destCameraId: CameraBoardSocket, rotationMatrix: collections.abc.Sequence [ collections.abc.Sequence
[ typing.SupportsFloat ] ], translation: collections.abc.Sequence [ typing.SupportsFloat ], specTranslation:
collections.abc.Sequence [ typing.SupportsFloat ] = [0.0, 0.0, 0.0])

Kind: Method

Set the Imu to Camera Extrinsics object

Parameter ``destCameraId``:
Camera Id of the camera which will be considered as destination from IMU.

Parameter ``rotationMatrix``:
Rotation between srcCameraId and destCameraId origins.

Parameter ``translation``:
Translation between IMU and destCameraId origins.

Parameter ``specTranslation``:
Translation between IMU and destCameraId origins from the design.

##### setLensPosition(self, cameraId: CameraBoardSocket, lensPosition: typing.SupportsInt)

Kind: Method

Sets the distortion Coefficients obtained from camera calibration

Parameter ``cameraId``:
Camera Id of the camera

Parameter ``lensPosition``:
lens posiotion value of the camera at the time of calibration

##### setProductName(self, productName: str)

Kind: Method

Set the productName which acts as alisas for users to identify the device

Parameter ``productName``:
Sets product name (alias).

##### setStereoLeft(self, cameraId: CameraBoardSocket, rectifiedRotation: collections.abc.Sequence [ collections.abc.Sequence [
typing.SupportsFloat ] ])

Kind: Method

Set the Stereo Left Rectification object

Parameter ``cameraId``:
CameraId of the camera which will be used as left Camera of stereo Setup

Parameter ``rectifiedRotation``:
Rectification rotation of the left camera required for feature matching

Homography of the Left Rectification = Intrinsics_right * rectifiedRotation *
inv(Intrinsics_left)

##### setStereoRight(self, cameraId: CameraBoardSocket, rectifiedRotation: collections.abc.Sequence [ collections.abc.Sequence [
typing.SupportsFloat ] ])

Kind: Method

Set the Stereo Right Rectification object

Parameter ``cameraId``:
CameraId of the camera which will be used as left Camera of stereo Setup

Parameter ``rectifiedRotation``:
Rectification rotation of the left camera required for feature matching

Homography of the Right Rectification = Intrinsics_right * rectifiedRotation *
inv(Intrinsics_right)

#### depthai.CameraBoardSocket

Kind: Class

Which Camera socket to use.

AUTO denotes that the decision will be made by device

Members:

AUTO

CAM_A

CAM_B

CAM_C

CAM_D

CAM_E

CAM_F

CAM_G

CAM_H

RGB : **Deprecated:** Use CAM_A or address camera by name instead

LEFT : **Deprecated:** Use CAM_B or address camera by name instead

RIGHT : **Deprecated:** Use CAM_C or address camera by name instead

CENTER : **Deprecated:** Use CAM_A or address camera by name instead

##### AUTO: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### CAM_A: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### CAM_B: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### CAM_C: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### CAM_D: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### CAM_E: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### CAM_F: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### CAM_G: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### CAM_H: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### CENTER: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### LEFT: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### RGB: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### RIGHT: typing.ClassVar[CameraBoardSocket]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, CameraBoardSocket]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.CameraControl(depthai.Buffer)

Kind: Class

CameraControl message. Specifies various camera control commands like:

- Still capture

- Auto/manual focus

- Auto/manual white balance

- Auto/manual exposure

- Anti banding

- ...

By default the camera enables 3A, with auto-focus in `CONTINUOUS_VIDEO` mode,
auto-white-balance in `AUTO` mode, and auto-exposure with anti-banding for 50Hz
mains frequency.

##### depthai.CameraControl.AntiBandingMode

Kind: Class

Members:

OFF

MAINS_50_HZ

MAINS_60_HZ

AUTO

###### AUTO: typing.ClassVar[RawCameraControl.AntiBandingMode]

Kind: Class Variable

###### MAINS_50_HZ: typing.ClassVar[RawCameraControl.AntiBandingMode]

Kind: Class Variable

###### MAINS_60_HZ: typing.ClassVar[RawCameraControl.AntiBandingMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.AntiBandingMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.AntiBandingMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawCameraControl.AntiBandingMode) -> int: int

Kind: Method

###### __init__(self: RawCameraControl.AntiBandingMode, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawCameraControl.AntiBandingMode) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawCameraControl.AntiBandingMode, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.AutoFocusMode

Kind: Class

Members:

OFF

AUTO

MACRO

CONTINUOUS_VIDEO

CONTINUOUS_PICTURE

EDOF

###### AUTO: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### CONTINUOUS_PICTURE: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### CONTINUOUS_VIDEO: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### EDOF: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### MACRO: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.AutoFocusMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawCameraControl.AutoFocusMode) -> int: int

Kind: Method

###### __init__(self: RawCameraControl.AutoFocusMode, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawCameraControl.AutoFocusMode) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawCameraControl.AutoFocusMode, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.AutoWhiteBalanceMode

Kind: Class

Members:

OFF

AUTO

INCANDESCENT

FLUORESCENT

WARM_FLUORESCENT

DAYLIGHT

CLOUDY_DAYLIGHT

TWILIGHT

SHADE

###### AUTO: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### CLOUDY_DAYLIGHT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### DAYLIGHT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### FLUORESCENT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### INCANDESCENT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### SHADE: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### TWILIGHT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### WARM_FLUORESCENT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.AutoWhiteBalanceMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawCameraControl.AutoWhiteBalanceMode) -> int: int

Kind: Method

###### __init__(self: RawCameraControl.AutoWhiteBalanceMode, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawCameraControl.AutoWhiteBalanceMode) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawCameraControl.AutoWhiteBalanceMode, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.CaptureIntent

Kind: Class

Members:

CUSTOM

PREVIEW

STILL_CAPTURE

VIDEO_RECORD

VIDEO_SNAPSHOT

ZERO_SHUTTER_LAG

###### CUSTOM: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### PREVIEW: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### STILL_CAPTURE: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### VIDEO_RECORD: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### VIDEO_SNAPSHOT: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### ZERO_SHUTTER_LAG: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.CaptureIntent]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawCameraControl.CaptureIntent) -> int: int

Kind: Method

###### __init__(self: RawCameraControl.CaptureIntent, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawCameraControl.CaptureIntent) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawCameraControl.CaptureIntent, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.Command

Kind: Class

Members:

START_STREAM

STOP_STREAM

STILL_CAPTURE

MOVE_LENS

AF_TRIGGER

AE_MANUAL

AE_AUTO

AWB_MODE

SCENE_MODE

ANTIBANDING_MODE

EXPOSURE_COMPENSATION

AE_LOCK

AE_TARGET_FPS_RANGE

AWB_LOCK

CAPTURE_INTENT

CONTROL_MODE

FRAME_DURATION

SENSITIVITY

EFFECT_MODE

AF_MODE

NOISE_REDUCTION_STRENGTH

SATURATION

BRIGHTNESS

STREAM_FORMAT

RESOLUTION

SHARPNESS

CUSTOM_USECASE

CUSTOM_CAPT_MODE

CUSTOM_EXP_BRACKETS

CUSTOM_CAPTURE

CONTRAST

AE_REGION

AF_REGION

LUMA_DENOISE

CHROMA_DENOISE

WB_COLOR_TEMP

###### AE_AUTO: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AE_LOCK: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AE_MANUAL: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AE_REGION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AE_TARGET_FPS_RANGE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AF_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AF_REGION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AF_TRIGGER: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### ANTIBANDING_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AWB_LOCK: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AWB_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### BRIGHTNESS: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CAPTURE_INTENT: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CHROMA_DENOISE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CONTRAST: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CONTROL_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CUSTOM_CAPTURE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CUSTOM_CAPT_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CUSTOM_EXP_BRACKETS: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CUSTOM_USECASE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### EFFECT_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### EXPOSURE_COMPENSATION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### FRAME_DURATION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### LUMA_DENOISE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### MOVE_LENS: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### NOISE_REDUCTION_STRENGTH: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### RESOLUTION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### SATURATION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### SCENE_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### SENSITIVITY: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### SHARPNESS: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### START_STREAM: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### STILL_CAPTURE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### STOP_STREAM: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### STREAM_FORMAT: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### WB_COLOR_TEMP: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.Command]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawCameraControl.Command) -> int: int

Kind: Method

###### __init__(self: RawCameraControl.Command, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawCameraControl.Command) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawCameraControl.Command, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.ControlMode

Kind: Class

Members:

OFF

AUTO

USE_SCENE_MODE

###### AUTO: typing.ClassVar[RawCameraControl.ControlMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.ControlMode]

Kind: Class Variable

###### USE_SCENE_MODE: typing.ClassVar[RawCameraControl.ControlMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.ControlMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawCameraControl.ControlMode) -> int: int

Kind: Method

###### __init__(self: RawCameraControl.ControlMode, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawCameraControl.ControlMode) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawCameraControl.ControlMode, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.EffectMode

Kind: Class

Members:

OFF

MONO

NEGATIVE

SOLARIZE

SEPIA

POSTERIZE

WHITEBOARD

BLACKBOARD

AQUA

###### AQUA: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### BLACKBOARD: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### MONO: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### NEGATIVE: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### POSTERIZE: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### SEPIA: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### SOLARIZE: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### WHITEBOARD: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.EffectMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawCameraControl.EffectMode) -> int: int

Kind: Method

###### __init__(self: RawCameraControl.EffectMode, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawCameraControl.EffectMode) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawCameraControl.EffectMode, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.FrameSyncMode

Kind: Class

Members:

OFF

OUTPUT

INPUT

###### INPUT: typing.ClassVar[RawCameraControl.FrameSyncMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.FrameSyncMode]

Kind: Class Variable

###### OUTPUT: typing.ClassVar[RawCameraControl.FrameSyncMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.FrameSyncMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawCameraControl.FrameSyncMode) -> int: int

Kind: Method

###### __init__(self: RawCameraControl.FrameSyncMode, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawCameraControl.FrameSyncMode) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawCameraControl.FrameSyncMode, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.SceneMode

Kind: Class

Members:

UNSUPPORTED

FACE_PRIORITY

ACTION

PORTRAIT

LANDSCAPE

NIGHT

NIGHT_PORTRAIT

THEATRE

BEACH

SNOW

SUNSET

STEADYPHOTO

FIREWORKS

SPORTS

PARTY

CANDLELIGHT

BARCODE

###### ACTION: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### BARCODE: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### BEACH: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### CANDLELIGHT: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### FACE_PRIORITY: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### FIREWORKS: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### LANDSCAPE: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### NIGHT: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### NIGHT_PORTRAIT: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### PARTY: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### PORTRAIT: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### SNOW: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### SPORTS: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### STEADYPHOTO: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### SUNSET: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### THEATRE: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### UNSUPPORTED: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.SceneMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawCameraControl.SceneMode) -> int: int

Kind: Method

###### __init__(self: RawCameraControl.SceneMode, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawCameraControl.SceneMode) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawCameraControl.SceneMode, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### __init__(self)

Kind: Method

Construct CameraControl message

##### clearMiscControls(self)

Kind: Method

Clear the list of miscellaneous controls set by `setControl`

##### get(self) -> RawCameraControl: RawCameraControl

Kind: Method

Retrieve configuration data for CameraControl.

Returns:
config for CameraControl

##### getCaptureStill(self) -> bool: bool

Kind: Method

Check whether command to capture a still is set

Returns:
True if capture still command is set

##### getExposureTime(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves exposure time

##### getLensPosition(self) -> int: int

Kind: Method

Retrieves lens position, range 0..255. Returns -1 if not available

##### getLensPositionRaw(self) -> float: float

Kind: Method

Retrieves lens position, range 0.0f..1.0f.

##### getMiscControls(self) -> list[tuple[str, str]]: list[tuple[str, str]]

Kind: Method

Get the list of miscellaneous controls set by `setControl`

Returns:
A list of <key, value> pairs as strings

##### getSensitivity(self) -> int: int

Kind: Method

Retrieves sensitivity, as an ISO value

##### set(self, config: RawCameraControl) -> CameraControl: CameraControl

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

##### setAntiBandingMode(self, mode: RawCameraControl.AntiBandingMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify anti-banding mode. Anti-banding / anti-flicker works in
auto-exposure mode, by controlling the exposure time to be applied in multiples
of half the mains period, for example in multiple of 10ms for 50Hz (period 20ms)
AC-powered illumination sources.

If the scene would be too bright for the smallest exposure step (10ms in the
example, with ISO at a minimum of 100), anti-banding is not effective.

Parameter ``mode``:
Anti-banding mode to use. Default: `MAINS_50_HZ`

##### setAutoExposureCompensation(self, compensation: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to specify auto exposure compensation

Parameter ``compensation``:
Compensation value between -9..9, default 0

##### setAutoExposureEnable(self) -> CameraControl: CameraControl

Kind: Method

Set a command to enable auto exposure

##### setAutoExposureLimit()

Kind: Method

##### setAutoExposureLock(self, lock: bool) -> CameraControl: CameraControl

Kind: Method

Set a command to specify lock auto exposure

Parameter ``lock``:
Auto exposure lock mode enabled or disabled

##### setAutoExposureRegion(self, startX: typing.SupportsInt, startY: typing.SupportsInt, width: typing.SupportsInt, height:
typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to specify auto exposure region in pixels. Note: the region should
be mapped to the configured sensor resolution, before ISP scaling

Parameter ``startX``:
X coordinate of top left corner of region

Parameter ``startY``:
Y coordinate of top left corner of region

Parameter ``width``:
Region width

Parameter ``height``:
Region height

##### setAutoFocusLensRange(self, infinityPosition: typing.SupportsInt, macroPosition: typing.SupportsInt) -> CameraControl:
CameraControl

Kind: Method

Set autofocus lens range, `infinityPosition < macroPosition`, valid values
`0..255`. May help to improve autofocus in case the lens adjustment is not
typical/tuned

##### setAutoFocusMode(self, mode: RawCameraControl.AutoFocusMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify autofocus mode. Default `CONTINUOUS_VIDEO`

##### setAutoFocusRegion(self, startX: typing.SupportsInt, startY: typing.SupportsInt, width: typing.SupportsInt, height:
typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to specify focus region in pixels. Note: the region should be
mapped to the configured sensor resolution, before ISP scaling

Parameter ``startX``:
X coordinate of top left corner of region

Parameter ``startY``:
Y coordinate of top left corner of region

Parameter ``width``:
Region width

Parameter ``height``:
Region height

##### setAutoFocusTrigger(self) -> CameraControl: CameraControl

Kind: Method

Set a command to trigger autofocus

##### setAutoWhiteBalanceLock(self, lock: bool) -> CameraControl: CameraControl

Kind: Method

Set a command to specify auto white balance lock

Parameter ``lock``:
Auto white balance lock mode enabled or disabled

##### setAutoWhiteBalanceMode(self, mode: RawCameraControl.AutoWhiteBalanceMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify auto white balance mode

Parameter ``mode``:
Auto white balance mode to use. Default `AUTO`

##### setBrightness(self, value: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust image brightness

Parameter ``value``:
Brightness, range -10..10, default 0

##### setCaptureIntent(self, mode: RawCameraControl.CaptureIntent) -> CameraControl: CameraControl

Kind: Method

Set a command to specify capture intent mode

Parameter ``mode``:
Capture intent mode

##### setCaptureStill(self, capture: bool) -> CameraControl: CameraControl

Kind: Method

Set a command to capture a still image

##### setChromaDenoise(self, value: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust chroma denoise amount

Parameter ``value``:
Chroma denoise amount, range 0..4, default 1

##### setContrast(self, value: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust image contrast

Parameter ``value``:
Contrast, range -10..10, default 0

##### setControlMode(self, mode: RawCameraControl.ControlMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify control mode

Parameter ``mode``:
Control mode

##### setEffectMode(self, mode: RawCameraControl.EffectMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify effect mode

Parameter ``mode``:
Effect mode

##### setExternalTrigger(self, numFramesBurst: typing.SupportsInt, numFramesDiscard: typing.SupportsInt) -> CameraControl:
CameraControl

Kind: Method

Set a command to enable external trigger snapshot mode

A rising edge on the sensor FSIN pin will make it capture a sequence of
`numFramesBurst` frames. First `numFramesDiscard` will be skipped as configured
(can be set to 0 as well), as they may have degraded quality

##### setFrameSyncMode(self, mode: RawCameraControl.FrameSyncMode) -> CameraControl: CameraControl

Kind: Method

Set the frame sync mode for continuous streaming operation mode, translating to
how the camera pin FSIN/FSYNC is used: input/output/disabled

##### setLumaDenoise(self, value: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust luma denoise amount

Parameter ``value``:
Luma denoise amount, range 0..4, default 1

##### setManualExposure()

Kind: Method

##### setManualFocus(self, lensPosition: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to specify manual focus position

Parameter ``lensPosition``:
specify lens position 0..255

##### setManualFocusRaw(self, lensPositionRaw: typing.SupportsFloat) -> CameraControl: CameraControl

Kind: Method

Set a command to specify manual focus position (more precise control).

Parameter ``lensPositionRaw``:
specify lens position 0.0f .. 1.0f

Returns:
CameraControl&

##### setManualWhiteBalance(self, colorTemperatureK: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to manually specify white-balance color correction

Parameter ``colorTemperatureK``:
Light source color temperature in kelvins, range 1000..12000

##### setMisc()

Kind: Method

##### setSaturation(self, value: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust image saturation

Parameter ``value``:
Saturation, range -10..10, default 0

##### setSceneMode(self, mode: RawCameraControl.SceneMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify scene mode

Parameter ``mode``:
Scene mode

##### setSharpness(self, value: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust image sharpness

Parameter ``value``:
Sharpness, range 0..4, default 1

##### setStartStreaming(self) -> CameraControl: CameraControl

Kind: Method

Set a command to start streaming

##### setStopStreaming(self) -> CameraControl: CameraControl

Kind: Method

Set a command to stop streaming

##### setStrobeDisable(self) -> CameraControl: CameraControl

Kind: Method

Disable STROBE output

##### setStrobeExternal(self, gpioNumber: typing.SupportsInt, activeLevel: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Enable STROBE output driven by a MyriadX GPIO, optionally configuring the
polarity This normally requires a FSIN/FSYNC/trigger input for MyriadX (usually
GPIO 41), to generate timings

##### setStrobeSensor(self, activeLevel: typing.SupportsInt) -> CameraControl: CameraControl

Kind: Method

Enable STROBE output on sensor pin, optionally configuring the polarity. Note:
for many sensors the polarity is high-active and not configurable

#### depthai.CameraExposureOffset

Kind: Class

Members:

START

MIDDLE

END

##### END: typing.ClassVar[CameraExposureOffset]

Kind: Class Variable

##### MIDDLE: typing.ClassVar[CameraExposureOffset]

Kind: Class Variable

##### START: typing.ClassVar[CameraExposureOffset]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, CameraExposureOffset]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.CameraFeatures

Kind: Class

CameraFeatures structure

Characterizes detected cameras on board

##### calibrationResolution: depthai.CameraSensorConfig|None

Kind: Class Variable

##### hasAutofocus: bool

Kind: Class Variable

##### hasAutofocusIC: bool

Kind: Class Variable

##### name: str

Kind: Class Variable

##### orientation: CameraImageOrientation

Kind: Class Variable

##### sensorName: str

Kind: Class Variable

##### socket: CameraBoardSocket

Kind: Class Variable

##### __init__(self)

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### configs

Kind: Property

##### configs.setter(self, arg0: collections.abc.Sequence [ CameraSensorConfig ])

Kind: Method

##### height

Kind: Property

##### height.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### supportedTypes

Kind: Property

##### supportedTypes.setter(self, arg0: collections.abc.Sequence [ CameraSensorType ])

Kind: Method

##### width

Kind: Property

##### width.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.CameraImageOrientation

Kind: Class

Camera sensor image orientation / pixel readout. This exposes direct sensor
settings. 90 or 270 degrees rotation is not available.

AUTO denotes that the decision will be made by device (e.g. on OAK-1/megaAI:
ROTATE_180_DEG).

Members:

AUTO

NORMAL

HORIZONTAL_MIRROR

VERTICAL_FLIP

ROTATE_180_DEG

##### AUTO: typing.ClassVar[CameraImageOrientation]

Kind: Class Variable

##### HORIZONTAL_MIRROR: typing.ClassVar[CameraImageOrientation]

Kind: Class Variable

##### NORMAL: typing.ClassVar[CameraImageOrientation]

Kind: Class Variable

##### ROTATE_180_DEG: typing.ClassVar[CameraImageOrientation]

Kind: Class Variable

##### VERTICAL_FLIP: typing.ClassVar[CameraImageOrientation]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, CameraImageOrientation]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.CameraInfo

Kind: Class

CameraInfo structure

##### cameraType: CameraModel

Kind: Class Variable

##### extrinsics: Extrinsics

Kind: Class Variable

##### __init__(self)

Kind: Method

##### distortionCoeff

Kind: Property

##### distortionCoeff.setter(self, arg0: collections.abc.Sequence [ typing.SupportsFloat ])

Kind: Method

##### height

Kind: Property

##### height.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### intrinsicMatrix

Kind: Property

##### intrinsicMatrix.setter(self, arg0: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsFloat ] ])

Kind: Method

##### specHfovDeg

Kind: Property

##### specHfovDeg.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### width

Kind: Property

##### width.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.CameraModel

Kind: Class

Which CameraModel to initialize the calibration with.

Members:

Perspective

Fisheye

Equirectangular

RadialDivision

##### Equirectangular: typing.ClassVar[CameraModel]

Kind: Class Variable

##### Fisheye: typing.ClassVar[CameraModel]

Kind: Class Variable

##### Perspective: typing.ClassVar[CameraModel]

Kind: Class Variable

##### RadialDivision: typing.ClassVar[CameraModel]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, CameraModel]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.CameraProperties

Kind: Class

Specify properties for ColorCamera such as camera ID, ...

##### depthai.CameraProperties.ColorOrder

Kind: Class

For 24 bit color these can be either RGB or BGR

Members:

BGR

RGB

###### BGR: typing.ClassVar[CameraProperties.ColorOrder]

Kind: Class Variable

###### RGB: typing.ClassVar[CameraProperties.ColorOrder]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraProperties.ColorOrder]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraProperties.WarpMeshSource

Kind: Class

Warp mesh source

Members:

AUTO

NONE

CALIBRATION

URI

###### AUTO: typing.ClassVar[CameraProperties.WarpMeshSource]

Kind: Class Variable

###### CALIBRATION: typing.ClassVar[CameraProperties.WarpMeshSource]

Kind: Class Variable

###### NONE: typing.ClassVar[CameraProperties.WarpMeshSource]

Kind: Class Variable

###### URI: typing.ClassVar[CameraProperties.WarpMeshSource]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraProperties.WarpMeshSource]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### boardSocket: CameraBoardSocket

Kind: Class Variable

##### cameraName: str

Kind: Class Variable

##### colorOrder: CameraProperties.ColorOrder

Kind: Class Variable

##### fp16: bool

Kind: Class Variable

##### imageOrientation: CameraImageOrientation

Kind: Class Variable

##### initialControl: RawCameraControl

Kind: Class Variable

##### interleaved: bool

Kind: Class Variable

##### ispScale: ...

Kind: Class Variable

##### previewKeepAspectRatio: bool

Kind: Class Variable

##### rawPacked: bool|None

Kind: Class Variable

##### sensorType: CameraSensorType

Kind: Class Variable

##### warpMeshSource: CameraProperties.WarpMeshSource

Kind: Class Variable

##### warpMeshUri: str

Kind: Class Variable

##### calibAlpha

Kind: Property

##### calibAlpha.setter(self, arg0: typing.SupportsFloat | None)

Kind: Method

##### fps

Kind: Property

##### fps.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### isp3aFps

Kind: Property

##### isp3aFps.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolIsp

Kind: Property

##### numFramesPoolIsp.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolPreview

Kind: Property

##### numFramesPoolPreview.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolRaw

Kind: Property

##### numFramesPoolRaw.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolStill

Kind: Property

##### numFramesPoolStill.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolVideo

Kind: Property

##### numFramesPoolVideo.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### previewHeight

Kind: Property

##### previewHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### previewWidth

Kind: Property

##### previewWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### resolutionHeight

Kind: Property

##### resolutionHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### resolutionWidth

Kind: Property

##### resolutionWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### sensorCropX

Kind: Property

##### sensorCropX.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### sensorCropY

Kind: Property

##### sensorCropY.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### stillHeight

Kind: Property

##### stillHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### stillWidth

Kind: Property

##### stillWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### videoHeight

Kind: Property

##### videoHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### videoWidth

Kind: Property

##### videoWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### warpMeshHeight

Kind: Property

##### warpMeshHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### warpMeshStepHeight

Kind: Property

##### warpMeshStepHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### warpMeshStepWidth

Kind: Property

##### warpMeshStepWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### warpMeshWidth

Kind: Property

##### warpMeshWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.CameraSensorConfig

Kind: Class

Sensor config

##### fov: Rect

Kind: Class Variable

##### type: CameraSensorType

Kind: Class Variable

##### __init__(self)

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### height

Kind: Property

##### height.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### maxFps

Kind: Property

##### maxFps.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### minFps

Kind: Property

##### minFps.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### width

Kind: Property

##### width.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.CameraSensorType

Kind: Class

Camera sensor type

Members:

COLOR

MONO

TOF

THERMAL

##### COLOR: typing.ClassVar[CameraSensorType]

Kind: Class Variable

##### MONO: typing.ClassVar[CameraSensorType]

Kind: Class Variable

##### THERMAL: typing.ClassVar[CameraSensorType]

Kind: Class Variable

##### TOF: typing.ClassVar[CameraSensorType]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, CameraSensorType]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.CastProperties

Kind: Class

Specify properties for Cast

##### outputType: RawImgFrame.Type

Kind: Class Variable

##### numFramesPool

Kind: Property

##### numFramesPool.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### offset

Kind: Property

##### offset.setter(self, arg0: typing.SupportsFloat | None)

Kind: Method

##### scale

Kind: Property

##### scale.setter(self, arg0: typing.SupportsFloat | None)

Kind: Method

#### depthai.ChipTemperature

Kind: Class

Chip temperature information.

Multiple temperature measurement points and their average

##### __init__(self)

Kind: Method

##### average

Kind: Property

##### average.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### css

Kind: Property

##### css.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### dss

Kind: Property

##### dss.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### mss

Kind: Property

##### mss.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### upa

Kind: Property

##### upa.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.Clock

Kind: Class

##### now() -> datetime.timedelta: datetime.timedelta

Kind: Static Method

#### depthai.ColorCameraProperties

Kind: Class

Specify properties for ColorCamera such as camera ID, ...

##### depthai.ColorCameraProperties.ColorOrder

Kind: Class

For 24 bit color these can be either RGB or BGR

Members:

BGR

RGB

###### BGR: typing.ClassVar[ColorCameraProperties.ColorOrder]

Kind: Class Variable

###### RGB: typing.ClassVar[ColorCameraProperties.ColorOrder]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, ColorCameraProperties.ColorOrder]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.ColorCameraProperties.SensorResolution

Kind: Class

Select the camera sensor resolution

Members:

THE_1080_P

THE_1200_P

THE_4_K

THE_5_MP

THE_12_MP

THE_4000X3000

THE_13_MP

THE_5312X6000

THE_48_MP

THE_720_P

THE_800_P

THE_1440X1080

THE_1352X1012

THE_2024X1520

###### THE_1080_P: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_1200_P: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_12_MP: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_1352X1012: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_13_MP: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_1440X1080: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_2024X1520: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_4000X3000: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_48_MP: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_4_K: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_5312X6000: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_5_MP: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_720_P: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_800_P: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, ColorCameraProperties.SensorResolution]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### boardSocket: CameraBoardSocket

Kind: Class Variable

##### colorOrder: ColorCameraProperties.ColorOrder

Kind: Class Variable

##### fp16: bool

Kind: Class Variable

##### imageOrientation: CameraImageOrientation

Kind: Class Variable

##### initialControl: RawCameraControl

Kind: Class Variable

##### interleaved: bool

Kind: Class Variable

##### ispScale: ...

Kind: Class Variable

##### previewKeepAspectRatio: bool

Kind: Class Variable

##### resolution: ColorCameraProperties.SensorResolution

Kind: Class Variable

##### eventFilter

Kind: Property

##### eventFilter.setter(self, arg0: collections.abc.Sequence [ FrameEvent ])

Kind: Method

##### fps

Kind: Property

##### fps.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### isp3aFps

Kind: Property

##### isp3aFps.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolIsp

Kind: Property

##### numFramesPoolIsp.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolPreview

Kind: Property

##### numFramesPoolPreview.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolRaw

Kind: Property

##### numFramesPoolRaw.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolStill

Kind: Property

##### numFramesPoolStill.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolVideo

Kind: Property

##### numFramesPoolVideo.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### previewHeight

Kind: Property

##### previewHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### previewWidth

Kind: Property

##### previewWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### sensorCropX

Kind: Property

##### sensorCropX.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### sensorCropY

Kind: Property

##### sensorCropY.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### stillHeight

Kind: Property

##### stillHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### stillWidth

Kind: Property

##### stillWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### videoHeight

Kind: Property

##### videoHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### videoWidth

Kind: Property

##### videoWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.Colormap

Kind: Class

Camera sensor type

Members:

NONE

JET

TURBO

STEREO_JET

STEREO_TURBO

##### JET: typing.ClassVar[Colormap]

Kind: Class Variable

##### NONE: typing.ClassVar[Colormap]

Kind: Class Variable

##### STEREO_JET: typing.ClassVar[Colormap]

Kind: Class Variable

##### STEREO_TURBO: typing.ClassVar[Colormap]

Kind: Class Variable

##### TURBO: typing.ClassVar[Colormap]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, Colormap]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.CpuUsage

Kind: Class

CpuUsage structure

Average usage in percent and time span of the average (since last query)

##### __init__(self)

Kind: Method

##### average

Kind: Property

##### average.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### msTime

Kind: Property

##### msTime.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.CrashDump

Kind: Class

##### depthai.CrashDump.CrashReport

Kind: Class

###### depthai.CrashDump.CrashReport.ErrorSourceInfo

Kind: Class

###### depthai.CrashDump.CrashReport.ErrorSourceInfo.AssertContext

Kind: Class

###### fileName: str

Kind: Class Variable

###### functionName: str

Kind: Class Variable

###### __init__(self)

Kind: Method

###### line

Kind: Property

###### line.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.CrashDump.CrashReport.ErrorSourceInfo.TrapContext

Kind: Class

###### trapName: str

Kind: Class Variable

###### __init__(self)

Kind: Method

###### trapAddress

Kind: Property

###### trapAddress.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### trapNumber

Kind: Property

###### trapNumber.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### assertContext: CrashDump.CrashReport.ErrorSourceInfo.AssertContext

Kind: Class Variable

###### trapContext: CrashDump.CrashReport.ErrorSourceInfo.TrapContext

Kind: Class Variable

###### __init__(self)

Kind: Method

###### errorId

Kind: Property

###### errorId.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.CrashDump.CrashReport.ThreadCallstack

Kind: Class

###### depthai.CrashDump.CrashReport.ThreadCallstack.CallstackContext

Kind: Class

###### context: str

Kind: Class Variable

###### __init__(self)

Kind: Method

###### callSite

Kind: Property

###### callSite.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### calledTarget

Kind: Property

###### calledTarget.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### framePointer

Kind: Property

###### framePointer.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### threadName: str

Kind: Class Variable

###### threadStatus: str

Kind: Class Variable

###### __init__(self)

Kind: Method

###### callStack

Kind: Property

###### callStack.setter(self, arg0: collections.abc.Sequence [ CrashDump.CrashReport.ThreadCallstack.CallstackContext ])

Kind: Method

###### instructionPointer

Kind: Property

###### instructionPointer.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### stackBottom

Kind: Property

###### stackBottom.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### stackPointer

Kind: Property

###### stackPointer.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### stackTop

Kind: Property

###### stackTop.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### threadId

Kind: Property

###### threadId.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### errorSource: str

Kind: Class Variable

###### processor: ProcessorType

Kind: Class Variable

###### __init__(self)

Kind: Method

###### crashedThreadId

Kind: Property

###### crashedThreadId.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### threadCallstack

Kind: Property

###### threadCallstack.setter(self, arg0: collections.abc.Sequence [ CrashDump.CrashReport.ThreadCallstack ])

Kind: Method

##### depthaiCommitHash: str

Kind: Class Variable

##### deviceId: str

Kind: Class Variable

##### __init__(self)

Kind: Method

##### serializeToJson(self) -> json: json

Kind: Method

##### crashReports

Kind: Property

##### crashReports.setter(self, arg0: collections.abc.Sequence [ CrashDump.CrashReport ])

Kind: Method

#### depthai.DataInputQueue

Kind: Class

Access to send messages through XLink stream

##### close(self)

Kind: Method

Closes the queue and the underlying thread

##### getBlocking(self) -> bool: bool

Kind: Method

Gets current queue behavior when full (maxSize)

Returns:
True if blocking, false otherwise

##### getMaxSize(self) -> int: int

Kind: Method

Gets queue maximum size

Returns:
Maximum queue size

##### getName(self) -> str: str

Kind: Method

Gets queues name

Returns:
Queue name

##### isClosed(self) -> bool: bool

Kind: Method

Check whether queue is closed

.. warning::
This function is thread-unsafe and may return outdated incorrect values. It
is only meant for use in simple single-threaded code. Well written code
should handle exceptions when calling any DepthAI apis to handle hardware
events and multithreaded use.

##### send()

Kind: Method

##### setBlocking(self, blocking: bool)

Kind: Method

Sets queue behavior when full (maxSize)

Parameter ``blocking``:
Specifies if block or overwrite the oldest message in the queue

##### setMaxSize(self, maxSize: typing.SupportsInt)

Kind: Method

Sets queue maximum size

Parameter ``maxSize``:
Specifies maximum number of messages in the queue

#### depthai.DataOutputQueue

Kind: Class

Access to receive messages coming from XLink stream

##### addCallback()

Kind: Method

##### close(self)

Kind: Method

Closes the queue and the underlying thread

##### get(self) -> ADatatype: ADatatype

Kind: Method

Block until a message is available.

Returns:
Message or nullptr if no message available

##### getAll(self) -> list[ADatatype]: list[ADatatype]

Kind: Method

Block until at least one message in the queue. Then return all messages from the
queue.

Returns:
Vector of messages

##### getBlocking(self) -> bool: bool

Kind: Method

Gets current queue behavior when full (maxSize)

Returns:
True if blocking, false otherwise

##### getMaxSize(self) -> int: int

Kind: Method

Gets queue maximum size

Returns:
Maximum queue size

##### getName(self) -> str: str

Kind: Method

Gets queues name

Returns:
Queue name

##### has(self) -> bool: bool

Kind: Method

Check whether front of the queue has a message (isn't empty)

Returns:
True if queue isn't empty, false otherwise

##### isClosed(self) -> bool: bool

Kind: Method

Check whether queue is closed

.. warning::
This function is thread-unsafe and may return outdated incorrect values. It
is only meant for use in simple single-threaded code. Well written code
should handle exceptions when calling any DepthAI apis to handle hardware
events and multithreaded use.

##### removeCallback(self, callbackId: typing.SupportsInt) -> bool: bool

Kind: Method

Removes a callback

Parameter ``callbackId``:
Id of callback to be removed

Returns:
True if callback was removed, false otherwise

##### setBlocking(self, blocking: bool)

Kind: Method

Sets queue behavior when full (maxSize)

Parameter ``blocking``:
Specifies if block or overwrite the oldest message in the queue

##### setMaxSize(self, maxSize: typing.SupportsInt)

Kind: Method

Sets queue maximum size

Parameter ``maxSize``:
Specifies maximum number of messages in the queue

##### tryGet(self) -> ADatatype: ADatatype

Kind: Method

Try to retrieve message from queue. If no message available, return immediately
with nullptr

Returns:
Message or nullptr if no message available

##### tryGetAll(self) -> list[ADatatype]: list[ADatatype]

Kind: Method

Try to retrieve all messages in the queue.

Returns:
Vector of messages

#### depthai.DatatypeEnum

Kind: Class

Members:

Buffer

ImgFrame

EncodedFrame

NNData

ImageManipConfig

CameraControl

ImgDetections

SpatialImgDetections

SystemInformation

SpatialLocationCalculatorConfig

SpatialLocationCalculatorData

EdgeDetectorConfig

AprilTagConfig

AprilTags

Tracklets

IMUData

StereoDepthConfig

FeatureTrackerConfig

TrackedFeatures

PointCloudConfig

PointCloudData

##### AprilTagConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### AprilTags: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Buffer: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### CameraControl: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### EdgeDetectorConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### EncodedFrame: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### FeatureTrackerConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### IMUData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImageManipConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImgDetections: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImgFrame: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### NNData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### PointCloudConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### PointCloudData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### SpatialImgDetections: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### SpatialLocationCalculatorConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### SpatialLocationCalculatorData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### StereoDepthConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### SystemInformation: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### TrackedFeatures: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Tracklets: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, DatatypeEnum]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.DetectionNetworkProperties(depthai.NeuralNetworkProperties)

Kind: Class

Specify properties for DetectionNetwork

##### parser: DetectionParserOptions

Kind: Class Variable

#### depthai.DetectionNetworkType

Kind: Class

Members:

YOLO

MOBILENET

##### MOBILENET: typing.ClassVar[DetectionNetworkType]

Kind: Class Variable

##### YOLO: typing.ClassVar[DetectionNetworkType]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, DetectionNetworkType]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.DetectionParserOptions

Kind: Class

DetectionParserOptions

Specifies how to parse output of detection networks

##### nnFamily: DetectionNetworkType

Kind: Class Variable

##### anchorMasks

Kind: Property

##### anchorMasks.setter(self, arg0: collections.abc.Mapping [ str , collections.abc.Sequence [ typing.SupportsInt ] ])

Kind: Method

##### anchors

Kind: Property

##### anchors.setter(self, arg0: collections.abc.Sequence [ typing.SupportsFloat ])

Kind: Method

##### classes

Kind: Property

##### classes.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### confidenceThreshold

Kind: Property

##### confidenceThreshold.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### coordinates

Kind: Property

##### coordinates.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### iouThreshold

Kind: Property

##### iouThreshold.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.DetectionParserProperties

Kind: Class

Specify properties for DetectionParser

##### parser

Kind: Property

Options for parser

##### parser.setter(self, arg0: DetectionParserOptions)

Kind: Method

#### depthai.Device(depthai.DeviceBase)

Kind: Class

Represents the DepthAI device with the methods to interact with it. Implements
the host-side queues to connect with XLinkIn and XLinkOut nodes

##### depthai.Device.Config

Kind: Class

Device specific configuration

###### board: BoardConfig

Kind: Class Variable

###### logLevel: depthai.LogLevel|None

Kind: Class Variable

###### nonExclusiveMode: bool

Kind: Class Variable

###### outputLogLevel: depthai.LogLevel|None

Kind: Class Variable

###### version: OpenVINO.Version

Kind: Class Variable

###### __init__(self)

Kind: Method

##### __enter__(self) -> Device: Device

Kind: Method

##### __init__()

Kind: Method

##### getInputQueue()

Kind: Method

##### getInputQueueNames(self) -> list[str]: list[str]

Kind: Method

Get all available input queue names

Returns:
Vector of input queue names

##### getOutputQueue()

Kind: Method

##### getOutputQueueNames(self) -> list[str]: list[str]

Kind: Method

Get all available output queue names

Returns:
Vector of output queue names

##### getQueueEvent()

Kind: Method

##### getQueueEvents()

Kind: Method

#### depthai.DeviceBase

Kind: Class

The core of depthai device for RAII, connects to device and maintains watchdog,
timesync, ...

##### getAllAvailableDevices() -> list[DeviceInfo]: list[DeviceInfo]

Kind: Static Method

Returns all available devices

Returns:
Vector of available devices

##### getAllConnectedDevices() -> list[DeviceInfo]: list[DeviceInfo]

Kind: Static Method

Returns information of all connected devices. The devices could be both
connectable as well as already connected to devices.

Returns:
Vector of connected device information

##### getAnyAvailableDevice()

Kind: Static Method

##### getDeviceByMxId(mxId: str) -> tuple[bool, DeviceInfo]: tuple[bool, DeviceInfo]

Kind: Static Method

Finds a device by MX ID. Example: 14442C10D13EABCE00

Parameter ``mxId``:
MyraidX ID which uniquely specifies a device

Returns:
Tuple of bool and DeviceInfo. Bool specifies if device was found. DeviceInfo
specifies the found device

##### getEmbeddedDeviceBinary()

Kind: Static Method

##### getFirstAvailableDevice(skipInvalidDevices: bool = True) -> tuple[bool, DeviceInfo]: tuple[bool, DeviceInfo]

Kind: Static Method

Gets first available device. Device can be either in XLINK_UNBOOTED or
XLINK_BOOTLOADER state

Returns:
Tuple of bool and DeviceInfo. Bool specifies if device was found. DeviceInfo
specifies the found device

##### getGlobalProfilingData() -> ProfilingData: ProfilingData

Kind: Static Method

Get current global accumulated profiling data

Returns:
ProfilingData from all devices

##### __enter__(self) -> DeviceBase: DeviceBase

Kind: Method

##### __exit__(self, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any)

Kind: Method

##### __init__()

Kind: Method

##### addLogCallback(self, callback: collections.abc.Callable [ [ LogMessage ] , None ]) -> int: int

Kind: Method

Add a callback for device logging. The callback will be called from a separate
thread with the LogMessage being passed.

Parameter ``callback``:
Callback to call whenever a log message arrives

Returns:
Id which can be used to later remove the callback

##### close(self)

Kind: Method

Closes the connection to device. Better alternative is the usage of context manager: `with depthai.Device(pipeline) as device:`

##### factoryResetCalibration(self)

Kind: Method

Factory reset EEPROM data if factory backup is available.

Throws:
std::runtime_exception If factory reset was unsuccessful

##### flashCalibration(self, calibrationDataHandler: CalibrationHandler) -> bool: bool

Kind: Method

Stores the Calibration and Device information to the Device EEPROM

Parameter ``calibrationObj``:
CalibrationHandler object which is loaded with calibration information.

Returns:
true on successful flash, false on failure

##### flashCalibration2(self, arg0: CalibrationHandler)

Kind: Method

Stores the Calibration and Device information to the Device EEPROM

Throws:
std::runtime_exception if failed to flash the calibration

Parameter ``calibrationObj``:
CalibrationHandler object which is loaded with calibration information.

##### flashEepromClear(self)

Kind: Method

Destructive action, deletes User area EEPROM contents Requires PROTECTED
permissions

Throws:
std::runtime_exception if failed to flash the calibration

Returns:
True on successful flash, false on failure

##### flashFactoryCalibration(self, arg0: CalibrationHandler)

Kind: Method

Stores the Calibration and Device information to the Device EEPROM in Factory
area To perform this action, correct env variable must be set

Throws:
std::runtime_exception if failed to flash the calibration

Returns:
True on successful flash, false on failure

##### flashFactoryEepromClear(self)

Kind: Method

Destructive action, deletes Factory area EEPROM contents Requires FACTORY
PROTECTED permissions

Throws:
std::runtime_exception if failed to flash the calibration

Returns:
True on successful flash, false on failure

##### getAvailableStereoPairs(self) -> list[StereoPair]: list[StereoPair]

Kind: Method

Get stereo pairs taking into account the calibration and connected cameras.

@note This method will always return a subset of `getStereoPairs`.

Returns:
Vector of stereo pairs

##### getBootloaderVersion(self) -> depthai.Version|None: depthai.Version|None

Kind: Method

Gets Bootloader version if it was booted through Bootloader

Returns:
DeviceBootloader::Version if booted through Bootloader or none otherwise

##### getCalibration(self) -> CalibrationHandler: CalibrationHandler

Kind: Method

Retrieves the CalibrationHandler object containing the non-persistent
calibration

Throws:
std::runtime_exception if failed to get the calibration

Returns:
The CalibrationHandler object containing the non-persistent calibration

##### getCameraSensorNames(self) -> dict[CameraBoardSocket, str]: dict[CameraBoardSocket, str]

Kind: Method

Get sensor names for cameras that are connected to the device

Returns:
Map/dictionary with camera sensor names, indexed by socket

##### getChipTemperature(self) -> ChipTemperature: ChipTemperature

Kind: Method

Retrieves current chip temperature as measured by device

Returns:
Temperature of various onboard sensors

##### getCmxMemoryUsage(self) -> MemoryInfo: MemoryInfo

Kind: Method

Retrieves current CMX memory information from device

Returns:
Used, remaining and total cmx memory

##### getConnectedCameraFeatures(self) -> list[CameraFeatures]: list[CameraFeatures]

Kind: Method

Get cameras that are connected to the device with their features/properties

Returns:
Vector of connected camera features

##### getConnectedCameras(self) -> list[CameraBoardSocket]: list[CameraBoardSocket]

Kind: Method

Get cameras that are connected to the device

Returns:
Vector of connected cameras

##### getConnectedIMU(self) -> str: str

Kind: Method

Get connected IMU type

Returns:
IMU type

##### getConnectionInterfaces(self) -> list[connectionInterface]: list[connectionInterface]

Kind: Method

Get connection interfaces for device

Returns:
Vector of connection type

##### getCrashDump(self, clearCrashDump: bool = True) -> CrashDump: CrashDump

Kind: Method

Retrieves crash dump for debugging.

##### getDdrMemoryUsage(self) -> MemoryInfo: MemoryInfo

Kind: Method

Retrieves current DDR memory information from device

Returns:
Used, remaining and total ddr memory

##### getDeviceInfo(self) -> DeviceInfo: DeviceInfo

Kind: Method

Get the Device Info object o the device which is currently running

Returns:
DeviceInfo of the current device in execution

##### getDeviceName(self) -> typing.Any: typing.Any

Kind: Method

Get device name if available

Returns:
device name or empty string if not available

##### getEmbeddedIMUFirmwareVersion(self) -> Version: Version

Kind: Method

Get embedded IMU firmware version to which IMU can be upgraded

Returns:
Get embedded IMU firmware version to which IMU can be upgraded.

##### getIMUFirmwareUpdateStatus(self) -> tuple[bool, int]: tuple[bool, int]

Kind: Method

Get IMU firmware update status

Returns:
Whether IMU firmware update is done and last firmware update progress as
percentage. return value true and 100 means that the update was successful
return value true and other than 100 means that the update failed

##### getIMUFirmwareVersion(self) -> Version: Version

Kind: Method

Get connected IMU firmware version

Returns:
IMU firmware version

##### getIrDrivers(self) -> list[tuple[str, int, int]]: list[tuple[str, int, int]]

Kind: Method

Retrieves detected IR laser/LED drivers.

Returns:
Vector of tuples containing: driver name, I2C bus, I2C address. For OAK-D-
Pro it should be `[{"LM3644", 2, 0x63}]`

##### getLeonCssCpuUsage(self) -> CpuUsage: CpuUsage

Kind: Method

Retrieves average CSS Leon CPU usage

Returns:
Average CPU usage and sampling duration

##### getLeonCssHeapUsage(self) -> MemoryInfo: MemoryInfo

Kind: Method

Retrieves current CSS Leon CPU heap information from device

Returns:
Used, remaining and total heap memory

##### getLeonMssCpuUsage(self) -> CpuUsage: CpuUsage

Kind: Method

Retrieves average MSS Leon CPU usage

Returns:
Average CPU usage and sampling duration

##### getLeonMssHeapUsage(self) -> MemoryInfo: MemoryInfo

Kind: Method

Retrieves current MSS Leon CPU heap information from device

Returns:
Used, remaining and total heap memory

##### getLogLevel(self) -> LogLevel: LogLevel

Kind: Method

Gets current logging severity level of the device.

Returns:
Logging severity level

##### getLogOutputLevel(self) -> LogLevel: LogLevel

Kind: Method

Gets logging level which decides printing level to standard output.

Returns:
Standard output printing severity

##### getMxId(self) -> str: str

Kind: Method

Get MxId of device

Returns:
MxId of connected device

##### getProductName(self) -> typing.Any: typing.Any

Kind: Method

Get product name if available

Returns:
product name or empty string if not available

##### getProfilingData(self) -> ProfilingData: ProfilingData

Kind: Method

Get current accumulated profiling data

Returns:
ProfilingData from the specific device

##### getState(self) -> CrashDump: CrashDump

Kind: Method

Retrieves current device state in a crash dump format. It halts the device
temporarily and might affect the running pipeline, it's best to close the device
after this operation

##### getStereoPairs(self) -> list[StereoPair]: list[StereoPair]

Kind: Method

Get stereo pairs based on the device type.

Returns:
Vector of stereo pairs

##### getSystemInformationLoggingRate(self) -> float: float

Kind: Method

Gets current rate of system information logging ("info" severity) in Hz.

Returns:
Logging rate in Hz

##### getUsbSpeed(self) -> UsbSpeed: UsbSpeed

Kind: Method

Retrieves USB connection speed

Returns:
USB connection speed of connected device if applicable. Unknown otherwise.

##### getXLinkChunkSize(self) -> int: int

Kind: Method

Gets current XLink chunk size.

Returns:
XLink chunk size in bytes

##### hasCrashDump(self) -> bool: bool

Kind: Method

Retrieves whether the is crash dump stored on device or not.

##### isClosed(self) -> bool: bool

Kind: Method

Is the device already closed (or disconnected)

.. warning::
This function is thread-unsafe and may return outdated incorrect values. It
is only meant for use in simple single-threaded code. Well written code
should handle exceptions when calling any DepthAI apis to handle hardware
events and multithreaded use.

##### isEepromAvailable(self) -> bool: bool

Kind: Method

Check if EEPROM is available

Returns:
True if EEPROM is present on board, false otherwise

##### isPipelineRunning(self) -> bool: bool

Kind: Method

Checks if devices pipeline is already running

Returns:
True if running, false otherwise

##### readCalibration(self) -> CalibrationHandler: CalibrationHandler

Kind: Method

Fetches the EEPROM data from the device and loads it into CalibrationHandler
object If no calibration is flashed, it returns default

Returns:
The CalibrationHandler object containing the calibration currently flashed
on device EEPROM

##### readCalibration2(self) -> CalibrationHandler: CalibrationHandler

Kind: Method

Fetches the EEPROM data from the device and loads it into CalibrationHandler
object

Throws:
std::runtime_exception if no calibration is flashed

Returns:
The CalibrationHandler object containing the calibration currently flashed
on device EEPROM

##### readCalibrationOrDefault(self) -> CalibrationHandler: CalibrationHandler

Kind: Method

Fetches the EEPROM data from the device and loads it into CalibrationHandler
object If no calibration is flashed, it returns default

Returns:
The CalibrationHandler object containing the calibration currently flashed
on device EEPROM

##### readCalibrationRaw(self) -> list[int]: list[int]

Kind: Method

Fetches the raw EEPROM data from User area

Throws:
std::runtime_exception if any error occurred

Returns:
Binary dump of User area EEPROM data

##### readFactoryCalibration(self) -> CalibrationHandler: CalibrationHandler

Kind: Method

Fetches the EEPROM data from Factory area and loads it into CalibrationHandler
object

Throws:
std::runtime_exception if no calibration is flashed

Returns:
The CalibrationHandler object containing the calibration currently flashed
on device EEPROM in Factory Area

##### readFactoryCalibrationOrDefault(self) -> CalibrationHandler: CalibrationHandler

Kind: Method

Fetches the EEPROM data from Factory area and loads it into CalibrationHandler
object If no calibration is flashed, it returns default

Returns:
The CalibrationHandler object containing the calibration currently flashed
on device EEPROM in Factory Area

##### readFactoryCalibrationRaw(self) -> list[int]: list[int]

Kind: Method

Fetches the raw EEPROM data from Factory area

Throws:
std::runtime_exception if any error occurred

Returns:
Binary dump of Factory area EEPROM data

##### removeLogCallback(self, callbackId: typing.SupportsInt) -> bool: bool

Kind: Method

Removes a callback

Parameter ``callbackId``:
Id of callback to be removed

Returns:
True if callback was removed, false otherwise

##### setCalibration(self, calibrationDataHandler: CalibrationHandler)

Kind: Method

Sets the Calibration at runtime. This is not persistent and will be lost after
device reset.

Throws:
std::runtime_exception if failed to set the calibration

Parameter ``calibrationObj``:
CalibrationHandler object which is loaded with calibration information.

##### setIrFloodLightBrightness(self, mA: typing.SupportsFloat, mask: typing.SupportsInt = -1) -> bool: bool

Kind: Method

Sets the brightness of the IR Flood Light. Limits: up to 1500mA at 30% duty
cycle. The duty cycle is controlled by the `left` camera STROBE, aligned to
start of exposure. If the dot projector is also enabled, its lower duty cycle
limits take precedence. The emitter is turned off by default

Parameter ``mA``:
Current in mA that will determine brightness, 0 or negative to turn off

Parameter ``mask``:
Optional mask to modify only Left (0x1) or Right (0x2) sides on OAK-D-Pro-W-
DEV

Returns:
True on success, false if not found or other failure

##### setIrFloodLightIntensity(self, intensity: typing.SupportsFloat, mask: typing.SupportsInt = -1) -> bool: bool

Kind: Method

Sets the intensity of the IR Flood Light. Limits: Intensity is directly
normalized to 0 - 1500mA current. The duty cycle is 30% when exposure time is
longer than 30% frame time. Otherwise, duty cycle is 100% of exposure time. The
duty cycle is controlled by the `left` camera STROBE, aligned to start of
exposure. The emitter is turned off by default

Parameter ``intensity``:
Intensity on range 0 to 1, that will determine brightness, 0 or negative to
turn off

Parameter ``mask``:
Optional mask to modify only Left (0x1) or Right (0x2) sides on OAK-D-Pro-W-
DEV

Returns:
True on success, false if not found or other failure

##### setIrLaserDotProjectorBrightness(self, mA: typing.SupportsFloat, mask: typing.SupportsInt = -1) -> bool: bool

Kind: Method

Sets the brightness of the IR Laser Dot Projector. Limits: up to 765mA at 30%
duty cycle, up to 1200mA at 6% duty cycle. The duty cycle is controlled by
`left` camera STROBE, aligned to start of exposure. The emitter is turned off by
default

Parameter ``mA``:
Current in mA that will determine brightness, 0 or negative to turn off

Parameter ``mask``:
Optional mask to modify only Left (0x1) or Right (0x2) sides on OAK-D-Pro-W-
DEV

Returns:
True on success, false if not found or other failure

##### setIrLaserDotProjectorIntensity(self, intensity: typing.SupportsFloat, mask: typing.SupportsInt = -1) -> bool: bool

Kind: Method

Sets the intensity of the IR Laser Dot Projector. Limits: up to 765mA at 30%
frame time duty cycle when exposure time is longer than 30% frame time.
Otherwise, duty cycle is 100% of exposure time, with current increased up to max
1200mA to make up for shorter duty cycle. The duty cycle is controlled by `left`
camera STROBE, aligned to start of exposure. The emitter is turned off by
default

Parameter ``intensity``:
Intensity on range 0 to 1, that will determine brightness. 0 or negative to
turn off

Parameter ``mask``:
Optional mask to modify only Left (0x1) or Right (0x2) sides on OAK-D-Pro-W-
DEV

Returns:
True on success, false if not found or other failure

##### setLogLevel(self, level: LogLevel)

Kind: Method

Sets the devices logging severity level. This level affects which logs are
transferred from device to host.

Parameter ``level``:
Logging severity

##### setLogOutputLevel(self, level: LogLevel)

Kind: Method

Sets logging level which decides printing level to standard output. If lower
than setLogLevel, no messages will be printed

Parameter ``level``:
Standard output printing severity

##### setSystemInformationLoggingRate(self, rateHz: typing.SupportsFloat)

Kind: Method

Sets rate of system information logging ("info" severity). Default 1Hz If
parameter is less or equal to zero, then system information logging will be
disabled

Parameter ``rateHz``:
Logging rate in Hz

##### setTimesync()

Kind: Method

##### setXLinkChunkSize(self, sizeBytes: typing.SupportsInt)

Kind: Method

Sets the chunk size for splitting device-sent XLink packets. A larger value
could increase performance, and 0 disables chunking. A negative value is
ignored. Device defaults are configured per protocol, currently 64*1024 for both
USB and Ethernet.

Parameter ``sizeBytes``:
XLink chunk size in bytes

##### startIMUFirmwareUpdate(self, forceUpdate: bool = False) -> bool: bool

Kind: Method

Starts IMU firmware update asynchronously only if IMU node is not running. If
current firmware version is the same as embedded firmware version then it's no-
op. Can be overridden by forceUpdate parameter. State of firmware update can be
monitored using getIMUFirmwareUpdateStatus API.

Parameter ``forceUpdate``:
Force firmware update or not. Will perform FW update regardless of current
version and embedded firmware version.

Returns:
Returns whether firmware update can be started. Returns false if IMU node is
started.

##### startPipeline()

Kind: Method

#### depthai.DeviceBootloader

Kind: Class

Represents the DepthAI bootloader with the methods to interact with it.

##### depthai.DeviceBootloader.ApplicationInfo

Kind: Class

###### applicationName: str

Kind: Class Variable

###### firmwareVersion: str

Kind: Class Variable

###### hasApplication: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.DeviceBootloader.Config

Kind: Class

###### appMem: DeviceBootloader.Memory

Kind: Class Variable

###### network: DeviceBootloader.NetworkConfig

Kind: Class Variable

###### usb: DeviceBootloader.UsbConfig

Kind: Class Variable

###### __init__(self)

Kind: Method

###### fromJson(self: json) -> DeviceBootloader.Config: DeviceBootloader.Config

Kind: Method

###### getDnsAltIPv4(self) -> str: str

Kind: Method

###### getDnsIPv4(self) -> str: str

Kind: Method

###### getIPv4(self) -> str: str

Kind: Method

###### getIPv4Gateway(self) -> str: str

Kind: Method

###### getIPv4Mask(self) -> str: str

Kind: Method

###### getMacAddress(self) -> str: str

Kind: Method

###### getNetworkTimeout(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

###### getUsbMaxSpeed(self) -> UsbSpeed: UsbSpeed

Kind: Method

###### getUsbTimeout(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

###### isStaticIPV4(self) -> bool: bool

Kind: Method

###### setDnsIPv4(self, arg0: str, arg1: str)

Kind: Method

###### setDynamicIPv4(self, arg0: str, arg1: str, arg2: str)

Kind: Method

###### setMacAddress(self, arg0: str)

Kind: Method

###### setNetworkTimeout(self, arg0: datetime.timedelta)

Kind: Method

###### setStaticIPv4(self, arg0: str, arg1: str, arg2: str)

Kind: Method

###### setUsbMaxSpeed(self, arg0: UsbSpeed)

Kind: Method

###### setUsbTimeout(self, arg0: datetime.timedelta)

Kind: Method

###### toJson(self) -> json: json

Kind: Method

##### depthai.DeviceBootloader.Memory

Kind: Class

Members:

AUTO

FLASH

EMMC

###### AUTO: typing.ClassVar[DeviceBootloader.Memory]

Kind: Class Variable

###### EMMC: typing.ClassVar[DeviceBootloader.Memory]

Kind: Class Variable

###### FLASH: typing.ClassVar[DeviceBootloader.Memory]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, DeviceBootloader.Memory]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.DeviceBootloader.MemoryInfo

Kind: Class

###### available: bool

Kind: Class Variable

###### info: str

Kind: Class Variable

###### __init__(self)

Kind: Method

###### size

Kind: Property

###### size.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.DeviceBootloader.NetworkConfig

Kind: Class

###### staticIpv4: bool

Kind: Class Variable

###### staticIpv6: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

###### ipv4

Kind: Property

###### ipv4.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### ipv4Dns

Kind: Property

###### ipv4Dns.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### ipv4DnsAlt

Kind: Property

###### ipv4DnsAlt.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### ipv4Gateway

Kind: Property

###### ipv4Gateway.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### ipv4Mask

Kind: Property

###### ipv4Mask.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### ipv6

Kind: Property

###### ipv6.setter(self, arg0: typing.Annotated [ collections.abc.Sequence [ typing.SupportsInt ] , FixedSize ( 4 ) ])

Kind: Method

###### ipv6Dns

Kind: Property

###### ipv6Dns.setter(self, arg0: typing.Annotated [ collections.abc.Sequence [ typing.SupportsInt ] , FixedSize ( 4 ) ])

Kind: Method

###### ipv6DnsAlt

Kind: Property

###### ipv6DnsAlt.setter(self, arg0: typing.Annotated [ collections.abc.Sequence [ typing.SupportsInt ] , FixedSize ( 4 ) ])

Kind: Method

###### ipv6Gateway

Kind: Property

###### ipv6Gateway.setter(self, arg0: typing.Annotated [ collections.abc.Sequence [ typing.SupportsInt ] , FixedSize ( 4 ) ])

Kind: Method

###### ipv6Prefix

Kind: Property

###### ipv6Prefix.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### mac

Kind: Property

###### mac.setter(self, arg0: typing.Annotated [ collections.abc.Sequence [ typing.SupportsInt ] , FixedSize ( 6 ) ])

Kind: Method

###### timeoutMs

Kind: Property

###### timeoutMs.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.DeviceBootloader.Section

Kind: Class

Members:

AUTO

HEADER

BOOTLOADER

BOOTLOADER_CONFIG

APPLICATION

###### APPLICATION: typing.ClassVar[DeviceBootloader.Section]

Kind: Class Variable

###### AUTO: typing.ClassVar[DeviceBootloader.Section]

Kind: Class Variable

###### BOOTLOADER: typing.ClassVar[DeviceBootloader.Section]

Kind: Class Variable

###### BOOTLOADER_CONFIG: typing.ClassVar[DeviceBootloader.Section]

Kind: Class Variable

###### HEADER: typing.ClassVar[DeviceBootloader.Section]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, DeviceBootloader.Section]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.DeviceBootloader.Type

Kind: Class

Members:

AUTO

USB

NETWORK

###### AUTO: typing.ClassVar[DeviceBootloader.Type]

Kind: Class Variable

###### NETWORK: typing.ClassVar[DeviceBootloader.Type]

Kind: Class Variable

###### USB: typing.ClassVar[DeviceBootloader.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, DeviceBootloader.Type]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.DeviceBootloader.UsbConfig

Kind: Class

###### __init__(self)

Kind: Method

###### maxUsbSpeed

Kind: Property

###### maxUsbSpeed.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### pid

Kind: Property

###### pid.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### timeoutMs

Kind: Property

###### timeoutMs.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### vid

Kind: Property

###### vid.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### createDepthaiApplicationPackage()

Kind: Static Method

##### getAllAvailableDevices() -> list[DeviceInfo]: list[DeviceInfo]

Kind: Static Method

Searches for connected devices in either UNBOOTED or BOOTLOADER states.

Returns:
Vector of all found devices

##### getEmbeddedBootloaderBinary(arg0: DeviceBootloader.Type) -> list[int]: list[int]

Kind: Static Method

Returns:
Embedded bootloader binary

##### getEmbeddedBootloaderVersion() -> Version: Version

Kind: Static Method

Returns:
Embedded bootloader version

##### getFirstAvailableDevice() -> tuple[bool, DeviceInfo]: tuple[bool, DeviceInfo]

Kind: Static Method

Searches for connected devices in either UNBOOTED or BOOTLOADER states and
returns first available.

Returns:
Tuple of boolean and DeviceInfo. If found boolean is true and DeviceInfo
describes the device. Otherwise false

##### saveDepthaiApplicationPackage()

Kind: Static Method

##### __enter__(self) -> DeviceBootloader: DeviceBootloader

Kind: Method

##### __exit__(self, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any)

Kind: Method

##### __init__()

Kind: Method

##### bootMemory(self, fw: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

Boots a custom FW in memory

Parameter ``fw``:
$Throws:

A runtime exception if there are any communication issues

##### bootUsbRomBootloader(self)

Kind: Method

Boots into integrated ROM bootloader in USB mode

Throws:
A runtime exception if there are any communication issues

##### close(self)

Kind: Method

Closes the connection to device. Better alternative is the usage of context manager: `with depthai.DeviceBootloader(deviceInfo) as
bootloader:`

##### flash()

Kind: Method

##### flashBootHeader(self, memory: DeviceBootloader.Memory, frequency: typing.SupportsInt = -1, location: typing.SupportsInt =
-1, dummyCycles: typing.SupportsInt = -1, offset: typing.SupportsInt = -1) -> tuple[bool, str]: tuple[bool, str]

Kind: Method

Flash optimized boot header

Parameter ``memory``:
Which memory to flasht the header to

Parameter ``frequency``:
SPI specific parameter, frequency in MHz

Parameter ``location``:
Target location the header should boot to. Default to location of bootloader

Parameter ``dummyCycles``:
SPI specific parameter

Parameter ``offset``:
Offset in memory to flash the header to. Defaults to offset of boot header

Returns:
status as std::tuple<bool, std::string>

##### flashBootloader()

Kind: Method

##### flashClear(self, memory: DeviceBootloader.Memory = ...) -> tuple[bool, str]: tuple[bool, str]

Kind: Method

Clears flashed application on the device, by removing SBR boot structure Doesn't
remove fast boot header capability to still boot the application

##### flashConfig(self, config: DeviceBootloader.Config, memory: DeviceBootloader.Memory = ..., type: DeviceBootloader.Type = ...)
-> tuple[bool, str]: tuple[bool, str]

Kind: Method

Flashes configuration to bootloader

Parameter ``configData``:
Configuration structure

Parameter ``memory``:
Optional - to which memory flash configuration

Parameter ``type``:
Optional - for which type of bootloader to flash configuration

##### flashConfigClear(self, memory: DeviceBootloader.Memory = ..., type: DeviceBootloader.Type = ...) -> tuple[bool, str]:
tuple[bool, str]

Kind: Method

Clears configuration data

Parameter ``memory``:
Optional - on which memory to clear configuration data

Parameter ``type``:
Optional - for which type of bootloader to clear configuration data

##### flashConfigData(self, configData: json, memory: DeviceBootloader.Memory = ..., type: DeviceBootloader.Type = ...) ->
tuple[bool, str]: tuple[bool, str]

Kind: Method

Flashes configuration data to bootloader

Parameter ``configData``:
Unstructured configuration data

Parameter ``memory``:
Optional - to which memory flash configuration

Parameter ``type``:
Optional - for which type of bootloader to flash configuration

##### flashConfigFile(self, configData: Path, memory: DeviceBootloader.Memory = ..., type: DeviceBootloader.Type = ...) ->
tuple[bool, str]: tuple[bool, str]

Kind: Method

Flashes configuration data to bootloader

Parameter ``configPath``:
Unstructured configuration data

Parameter ``memory``:
Optional - to which memory flash configuration

Parameter ``type``:
Optional - for which type of bootloader to flash configuration

##### flashCustom()

Kind: Method

##### flashDepthaiApplicationPackage()

Kind: Method

##### flashFastBootHeader(self, memory: DeviceBootloader.Memory, frequency: typing.SupportsInt = -1, location: typing.SupportsInt
= -1, dummyCycles: typing.SupportsInt = -1, offset: typing.SupportsInt = -1) -> tuple[bool, str]: tuple[bool, str]

Kind: Method

Flash fast boot header. Application must already be present in flash, or
location must be specified manually. Note - Can soft brick your device if
firmware location changes.

Parameter ``memory``:
Which memory to flash the header to

Parameter ``frequency``:
SPI specific parameter, frequency in MHz

Parameter ``location``:
Target location the header should boot to. Default to location of bootloader

Parameter ``dummyCycles``:
SPI specific parameter

Parameter ``offset``:
Offset in memory to flash the header to. Defaults to offset of boot header

Returns:
status as std::tuple<bool, std::string>

##### flashGpioModeBootHeader(self, memory: DeviceBootloader.Memory, mode: typing.SupportsInt) -> tuple[bool, str]: tuple[bool,
str]

Kind: Method

Flash boot header which boots same as equivalent GPIO mode would

Parameter ``gpioMode``:
GPIO mode equivalent

##### flashUsbRecoveryBootHeader(self, memory: DeviceBootloader.Memory) -> tuple[bool, str]: tuple[bool, str]

Kind: Method

Flash USB recovery boot header. Switches to USB ROM Bootloader

Parameter ``memory``:
Which memory to flash the header to

##### flashUserBootloader(self, progressCallback: collections.abc.Callable [ [ typing.SupportsFloat ] , None ], path: Path = '')
-> tuple[bool, str]: tuple[bool, str]

Kind: Method

Flashes user bootloader to the current board. Available for NETWORK bootloader
type

Parameter ``progressCallback``:
Callback that sends back a value between 0..1 which signifies current
flashing progress

Parameter ``path``:
Optional parameter to custom bootloader to flash

##### getFlashedVersion(self) -> depthai.Version|None: depthai.Version|None

Kind: Method

Returns:
Version of the bootloader that is flashed on the device. Nullopt when the
version could not be retrieved because the device was in X_LINK_UNBOOTED
state before booting the bootloader.

##### getMemoryInfo(self, arg0: DeviceBootloader.Memory) -> DeviceBootloader.MemoryInfo: DeviceBootloader.MemoryInfo

Kind: Method

Retrieves information about specified memory

Parameter ``memory``:
Specifies which memory to query

##### getType(self) -> DeviceBootloader.Type: DeviceBootloader.Type

Kind: Method

Returns:
Type of currently connected bootloader

##### getVersion(self) -> Version: Version

Kind: Method

Returns:
Version of current running bootloader

##### isAllowedFlashingBootloader(self) -> bool: bool

Kind: Method

Returns:
True if allowed to flash bootloader

##### isEmbeddedVersion(self) -> bool: bool

Kind: Method

Returns:
True when bootloader was booted using latest bootloader integrated in the
library. False when bootloader is already running on the device and just
connected to.

##### isUserBootloader(self) -> bool: bool

Kind: Method

Retrieves whether current bootloader is User Bootloader (B out of A/B
configuration)

##### isUserBootloaderSupported(self) -> bool: bool

Kind: Method

Checks whether User Bootloader is supported with current bootloader

Returns:
true of User Bootloader is supported, false otherwise

##### readApplicationInfo(self, memory: DeviceBootloader.Memory) -> DeviceBootloader.ApplicationInfo:
DeviceBootloader.ApplicationInfo

Kind: Method

Reads information about flashed application in specified memory from device

Parameter ``memory``:
Specifies which memory to query

##### readConfig(self, memory: DeviceBootloader.Memory = ..., type: DeviceBootloader.Type = ...) -> DeviceBootloader.Config:
DeviceBootloader.Config

Kind: Method

Reads configuration from bootloader

Parameter ``memory``:
Optional - from which memory to read configuration

Parameter ``type``:
Optional - from which type of bootloader to read configuration

Returns:
Configuration structure

##### readConfigData(self, memory: DeviceBootloader.Memory = ..., type: DeviceBootloader.Type = ...) -> json: json

Kind: Method

Reads configuration data from bootloader

Returns:
Unstructured configuration data

Parameter ``memory``:
Optional - from which memory to read configuration data

Parameter ``type``:
Optional - from which type of bootloader to read configuration data

##### readCustom()

Kind: Method

#### depthai.DeviceDesc

Kind: Class

##### mxid: str

Kind: Class Variable

##### name: str

Kind: Class Variable

##### platform: XLinkPlatform

Kind: Class Variable

##### protocol: XLinkProtocol

Kind: Class Variable

##### state: XLinkDeviceState

Kind: Class Variable

##### status: XLinkError_t

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.DeviceInfo

Kind: Class

Describes a connected device

##### mxid: str

Kind: Class Variable

##### name: str

Kind: Class Variable

##### platform: XLinkPlatform

Kind: Class Variable

##### protocol: XLinkProtocol

Kind: Class Variable

##### state: XLinkDeviceState

Kind: Class Variable

##### status: XLinkError_t

Kind: Class Variable

##### __init__()

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### getMxId(self) -> str: str

Kind: Method

##### getXLinkDeviceDesc(self) -> DeviceDesc: DeviceDesc

Kind: Method

##### desc

Kind: Property

##### desc.setter(self, arg1: DeviceInfo)

Kind: Method

#### depthai.EdgeDetectorConfig(depthai.Buffer)

Kind: Class

EdgeDetectorConfig message. Carries sobel edge filter config.

##### __init__(self)

Kind: Method

##### get(self) -> RawEdgeDetectorConfig: RawEdgeDetectorConfig

Kind: Method

Retrieve configuration data for EdgeDetector.

Returns:
config for EdgeDetector

##### getConfigData(self) -> EdgeDetectorConfigData: EdgeDetectorConfigData

Kind: Method

Retrieve configuration data for EdgeDetector

Returns:
EdgeDetectorConfigData: sobel filter horizontal and vertical 3x3 kernels

##### set(self, config: RawEdgeDetectorConfig) -> EdgeDetectorConfig: EdgeDetectorConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

##### setSobelFilterKernels(self, horizontalKernel: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsInt ] ],
verticalKernel: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsInt ] ])

Kind: Method

Set sobel filter horizontal and vertical 3x3 kernels

Parameter ``horizontalKernel``:
Used for horizontal gradient computation in 3x3 Sobel filter

Parameter ``verticalKernel``:
Used for vertical gradient computation in 3x3 Sobel filter

#### depthai.EdgeDetectorConfigData

Kind: Class

EdgeDetectorConfigData configuration data structure

##### __init__(self)

Kind: Method

##### sobelFilterHorizontalKernel

Kind: Property

Used for horizontal gradient computation in 3x3 Sobel filter Format - 3x3
matrix, 2nd column must be 0 Default - +1 0 -1; +2 0 -2; +1 0 -1

##### sobelFilterHorizontalKernel.setter(self, arg0: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsInt ] ])

Kind: Method

##### sobelFilterVerticalKernel

Kind: Property

Used for vertical gradient computation in 3x3 Sobel filter Format - 3x3 matrix,
2nd row must be 0 Default - +1 +2 +1; 0 0 0; -1 -2 -1

##### sobelFilterVerticalKernel.setter(self, arg0: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsInt ] ])

Kind: Method

#### depthai.EdgeDetectorProperties

Kind: Class

Specify properties for EdgeDetector

##### initialConfig

Kind: Property

Initial edge detector config

##### initialConfig.setter(self, arg0: RawEdgeDetectorConfig)

Kind: Method

##### numFramesPool

Kind: Property

Num frames in output pool

##### numFramesPool.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### outputFrameSize

Kind: Property

Maximum output frame size in bytes (eg: 300x300 BGR image -> 300*300*3 bytes)

##### outputFrameSize.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.EepromData

Kind: Class

EepromData structure

Contains the Calibration and Board data stored on device

##### batchName: str

Kind: Class Variable

##### boardConf: str

Kind: Class Variable

##### boardCustom: str

Kind: Class Variable

##### boardName: str

Kind: Class Variable

##### boardRev: str

Kind: Class Variable

##### deviceName: str

Kind: Class Variable

##### hardwareConf: str

Kind: Class Variable

##### housingExtrinsics: Extrinsics

Kind: Class Variable

##### imuExtrinsics: Extrinsics

Kind: Class Variable

##### productName: str

Kind: Class Variable

##### stereoEnableDistortionCorrection: bool

Kind: Class Variable

##### stereoRectificationData: StereoRectification

Kind: Class Variable

##### stereoUseSpecTranslation: bool

Kind: Class Variable

##### verticalCameraSocket: CameraBoardSocket

Kind: Class Variable

##### __init__(self)

Kind: Method

##### batchTime

Kind: Property

##### batchTime.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### boardOptions

Kind: Property

##### boardOptions.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### cameraData

Kind: Property

##### cameraData.setter(self, arg0: collections.abc.Mapping [ CameraBoardSocket , CameraInfo ])

Kind: Method

##### miscellaneousData

Kind: Property

##### miscellaneousData.setter(self, arg0: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

##### version

Kind: Property

##### version.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### EepromError

Kind: Exception

#### depthai.EncodedFrame(depthai.Buffer)

Kind: Class

##### depthai.EncodedFrame.FrameType

Kind: Class

Members:

I

P

B

Unknown

###### B: typing.ClassVar[RawEncodedFrame.FrameType]

Kind: Class Variable

###### I: typing.ClassVar[RawEncodedFrame.FrameType]

Kind: Class Variable

###### P: typing.ClassVar[RawEncodedFrame.FrameType]

Kind: Class Variable

###### Unknown: typing.ClassVar[RawEncodedFrame.FrameType]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawEncodedFrame.FrameType]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawEncodedFrame.FrameType) -> int: int

Kind: Method

###### __init__(self: RawEncodedFrame.FrameType, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawEncodedFrame.FrameType) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawEncodedFrame.FrameType, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.EncodedFrame.Profile

Kind: Class

Members:

JPEG

AVC

HEVC

###### AVC: typing.ClassVar[RawEncodedFrame.Profile]

Kind: Class Variable

###### HEVC: typing.ClassVar[RawEncodedFrame.Profile]

Kind: Class Variable

###### JPEG: typing.ClassVar[RawEncodedFrame.Profile]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawEncodedFrame.Profile]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawEncodedFrame.Profile) -> int: int

Kind: Method

###### __init__(self: RawEncodedFrame.Profile, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawEncodedFrame.Profile) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawEncodedFrame.Profile, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### __init__(self)

Kind: Method

##### getBitrate(self) -> int: int

Kind: Method

Retrieves the encoding bitrate

##### getColorTemperature(self) -> int: int

Kind: Method

Retrieves white-balance color temperature of the light source, in kelvins

##### getExposureTime(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves exposure time

##### getFrameType(self) -> RawEncodedFrame.FrameType: RawEncodedFrame.FrameType

Kind: Method

Retrieves frame type (H26x only)

##### getHeight(self) -> int: int

Kind: Method

Retrieves image height in pixels

##### getInstanceNum(self) -> int: int

Kind: Method

Retrieves instance number

##### getLensPosition(self) -> int: int

Kind: Method

Retrieves lens position, range 0..255. Returns -1 if not available

##### getLensPositionRaw(self) -> float: float

Kind: Method

Retrieves lens position, range 0.0f..1.0f. Returns -1 if not available

##### getLossless(self) -> bool: bool

Kind: Method

Returns true if encoding is lossless (JPEG only)

##### getProfile(self) -> RawEncodedFrame.Profile: RawEncodedFrame.Profile

Kind: Method

Retrieves the encoding profile (JPEG, AVC or HEVC)

##### getQuality(self) -> int: int

Kind: Method

Retrieves the encoding quality

##### getSensitivity(self) -> int: int

Kind: Method

Retrieves sensitivity, as an ISO value

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### getWidth(self) -> int: int

Kind: Method

Retrieves image width in pixels

##### setBitrate(self, arg0: typing.SupportsInt) -> EncodedFrame: EncodedFrame

Kind: Method

Retrieves the encoding bitrate

##### setFrameType(self, arg0: RawEncodedFrame.FrameType) -> EncodedFrame: EncodedFrame

Kind: Method

Retrieves frame type (H26x only)

##### setHeight(self, arg0: typing.SupportsInt) -> EncodedFrame: EncodedFrame

Kind: Method

Specifies frame height

Parameter ``height``:
frame height

##### setLossless(self, arg0: bool) -> EncodedFrame: EncodedFrame

Kind: Method

Returns true if encoding is lossless (JPEG only)

##### setProfile(self, arg0: RawEncodedFrame.Profile) -> EncodedFrame: EncodedFrame

Kind: Method

Retrieves the encoding profile (JPEG, AVC or HEVC)

##### setQuality(self, arg0: typing.SupportsInt) -> EncodedFrame: EncodedFrame

Kind: Method

Retrieves the encoding quality

##### setSequenceNum(self, arg0: typing.SupportsInt) -> EncodedFrame: EncodedFrame

Kind: Method

Specifies sequence number

Parameter ``seq``:
Sequence number

##### setTimestamp(self, arg0: datetime.timedelta) -> EncodedFrame: EncodedFrame

Kind: Method

Retrieves image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> EncodedFrame: EncodedFrame

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setWidth(self, arg0: typing.SupportsInt) -> EncodedFrame: EncodedFrame

Kind: Method

Specifies frame width

Parameter ``width``:
frame width

#### depthai.Extrinsics

Kind: Class

Extrinsics structure

##### specTranslation: Point3f

Kind: Class Variable

##### toCameraSocket: CameraBoardSocket

Kind: Class Variable

##### translation: Point3f

Kind: Class Variable

##### __init__(self)

Kind: Method

##### rotationMatrix

Kind: Property

##### rotationMatrix.setter(self, arg0: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsFloat ] ])

Kind: Method

#### depthai.FeatureTrackerConfig(depthai.Buffer)

Kind: Class

FeatureTrackerConfig message. Carries config for feature tracking algorithm

##### depthai.FeatureTrackerConfig.CornerDetector

Kind: Class

Corner detector configuration structure.

###### depthai.FeatureTrackerConfig.CornerDetector.Thresholds

Kind: Class

Threshold settings structure for corner detector.

###### __init__(self: RawFeatureTrackerConfig.CornerDetector.Thresholds)

Kind: Method

###### decreaseFactor

Kind: Property

When detected number of features exceeds the maximum in a cell threshold is
lowered by multiplying its value with this factor.

###### decreaseFactor.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### increaseFactor

Kind: Property

When detected number of features doesn't exceed the maximum in a cell, threshold
is increased by multiplying its value with this factor.

###### increaseFactor.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### initialValue

Kind: Property

Minimum strength of a feature which will be detected. 0 means automatic
threshold update. Recommended so the tracker can adapt to different
scenes/textures. Each cell has its own threshold. Empirical value.

###### initialValue.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### max

Kind: Property

Maximum limit for threshold. Applicable when automatic threshold update is
enabled. 0 means auto. Empirical value.

###### max.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### min

Kind: Property

Minimum limit for threshold. Applicable when automatic threshold update is
enabled. 0 means auto, 6000000 for HARRIS, 1200 for SHI_THOMASI. Empirical
value.

###### min.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### depthai.FeatureTrackerConfig.CornerDetector.Type

Kind: Class

Members:

HARRIS

SHI_THOMASI

###### HARRIS: typing.ClassVar[RawFeatureTrackerConfig.CornerDetector.Type]

Kind: Class Variable

###### SHI_THOMASI: typing.ClassVar[RawFeatureTrackerConfig.CornerDetector.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawFeatureTrackerConfig.CornerDetector.Type]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawFeatureTrackerConfig.CornerDetector.Type) -> int: int

Kind: Method

###### __init__(self: RawFeatureTrackerConfig.CornerDetector.Type, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawFeatureTrackerConfig.CornerDetector.Type) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawFeatureTrackerConfig.CornerDetector.Type, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self: RawFeatureTrackerConfig.CornerDetector)

Kind: Method

###### cellGridDimension

Kind: Property

Ensures distributed feature detection across the image. Image is divided into
horizontal and vertical cells, each cell has a target feature count =
numTargetFeatures / cellGridDimension. Each cell has its own feature threshold.
A value of 4 means that the image is divided into 4x4 cells of equal
width/height. Maximum 4, minimum 1.

###### cellGridDimension.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enableSobel

Kind: Property

Enable 3x3 Sobel operator to smoothen the image whose gradient is to be
computed. If disabled, a simple 1D row/column differentiator is used for
gradient.

###### enableSobel.setter(self, arg0: bool)

Kind: Method

###### enableSorting

Kind: Property

Enable sorting detected features based on their score or not.

###### enableSorting.setter(self, arg0: bool)

Kind: Method

###### numMaxFeatures

Kind: Property

Hard limit for the maximum number of features that can be detected. 0 means
auto, will be set to the maximum value based on memory constraints.

###### numMaxFeatures.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### numTargetFeatures

Kind: Property

Target number of features to detect. Maximum number of features is determined at
runtime based on algorithm type.

###### numTargetFeatures.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### thresholds

Kind: Property

Threshold settings. These are advanced settings, suitable for debugging/special
cases.

###### thresholds.setter(self, arg0: RawFeatureTrackerConfig.CornerDetector.Thresholds)

Kind: Method

###### type

Kind: Property

Corner detector algorithm type.

###### type.setter(self, arg0: RawFeatureTrackerConfig.CornerDetector.Type)

Kind: Method

##### depthai.FeatureTrackerConfig.FeatureMaintainer

Kind: Class

FeatureMaintainer configuration structure.

###### __init__(self: RawFeatureTrackerConfig.FeatureMaintainer)

Kind: Method

###### enable

Kind: Property

Enable feature maintaining or not.

###### enable.setter(self, arg0: bool)

Kind: Method

###### lostFeatureErrorThreshold

Kind: Property

Optical flow measures the tracking error for every feature. If the point can’t
be tracked or it’s out of the image it will set this error to a maximum value.
This threshold defines the level where the tracking accuracy is considered too
bad to keep the point.

###### lostFeatureErrorThreshold.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### minimumDistanceBetweenFeatures

Kind: Property

Used to filter out detected feature points that are too close. Requires sorting
enabled in detector. Unit of measurement is squared euclidean distance in
pixels.

###### minimumDistanceBetweenFeatures.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### trackedFeatureThreshold

Kind: Property

Once a feature was detected and we started tracking it, we need to update its
Harris score on each image. This is needed because a feature point can
disappear, or it can become too weak to be tracked. This threshold defines the
point where such a feature must be dropped. As the goal of the algorithm is to
provide longer tracks, we try to add strong points and track them until they are
absolutely untrackable. This is why, this value is usually smaller than the
detection threshold.

###### trackedFeatureThreshold.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### depthai.FeatureTrackerConfig.MotionEstimator

Kind: Class

Used for feature reidentification between current and previous features.

###### depthai.FeatureTrackerConfig.MotionEstimator.OpticalFlow

Kind: Class

Optical flow configuration structure.

###### __init__(self: RawFeatureTrackerConfig.MotionEstimator.OpticalFlow)

Kind: Method

###### epsilon

Kind: Property

Feature tracking termination criteria. Optical flow will refine the feature
position on each pyramid level until the displacement between two refinements is
smaller than this value. Decreasing this number increases runtime.

###### epsilon.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### maxIterations

Kind: Property

Feature tracking termination criteria. Optical flow will refine the feature
position maximum this many times on each pyramid level. If the Epsilon criteria
described in the previous chapter is not met after this number of iterations,
the algorithm will continue with the current calculated value. Increasing this
number increases runtime.

###### maxIterations.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### pyramidLevels

Kind: Property

Number of pyramid levels, only for optical flow. AUTO means it's decided based
on input resolution: 3 if image width <= 640, else 4. Valid values are either
3/4 for VGA, 4 for 720p and above.

###### pyramidLevels.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### searchWindowHeight

Kind: Property

Image patch height used to track features. Must be an odd number, maximum 9. N
means the algorithm will be able to track motion at most (N-1)/2 pixels in a
direction per pyramid level. Increasing this number increases runtime

###### searchWindowHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### searchWindowWidth

Kind: Property

Image patch width used to track features. Must be an odd number, maximum 9. N
means the algorithm will be able to track motion at most (N-1)/2 pixels in a
direction per pyramid level. Increasing this number increases runtime

###### searchWindowWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.FeatureTrackerConfig.MotionEstimator.Type

Kind: Class

Members:

LUCAS_KANADE_OPTICAL_FLOW

HW_MOTION_ESTIMATION

###### HW_MOTION_ESTIMATION: typing.ClassVar[RawFeatureTrackerConfig.MotionEstimator.Type]

Kind: Class Variable

###### LUCAS_KANADE_OPTICAL_FLOW: typing.ClassVar[RawFeatureTrackerConfig.MotionEstimator.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawFeatureTrackerConfig.MotionEstimator.Type]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawFeatureTrackerConfig.MotionEstimator.Type) -> int: int

Kind: Method

###### __init__(self: RawFeatureTrackerConfig.MotionEstimator.Type, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawFeatureTrackerConfig.MotionEstimator.Type) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawFeatureTrackerConfig.MotionEstimator.Type, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self: RawFeatureTrackerConfig.MotionEstimator)

Kind: Method

###### enable

Kind: Property

Enable motion estimation or not.

###### enable.setter(self, arg0: bool)

Kind: Method

###### opticalFlow

Kind: Property

Optical flow configuration. Takes effect only if MotionEstimator algorithm type
set to LUCAS_KANADE_OPTICAL_FLOW.

###### opticalFlow.setter(self, arg0: RawFeatureTrackerConfig.MotionEstimator.OpticalFlow)

Kind: Method

###### type

Kind: Property

Motion estimator algorithm type.

###### type.setter(self, arg0: RawFeatureTrackerConfig.MotionEstimator.Type)

Kind: Method

##### __init__()

Kind: Method

##### get(self) -> RawFeatureTrackerConfig: RawFeatureTrackerConfig

Kind: Method

Retrieve configuration data for FeatureTracker.

Returns:
config for feature tracking algorithm

##### set(self, config: RawFeatureTrackerConfig) -> FeatureTrackerConfig: FeatureTrackerConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

##### setCornerDetector()

Kind: Method

##### setFeatureMaintainer()

Kind: Method

##### setHwMotionEstimation(self) -> FeatureTrackerConfig: FeatureTrackerConfig

Kind: Method

Set hardware accelerated motion estimation using block matching. Faster than
optical flow (software implementation) but might not be as accurate.

##### setMotionEstimator()

Kind: Method

##### setNumTargetFeatures(self, numTargetFeatures: typing.SupportsInt) -> FeatureTrackerConfig: FeatureTrackerConfig

Kind: Method

Set number of target features to detect.

Parameter ``numTargetFeatures``:
Number of features

##### setOpticalFlow()

Kind: Method

#### depthai.FeatureTrackerProperties

Kind: Class

Specify properties for FeatureTracker

##### initialConfig

Kind: Property

Initial feature tracker config

##### initialConfig.setter(self, arg0: RawFeatureTrackerConfig)

Kind: Method

##### numMemorySlices

Kind: Property

Number of memory slices reserved for feature tracking. Optical flow can use 1 or
2 memory slices, while for corner detection only 1 is enough. Maximum number of
features depends on the number of allocated memory slices. Hardware motion
estimation doesn't require memory slices. Maximum 2, minimum 1.

##### numMemorySlices.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numShaves

Kind: Property

Number of shaves reserved for feature tracking. Optical flow can use 1 or 2
shaves, while for corner detection only 1 is enough. Hardware motion estimation
doesn't require shaves. Maximum 2, minimum 1.

##### numShaves.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.FrameEvent

Kind: Class

Members:

NONE

READOUT_START

READOUT_END

##### NONE: typing.ClassVar[FrameEvent]

Kind: Class Variable

##### READOUT_END: typing.ClassVar[FrameEvent]

Kind: Class Variable

##### READOUT_START: typing.ClassVar[FrameEvent]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, FrameEvent]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.GlobalProperties

Kind: Class

Specify properties which apply for whole pipeline

##### pipelineName: str|None

Kind: Class Variable

##### pipelineVersion: str|None

Kind: Class Variable

##### cameraTuningBlobSize

Kind: Property

Camera tuning blob size in bytes

##### cameraTuningBlobSize.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

##### cameraTuningBlobUri

Kind: Property

Uri which points to camera tuning blob

##### cameraTuningBlobUri.setter(self, arg0: str)

Kind: Method

##### leonOsFrequencyHz

Kind: Property

##### leonOsFrequencyHz.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### leonRtFrequencyHz

Kind: Property

##### leonRtFrequencyHz.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### sippBufferSize

Kind: Property

SIPP (Signal Image Processing Pipeline) internal memory pool. SIPP is a
framework used to schedule HW filters, e.g. ISP, Warp, Median filter etc.
Changing the size of this pool is meant for advanced use cases, pushing the
limits of the HW. By default memory is allocated in high speed CMX memory.
Setting to 0 will allocate in DDR 256 kilobytes. Units are bytes.

##### sippBufferSize.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### sippDmaBufferSize

Kind: Property

SIPP (Signal Image Processing Pipeline) internal DMA memory pool. SIPP is a
framework used to schedule HW filters, e.g. ISP, Warp, Median filter etc.
Changing the size of this pool is meant for advanced use cases, pushing the
limits of the HW. Memory is allocated in high speed CMX memory Units are bytes.

##### sippDmaBufferSize.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### xlinkChunkSize

Kind: Property

Chunk size for splitting device-sent XLink packets, in bytes. A larger value
could increase performance, with 0 disabling chunking. A negative value won't
modify the device defaults - configured per protocol, currently 64*1024 for both
USB and Ethernet.

##### xlinkChunkSize.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.IMUData(depthai.Buffer)

Kind: Class

IMUData message. Carries normalized detection results

##### __init__(self)

Kind: Method

##### packets

Kind: Property

Detections

##### packets.setter(self, arg1: collections.abc.Sequence [ IMUPacket ])

Kind: Method

#### depthai.IMUPacket

Kind: Class

IMU output

Contains combined output for all possible modes. Only the enabled outputs are
populated.

##### acceleroMeter: IMUReportAccelerometer

Kind: Class Variable

##### gyroscope: IMUReportGyroscope

Kind: Class Variable

##### magneticField: IMUReportMagneticField

Kind: Class Variable

##### rotationVector: IMUReportRotationVectorWAcc

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.IMUProperties

Kind: Class

##### enableFirmwareUpdate: bool|None

Kind: Class Variable

##### batchReportThreshold

Kind: Property

##### batchReportThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### imuSensors

Kind: Property

##### imuSensors.setter(self, arg0: collections.abc.Sequence [ IMUSensorConfig ])

Kind: Method

##### maxBatchReports

Kind: Property

##### maxBatchReports.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.IMUReport

Kind: Class

##### depthai.IMUReport.Accuracy

Kind: Class

Members:

UNRELIABLE

LOW

MEDIUM

HIGH

###### HIGH: typing.ClassVar[IMUReport.Accuracy]

Kind: Class Variable

###### LOW: typing.ClassVar[IMUReport.Accuracy]

Kind: Class Variable

###### MEDIUM: typing.ClassVar[IMUReport.Accuracy]

Kind: Class Variable

###### UNRELIABLE: typing.ClassVar[IMUReport.Accuracy]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, IMUReport.Accuracy]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### accuracy: IMUReport.Accuracy

Kind: Class Variable

##### timestamp: Timestamp

Kind: Class Variable

##### tsDevice: Timestamp

Kind: Class Variable

##### __init__(self)

Kind: Method

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves IMU report sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### sequence

Kind: Property

##### sequence.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.IMUReportAccelerometer(depthai.IMUReport)

Kind: Class

Accelerometer

Units are [m/s^2]

##### __init__(self)

Kind: Method

##### x

Kind: Property

##### x.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### y

Kind: Property

##### y.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### z

Kind: Property

##### z.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.IMUReportGyroscope(depthai.IMUReport)

Kind: Class

Gyroscope

Units are [rad/s]

##### __init__(self)

Kind: Method

##### x

Kind: Property

##### x.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### y

Kind: Property

##### y.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### z

Kind: Property

##### z.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.IMUReportMagneticField(depthai.IMUReport)

Kind: Class

Magnetic field

Units are [uTesla]

##### __init__(self)

Kind: Method

##### x

Kind: Property

##### x.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### y

Kind: Property

##### y.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### z

Kind: Property

##### z.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.IMUReportRotationVectorWAcc(depthai.IMUReport)

Kind: Class

Rotation Vector with Accuracy

Contains quaternion components: i,j,k,real

##### __init__(self)

Kind: Method

##### i

Kind: Property

##### i.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### j

Kind: Property

##### j.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### k

Kind: Property

##### k.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### real

Kind: Property

##### real.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### rotationVectorAccuracy

Kind: Property

##### rotationVectorAccuracy.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.IMUSensor

Kind: Class

Available IMU sensors. More details about each sensor can be found in the
datasheet:

https://www.ceva-dsp.com/wp-content/uploads/2019/10/BNO080_085-Datasheet.pdf

Members:

ACCELEROMETER_RAW : Section 2.1.1

Acceleration of the device without any postprocessing, straight from the sensor.
Units are [m/s^2]

ACCELEROMETER : Section 2.1.1

Acceleration of the device including gravity. Units are [m/s^2]

LINEAR_ACCELERATION : Section 2.1.1

Acceleration of the device with gravity removed. Units are [m/s^2]

GRAVITY : Section 2.1.1

Gravity. Units are [m/s^2]

GYROSCOPE_RAW : Section 2.1.2

The angular velocity of the device without any postprocessing, straight from the
sensor. Units are [rad/s]

GYROSCOPE_CALIBRATED : Section 2.1.2

The angular velocity of the device. Units are [rad/s]

GYROSCOPE_UNCALIBRATED : Section 2.1.2

Angular velocity without bias compensation. Units are [rad/s]

MAGNETOMETER_RAW : Section 2.1.3

Magnetic field measurement without any postprocessing, straight from the sensor.
Units are [uTesla]

MAGNETOMETER_CALIBRATED : Section 2.1.3

The fully calibrated magnetic field measurement. Units are [uTesla]

MAGNETOMETER_UNCALIBRATED : Section 2.1.3

The magnetic field measurement without hard-iron offset applied. Units are
[uTesla]

ROTATION_VECTOR : Section 2.2

The rotation vector provides an orientation output that is expressed as a
quaternion referenced to magnetic north and gravity. It is produced by fusing
the outputs of the accelerometer, gyroscope and magnetometer. The rotation
vector is the most accurate orientation estimate available. The magnetometer
provides correction in yaw to reduce drift and the gyroscope enables the most
responsive performance.

GAME_ROTATION_VECTOR : Section 2.2

The game rotation vector is an orientation output that is expressed as a
quaternion with no specific reference for heading, while roll and pitch are
referenced against gravity. It is produced by fusing the outputs of the
accelerometer and the gyroscope (i.e. no magnetometer). The game rotation vector
does not use the magnetometer to correct the gyroscopes drift in yaw. This is a
deliberate omission (as specified by Google) to allow gaming applications to use
a smoother representation of the orientation without the jumps that an
instantaneous correction provided by a magnetic field update could provide. Long
term the output will likely drift in yaw due to the characteristics of
gyroscopes, but this is seen as preferable for this output versus a corrected
output.

GEOMAGNETIC_ROTATION_VECTOR : Section 2.2

The geomagnetic rotation vector is an orientation output that is expressed as a
quaternion referenced to magnetic north and gravity. It is produced by fusing
the outputs of the accelerometer and magnetometer. The gyroscope is specifically
excluded in order to produce a rotation vector output using less power than is
required to produce the rotation vector of section 2.2.4. The consequences of
removing the gyroscope are: Less responsive output since the highly dynamic
outputs of the gyroscope are not used More errors in the presence of varying
magnetic fields.

ARVR_STABILIZED_ROTATION_VECTOR : Section 2.2

Estimates of the magnetic field and the roll/pitch of the device can create a
potential correction in the rotation vector produced. For applications
(typically augmented or virtual reality applications) where a sudden jump can be
disturbing, the output is adjusted to prevent these jumps in a manner that takes
account of the velocity of the sensor system.

ARVR_STABILIZED_GAME_ROTATION_VECTOR : Section 2.2

While the magnetometer is removed from the calculation of the game rotation
vector, the accelerometer itself can create a potential correction in the
rotation vector produced (i.e. the estimate of gravity changes). For
applications (typically augmented or virtual reality applications) where a
sudden jump can be disturbing, the output is adjusted to prevent these jumps in
a manner that takes account of the velocity of the sensor system. This process
is called AR/VR stabilization.

##### ACCELEROMETER: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### ACCELEROMETER_RAW: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### ARVR_STABILIZED_GAME_ROTATION_VECTOR: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### ARVR_STABILIZED_ROTATION_VECTOR: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### GAME_ROTATION_VECTOR: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### GEOMAGNETIC_ROTATION_VECTOR: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### GRAVITY: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### GYROSCOPE_CALIBRATED: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### GYROSCOPE_RAW: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### GYROSCOPE_UNCALIBRATED: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### LINEAR_ACCELERATION: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### MAGNETOMETER_CALIBRATED: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### MAGNETOMETER_RAW: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### MAGNETOMETER_UNCALIBRATED: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### ROTATION_VECTOR: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, IMUSensor]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.IMUSensorConfig

Kind: Class

##### sensitivityEnabled: bool

Kind: Class Variable

##### sensitivityRelative: bool

Kind: Class Variable

##### sensorId: IMUSensor

Kind: Class Variable

##### __init__(self)

Kind: Method

##### changeSensitivity

Kind: Property

##### changeSensitivity.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### reportRate

Kind: Property

##### reportRate.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.ImageAlignConfig(depthai.Buffer)

Kind: Class

ImageAlignConfig message

##### __init__(self)

Kind: Method

##### get(self) -> RawImageAlignConfig: RawImageAlignConfig

Kind: Method

Retrieve configuration data for SpatialLocationCalculator.

Returns:
config for SpatialLocationCalculator

##### set(self, config: RawImageAlignConfig) -> ImageAlignConfig: ImageAlignConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

#### depthai.ImageAlignProperties

Kind: Class

Specify properties for ImageAlign

##### initialConfig: RawImageAlignConfig

Kind: Class Variable

##### alignHeight

Kind: Property

Optional output height

##### alignHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### alignWidth

Kind: Property

Optional output width

##### alignWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### interpolation

Kind: Property

Interpolation type to use

##### interpolation.setter(self, arg0: Interpolation)

Kind: Method

##### numFramesPool

Kind: Property

Num frames in output pool

##### numFramesPool.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numShaves

Kind: Property

Number of shaves reserved.

##### numShaves.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### outKeepAspectRatio

Kind: Property

Whether to keep aspect ratio of the input or not

##### outKeepAspectRatio.setter(self, arg0: bool)

Kind: Method

##### warpHwIds

Kind: Property

Warp HW IDs to use, if empty, use auto/default

##### warpHwIds.setter(self, arg0: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

#### depthai.ImageManipConfig(depthai.Buffer)

Kind: Class

ImageManipConfig message. Specifies image manipulation options like:

- Crop

- Resize

- Warp

- ...

##### __init__(self)

Kind: Method

##### get(self) -> RawImageManipConfig: RawImageManipConfig

Kind: Method

Retrieve configuration data for ImageManip.

Returns:
config for ImageManip

##### getColormap(self) -> Colormap: Colormap

Kind: Method

Returns:
specified colormap

##### getCropConfig(self) -> RawImageManipConfig.CropConfig: RawImageManipConfig.CropConfig

Kind: Method

Returns:
Crop configuration

##### getCropXMax(self) -> float: float

Kind: Method

Returns:
Bottom right X coordinate of crop region

##### getCropXMin(self) -> float: float

Kind: Method

Returns:
Top left X coordinate of crop region

##### getCropYMax(self) -> float: float

Kind: Method

Returns:
Bottom right Y coordinate of crop region

##### getCropYMin(self) -> float: float

Kind: Method

Returns:
Top left Y coordinate of crop region

##### getFormatConfig(self) -> RawImageManipConfig.FormatConfig: RawImageManipConfig.FormatConfig

Kind: Method

Returns:
Format configuration

##### getInterpolation(self) -> Interpolation: Interpolation

Kind: Method

Retrieve which interpolation method to use

##### getResizeConfig(self) -> RawImageManipConfig.ResizeConfig: RawImageManipConfig.ResizeConfig

Kind: Method

Returns:
Resize configuration

##### getResizeHeight(self) -> int: int

Kind: Method

Returns:
Output image height

##### getResizeWidth(self) -> int: int

Kind: Method

Returns:
Output image width

##### isResizeThumbnail(self) -> bool: bool

Kind: Method

Returns:
True if resize thumbnail mode is set, false otherwise

##### set(self, config: RawImageManipConfig) -> ImageManipConfig: ImageManipConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

##### setCenterCrop(self, ratio: typing.SupportsFloat, whRatio: typing.SupportsFloat = 1.0) -> ImageManipConfig: ImageManipConfig

Kind: Method

Specifies a centered crop.

Parameter ``ratio``:
Ratio between input image and crop region (0..1)

Parameter ``whRatio``:
Crop region aspect ratio - 1 equals to square, 1.7 equals to 16:9, ...

##### setColormap()

Kind: Method

##### setCropRect()

Kind: Method

##### setCropRotatedRect(self, rr: RotatedRect, normalizedCoords: bool = True) -> ImageManipConfig: ImageManipConfig

Kind: Method

Specifies crop with rotated rectangle. Optionally as non normalized coordinates

Parameter ``rr``:
Rotated rectangle which specifies crop

Parameter ``normalizedCoords``:
If true coordinates are in normalized range (0..1) otherwise absolute

##### setFrameType(self, type: RawImgFrame.Type) -> ImageManipConfig: ImageManipConfig

Kind: Method

Specify output frame type.

Parameter ``name``:
Frame type

##### setHorizontalFlip(self, flip: bool) -> ImageManipConfig: ImageManipConfig

Kind: Method

Specify horizontal flip

Parameter ``flip``:
True to enable flip, false otherwise

##### setInterpolation(self, interpolation: Interpolation) -> ImageManipConfig: ImageManipConfig

Kind: Method

Specify which interpolation method to use

Parameter ``interpolation``:
type of interpolation

##### setKeepAspectRatio(self, keep: bool) -> ImageManipConfig: ImageManipConfig

Kind: Method

Specifies to whether to keep aspect ratio or not

##### setResize()

Kind: Method

##### setResizeThumbnail()

Kind: Method

##### setReusePreviousImage(self, reuse: bool) -> ImageManipConfig: ImageManipConfig

Kind: Method

Instruct ImageManip to not remove current image from its queue and use the same
for next message.

Parameter ``reuse``:
True to enable reuse, false otherwise

##### setRotationDegrees(self, deg: typing.SupportsFloat) -> ImageManipConfig: ImageManipConfig

Kind: Method

Specifies clockwise rotation in degrees

Parameter ``deg``:
Rotation in degrees

##### setRotationRadians(self, rad: typing.SupportsFloat) -> ImageManipConfig: ImageManipConfig

Kind: Method

Specifies clockwise rotation in radians

Parameter ``rad``:
Rotation in radians

##### setSkipCurrentImage(self, skip: bool) -> ImageManipConfig: ImageManipConfig

Kind: Method

Instructs ImageManip to skip current image and wait for next in queue.

Parameter ``skip``:
True to skip current image, false otherwise

##### setVerticalFlip(self, flip: bool)

Kind: Method

Specify vertical flip

Parameter ``flip``:
True to enable vertical flip, false otherwise

##### setWarpBorderFillColor(self, red: typing.SupportsInt, green: typing.SupportsInt, blue: typing.SupportsInt) ->
ImageManipConfig: ImageManipConfig

Kind: Method

Specifies fill color for border pixels. Example:

- setWarpBorderFillColor(255,255,255) -> white

- setWarpBorderFillColor(0,0,255) -> blue

Parameter ``red``:
Red component

Parameter ``green``:
Green component

Parameter ``blue``:
Blue component

##### setWarpBorderReplicatePixels(self) -> ImageManipConfig: ImageManipConfig

Kind: Method

Specifies that warp replicates border pixels

##### setWarpTransformFourPoints(self, pt: collections.abc.Sequence [ Point2f ], normalizedCoords: bool) -> ImageManipConfig:
ImageManipConfig

Kind: Method

Specifies warp by supplying 4 points in either absolute or normalized
coordinates

Parameter ``pt``:
4 points specifying warp

Parameter ``normalizedCoords``:
If true pt is interpreted as normalized, absolute otherwise

##### setWarpTransformMatrix3x3(self, mat: collections.abc.Sequence [ typing.SupportsFloat ]) -> ImageManipConfig:
ImageManipConfig

Kind: Method

Specifies warp with a 3x3 matrix

Parameter ``mat``:
3x3 matrix

#### depthai.ImgDetection

Kind: Class

ImgDetection structure

##### __init__(self)

Kind: Method

##### confidence

Kind: Property

##### confidence.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### label

Kind: Property

##### label.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### xmax

Kind: Property

##### xmax.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### xmin

Kind: Property

##### xmin.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### ymax

Kind: Property

##### ymax.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### ymin

Kind: Property

##### ymin.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.ImgDetections(depthai.Buffer)

Kind: Class

ImgDetections message. Carries normalized detection results

##### __init__(self)

Kind: Method

Construct ImgDetections message

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### setSequenceNum(self, arg0: typing.SupportsInt) -> ImgDetections: ImgDetections

Kind: Method

Retrieves image sequence number

##### setTimestamp(self, arg0: datetime.timedelta) -> ImgDetections: ImgDetections

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> ImgDetections: ImgDetections

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### detections

Kind: Property

Detections

##### detections.setter(self, arg1: collections.abc.Sequence [ ImgDetection ])

Kind: Method

#### depthai.ImgFrame(depthai.Buffer)

Kind: Class

ImgFrame message. Carries image data and metadata.

##### depthai.ImgFrame.Specs

Kind: Class

###### type: RawImgFrame.Type

Kind: Class Variable

###### __init__(self: RawImgFrame.Specs)

Kind: Method

###### bytesPP

Kind: Property

###### bytesPP.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### height

Kind: Property

###### height.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### p1Offset

Kind: Property

###### p1Offset.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### p2Offset

Kind: Property

###### p2Offset.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### p3Offset

Kind: Property

###### p3Offset.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### stride

Kind: Property

###### stride.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### width

Kind: Property

###### width.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.ImgFrame.Type

Kind: Class

Members:

YUV422i

YUV444p

YUV420p

YUV422p

YUV400p

RGBA8888

RGB161616

RGB888p

BGR888p

RGB888i

BGR888i

RGBF16F16F16p

BGRF16F16F16p

RGBF16F16F16i

BGRF16F16F16i

GRAY8

GRAYF16

LUT2

LUT4

LUT16

RAW16

RAW14

RAW12

RAW10

RAW8

PACK10

PACK12

YUV444i

NV12

NV21

BITSTREAM

HDR

NONE

###### BGR888i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### BGR888p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### BGRF16F16F16i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### BGRF16F16F16p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### BITSTREAM: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### GRAY8: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### GRAYF16: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### HDR: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### LUT16: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### LUT2: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### LUT4: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### NONE: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### NV12: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### NV21: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### PACK10: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### PACK12: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW10: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW12: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW14: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW16: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW8: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGB161616: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGB888i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGB888p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGBA8888: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGBF16F16F16i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGBF16F16F16p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV400p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV420p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV422i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV422p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV444i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV444p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawImgFrame.Type]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawImgFrame.Type) -> int: int

Kind: Method

###### __init__(self: RawImgFrame.Type, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawImgFrame.Type) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawImgFrame.Type, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### __init__(self)

Kind: Method

##### getCategory(self) -> int: int

Kind: Method

Retrieves image category

##### getColorTemperature(self) -> int: int

Kind: Method

Retrieves white-balance color temperature of the light source, in kelvins

##### getCvFrame(self) -> typing.Any: typing.Any

Kind: Method

Returns BGR or grayscale frame compatible with use in other opencv functions

##### getExposureTime(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves exposure time

##### getFrame(self, copy: bool = False) -> numpy.ndarray: numpy.ndarray

Kind: Method

Returns numpy array with shape as specified by width, height and type

##### getHeight(self) -> int: int

Kind: Method

Retrieves image height in pixels

##### getInstanceNum(self) -> int: int

Kind: Method

Retrieves instance number

##### getLensPosition(self) -> int: int

Kind: Method

Retrieves lens position, range 0..255. Returns -1 if not available

##### getLensPositionRaw(self) -> float: float

Kind: Method

Retrieves lens position, range 0.0f..1.0f. Returns -1 if not available

##### getSensitivity(self) -> int: int

Kind: Method

Retrieves sensitivity, as an ISO value

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp()

Kind: Method

##### getTimestampDevice()

Kind: Method

##### getType(self) -> RawImgFrame.Type: RawImgFrame.Type

Kind: Method

Retrieves image type

##### getWidth(self) -> int: int

Kind: Method

Retrieves image width in pixels

##### setCategory(self, category: typing.SupportsInt) -> ImgFrame: ImgFrame

Kind: Method

Parameter ``category``:
Image category

##### setFrame(self, array: numpy.ndarray)

Kind: Method

Copies array bytes to ImgFrame buffer

##### setHeight(self, height: typing.SupportsInt) -> ImgFrame: ImgFrame

Kind: Method

Specifies frame height

Parameter ``height``:
frame height

##### setInstanceNum(self, instance: typing.SupportsInt) -> ImgFrame: ImgFrame

Kind: Method

Instance number relates to the origin of the frame (which camera)

Parameter ``instance``:
Instance number

##### setSequenceNum(self, seq: typing.SupportsInt) -> ImgFrame: ImgFrame

Kind: Method

Specifies sequence number

Parameter ``seq``:
Sequence number

##### setSize()

Kind: Method

##### setTimestamp(self, timestamp: datetime.timedelta) -> ImgFrame: ImgFrame

Kind: Method

Retrieves image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> ImgFrame: ImgFrame

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setType(self, type: RawImgFrame.Type) -> ImgFrame: ImgFrame

Kind: Method

Specifies frame type, RGB, BGR, ...

Parameter ``type``:
Type of image

##### setWidth(self, width: typing.SupportsInt) -> ImgFrame: ImgFrame

Kind: Method

Specifies frame width

Parameter ``width``:
frame width

#### depthai.Interpolation

Kind: Class

Interpolation type

Members:

BILINEAR

BICUBIC

NEAREST_NEIGHBOR

BYPASS

DEFAULT

DEFAULT_DISPARITY_DEPTH

##### BICUBIC: typing.ClassVar[Interpolation]

Kind: Class Variable

##### BILINEAR: typing.ClassVar[Interpolation]

Kind: Class Variable

##### BYPASS: typing.ClassVar[Interpolation]

Kind: Class Variable

##### DEFAULT: typing.ClassVar[Interpolation]

Kind: Class Variable

##### DEFAULT_DISPARITY_DEPTH: typing.ClassVar[Interpolation]

Kind: Class Variable

##### NEAREST_NEIGHBOR: typing.ClassVar[Interpolation]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, Interpolation]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.LogLevel

Kind: Class

Members:

TRACE

DEBUG

INFO

WARN

ERR

CRITICAL

OFF

##### CRITICAL: typing.ClassVar[LogLevel]

Kind: Class Variable

##### DEBUG: typing.ClassVar[LogLevel]

Kind: Class Variable

##### ERR: typing.ClassVar[LogLevel]

Kind: Class Variable

##### INFO: typing.ClassVar[LogLevel]

Kind: Class Variable

##### OFF: typing.ClassVar[LogLevel]

Kind: Class Variable

##### TRACE: typing.ClassVar[LogLevel]

Kind: Class Variable

##### WARN: typing.ClassVar[LogLevel]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, LogLevel]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.LogMessage

Kind: Class

##### level: LogLevel

Kind: Class Variable

##### nodeIdName: str

Kind: Class Variable

##### payload: str

Kind: Class Variable

##### time: Timestamp

Kind: Class Variable

##### colorRangeEnd

Kind: Property

##### colorRangeEnd.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### colorRangeStart

Kind: Property

##### colorRangeStart.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.MedianFilter

Kind: Class

Median filter config

Members:

MEDIAN_OFF

KERNEL_3x3

KERNEL_5x5

KERNEL_7x7

##### KERNEL_3x3: typing.ClassVar[MedianFilter]

Kind: Class Variable

##### KERNEL_5x5: typing.ClassVar[MedianFilter]

Kind: Class Variable

##### KERNEL_7x7: typing.ClassVar[MedianFilter]

Kind: Class Variable

##### MEDIAN_OFF: typing.ClassVar[MedianFilter]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, MedianFilter]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.MemoryInfo

Kind: Class

MemoryInfo structure

Free, remaining and total memory stats

##### __init__(self)

Kind: Method

##### remaining

Kind: Property

##### remaining.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### total

Kind: Property

##### total.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### used

Kind: Property

##### used.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.MessageDemuxProperties

Kind: Class

##### processor

Kind: Property

Which processor should execute the node.

##### processor.setter(self, arg0: ProcessorType)

Kind: Method

#### depthai.MessageGroup(depthai.Buffer)

Kind: Class

MessageGroup message. Carries multiple messages in one.

##### __getitem__(self, arg0: str) -> ADatatype: ADatatype

Kind: Method

##### __init__(self)

Kind: Method

##### __iter__(self) -> collections.abc.Iterator[tuple[str, ADatatype]]: collections.abc.Iterator[tuple[str, ADatatype]]

Kind: Method

##### __setitem__(self, arg0: str, arg1: ADatatype)

Kind: Method

##### getIntervalNs(self) -> int: int

Kind: Method

Retrieves interval between the first and the last message in the group.

##### getMessageNames(self) -> list[str]: list[str]

Kind: Method

Gets the names of messages in the group

##### getNumMessages(self) -> int: int

Kind: Method

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### isSynced(self, arg0: typing.SupportsInt) -> bool: bool

Kind: Method

True if all messages in the group are in the interval

Parameter ``thresholdNs``:
Maximal interval between messages

##### setSequenceNum(self, arg0: typing.SupportsInt) -> MessageGroup: MessageGroup

Kind: Method

Retrieves image sequence number

##### setTimestamp(self, arg0: datetime.timedelta) -> MessageGroup: MessageGroup

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> MessageGroup: MessageGroup

Kind: Method

Sets image timestamp related to dai::Clock::now()

#### depthai.MonoCameraProperties

Kind: Class

Specify properties for MonoCamera such as camera ID, ...

##### depthai.MonoCameraProperties.SensorResolution

Kind: Class

Select the camera sensor resolution: 1280×720, 1280×800, 640×400, 640×480,
1920×1200

Members:

THE_720_P

THE_800_P

THE_400_P

THE_480_P

THE_1200_P

###### THE_1200_P: typing.ClassVar[MonoCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_400_P: typing.ClassVar[MonoCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_480_P: typing.ClassVar[MonoCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_720_P: typing.ClassVar[MonoCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_800_P: typing.ClassVar[MonoCameraProperties.SensorResolution]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, MonoCameraProperties.SensorResolution]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### boardSocket: CameraBoardSocket

Kind: Class Variable

##### initialControl: RawCameraControl

Kind: Class Variable

##### resolution: MonoCameraProperties.SensorResolution

Kind: Class Variable

##### eventFilter

Kind: Property

##### eventFilter.setter(self, arg0: collections.abc.Sequence [ FrameEvent ])

Kind: Method

##### fps

Kind: Property

##### fps.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### isp3aFps

Kind: Property

##### isp3aFps.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPool

Kind: Property

##### numFramesPool.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPoolRaw

Kind: Property

##### numFramesPoolRaw.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.NNData(depthai.Buffer)

Kind: Class

NNData message. Carries tensors and their metadata

##### __init__(self)

Kind: Method

Construct NNData message.

##### getAllLayerNames(self) -> list[str]: list[str]

Kind: Method

Returns:
Names of all layers added

##### getAllLayers(self) -> list[TensorInfo]: list[TensorInfo]

Kind: Method

Returns:
All layers and their information

##### getFirstLayerFp16(self) -> list[float]: list[float]

Kind: Method

Convenience function to retrieve float values from first layers FP16 tensor

Returns:
Float data

##### getFirstLayerInt32(self) -> list[int]: list[int]

Kind: Method

Convenience function to retrieve INT32 values from first layers tensor

Returns:
INT32 data

##### getFirstLayerUInt8(self) -> list[int]: list[int]

Kind: Method

Convenience function to retrieve U8 data from first layer

Returns:
U8 binary data

##### getLayer(self, name: str, tensor: TensorInfo) -> bool: bool

Kind: Method

Retrieve layers tensor information

Parameter ``name``:
Name of the layer

Parameter ``tensor``:
Outputs tensor information of that layer

Returns:
True if layer exists, false otherwise

##### getLayerDatatype(self, name: str, datatype: TensorInfo.DataType) -> bool: bool

Kind: Method

Retrieve datatype of a layers tensor

Parameter ``name``:
Name of the layer

Parameter ``datatype``:
Datatype of layers tensor

Returns:
True if layer exists, false otherwise

##### getLayerFp16(self, name: str) -> list[float]: list[float]

Kind: Method

Convenience function to retrieve float values from layers FP16 tensor

Parameter ``name``:
Name of the layer

Returns:
Float data

##### getLayerInt32(self, name: str) -> list[int]: list[int]

Kind: Method

Convenience function to retrieve INT32 values from layers tensor

Parameter ``name``:
Name of the layer

Returns:
INT32 data

##### getLayerUInt8(self, name: str) -> list[int]: list[int]

Kind: Method

Convenience function to retrieve U8 data from layer

Parameter ``name``:
Name of the layer

Returns:
U8 binary data

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### hasLayer(self, name: str) -> bool: bool

Kind: Method

Checks if given layer exists

Parameter ``name``:
Name of the layer

Returns:
True if layer exists, false otherwise

##### setLayer()

Kind: Method

##### setSequenceNum(self, arg0: typing.SupportsInt) -> NNData: NNData

Kind: Method

Retrieves image sequence number

##### setTimestamp(self, arg0: datetime.timedelta) -> NNData: NNData

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> NNData: NNData

Kind: Method

Sets image timestamp related to dai::Clock::now()

#### depthai.NeuralNetworkProperties

Kind: Class

Specify properties for NeuralNetwork such as blob path, ...

##### blobUri: str

Kind: Class Variable

##### blobSize

Kind: Property

##### blobSize.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

##### numFrames

Kind: Property

##### numFrames.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numNCEPerThread

Kind: Property

##### numNCEPerThread.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numThreads

Kind: Property

##### numThreads.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.Node

Kind: Class

Abstract Node

##### depthai.Node.Connection

Kind: Class

Connection between an Input and Output

###### inputGroup: str

Kind: Class Variable

###### inputName: str

Kind: Class Variable

###### outputGroup: str

Kind: Class Variable

###### outputName: str

Kind: Class Variable

###### inputId

Kind: Property

###### inputId.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### outputId

Kind: Property

###### outputId.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.Node.DatatypeHierarchy

Kind: Class

###### datatype: DatatypeEnum

Kind: Class Variable

###### descendants: bool

Kind: Class Variable

###### __init__(self, arg0: DatatypeEnum, arg1: bool)

Kind: Method

##### depthai.Node.Id

Kind: Class

Node identificator. Unique for every node on a single Pipeline

##### depthai.Node.Input

Kind: Class

###### depthai.Node.Input.Type

Kind: Class

Members:

SReceiver

MReceiver

###### MReceiver: typing.ClassVar[Node.Input.Type]

Kind: Class Variable

###### SReceiver: typing.ClassVar[Node.Input.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Node.Input.Type]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### group: str

Kind: Class Variable

###### name: str

Kind: Class Variable

###### type: Node.Input.Type

Kind: Class Variable

###### waitForMessage: bool|None

Kind: Class Variable

###### getBlocking(self) -> bool: bool

Kind: Method

Get input queue behavior

Returns:
True blocking, false overwriting

###### getParent()

Kind: Method

###### getQueueSize(self) -> int: int

Kind: Method

Get input queue size.

Returns:
Maximum input queue size

###### getReusePreviousMessage(self) -> bool: bool

Kind: Method

Equivalent to getWaitForMessage but with inverted logic.

###### getWaitForMessage(self) -> bool: bool

Kind: Method

Get behavior whether to wait for this input when a Node processes certain data
or not

Returns:
Whether to wait for message to arrive to this input or not

###### setBlocking(self, blocking: bool)

Kind: Method

Overrides default input queue behavior.

Parameter ``blocking``:
True blocking, false overwriting

###### setQueueSize(self, size: typing.SupportsInt)

Kind: Method

Overrides default input queue size. If queue size fills up, behavior depends on
`blocking` attribute

Parameter ``size``:
Maximum input queue size

###### setReusePreviousMessage(self, reusePreviousMessage: bool)

Kind: Method

Equivalent to setWaitForMessage but with inverted logic.

###### setWaitForMessage(self, waitForMessage: bool)

Kind: Method

Overrides default wait for message behavior. Applicable for nodes with multiple
inputs. Specifies behavior whether to wait for this input when a Node processes
certain data or not.

Parameter ``waitForMessage``:
Whether to wait for message to arrive to this input or not

###### possibleDatatypes

Kind: Property

###### possibleDatatypes.setter(self, arg0: collections.abc.Sequence [ Node.DatatypeHierarchy ])

Kind: Method

##### depthai.Node.InputMap

Kind: Class

###### __bool__(self) -> bool: bool

Kind: Method

Check whether the map is nonempty

###### __contains__(self, arg0: str) -> bool: bool

Kind: Method

###### __delitem__(self, arg0: str)

Kind: Method

###### __getitem__(self, arg0: str) -> Node.Input: Node.Input

Kind: Method

###### __iter__(self) -> collections.abc.Iterator[str]: collections.abc.Iterator[str]

Kind: Method

###### __len__(self) -> int: int

Kind: Method

###### __setitem__(self, arg0: str, arg1: Node.Input)

Kind: Method

###### items(self) -> collections.abc.Iterator[tuple[str, Node.Input]]: collections.abc.Iterator[tuple[str, Node.Input]]

Kind: Method

##### depthai.Node.Output

Kind: Class

###### depthai.Node.Output.Type

Kind: Class

Members:

MSender

SSender

###### MSender: typing.ClassVar[Node.Output.Type]

Kind: Class Variable

###### SSender: typing.ClassVar[Node.Output.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Node.Output.Type]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### group: str

Kind: Class Variable

###### name: str

Kind: Class Variable

###### type: Node.Output.Type

Kind: Class Variable

###### canConnect(self, input: Node.Input) -> bool: bool

Kind: Method

Check if connection is possible

Parameter ``in``:
Input to connect to

Returns:
True if connection is possible, false otherwise

###### getConnections(self) -> list[Node.Connection]: list[Node.Connection]

Kind: Method

Retrieve all connections from this output

Returns:
Vector of connections

###### getParent()

Kind: Method

###### isSamePipeline(self, input: Node.Input) -> bool: bool

Kind: Method

Check if this output and given input are on the same pipeline.

See also:
canConnect for checking if connection is possible

Returns:
True if output and input are on the same pipeline

###### link(self, input: Node.Input)

Kind: Method

Link current output to input.

Throws an error if this output cannot be linked to given input, or if they are
already linked

Parameter ``in``:
Input to link to

###### unlink(self, input: Node.Input)

Kind: Method

Unlink a previously linked connection

Throws an error if not linked.

Parameter ``in``:
Input from which to unlink from

###### possibleDatatypes

Kind: Property

###### possibleDatatypes.setter(self, arg0: collections.abc.Sequence [ Node.DatatypeHierarchy ])

Kind: Method

##### depthai.Node.OutputMap

Kind: Class

###### __bool__(self) -> bool: bool

Kind: Method

Check whether the map is nonempty

###### __contains__(self, arg0: str) -> bool: bool

Kind: Method

###### __delitem__(self, arg0: str)

Kind: Method

###### __getitem__(self, arg0: str) -> Node.Output: Node.Output

Kind: Method

###### __iter__(self) -> collections.abc.Iterator[str]: collections.abc.Iterator[str]

Kind: Method

###### __len__(self) -> int: int

Kind: Method

###### __setitem__(self, arg0: str, arg1: Node.Output)

Kind: Method

###### items(self) -> collections.abc.Iterator[tuple[str, Node.Output]]: collections.abc.Iterator[tuple[str, Node.Output]]

Kind: Method

##### properties: Properties

Kind: Class Variable

##### getAssetManager()

Kind: Method

##### getInputRefs()

Kind: Method

##### getInputs(self) -> list[Node.Input]: list[Node.Input]

Kind: Method

Retrieves all nodes inputs

##### getName(self) -> str: str

Kind: Method

Retrieves nodes name

##### getOutputRefs()

Kind: Method

##### getOutputs(self) -> list[Node.Output]: list[Node.Output]

Kind: Method

Retrieves all nodes outputs

##### getParentPipeline()

Kind: Method

##### id

Kind: Property

Id of node

#### depthai.ObjectTrackerConfig(depthai.Buffer)

Kind: Class

ObjectTrackerConfig message. Carries ROI (region of interest) and threshold for
depth calculation

##### __init__()

Kind: Method

##### forceRemoveID(self, arg0: typing.SupportsInt) -> ObjectTrackerConfig: ObjectTrackerConfig

Kind: Method

##### forceRemoveIDs(self, arg0: collections.abc.Sequence [ typing.SupportsInt ]) -> ObjectTrackerConfig: ObjectTrackerConfig

Kind: Method

##### get(self) -> RawObjectTrackerConfig: RawObjectTrackerConfig

Kind: Method

Retrieve configuration data for SpatialLocationCalculator.

Returns:
config for SpatialLocationCalculator

##### set(self, config: RawObjectTrackerConfig) -> ObjectTrackerConfig: ObjectTrackerConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

#### depthai.ObjectTrackerProperties

Kind: Class

Specify properties for ObjectTracker

##### detectionLabelsToTrack

Kind: Property

Which detections labels to track. Default all labels are tracked.

##### detectionLabelsToTrack.setter(self, arg0: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

##### maxObjectsToTrack

Kind: Property

Maximum number of objects to track. Maximum 60 for SHORT_TERM_KCF, maximum 1000
for other tracking methods. Default 60.

##### maxObjectsToTrack.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### occlusionRatioThreshold

Kind: Property

Occlusion ratio threshold. Used to filter out overlapping tracklets.

##### occlusionRatioThreshold.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### trackerIdAssignmentPolicy

Kind: Property

New ID assignment policy.

##### trackerIdAssignmentPolicy.setter(self, arg0: TrackerIdAssignmentPolicy)

Kind: Method

##### trackerThreshold

Kind: Property

Confidence threshold for tracklets. Above this threshold detections will be
tracked. Default 0, all detections are tracked.

##### trackerThreshold.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### trackerType

Kind: Property

Tracking method.

##### trackerType.setter(self, arg0: TrackerType)

Kind: Method

##### trackingPerClass

Kind: Property

Whether tracker should take into consideration class label for tracking.

##### trackingPerClass.setter(self, arg0: bool)

Kind: Method

##### trackletBirthThreshold

Kind: Property

Tracklet birth threshold. Minimum consecutive tracked frames required to
consider a tracklet as a new instance.

##### trackletBirthThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### trackletMaxLifespan

Kind: Property

Tracklet lifespan in number of frames. Number of frames after which a LOST
tracklet is removed.

##### trackletMaxLifespan.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.OpenVINO

Kind: Class

Support for basic OpenVINO related actions like version identification of neural
network blobs,...

##### depthai.OpenVINO.Blob

Kind: Class

OpenVINO Blob

###### __init__()

Kind: Method

###### data

Kind: Property

Blob data

###### data.setter(self, arg0: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

###### networkInputs

Kind: Property

Map of input names to additional information

###### networkInputs.setter(self, arg0: collections.abc.Mapping [ str , TensorInfo ])

Kind: Method

###### networkOutputs

Kind: Property

Map of output names to additional information

###### networkOutputs.setter(self, arg0: collections.abc.Mapping [ str , TensorInfo ])

Kind: Method

###### numShaves

Kind: Property

Number of shaves the blob was compiled for

###### numShaves.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### numSlices

Kind: Property

Number of CMX slices the blob was compiled for

###### numSlices.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### stageCount

Kind: Property

Number of network stages

###### stageCount.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### version

Kind: Property

OpenVINO version

###### version.setter(self, arg0: OpenVINO.Version)

Kind: Method

##### depthai.OpenVINO.Version

Kind: Class

OpenVINO Version supported version information

Members:

VERSION_2020_3

VERSION_2020_4

VERSION_2021_1

VERSION_2021_2

VERSION_2021_3

VERSION_2021_4

VERSION_2022_1

VERSION_UNIVERSAL

###### VERSION_2020_3: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

###### VERSION_2020_4: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

###### VERSION_2021_1: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

###### VERSION_2021_2: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

###### VERSION_2021_3: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

###### VERSION_2021_4: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

###### VERSION_2022_1: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

###### VERSION_UNIVERSAL: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, OpenVINO.Version]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### DEFAULT_VERSION: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

##### VERSION_2020_3: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

##### VERSION_2020_4: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

##### VERSION_2021_1: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

##### VERSION_2021_2: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

##### VERSION_2021_3: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

##### VERSION_2021_4: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

##### VERSION_2022_1: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

##### VERSION_UNIVERSAL: typing.ClassVar[OpenVINO.Version]

Kind: Class Variable

##### areVersionsBlobCompatible(v1: OpenVINO.Version, v2: OpenVINO.Version) -> bool: bool

Kind: Static Method

Checks whether two blob versions are compatible

##### getBlobLatestSupportedVersion()

Kind: Static Method

Returns latest potentially supported version by a given blob version.

Parameter ``majorVersion``:
Major version from OpenVINO blob

Parameter ``minorVersion``:
Minor version from OpenVINO blob

Returns:
Latest potentially supported version

##### getBlobSupportedVersions()

Kind: Static Method

Returns a list of potentially supported versions for a specified blob major and
minor versions.

Parameter ``majorVersion``:
Major version from OpenVINO blob

Parameter ``minorVersion``:
Minor version from OpenVINO blob

Returns:
Vector of potentially supported versions

##### getVersionName(version: OpenVINO.Version) -> str: str

Kind: Static Method

Returns string representation of a given version

Parameter ``version``:
OpenVINO version

Returns:
Name of a given version

##### getVersions() -> list[OpenVINO.Version]: list[OpenVINO.Version]

Kind: Static Method

Returns:
Supported versions

##### parseVersionName(versionString: str) -> OpenVINO.Version: OpenVINO.Version

Kind: Static Method

Creates Version from string representation. Throws if not possible.

Parameter ``versionString``:
Version as string

Returns:
Version object if successful

#### depthai.Pipeline

Kind: Class

##### __init__(self)

Kind: Method

Constructs a new pipeline

##### create(self, arg0: typing.Any) -> Node: Node

Kind: Method

##### createAprilTag(self) -> node.AprilTag: node.AprilTag

Kind: Method

##### createCamera(self) -> node.Camera: node.Camera

Kind: Method

##### createColorCamera(self) -> node.ColorCamera: node.ColorCamera

Kind: Method

##### createDetectionParser(self) -> node.DetectionParser: node.DetectionParser

Kind: Method

##### createEdgeDetector(self) -> node.EdgeDetector: node.EdgeDetector

Kind: Method

##### createFeatureTracker(self) -> node.FeatureTracker: node.FeatureTracker

Kind: Method

##### createIMU(self) -> node.IMU: node.IMU

Kind: Method

##### createImageManip(self) -> node.ImageManip: node.ImageManip

Kind: Method

##### createMobileNetDetectionNetwork(self) -> node.MobileNetDetectionNetwork: node.MobileNetDetectionNetwork

Kind: Method

##### createMobileNetSpatialDetectionNetwork(self) -> node.MobileNetSpatialDetectionNetwork: node.MobileNetSpatialDetectionNetwork

Kind: Method

##### createMonoCamera(self) -> node.MonoCamera: node.MonoCamera

Kind: Method

##### createNeuralNetwork(self) -> node.NeuralNetwork: node.NeuralNetwork

Kind: Method

##### createObjectTracker(self) -> node.ObjectTracker: node.ObjectTracker

Kind: Method

##### createSPIIn(self) -> node.SPIIn: node.SPIIn

Kind: Method

##### createSPIOut(self) -> node.SPIOut: node.SPIOut

Kind: Method

##### createScript(self) -> node.Script: node.Script

Kind: Method

##### createSpatialLocationCalculator(self) -> node.SpatialLocationCalculator: node.SpatialLocationCalculator

Kind: Method

##### createStereoDepth(self) -> node.StereoDepth: node.StereoDepth

Kind: Method

##### createSystemLogger(self) -> node.SystemLogger: node.SystemLogger

Kind: Method

##### createUVC(self) -> node.UVC: node.UVC

Kind: Method

##### createVideoEncoder(self) -> node.VideoEncoder: node.VideoEncoder

Kind: Method

##### createWarp(self) -> node.Warp: node.Warp

Kind: Method

##### createXLinkIn(self) -> node.XLinkIn: node.XLinkIn

Kind: Method

##### createXLinkOut(self) -> node.XLinkOut: node.XLinkOut

Kind: Method

##### createYoloDetectionNetwork(self) -> node.YoloDetectionNetwork: node.YoloDetectionNetwork

Kind: Method

##### createYoloSpatialDetectionNetwork(self) -> node.YoloSpatialDetectionNetwork: node.YoloSpatialDetectionNetwork

Kind: Method

##### getAllNodes()

Kind: Method

##### getAssetManager()

Kind: Method

##### getBoardConfig(self) -> BoardConfig: BoardConfig

Kind: Method

Gets board configuration

##### getCalibrationData(self) -> CalibrationHandler: CalibrationHandler

Kind: Method

gets the calibration data which is set through pipeline

Returns:
the calibrationHandler with calib data in the pipeline

##### getConnectionMap(self) -> dict[int, set[Node.Connection]]: dict[int, set[Node.Connection]]

Kind: Method

Get a reference to internal connection representation

##### getConnections(self) -> list[Node.Connection]: list[Node.Connection]

Kind: Method

Get all connections

##### getDeviceConfig(self) -> Device.Config: Device.Config

Kind: Method

Get device configuration needed for this pipeline

##### getGlobalProperties(self) -> GlobalProperties: GlobalProperties

Kind: Method

Returns:
Global properties of current pipeline

##### getNode()

Kind: Method

##### getNodeMap(self) -> dict[int, Node]: dict[int, Node]

Kind: Method

Get a reference to internal node map

##### getOpenVINOVersion(self) -> OpenVINO.Version: OpenVINO.Version

Kind: Method

Get possible OpenVINO version to run this pipeline

##### getRequiredOpenVINOVersion(self) -> depthai.OpenVINO.Version|None: depthai.OpenVINO.Version|None

Kind: Method

Get required OpenVINO version to run this pipeline. Can be none

##### link(self, arg0: Node.Output, arg1: Node.Input)

Kind: Method

Link output to an input. Both nodes must be on the same pipeline

Throws an error if they aren't or cannot be connected

Parameter ``out``:
Nodes output to connect from

Parameter ``in``:
Nodes input to connect to

##### remove(self, node: Node)

Kind: Method

Removes a node from pipeline

##### serializeToJson(self) -> json: json

Kind: Method

Returns whole pipeline represented as JSON

##### setBoardConfig(self, arg0: BoardConfig)

Kind: Method

Sets board configuration

##### setCalibrationData(self, calibrationDataHandler: CalibrationHandler)

Kind: Method

Sets the calibration in pipeline which overrides the calibration data in eeprom

Parameter ``calibrationDataHandler``:
CalibrationHandler object which is loaded with calibration information.

##### setCameraTuningBlobPath(self, path: Path)

Kind: Method

Set a camera IQ (Image Quality) tuning blob, used for all cameras

##### setOpenVINOVersion(self, version: OpenVINO.Version)

Kind: Method

Set a specific OpenVINO version to use with this pipeline

##### setSippBufferSize(self, sizeBytes: typing.SupportsInt)

Kind: Method

SIPP (Signal Image Processing Pipeline) internal memory pool. SIPP is a
framework used to schedule HW filters, e.g. ISP, Warp, Median filter etc.
Changing the size of this pool is meant for advanced use cases, pushing the
limits of the HW. By default memory is allocated in high speed CMX memory.
Setting to 0 will allocate in DDR 256 kilobytes. Units are bytes.

##### setSippDmaBufferSize(self, sizeBytes: typing.SupportsInt)

Kind: Method

SIPP (Signal Image Processing Pipeline) internal DMA memory pool. SIPP is a
framework used to schedule HW filters, e.g. ISP, Warp, Median filter etc.
Changing the size of this pool is meant for advanced use cases, pushing the
limits of the HW. Memory is allocated in high speed CMX memory Units are bytes.

##### setXLinkChunkSize(self, sizeBytes: typing.SupportsInt)

Kind: Method

Set chunk size for splitting device-sent XLink packets, in bytes. A larger value
could increase performance, with 0 disabling chunking. A negative value won't
modify the device defaults - configured per protocol, currently 64*1024 for both
USB and Ethernet.

##### unlink(self, arg0: Node.Output, arg1: Node.Input)

Kind: Method

Unlink output from an input.

Throws an error if link doesn't exists

Parameter ``out``:
Nodes output to unlink from

Parameter ``in``:
Nodes input to unlink to

#### depthai.Point2f

Kind: Class

Point2f structure

x and y coordinates that define a 2D point.

##### __init__()

Kind: Method

##### x

Kind: Property

##### x.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### y

Kind: Property

##### y.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.Point3f

Kind: Class

Point3f structure

x,y,z coordinates that define a 3D point.

##### __init__()

Kind: Method

##### x

Kind: Property

##### x.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### y

Kind: Property

##### y.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### z

Kind: Property

##### z.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.PointCloudConfig(depthai.Buffer)

Kind: Class

PointCloudConfig message. Carries ROI (region of interest) and threshold for
depth calculation

##### __init__()

Kind: Method

##### get(self) -> RawPointCloudConfig: RawPointCloudConfig

Kind: Method

Retrieve configuration data for SpatialLocationCalculator.

Returns:
config for SpatialLocationCalculator

##### getSparse(self) -> bool: bool

Kind: Method

Retrieve sparse point cloud calculation status.

Returns:
true if sparse point cloud calculation is enabled, false otherwise

##### getTransformationMatrix(self) -> typing.Annotated[list[typing.Annotated[list[float], FixedSize(4)]], FixedSize(4)]:
typing.Annotated[list[typing.Annotated[list[float], FixedSize(4)]], FixedSize(4)]

Kind: Method

Retrieve transformation matrix for point cloud calculation.

Returns:
4x4 transformation matrix

##### set(self, config: RawPointCloudConfig) -> PointCloudConfig: PointCloudConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

##### setSparse(self, arg0: bool) -> PointCloudConfig: PointCloudConfig

Kind: Method

Enable or disable sparse point cloud calculation.

Parameter ``enable``:

##### setTransformationMatrix()

Kind: Method

#### depthai.PointCloudData(depthai.Buffer)

Kind: Class

PointCloudData message. Carries point cloud data.

##### __init__(self)

Kind: Method

##### getHeight(self) -> int: int

Kind: Method

Retrieves the height in pixels - in case of a sparse point cloud, this
represents the hight of the frame which was used to generate the point cloud

##### getInstanceNum(self) -> int: int

Kind: Method

Retrieves instance number

##### getMaxX(self) -> float: float

Kind: Method

Retrieves maximal x coordinate in depth units (millimeter by default)

##### getMaxY(self) -> float: float

Kind: Method

Retrieves maximal y coordinate in depth units (millimeter by default)

##### getMaxZ(self) -> float: float

Kind: Method

Retrieves maximal z coordinate in depth units (millimeter by default)

##### getMinX(self) -> float: float

Kind: Method

Retrieves minimal x coordinate in depth units (millimeter by default)

##### getMinY(self) -> float: float

Kind: Method

Retrieves minimal y coordinate in depth units (millimeter by default)

##### getMinZ(self) -> float: float

Kind: Method

Retrieves minimal z coordinate in depth units (millimeter by default)

##### getPoints(self) -> numpy.typing.NDArray[numpy.float32]: numpy.typing.NDArray[numpy.float32]

Kind: Method

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### getWidth(self) -> int: int

Kind: Method

Retrieves the height in pixels - in case of a sparse point cloud, this
represents the hight of the frame which was used to generate the point cloud

##### isSparse(self) -> bool: bool

Kind: Method

Retrieves whether point cloud is sparse

##### setHeight(self, arg0: typing.SupportsInt) -> PointCloudData: PointCloudData

Kind: Method

Specifies frame height

Parameter ``height``:
frame height

##### setInstanceNum(self, arg0: typing.SupportsInt) -> PointCloudData: PointCloudData

Kind: Method

Instance number relates to the origin of the frame (which camera)

Parameter ``instance``:
Instance number

##### setMaxX(self, arg0: typing.SupportsFloat) -> PointCloudData: PointCloudData

Kind: Method

Specifies maximal x coordinate in depth units (millimeter by default)

Parameter ``val``:
maximal x coordinate in depth units (millimeter by default)

##### setMaxY(self, arg0: typing.SupportsFloat) -> PointCloudData: PointCloudData

Kind: Method

Specifies maximal y coordinate in depth units (millimeter by default)

Parameter ``val``:
maximal y coordinate in depth units (millimeter by default)

##### setMaxZ(self, arg0: typing.SupportsFloat) -> PointCloudData: PointCloudData

Kind: Method

Specifies maximal z coordinate in depth units (millimeter by default)

Parameter ``val``:
maximal z coordinate in depth units (millimeter by default)

##### setMinX(self, arg0: typing.SupportsFloat) -> PointCloudData: PointCloudData

Kind: Method

Specifies minimal x coordinate in depth units (millimeter by default)

Parameter ``val``:
minimal x coordinate in depth units (millimeter by default)

##### setMinY(self, arg0: typing.SupportsFloat) -> PointCloudData: PointCloudData

Kind: Method

Specifies minimal y coordinate in depth units (millimeter by default)

Parameter ``val``:
minimal y coordinate in depth units (millimeter by default)

##### setMinZ(self, arg0: typing.SupportsFloat) -> PointCloudData: PointCloudData

Kind: Method

Specifies minimal z coordinate in depth units (millimeter by default)

Parameter ``val``:
minimal z coordinate in depth units (millimeter by default)

##### setSequenceNum(self, arg0: typing.SupportsInt) -> PointCloudData: PointCloudData

Kind: Method

Specifies sequence number

Parameter ``seq``:
Sequence number

##### setSize()

Kind: Method

##### setTimestamp(self, arg0: datetime.timedelta) -> PointCloudData: PointCloudData

Kind: Method

Retrieves image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> PointCloudData: PointCloudData

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setWidth(self, arg0: typing.SupportsInt) -> PointCloudData: PointCloudData

Kind: Method

Specifies frame width

Parameter ``width``:
frame width

##### points

Kind: Property

##### points.setter(self, arg1: collections.abc.Sequence [ Point3f ])

Kind: Method

#### depthai.PointCloudProperties

Kind: Class

Specify properties for PointCloud

##### initialConfig: RawPointCloudConfig

Kind: Class Variable

##### numFramesPool

Kind: Property

##### numFramesPool.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.ProcessorType

Kind: Class

Members:

LEON_CSS

LEON_MSS

##### LEON_CSS: typing.ClassVar[ProcessorType]

Kind: Class Variable

##### LEON_MSS: typing.ClassVar[ProcessorType]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, ProcessorType]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.ProfilingData

Kind: Class

##### numBytesRead

Kind: Property

##### numBytesRead.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numBytesWritten

Kind: Property

##### numBytesWritten.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.Properties

Kind: Class

Base Properties structure

#### depthai.RawAprilTagConfig(depthai.RawBuffer)

Kind: Class

RawAprilTags configuration structure

##### depthai.RawAprilTagConfig.Family

Kind: Class

Supported AprilTag families.

Members:

TAG_36H11

TAG_36H10

TAG_25H9

TAG_16H5

TAG_CIR21H7

TAG_STAND41H12

###### TAG_16H5: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_25H9: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_36H10: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_36H11: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_CIR21H7: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### TAG_STAND41H12: typing.ClassVar[RawAprilTagConfig.Family]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawAprilTagConfig.Family]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawAprilTagConfig.QuadThresholds

Kind: Class

AprilTag quad threshold parameters.

###### __init__(self)

Kind: Method

###### criticalDegree

Kind: Property

Reject quads where pairs of edges have angles that are close to straight or
close to 180 degrees. Zero means that no quads are rejected. (In degrees).

###### criticalDegree.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### deglitch

Kind: Property

Should the thresholded image be deglitched? Only useful for very noisy images

###### deglitch.setter(self, arg0: bool)

Kind: Method

###### maxLineFitMse

Kind: Property

When fitting lines to the contours, what is the maximum mean squared error
allowed? This is useful in rejecting contours that are far from being quad
shaped; rejecting these quads "early" saves expensive decoding processing.

###### maxLineFitMse.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### maxNmaxima

Kind: Property

How many corner candidates to consider when segmenting a group of pixels into a
quad.

###### maxNmaxima.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### minClusterPixels

Kind: Property

Reject quads containing too few pixels.

###### minClusterPixels.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### minWhiteBlackDiff

Kind: Property

When we build our model of black & white pixels, we add an extra check that the
white model must be (overall) brighter than the black model. How much brighter?
(in pixel values: [0,255]).

###### minWhiteBlackDiff.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### __init__(self)

Kind: Method

##### decodeSharpening

Kind: Property

How much sharpening should be done to decoded images? This can help decode small
tags but may or may not help in odd lighting conditions or low light conditions.
The default value is 0.25.

##### decodeSharpening.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### family

Kind: Property

AprilTag family.

##### family.setter(self, arg0: RawAprilTagConfig.Family)

Kind: Method

##### maxHammingDistance

Kind: Property

Max number of error bits that should be corrected. Accepting large numbers of
corrected errors leads to greatly increased false positive rates. As of this
implementation, the detector cannot detect tags with a hamming distance greater
than 2.

##### maxHammingDistance.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### quadDecimate

Kind: Property

Detection of quads can be done on a lower-resolution image, improving speed at a
cost of pose accuracy and a slight decrease in detection rate. Decoding the
binary payload is still done at full resolution.

##### quadDecimate.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### quadSigma

Kind: Property

What Gaussian blur should be applied to the segmented image. Parameter is the
standard deviation in pixels. Very noisy images benefit from non-zero values
(e.g. 0.8).

##### quadSigma.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### quadThresholds

Kind: Property

AprilTag quad threshold parameters.

##### quadThresholds.setter(self, arg0: RawAprilTagConfig.QuadThresholds)

Kind: Method

##### refineEdges

Kind: Property

When non-zero, the edges of the each quad are adjusted to "snap to" strong
gradients nearby. This is useful when decimation is employed, as it can increase
the quality of the initial quad estimate substantially. Generally recommended to
be on. Very computationally inexpensive. Option is ignored if quadDecimate = 1.

##### refineEdges.setter(self, arg0: bool)

Kind: Method

#### depthai.RawBuffer

Kind: Class

RawBuffer structure

##### __init__(self)

Kind: Method

##### data

Kind: Property

##### data.setter(self, arg1: typing.Annotated [ numpy.typing.ArrayLike , numpy.uint8 ])

Kind: Method

##### sequenceNum

Kind: Property

##### sequenceNum.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### ts

Kind: Property

##### ts.setter(self, arg1: typing.SupportsFloat)

Kind: Method

##### tsDevice

Kind: Property

##### tsDevice.setter(self, arg1: typing.SupportsFloat)

Kind: Method

#### depthai.RawCameraControl(depthai.RawBuffer)

Kind: Class

RawCameraControl structure

##### depthai.RawCameraControl.AntiBandingMode

Kind: Class

Members:

OFF

MAINS_50_HZ

MAINS_60_HZ

AUTO

###### AUTO: typing.ClassVar[RawCameraControl.AntiBandingMode]

Kind: Class Variable

###### MAINS_50_HZ: typing.ClassVar[RawCameraControl.AntiBandingMode]

Kind: Class Variable

###### MAINS_60_HZ: typing.ClassVar[RawCameraControl.AntiBandingMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.AntiBandingMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.AntiBandingMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawCameraControl.AutoFocusMode

Kind: Class

Members:

OFF

AUTO

MACRO

CONTINUOUS_VIDEO

CONTINUOUS_PICTURE

EDOF

###### AUTO: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### CONTINUOUS_PICTURE: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### CONTINUOUS_VIDEO: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### EDOF: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### MACRO: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.AutoFocusMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.AutoFocusMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawCameraControl.AutoWhiteBalanceMode

Kind: Class

Members:

OFF

AUTO

INCANDESCENT

FLUORESCENT

WARM_FLUORESCENT

DAYLIGHT

CLOUDY_DAYLIGHT

TWILIGHT

SHADE

###### AUTO: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### CLOUDY_DAYLIGHT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### DAYLIGHT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### FLUORESCENT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### INCANDESCENT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### SHADE: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### TWILIGHT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### WARM_FLUORESCENT: typing.ClassVar[RawCameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.AutoWhiteBalanceMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawCameraControl.CaptureIntent

Kind: Class

Members:

CUSTOM

PREVIEW

STILL_CAPTURE

VIDEO_RECORD

VIDEO_SNAPSHOT

ZERO_SHUTTER_LAG

###### CUSTOM: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### PREVIEW: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### STILL_CAPTURE: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### VIDEO_RECORD: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### VIDEO_SNAPSHOT: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### ZERO_SHUTTER_LAG: typing.ClassVar[RawCameraControl.CaptureIntent]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.CaptureIntent]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawCameraControl.Command

Kind: Class

Members:

START_STREAM

STOP_STREAM

STILL_CAPTURE

MOVE_LENS

AF_TRIGGER

AE_MANUAL

AE_AUTO

AWB_MODE

SCENE_MODE

ANTIBANDING_MODE

EXPOSURE_COMPENSATION

AE_LOCK

AE_TARGET_FPS_RANGE

AWB_LOCK

CAPTURE_INTENT

CONTROL_MODE

FRAME_DURATION

SENSITIVITY

EFFECT_MODE

AF_MODE

NOISE_REDUCTION_STRENGTH

SATURATION

BRIGHTNESS

STREAM_FORMAT

RESOLUTION

SHARPNESS

CUSTOM_USECASE

CUSTOM_CAPT_MODE

CUSTOM_EXP_BRACKETS

CUSTOM_CAPTURE

CONTRAST

AE_REGION

AF_REGION

LUMA_DENOISE

CHROMA_DENOISE

WB_COLOR_TEMP

###### AE_AUTO: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AE_LOCK: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AE_MANUAL: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AE_REGION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AE_TARGET_FPS_RANGE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AF_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AF_REGION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AF_TRIGGER: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### ANTIBANDING_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AWB_LOCK: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### AWB_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### BRIGHTNESS: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CAPTURE_INTENT: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CHROMA_DENOISE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CONTRAST: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CONTROL_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CUSTOM_CAPTURE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CUSTOM_CAPT_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CUSTOM_EXP_BRACKETS: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### CUSTOM_USECASE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### EFFECT_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### EXPOSURE_COMPENSATION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### FRAME_DURATION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### LUMA_DENOISE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### MOVE_LENS: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### NOISE_REDUCTION_STRENGTH: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### RESOLUTION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### SATURATION: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### SCENE_MODE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### SENSITIVITY: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### SHARPNESS: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### START_STREAM: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### STILL_CAPTURE: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### STOP_STREAM: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### STREAM_FORMAT: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### WB_COLOR_TEMP: typing.ClassVar[RawCameraControl.Command]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.Command]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawCameraControl.ControlMode

Kind: Class

Members:

OFF

AUTO

USE_SCENE_MODE

###### AUTO: typing.ClassVar[RawCameraControl.ControlMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.ControlMode]

Kind: Class Variable

###### USE_SCENE_MODE: typing.ClassVar[RawCameraControl.ControlMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.ControlMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawCameraControl.EffectMode

Kind: Class

Members:

OFF

MONO

NEGATIVE

SOLARIZE

SEPIA

POSTERIZE

WHITEBOARD

BLACKBOARD

AQUA

###### AQUA: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### BLACKBOARD: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### MONO: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### NEGATIVE: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### POSTERIZE: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### SEPIA: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### SOLARIZE: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### WHITEBOARD: typing.ClassVar[RawCameraControl.EffectMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.EffectMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawCameraControl.FrameSyncMode

Kind: Class

Members:

OFF

OUTPUT

INPUT

###### INPUT: typing.ClassVar[RawCameraControl.FrameSyncMode]

Kind: Class Variable

###### OFF: typing.ClassVar[RawCameraControl.FrameSyncMode]

Kind: Class Variable

###### OUTPUT: typing.ClassVar[RawCameraControl.FrameSyncMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.FrameSyncMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawCameraControl.SceneMode

Kind: Class

Members:

UNSUPPORTED

FACE_PRIORITY

ACTION

PORTRAIT

LANDSCAPE

NIGHT

NIGHT_PORTRAIT

THEATRE

BEACH

SNOW

SUNSET

STEADYPHOTO

FIREWORKS

SPORTS

PARTY

CANDLELIGHT

BARCODE

###### ACTION: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### BARCODE: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### BEACH: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### CANDLELIGHT: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### FACE_PRIORITY: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### FIREWORKS: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### LANDSCAPE: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### NIGHT: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### NIGHT_PORTRAIT: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### PARTY: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### PORTRAIT: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### SNOW: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### SPORTS: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### STEADYPHOTO: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### SUNSET: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### THEATRE: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### UNSUPPORTED: typing.ClassVar[RawCameraControl.SceneMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawCameraControl.SceneMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### aeLockMode: bool

Kind: Class Variable

##### afRegion: ...

Kind: Class Variable

##### antiBandingMode: RawCameraControl.AntiBandingMode

Kind: Class Variable

##### autoFocusMode: RawCameraControl.AutoFocusMode

Kind: Class Variable

##### awbLockMode: bool

Kind: Class Variable

##### awbMode: RawCameraControl.AutoWhiteBalanceMode

Kind: Class Variable

##### captureIntent: RawCameraControl.CaptureIntent

Kind: Class Variable

##### controlMode: RawCameraControl.ControlMode

Kind: Class Variable

##### effectMode: RawCameraControl.EffectMode

Kind: Class Variable

##### expManual: ...

Kind: Class Variable

##### sceneMode: RawCameraControl.SceneMode

Kind: Class Variable

##### __init__(self)

Kind: Method

##### clearCommand(self, arg0: RawCameraControl.Command)

Kind: Method

##### getCommand(self, arg0: RawCameraControl.Command) -> bool: bool

Kind: Method

##### setCommand(self, arg0: RawCameraControl.Command, arg1: bool)

Kind: Method

##### aeMaxExposureTimeUs

Kind: Property

##### aeMaxExposureTimeUs.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### brightness

Kind: Property

##### brightness.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### chromaDenoise

Kind: Property

##### chromaDenoise.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### cmdMask

Kind: Property

##### cmdMask.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### contrast

Kind: Property

##### contrast.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### expCompensation

Kind: Property

##### expCompensation.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### lensPosition

Kind: Property

##### lensPosition.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### lensPositionRaw

Kind: Property

##### lensPositionRaw.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### lumaDenoise

Kind: Property

##### lumaDenoise.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### saturation

Kind: Property

##### saturation.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### sharpness

Kind: Property

##### sharpness.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### wbColorTemp

Kind: Property

##### wbColorTemp.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.RawEdgeDetectorConfig(depthai.RawBuffer)

Kind: Class

RawEdgeDetectorConfig configuration structure

##### config: EdgeDetectorConfigData

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.RawEncodedFrame(depthai.RawBuffer)

Kind: Class

##### depthai.RawEncodedFrame.FrameType

Kind: Class

Members:

I

P

B

Unknown

###### B: typing.ClassVar[RawEncodedFrame.FrameType]

Kind: Class Variable

###### I: typing.ClassVar[RawEncodedFrame.FrameType]

Kind: Class Variable

###### P: typing.ClassVar[RawEncodedFrame.FrameType]

Kind: Class Variable

###### Unknown: typing.ClassVar[RawEncodedFrame.FrameType]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawEncodedFrame.FrameType]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawEncodedFrame.Profile

Kind: Class

Members:

JPEG

AVC

HEVC

###### AVC: typing.ClassVar[RawEncodedFrame.Profile]

Kind: Class Variable

###### HEVC: typing.ClassVar[RawEncodedFrame.Profile]

Kind: Class Variable

###### JPEG: typing.ClassVar[RawEncodedFrame.Profile]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawEncodedFrame.Profile]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### lossless: bool

Kind: Class Variable

##### profile: RawEncodedFrame.Profile

Kind: Class Variable

##### type: RawEncodedFrame.FrameType

Kind: Class Variable

##### __init__(self)

Kind: Method

##### bitrate

Kind: Property

##### bitrate.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### height

Kind: Property

##### height.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### instanceNum

Kind: Property

##### instanceNum.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### quality

Kind: Property

##### quality.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### sequenceNum

Kind: Property

##### sequenceNum.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### ts

Kind: Property

##### ts.setter(self, arg1: typing.SupportsFloat)

Kind: Method

##### tsDevice

Kind: Property

##### tsDevice.setter(self, arg1: typing.SupportsFloat)

Kind: Method

##### width

Kind: Property

##### width.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.RawFeatureTrackerConfig(depthai.RawBuffer)

Kind: Class

RawFeatureTrackerConfig configuration structure

##### depthai.RawFeatureTrackerConfig.CornerDetector

Kind: Class

Corner detector configuration structure.

###### depthai.RawFeatureTrackerConfig.CornerDetector.Thresholds

Kind: Class

Threshold settings structure for corner detector.

###### __init__(self)

Kind: Method

###### decreaseFactor

Kind: Property

When detected number of features exceeds the maximum in a cell threshold is
lowered by multiplying its value with this factor.

###### decreaseFactor.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### increaseFactor

Kind: Property

When detected number of features doesn't exceed the maximum in a cell, threshold
is increased by multiplying its value with this factor.

###### increaseFactor.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### initialValue

Kind: Property

Minimum strength of a feature which will be detected. 0 means automatic
threshold update. Recommended so the tracker can adapt to different
scenes/textures. Each cell has its own threshold. Empirical value.

###### initialValue.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### max

Kind: Property

Maximum limit for threshold. Applicable when automatic threshold update is
enabled. 0 means auto. Empirical value.

###### max.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### min

Kind: Property

Minimum limit for threshold. Applicable when automatic threshold update is
enabled. 0 means auto, 6000000 for HARRIS, 1200 for SHI_THOMASI. Empirical
value.

###### min.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### depthai.RawFeatureTrackerConfig.CornerDetector.Type

Kind: Class

Members:

HARRIS

SHI_THOMASI

###### HARRIS: typing.ClassVar[RawFeatureTrackerConfig.CornerDetector.Type]

Kind: Class Variable

###### SHI_THOMASI: typing.ClassVar[RawFeatureTrackerConfig.CornerDetector.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawFeatureTrackerConfig.CornerDetector.Type]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self)

Kind: Method

###### cellGridDimension

Kind: Property

Ensures distributed feature detection across the image. Image is divided into
horizontal and vertical cells, each cell has a target feature count =
numTargetFeatures / cellGridDimension. Each cell has its own feature threshold.
A value of 4 means that the image is divided into 4x4 cells of equal
width/height. Maximum 4, minimum 1.

###### cellGridDimension.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enableSobel

Kind: Property

Enable 3x3 Sobel operator to smoothen the image whose gradient is to be
computed. If disabled, a simple 1D row/column differentiator is used for
gradient.

###### enableSobel.setter(self, arg0: bool)

Kind: Method

###### enableSorting

Kind: Property

Enable sorting detected features based on their score or not.

###### enableSorting.setter(self, arg0: bool)

Kind: Method

###### numMaxFeatures

Kind: Property

Hard limit for the maximum number of features that can be detected. 0 means
auto, will be set to the maximum value based on memory constraints.

###### numMaxFeatures.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### numTargetFeatures

Kind: Property

Target number of features to detect. Maximum number of features is determined at
runtime based on algorithm type.

###### numTargetFeatures.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### thresholds

Kind: Property

Threshold settings. These are advanced settings, suitable for debugging/special
cases.

###### thresholds.setter(self, arg0: RawFeatureTrackerConfig.CornerDetector.Thresholds)

Kind: Method

###### type

Kind: Property

Corner detector algorithm type.

###### type.setter(self, arg0: RawFeatureTrackerConfig.CornerDetector.Type)

Kind: Method

##### depthai.RawFeatureTrackerConfig.FeatureMaintainer

Kind: Class

FeatureMaintainer configuration structure.

###### __init__(self)

Kind: Method

###### enable

Kind: Property

Enable feature maintaining or not.

###### enable.setter(self, arg0: bool)

Kind: Method

###### lostFeatureErrorThreshold

Kind: Property

Optical flow measures the tracking error for every feature. If the point can’t
be tracked or it’s out of the image it will set this error to a maximum value.
This threshold defines the level where the tracking accuracy is considered too
bad to keep the point.

###### lostFeatureErrorThreshold.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### minimumDistanceBetweenFeatures

Kind: Property

Used to filter out detected feature points that are too close. Requires sorting
enabled in detector. Unit of measurement is squared euclidean distance in
pixels.

###### minimumDistanceBetweenFeatures.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### trackedFeatureThreshold

Kind: Property

Once a feature was detected and we started tracking it, we need to update its
Harris score on each image. This is needed because a feature point can
disappear, or it can become too weak to be tracked. This threshold defines the
point where such a feature must be dropped. As the goal of the algorithm is to
provide longer tracks, we try to add strong points and track them until they are
absolutely untrackable. This is why, this value is usually smaller than the
detection threshold.

###### trackedFeatureThreshold.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### depthai.RawFeatureTrackerConfig.MotionEstimator

Kind: Class

Used for feature reidentification between current and previous features.

###### depthai.RawFeatureTrackerConfig.MotionEstimator.OpticalFlow

Kind: Class

Optical flow configuration structure.

###### __init__(self)

Kind: Method

###### epsilon

Kind: Property

Feature tracking termination criteria. Optical flow will refine the feature
position on each pyramid level until the displacement between two refinements is
smaller than this value. Decreasing this number increases runtime.

###### epsilon.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### maxIterations

Kind: Property

Feature tracking termination criteria. Optical flow will refine the feature
position maximum this many times on each pyramid level. If the Epsilon criteria
described in the previous chapter is not met after this number of iterations,
the algorithm will continue with the current calculated value. Increasing this
number increases runtime.

###### maxIterations.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### pyramidLevels

Kind: Property

Number of pyramid levels, only for optical flow. AUTO means it's decided based
on input resolution: 3 if image width <= 640, else 4. Valid values are either
3/4 for VGA, 4 for 720p and above.

###### pyramidLevels.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### searchWindowHeight

Kind: Property

Image patch height used to track features. Must be an odd number, maximum 9. N
means the algorithm will be able to track motion at most (N-1)/2 pixels in a
direction per pyramid level. Increasing this number increases runtime

###### searchWindowHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### searchWindowWidth

Kind: Property

Image patch width used to track features. Must be an odd number, maximum 9. N
means the algorithm will be able to track motion at most (N-1)/2 pixels in a
direction per pyramid level. Increasing this number increases runtime

###### searchWindowWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.RawFeatureTrackerConfig.MotionEstimator.Type

Kind: Class

Members:

LUCAS_KANADE_OPTICAL_FLOW

HW_MOTION_ESTIMATION

###### HW_MOTION_ESTIMATION: typing.ClassVar[RawFeatureTrackerConfig.MotionEstimator.Type]

Kind: Class Variable

###### LUCAS_KANADE_OPTICAL_FLOW: typing.ClassVar[RawFeatureTrackerConfig.MotionEstimator.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawFeatureTrackerConfig.MotionEstimator.Type]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self)

Kind: Method

###### enable

Kind: Property

Enable motion estimation or not.

###### enable.setter(self, arg0: bool)

Kind: Method

###### opticalFlow

Kind: Property

Optical flow configuration. Takes effect only if MotionEstimator algorithm type
set to LUCAS_KANADE_OPTICAL_FLOW.

###### opticalFlow.setter(self, arg0: RawFeatureTrackerConfig.MotionEstimator.OpticalFlow)

Kind: Method

###### type

Kind: Property

Motion estimator algorithm type.

###### type.setter(self, arg0: RawFeatureTrackerConfig.MotionEstimator.Type)

Kind: Method

##### __init__(self)

Kind: Method

##### cornerDetector

Kind: Property

Corner detector configuration. Used for feature detection.

##### cornerDetector.setter(self, arg0: RawFeatureTrackerConfig.CornerDetector)

Kind: Method

##### featureMaintainer

Kind: Property

FeatureMaintainer configuration. Used for feature maintaining.

##### featureMaintainer.setter(self, arg0: RawFeatureTrackerConfig.FeatureMaintainer)

Kind: Method

##### motionEstimator

Kind: Property

Motion estimator configuration. Used for feature reidentification between
current and previous features.

##### motionEstimator.setter(self, arg0: RawFeatureTrackerConfig.MotionEstimator)

Kind: Method

#### depthai.RawIMUData(depthai.RawBuffer)

Kind: Class

##### __init__(self)

Kind: Method

##### packets

Kind: Property

##### packets.setter(self, arg0: collections.abc.Sequence [ IMUPacket ])

Kind: Method

#### depthai.RawImageAlignConfig(depthai.RawBuffer)

Kind: Class

RawImageAlignConfig configuration structure

##### __init__(self)

Kind: Method

##### staticDepthPlane

Kind: Property

Optional static depth plane to align to, in depth units, by default millimeters

##### staticDepthPlane.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.RawImageManipConfig(depthai.RawBuffer)

Kind: Class

RawImageManipConfig structure

##### depthai.RawImageManipConfig.CropConfig

Kind: Class

###### cropRect: RawImageManipConfig.CropRect

Kind: Class Variable

###### cropRotatedRect: RotatedRect

Kind: Class Variable

###### enableCenterCropRectangle: bool

Kind: Class Variable

###### enableRotatedRect: bool

Kind: Class Variable

###### normalizedCoords: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

###### cropRatio

Kind: Property

###### cropRatio.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### widthHeightAspectRatio

Kind: Property

###### widthHeightAspectRatio.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### depthai.RawImageManipConfig.CropRect

Kind: Class

###### __init__(self)

Kind: Method

###### xmax

Kind: Property

###### xmax.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### xmin

Kind: Property

###### xmin.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### ymax

Kind: Property

###### ymax.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### ymin

Kind: Property

###### ymin.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### depthai.RawImageManipConfig.FormatConfig

Kind: Class

###### flipHorizontal: bool

Kind: Class Variable

###### flipVertical: bool

Kind: Class Variable

###### type: RawImgFrame.Type

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.RawImageManipConfig.ResizeConfig

Kind: Class

###### bgBlue: str

Kind: Class Variable

###### bgGreen: str

Kind: Class Variable

###### bgRed: str

Kind: Class Variable

###### enableRotation: bool

Kind: Class Variable

###### enableWarp4pt: bool

Kind: Class Variable

###### enableWarpMatrix: bool

Kind: Class Variable

###### keepAspectRatio: bool

Kind: Class Variable

###### lockAspectRatioFill: bool

Kind: Class Variable

###### normalizedCoords: bool

Kind: Class Variable

###### warpBorderReplicate: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

###### height

Kind: Property

###### height.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### rotationAngleDeg

Kind: Property

###### rotationAngleDeg.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### warpFourPoints

Kind: Property

###### warpFourPoints.setter(self, arg0: collections.abc.Sequence [ Point2f ])

Kind: Method

###### warpMatrix3x3

Kind: Property

###### warpMatrix3x3.setter(self, arg0: collections.abc.Sequence [ typing.SupportsFloat ])

Kind: Method

###### width

Kind: Property

###### width.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### cropConfig: RawImageManipConfig.CropConfig

Kind: Class Variable

##### enableCrop: bool

Kind: Class Variable

##### enableFormat: bool

Kind: Class Variable

##### enableResize: bool

Kind: Class Variable

##### formatConfig: RawImageManipConfig.FormatConfig

Kind: Class Variable

##### interpolation: Interpolation

Kind: Class Variable

##### resizeConfig: RawImageManipConfig.ResizeConfig

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.RawImgDetections(depthai.RawBuffer)

Kind: Class

RawImgDetections structure

##### __init__(self)

Kind: Method

##### detections

Kind: Property

##### detections.setter(self, arg0: collections.abc.Sequence [ ImgDetection ])

Kind: Method

##### sequenceNum

Kind: Property

##### sequenceNum.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### ts

Kind: Property

##### ts.setter(self, arg1: typing.SupportsFloat)

Kind: Method

##### tsDevice

Kind: Property

##### tsDevice.setter(self, arg1: typing.SupportsFloat)

Kind: Method

#### depthai.RawImgFrame(depthai.RawBuffer)

Kind: Class

RawImgFrame structure

##### depthai.RawImgFrame.Specs

Kind: Class

###### type: RawImgFrame.Type

Kind: Class Variable

###### __init__(self)

Kind: Method

###### bytesPP

Kind: Property

###### bytesPP.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### height

Kind: Property

###### height.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### p1Offset

Kind: Property

###### p1Offset.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### p2Offset

Kind: Property

###### p2Offset.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### p3Offset

Kind: Property

###### p3Offset.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### stride

Kind: Property

###### stride.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### width

Kind: Property

###### width.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.RawImgFrame.Type

Kind: Class

Members:

YUV422i

YUV444p

YUV420p

YUV422p

YUV400p

RGBA8888

RGB161616

RGB888p

BGR888p

RGB888i

BGR888i

RGBF16F16F16p

BGRF16F16F16p

RGBF16F16F16i

BGRF16F16F16i

GRAY8

GRAYF16

LUT2

LUT4

LUT16

RAW16

RAW14

RAW12

RAW10

RAW8

PACK10

PACK12

YUV444i

NV12

NV21

BITSTREAM

HDR

NONE

###### BGR888i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### BGR888p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### BGRF16F16F16i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### BGRF16F16F16p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### BITSTREAM: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### GRAY8: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### GRAYF16: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### HDR: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### LUT16: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### LUT2: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### LUT4: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### NONE: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### NV12: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### NV21: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### PACK10: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### PACK12: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW10: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW12: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW14: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW16: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RAW8: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGB161616: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGB888i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGB888p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGBA8888: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGBF16F16F16i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### RGBF16F16F16p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV400p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV420p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV422i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV422p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV444i: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### YUV444p: typing.ClassVar[RawImgFrame.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawImgFrame.Type]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### fb: RawImgFrame.Specs

Kind: Class Variable

##### __init__(self)

Kind: Method

##### category

Kind: Property

##### category.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### instanceNum

Kind: Property

##### instanceNum.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### sequenceNum

Kind: Property

##### sequenceNum.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### ts

Kind: Property

##### ts.setter(self, arg1: typing.SupportsFloat)

Kind: Method

##### tsDevice

Kind: Property

##### tsDevice.setter(self, arg1: typing.SupportsFloat)

Kind: Method

#### depthai.RawMessageGroup(depthai.RawBuffer)

Kind: Class

##### __init__(self)

Kind: Method

##### group

Kind: Property

##### group.setter(self, arg0: collections.abc.Mapping [ str , ... ])

Kind: Method

#### depthai.RawNNData(depthai.RawBuffer)

Kind: Class

RawNNData structure

##### __init__(self)

Kind: Method

##### batchSize

Kind: Property

##### batchSize.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### sequenceNum

Kind: Property

##### sequenceNum.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### tensors

Kind: Property

##### tensors.setter(self, arg0: collections.abc.Sequence [ TensorInfo ])

Kind: Method

##### ts

Kind: Property

##### ts.setter(self, arg1: typing.SupportsFloat)

Kind: Method

##### tsDevice

Kind: Property

##### tsDevice.setter(self, arg1: typing.SupportsFloat)

Kind: Method

#### depthai.RawObjectTrackerConfig(depthai.RawBuffer)

Kind: Class

RawObjectTrackerConfig configuration structure

##### __init__(self)

Kind: Method

##### trackletIdsToRemove

Kind: Property

Tracklet IDs to remove from tracking. Tracklet will transition to REMOVED state.

##### trackletIdsToRemove.setter(self, arg0: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

#### depthai.RawPointCloudConfig(depthai.RawBuffer)

Kind: Class

RawPointCloudConfig configuration structure

##### sparse: bool

Kind: Class Variable

##### __init__(self)

Kind: Method

##### transformationMatrix

Kind: Property

##### transformationMatrix.setter(self, arg0: typing.Annotated [ collections.abc.Sequence [ typing.Annotated [
collections.abc.Sequence [ typing.SupportsFloat ] , FixedSize ( 4 ) ] ] , FixedSize ( 4 ) ])

Kind: Method

#### depthai.RawPointCloudData(depthai.RawBuffer)

Kind: Class

##### sparse: bool

Kind: Class Variable

##### __init__(self)

Kind: Method

##### height

Kind: Property

##### height.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### instanceNum

Kind: Property

##### instanceNum.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### maxx

Kind: Property

##### maxx.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### maxy

Kind: Property

##### maxy.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### maxz

Kind: Property

##### maxz.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### minx

Kind: Property

##### minx.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### miny

Kind: Property

##### miny.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### minz

Kind: Property

##### minz.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### width

Kind: Property

##### width.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.RawSpatialImgDetections(depthai.RawBuffer)

Kind: Class

RawSpatialImgDetections structure

##### __init__(self)

Kind: Method

##### detections

Kind: Property

##### detections.setter(self, arg0: collections.abc.Sequence [ SpatialImgDetection ])

Kind: Method

##### sequenceNum

Kind: Property

##### sequenceNum.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### ts

Kind: Property

##### ts.setter(self, arg1: typing.SupportsFloat)

Kind: Method

##### tsDevice

Kind: Property

##### tsDevice.setter(self, arg1: typing.SupportsFloat)

Kind: Method

#### depthai.RawStereoDepthConfig(depthai.RawBuffer)

Kind: Class

RawStereoDepthConfig configuration structure

##### depthai.RawStereoDepthConfig.AlgorithmControl

Kind: Class

###### depthai.RawStereoDepthConfig.AlgorithmControl.DepthAlign

Kind: Class

Align the disparity/depth to the perspective of a rectified output, or center it

Members:

RECTIFIED_RIGHT :

RECTIFIED_LEFT :

CENTER :

###### CENTER: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### RECTIFIED_LEFT: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### RECTIFIED_RIGHT: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.AlgorithmControl.DepthAlign]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.RawStereoDepthConfig.AlgorithmControl.DepthUnit

Kind: Class

Measurement unit for depth data

Members:

METER :

CENTIMETER :

MILLIMETER :

INCH :

FOOT :

CUSTOM :

###### CENTIMETER: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### CUSTOM: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### FOOT: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### INCH: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### METER: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### MILLIMETER: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.AlgorithmControl.DepthUnit]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self)

Kind: Method

###### centerAlignmentShiftFactor

Kind: Property

Used only for debug purposes. centerAlignmentShiftFactor is set automatically in
firmware, from camera extrinsics when depth alignment to camera is enabled.
Center alignment is achieved by shifting the obtained disparity map by a scale
factor. It's used to align to a different camera that is on the same horizontal
baseline as the two stereo cameras. E.g. if we have a device with 10 cm stereo
baseline, and we have another camera inbetween, 9cm from the LEFT camera and 1
cm from the RIGHT camera we can align the obtained disparity map using a scale
factor of 0.9. Note that aligning disparity map to a different camera involves 2
steps: 1. Shifting obtained disparity map. 2. Warping the image to counter
rotate and scaling to match the FOV. Center alignment factor 1 is equivalent to
RECTIFIED_RIGHT Center alignment factor 0 is equivalent to RECTIFIED_LEFT

###### centerAlignmentShiftFactor.setter(self, arg0: typing.SupportsFloat | None)

Kind: Method

###### customDepthUnitMultiplier

Kind: Property

Custom depth unit multiplier, if custom depth unit is enabled, relative to 1
meter. A multiplier of 1000 effectively means depth unit in millimeter.

###### customDepthUnitMultiplier.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### depthAlign

Kind: Property

Set the disparity/depth alignment to the perspective of a rectified output, or
center it

###### depthAlign.setter(self, arg0: RawStereoDepthConfig.AlgorithmControl.DepthAlign)

Kind: Method

###### depthUnit

Kind: Property

Measurement unit for depth data. Depth data is integer value, multiple of depth
unit.

###### depthUnit.setter(self, arg0: RawStereoDepthConfig.AlgorithmControl.DepthUnit)

Kind: Method

###### disparityShift

Kind: Property

Shift input frame by a number of pixels to increase minimum depth. For example
shifting by 48 will change effective disparity search range from (0,95] to
[48,143]. An alternative approach to reducing the minZ. We normally only
recommend doing this when it is known that there will be no objects farther away
than MaxZ, such as having a depth camera mounted above a table pointing down at
the table surface.

###### disparityShift.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enableExtended

Kind: Property

Disparity range increased from 95 to 190, combined from full resolution and
downscaled images. Suitable for short range objects

###### enableExtended.setter(self, arg0: bool)

Kind: Method

###### enableLeftRightCheck

Kind: Property

Computes and combines disparities in both L-R and R-L directions, and combine
them. For better occlusion handling

###### enableLeftRightCheck.setter(self, arg0: bool)

Kind: Method

###### enableSubpixel

Kind: Property

Computes disparity with sub-pixel interpolation (5 fractional bits), suitable
for long range

###### enableSubpixel.setter(self, arg0: bool)

Kind: Method

###### leftRightCheckThreshold

Kind: Property

Left-right check threshold for left-right, right-left disparity map combine,
0..128 Used only when left-right check mode is enabled. Defines the maximum
difference between the confidence of pixels from left-right and right-left
confidence maps

###### leftRightCheckThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### numInvalidateEdgePixels

Kind: Property

Invalidate X amount of pixels at the edge of disparity frame. For right and
center alignment X pixels will be invalidated from the right edge, for left
alignment from the left edge.

###### numInvalidateEdgePixels.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### subpixelFractionalBits

Kind: Property

Number of fractional bits for subpixel mode

Valid values: 3,4,5

Defines the number of fractional disparities: 2^x

Median filter postprocessing is supported only for 3 fractional bits

###### subpixelFractionalBits.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.RawStereoDepthConfig.CensusTransform

Kind: Class

The basic cost function used by the Stereo Accelerator for matching the left and
right images is the Census Transform. It works on a block of pixels and computes
a bit vector which represents the structure of the image in that block. There
are two types of Census Transform based on how the middle pixel is used: Classic
Approach and Modified Census. The comparisons that are made between pixels can
be or not thresholded. In some cases a mask can be applied to filter out only
specific bits from the entire bit stream. All these approaches are: Classic
Approach: Uses middle pixel to compare against all its neighbors over a defined
window. Each comparison results in a new bit, that is 0 if central pixel is
smaller, or 1 if is it bigger than its neighbor. Modified Census Transform: same
as classic Census Transform, but instead of comparing central pixel with its
neighbors, the window mean will be compared with each pixel over the window.
Thresholding Census Transform: same as classic Census Transform, but it is not
enough that a neighbor pixel to be bigger than the central pixel, it must be
significant bigger (based on a threshold). Census Transform with Mask: same as
classic Census Transform, but in this case not all of the pixel from the support
window are part of the binary descriptor. We use a ma sk “M” to define which
pixels are part of the binary descriptor (1), and which pixels should be skipped
(0).

###### depthai.RawStereoDepthConfig.CensusTransform.KernelSize

Kind: Class

Census transform kernel size possible values.

Members:

AUTO :

KERNEL_5x5 :

KERNEL_7x7 :

KERNEL_7x9 :

###### AUTO: typing.ClassVar[RawStereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### KERNEL_5x5: typing.ClassVar[RawStereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### KERNEL_7x7: typing.ClassVar[RawStereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### KERNEL_7x9: typing.ClassVar[RawStereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.CensusTransform.KernelSize]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self)

Kind: Method

###### enableMeanMode

Kind: Property

If enabled, each pixel in the window is compared with the mean window value
instead of the central pixel.

###### enableMeanMode.setter(self, arg0: bool)

Kind: Method

###### kernelMask

Kind: Property

Census transform mask, default - auto, mask is set based on resolution and
kernel size. Disabled for 400p input resolution. Enabled for 720p. 0XA82415 for
5x5 census transform kernel. 0XAA02A8154055 for 7x7 census transform kernel.
0X2AA00AA805540155 for 7x9 census transform kernel. Empirical values.

###### kernelMask.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### kernelSize

Kind: Property

Census transform kernel size.

###### kernelSize.setter(self, arg0: RawStereoDepthConfig.CensusTransform.KernelSize)

Kind: Method

###### threshold

Kind: Property

Census transform comparison threshold value.

###### threshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.RawStereoDepthConfig.CostAggregation

Kind: Class

Cost Aggregation is based on Semi Global Block Matching (SGBM). This algorithm
uses a semi global technique to aggregate the cost map. Ultimately the idea is
to build inertia into the stereo algorithm. If a pixel has very little texture
information, then odds are the correct disparity for this pixel is close to that
of the previous pixel considered. This means that we get improved results in
areas with low texture.

###### __init__(self)

Kind: Method

###### divisionFactor

Kind: Property

Cost calculation linear equation parameters.

###### divisionFactor.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### horizontalPenaltyCostP1

Kind: Property

Horizontal P1 penalty cost parameter.

###### horizontalPenaltyCostP1.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### horizontalPenaltyCostP2

Kind: Property

Horizontal P2 penalty cost parameter.

###### horizontalPenaltyCostP2.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### verticalPenaltyCostP1

Kind: Property

Vertical P1 penalty cost parameter.

###### verticalPenaltyCostP1.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### verticalPenaltyCostP2

Kind: Property

Vertical P2 penalty cost parameter.

###### verticalPenaltyCostP2.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.RawStereoDepthConfig.CostMatching

Kind: Class

The matching cost is way of measuring the similarity of image locations in
stereo correspondence algorithm. Based on the configuration parameters and based
on the descriptor type, a linear equation is applied to computing the cost for
each candidate disparity at each pixel.

###### depthai.RawStereoDepthConfig.CostMatching.DisparityWidth

Kind: Class

Disparity search range: 64 or 96 pixels are supported by the HW.

Members:

DISPARITY_64 :

DISPARITY_96 :

###### DISPARITY_64: typing.ClassVar[RawStereoDepthConfig.CostMatching.DisparityWidth]

Kind: Class Variable

###### DISPARITY_96: typing.ClassVar[RawStereoDepthConfig.CostMatching.DisparityWidth]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.CostMatching.DisparityWidth]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.RawStereoDepthConfig.CostMatching.LinearEquationParameters

Kind: Class

The linear equation applied for computing the cost is: COMB_COST = α*AD +
β*(CTC<<3). CLAMP(COMB_COST >> 5, threshold). Where AD is the Absolute
Difference between 2 pixels values. CTC is the Census Transform Cost between 2
pixels, based on Hamming distance (xor). The α and β parameters are subject to
fine tuning by the user.

###### __init__(self)

Kind: Method

###### alpha

Kind: Property

###### alpha.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### beta

Kind: Property

###### beta.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### threshold

Kind: Property

###### threshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### __init__(self)

Kind: Method

###### confidenceThreshold

Kind: Property

Disparities with confidence value under this threshold are accepted. Higher
confidence threshold means disparities with less confidence are accepted too.

###### confidenceThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### disparityWidth

Kind: Property

Disparity search range, default 96 pixels.

###### disparityWidth.setter(self, arg0: RawStereoDepthConfig.CostMatching.DisparityWidth)

Kind: Method

###### enableCompanding

Kind: Property

Disparity companding using sparse matching. Matching pixel by pixel for N
disparities. Matching every 2nd pixel for M disparitites. Matching every 4th
pixel for T disparities. In case of 96 disparities: N=48, M=32, T=16. This way
the search range is extended to 176 disparities, by sparse matching. Note: when
enabling this flag only depth map will be affected, disparity map is not.

###### enableCompanding.setter(self, arg0: bool)

Kind: Method

###### invalidDisparityValue

Kind: Property

Used only for debug purposes, SW postprocessing handled only invalid value of 0
properly.

###### invalidDisparityValue.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### linearEquationParameters

Kind: Property

Cost calculation linear equation parameters.

###### linearEquationParameters.setter(self, arg0: RawStereoDepthConfig.CostMatching.LinearEquationParameters)

Kind: Method

##### depthai.RawStereoDepthConfig.MedianFilter

Kind: Class

Median filter config

Members:

MEDIAN_OFF

KERNEL_3x3

KERNEL_5x5

KERNEL_7x7

###### KERNEL_3x3: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### KERNEL_5x5: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### KERNEL_7x7: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### MEDIAN_OFF: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, MedianFilter]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.RawStereoDepthConfig.PostProcessing

Kind: Class

Post-processing filters, all the filters are applied in disparity domain.

###### depthai.RawStereoDepthConfig.PostProcessing.BrightnessFilter

Kind: Class

Brightness filtering. If input frame pixel is too dark or too bright, disparity
will be invalidated. The idea is that for too dark/too bright pixels we have low
confidence, since that area was under/over exposed and details were lost.

###### __init__(self)

Kind: Method

###### maxBrightness

Kind: Property

Maximum range in depth units. If input pixel is less or equal than this value
the depth value is invalidated.

###### maxBrightness.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### minBrightness

Kind: Property

Minimum pixel brightness. If input pixel is less or equal than this value the
depth value is invalidated.

###### minBrightness.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.RawStereoDepthConfig.PostProcessing.DecimationFilter

Kind: Class

Decimation filter. Reduces the depth scene complexity. The filter runs on kernel
sizes [2x2] to [8x8] pixels.

###### depthai.RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode

Kind: Class

Decimation algorithm type.

Members:

PIXEL_SKIPPING :

NON_ZERO_MEDIAN :

NON_ZERO_MEAN :

###### NON_ZERO_MEAN: typing.ClassVar[RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]

Kind: Class Variable

###### NON_ZERO_MEDIAN: typing.ClassVar[RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]

Kind: Class Variable

###### PIXEL_SKIPPING: typing.ClassVar[RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self)

Kind: Method

###### decimationFactor

Kind: Property

Decimation factor. Valid values are 1,2,3,4. Disparity/depth map x/y resolution
will be decimated with this value.

###### decimationFactor.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### decimationMode

Kind: Property

Decimation algorithm type.

###### decimationMode.setter(self, arg0: RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode)

Kind: Method

###### depthai.RawStereoDepthConfig.PostProcessing.Filter

Kind: Class

Members:

DECIMATION :

SPECKLE :

MEDIAN :

TEMPORAL :

SPATIAL :

FILTER_COUNT :

###### DECIMATION: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### FILTER_COUNT: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### MEDIAN: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### SPATIAL: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### SPECKLE: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### TEMPORAL: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.PostProcessing.Filter]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.RawStereoDepthConfig.PostProcessing.SpatialFilter

Kind: Class

1D edge-preserving spatial filter using high-order domain transform.

###### __init__(self)

Kind: Method

###### alpha

Kind: Property

The Alpha factor in an exponential moving average with Alpha=1 - no filter.
Alpha = 0 - infinite filter. Determines the amount of smoothing.

###### alpha.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### delta

Kind: Property

Step-size boundary. Establishes the threshold used to preserve "edges". If the
disparity value between neighboring pixels exceed the disparity threshold set by
this delta parameter, then filtering will be temporarily disabled. Default value
0 means auto: 3 disparity integer levels. In case of subpixel mode it's 3*number
of subpixel levels.

###### delta.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enable

Kind: Property

Whether to enable or disable the filter.

###### enable.setter(self, arg0: bool)

Kind: Method

###### holeFillingRadius

Kind: Property

An in-place heuristic symmetric hole-filling mode applied horizontally during
the filter passes. Intended to rectify minor artefacts with minimal performance
impact. Search radius for hole filling.

###### holeFillingRadius.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### numIterations

Kind: Property

Number of iterations over the image in both horizontal and vertical direction.

###### numIterations.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.RawStereoDepthConfig.PostProcessing.SpeckleFilter

Kind: Class

Speckle filtering. Removes speckle noise.

###### __init__(self)

Kind: Method

###### differenceThreshold

Kind: Property

Maximum difference between neighbor disparity pixels to put them into the same
blob. Units in disparity integer levels.

###### differenceThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enable

Kind: Property

Whether to enable or disable the filter.

###### enable.setter(self, arg0: bool)

Kind: Method

###### speckleRange

Kind: Property

Speckle search range.

###### speckleRange.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.RawStereoDepthConfig.PostProcessing.TemporalFilter

Kind: Class

Temporal filtering with optional persistence.

###### depthai.RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode

Kind: Class

Persistency algorithm type.

Members:

PERSISTENCY_OFF :

VALID_8_OUT_OF_8 :

VALID_2_IN_LAST_3 :

VALID_2_IN_LAST_4 :

VALID_2_OUT_OF_8 :

VALID_1_IN_LAST_2 :

VALID_1_IN_LAST_5 :

VALID_1_IN_LAST_8 :

PERSISTENCY_INDEFINITELY :

###### PERSISTENCY_INDEFINITELY: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### PERSISTENCY_OFF: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_2: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_5: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_8: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_3: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_4: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_OUT_OF_8: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_8_OUT_OF_8: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self)

Kind: Method

###### alpha

Kind: Property

The Alpha factor in an exponential moving average with Alpha=1 - no filter.
Alpha = 0 - infinite filter. Determines the extent of the temporal history that
should be averaged.

###### alpha.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### delta

Kind: Property

Step-size boundary. Establishes the threshold used to preserve surfaces (edges).
If the disparity value between neighboring pixels exceed the disparity threshold
set by this delta parameter, then filtering will be temporarily disabled.
Default value 0 means auto: 3 disparity integer levels. In case of subpixel mode
it's 3*number of subpixel levels.

###### delta.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enable

Kind: Property

Whether to enable or disable the filter.

###### enable.setter(self, arg0: bool)

Kind: Method

###### persistencyMode

Kind: Property

Persistency mode. If the current disparity/depth value is invalid, it will be
replaced by an older value, based on persistency mode.

###### persistencyMode.setter(self, arg0: RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode)

Kind: Method

###### depthai.RawStereoDepthConfig.PostProcessing.ThresholdFilter

Kind: Class

Threshold filtering. Filters out distances outside of a given interval.

###### __init__(self)

Kind: Method

###### maxRange

Kind: Property

Maximum range in depth units. Depth values over this value are invalidated.

###### maxRange.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### minRange

Kind: Property

Minimum range in depth units. Depth values under this value are invalidated.

###### minRange.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### __init__(self)

Kind: Method

###### bilateralSigmaValue

Kind: Property

Sigma value for bilateral filter. 0 means disabled. A larger value of the
parameter means that farther colors within the pixel neighborhood will be mixed
together.

###### bilateralSigmaValue.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### brightnessFilter

Kind: Property

Brightness filtering. If input frame pixel is too dark or too bright, disparity
will be invalidated. The idea is that for too dark/too bright pixels we have low
confidence, since that area was under/over exposed and details were lost.

###### brightnessFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.BrightnessFilter)

Kind: Method

###### decimationFilter

Kind: Property

Decimation filter. Reduces disparity/depth map x/y complexity, reducing runtime
complexity for other filters.

###### decimationFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.DecimationFilter)

Kind: Method

###### filteringOrder

Kind: Property

Order of filters to be applied if filtering is enabled.

###### filteringOrder.setter(self, arg0: typing.Annotated [ collections.abc.Sequence [ RawStereoDepthConfig.PostProcessing.Filter
] , FixedSize ( 5 ) ])

Kind: Method

###### median

Kind: Property

Set kernel size for disparity/depth median filtering, or disable

###### median.setter(self, arg0: MedianFilter)

Kind: Method

###### spatialFilter

Kind: Property

Edge-preserving filtering: This type of filter will smooth the depth noise while
attempting to preserve edges.

###### spatialFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.SpatialFilter)

Kind: Method

###### speckleFilter

Kind: Property

Speckle filtering. Removes speckle noise.

###### speckleFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.SpeckleFilter)

Kind: Method

###### temporalFilter

Kind: Property

Temporal filtering with optional persistence.

###### temporalFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.TemporalFilter)

Kind: Method

###### thresholdFilter

Kind: Property

Threshold filtering. Filters out distances outside of a given interval.

###### thresholdFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.ThresholdFilter)

Kind: Method

##### __init__(self)

Kind: Method

##### algorithmControl

Kind: Property

Controls the flow of stereo algorithm - left-right check, subpixel etc.

##### algorithmControl.setter(self, arg0: RawStereoDepthConfig.AlgorithmControl)

Kind: Method

##### censusTransform

Kind: Property

Census transform settings.

##### censusTransform.setter(self, arg0: RawStereoDepthConfig.CensusTransform)

Kind: Method

##### costAggregation

Kind: Property

Cost aggregation settings.

##### costAggregation.setter(self, arg0: RawStereoDepthConfig.CostAggregation)

Kind: Method

##### costMatching

Kind: Property

Cost matching settings.

##### costMatching.setter(self, arg0: RawStereoDepthConfig.CostMatching)

Kind: Method

##### postProcessing

Kind: Property

Controls the postprocessing of disparity and/or depth map.

##### postProcessing.setter(self, arg0: RawStereoDepthConfig.PostProcessing)

Kind: Method

#### depthai.RawSystemInformation(depthai.RawBuffer)

Kind: Class

System information of device

Memory usage, cpu usage and chip temperature

##### chipTemperature: ChipTemperature

Kind: Class Variable

##### cmxMemoryUsage: MemoryInfo

Kind: Class Variable

##### ddrMemoryUsage: MemoryInfo

Kind: Class Variable

##### leonCssCpuUsage: CpuUsage

Kind: Class Variable

##### leonCssMemoryUsage: MemoryInfo

Kind: Class Variable

##### leonMssCpuUsage: CpuUsage

Kind: Class Variable

##### leonMssMemoryUsage: MemoryInfo

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.RawToFConfig(depthai.RawBuffer)

Kind: Class

RawToFConfig configuration structure

##### enableBurstMode: bool

Kind: Class Variable

##### enableDistortionCorrection: bool

Kind: Class Variable

##### enableFPPNCorrection: bool|None

Kind: Class Variable

##### enableOpticalCorrection: bool|None

Kind: Class Variable

##### enablePhaseShuffleTemporalFilter: bool

Kind: Class Variable

##### enablePhaseUnwrapping: bool|None

Kind: Class Variable

##### enableTemperatureCorrection: bool|None

Kind: Class Variable

##### enableWiggleCorrection: bool|None

Kind: Class Variable

##### __init__(self)

Kind: Method

##### median

Kind: Property

Set kernel size for depth median filtering, or disable

##### median.setter(self, arg0: MedianFilter)

Kind: Method

##### phaseUnwrapErrorThreshold

Kind: Property

##### phaseUnwrapErrorThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### phaseUnwrappingLevel

Kind: Property

##### phaseUnwrappingLevel.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.RawTrackedFeatures(depthai.RawBuffer)

Kind: Class

RawTrackedFeatures structure

##### __init__(self)

Kind: Method

##### trackedFeatures

Kind: Property

##### trackedFeatures.setter(self, arg0: collections.abc.Sequence [ TrackedFeature ])

Kind: Method

#### depthai.RawTracklets(depthai.RawBuffer)

Kind: Class

RawTracklets structure

##### __init__(self)

Kind: Method

##### tracklets

Kind: Property

##### tracklets.setter(self, arg0: collections.abc.Sequence [ Tracklet ])

Kind: Method

#### depthai.Rect

Kind: Class

Rect structure

x,y coordinates together with width and height that define a rectangle. Can be
either normalized [0,1] or absolute representation.

##### __init__()

Kind: Method

##### area(self) -> float: float

Kind: Method

Area (width*height) of the rectangle

##### bottomRight(self) -> Point2f: Point2f

Kind: Method

The bottom-right corner

##### contains(self, arg0: Point2f) -> bool: bool

Kind: Method

Checks whether the rectangle contains the point.

##### denormalize(self, width: typing.SupportsInt, height: typing.SupportsInt) -> Rect: Rect

Kind: Method

Denormalize rectangle.

Parameter ``destWidth``:
Destination frame width.

Parameter ``destHeight``:
Destination frame height.

##### empty(self) -> bool: bool

Kind: Method

True if rectangle is empty.

##### isNormalized(self) -> bool: bool

Kind: Method

Whether rectangle is normalized (coordinates in [0,1] range) or not.

##### normalize(self, width: typing.SupportsInt, height: typing.SupportsInt) -> Rect: Rect

Kind: Method

Normalize rectangle.

Parameter ``srcWidth``:
Source frame width.

Parameter ``srcHeight``:
Source frame height.

##### size(self) -> Size2f: Size2f

Kind: Method

Size (width, height) of the rectangle

##### topLeft(self) -> Point2f: Point2f

Kind: Method

The top-left corner.

##### height

Kind: Property

##### height.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### width

Kind: Property

##### width.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### x

Kind: Property

##### x.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### y

Kind: Property

##### y.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.RotatedRect

Kind: Class

RotatedRect structure

##### center: Point2f

Kind: Class Variable

##### size: Size2f

Kind: Class Variable

##### __init__(self)

Kind: Method

##### angle

Kind: Property

##### angle.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.SPIInProperties

Kind: Class

Properties for SPIIn node

##### streamName: str

Kind: Class Variable

##### busId

Kind: Property

##### busId.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### maxDataSize

Kind: Property

##### maxDataSize.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFrames

Kind: Property

##### numFrames.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.SPIOutProperties

Kind: Class

Specify properties for SPIOut node

##### streamName: str

Kind: Class Variable

##### busId

Kind: Property

##### busId.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.ScriptProperties

Kind: Class

Specify ScriptProperties options such as script uri, script name, ...

##### processor

Kind: Property

Which processor should execute the script

##### processor.setter(self, arg0: ProcessorType)

Kind: Method

##### scriptName

Kind: Property

Name of script

##### scriptName.setter(self, arg0: str)

Kind: Method

##### scriptUri

Kind: Property

Uri which points to actual script

##### scriptUri.setter(self, arg0: str)

Kind: Method

#### depthai.SerializationType

Kind: Class

Members:

LIBNOP

JSON

JSON_MSGPACK

##### JSON: typing.ClassVar[SerializationType]

Kind: Class Variable

##### JSON_MSGPACK: typing.ClassVar[SerializationType]

Kind: Class Variable

##### LIBNOP: typing.ClassVar[SerializationType]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, SerializationType]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.Size2f

Kind: Class

Size2f structure

width, height values define the size of the shape/frame

##### __init__()

Kind: Method

##### height

Kind: Property

##### height.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### width

Kind: Property

##### width.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.SpatialDetectionNetworkProperties(depthai.DetectionNetworkProperties)

Kind: Class

Specify properties for SpatialDetectionNetwork

##### depthThresholds: SpatialLocationCalculatorConfigThresholds

Kind: Class Variable

##### detectedBBScaleFactor

Kind: Property

##### detectedBBScaleFactor.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.SpatialImgDetection(depthai.ImgDetection)

Kind: Class

SpatialImgDetection structure

Contains image detection results together with spatial location data.

##### boundingBoxMapping: SpatialLocationCalculatorConfigData

Kind: Class Variable

##### spatialCoordinates: Point3f

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.SpatialImgDetections(depthai.Buffer)

Kind: Class

SpatialImgDetections message. Carries detection results together with spatial
location data

##### __init__(self)

Kind: Method

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### setSequenceNum(self, arg0: typing.SupportsInt) -> SpatialImgDetections: SpatialImgDetections

Kind: Method

Retrieves image sequence number

##### setTimestamp(self, arg0: datetime.timedelta) -> SpatialImgDetections: SpatialImgDetections

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> SpatialImgDetections: SpatialImgDetections

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### detections

Kind: Property

##### detections.setter(self, arg1: collections.abc.Sequence [ SpatialImgDetection ])

Kind: Method

#### depthai.SpatialLocationCalculatorAlgorithm

Kind: Class

SpatialLocationCalculatorAlgorithm configuration modes

Contains calculation method used to obtain spatial locations.

Members:

AVERAGE

MEAN

MIN

MAX

MODE

MEDIAN

##### AVERAGE: typing.ClassVar[SpatialLocationCalculatorAlgorithm]

Kind: Class Variable

##### MAX: typing.ClassVar[SpatialLocationCalculatorAlgorithm]

Kind: Class Variable

##### MEAN: typing.ClassVar[SpatialLocationCalculatorAlgorithm]

Kind: Class Variable

##### MEDIAN: typing.ClassVar[SpatialLocationCalculatorAlgorithm]

Kind: Class Variable

##### MIN: typing.ClassVar[SpatialLocationCalculatorAlgorithm]

Kind: Class Variable

##### MODE: typing.ClassVar[SpatialLocationCalculatorAlgorithm]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, SpatialLocationCalculatorAlgorithm]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.SpatialLocationCalculatorConfig(depthai.Buffer)

Kind: Class

SpatialLocationCalculatorConfig message. Carries ROI (region of interest) and
threshold for depth calculation

##### __init__(self)

Kind: Method

##### addROI(self, ROI: SpatialLocationCalculatorConfigData)

Kind: Method

Add a new ROI to configuration data.

Parameter ``roi``:
Configuration parameters for ROI (region of interest)

##### get(self) -> ...: ...

Kind: Method

Retrieve configuration data for SpatialLocationCalculator.

Returns:
config for SpatialLocationCalculator

##### getConfigData(self) -> list[SpatialLocationCalculatorConfigData]: list[SpatialLocationCalculatorConfigData]

Kind: Method

Retrieve configuration data for SpatialLocationCalculator

Returns:
Vector of configuration parameters for ROIs (region of interests)

##### set(self, config: ...) -> SpatialLocationCalculatorConfig: SpatialLocationCalculatorConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

##### setROIs(self, ROIs: collections.abc.Sequence [ SpatialLocationCalculatorConfigData ])

Kind: Method

Set a vector of ROIs as configuration data.

Parameter ``ROIs``:
Vector of configuration parameters for ROIs (region of interests)

#### depthai.SpatialLocationCalculatorConfigData

Kind: Class

SpatialLocation configuration data structure

##### __init__(self)

Kind: Method

##### calculationAlgorithm

Kind: Property

Calculation method used to obtain spatial locations Average/mean: the average of
ROI is used for calculation. Min: the minimum value inside ROI is used for
calculation. Max: the maximum value inside ROI is used for calculation. Mode:
the most frequent value inside ROI is used for calculation. Median: the median
value inside ROI is used for calculation. Default: median.

##### calculationAlgorithm.setter(self, arg0: SpatialLocationCalculatorAlgorithm)

Kind: Method

##### depthThresholds

Kind: Property

Upper and lower thresholds for depth values to take into consideration.

##### depthThresholds.setter(self, arg0: SpatialLocationCalculatorConfigThresholds)

Kind: Method

##### roi

Kind: Property

Region of interest for spatial location calculation.

##### roi.setter(self, arg0: Rect)

Kind: Method

#### depthai.SpatialLocationCalculatorConfigThresholds

Kind: Class

SpatialLocation configuration thresholds structure

Contains configuration data for lower and upper threshold in depth units
(millimeter by default) for ROI. Values outside of threshold range will be
ignored when calculating spatial coordinates from depth map.

##### __init__(self)

Kind: Method

##### lowerThreshold

Kind: Property

##### lowerThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### upperThreshold

Kind: Property

##### upperThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.SpatialLocationCalculatorData(depthai.Buffer)

Kind: Class

SpatialLocationCalculatorData message. Carries spatial information (X,Y,Z) and
their configuration parameters

##### __init__(self)

Kind: Method

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getSpatialLocations(self) -> list[SpatialLocations]: list[SpatialLocations]

Kind: Method

Retrieve configuration data for SpatialLocationCalculatorData.

Returns:
Vector of spatial location data, carrying spatial information (X,Y,Z)

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### setSequenceNum(self, arg0: typing.SupportsInt) -> SpatialLocationCalculatorData: SpatialLocationCalculatorData

Kind: Method

Retrieves image sequence number

##### setTimestamp(self, arg0: datetime.timedelta) -> SpatialLocationCalculatorData: SpatialLocationCalculatorData

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> SpatialLocationCalculatorData: SpatialLocationCalculatorData

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### spatialLocations

Kind: Property

##### spatialLocations.setter(self, arg1: collections.abc.Sequence [ SpatialLocations ])

Kind: Method

#### depthai.SpatialLocationCalculatorProperties

Kind: Class

Specify properties for SpatialLocationCalculator

##### roiConfig: ...

Kind: Class Variable

#### depthai.SpatialLocations

Kind: Class

SpatialLocations structure

Contains configuration data, average depth for the calculated ROI on depth map.
Together with spatial coordinates: x,y,z relative to the center of depth map.
Units are in depth units (millimeter by default).

##### __init__(self)

Kind: Method

##### config

Kind: Property

Configuration for selected ROI

##### config.setter(self, arg0: SpatialLocationCalculatorConfigData)

Kind: Method

##### depthAverage

Kind: Property

Average of depth values inside the ROI between the specified thresholds in
config. Calculated only if calculation method is set to AVERAGE or MIN oR MAX.

##### depthAverage.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### depthAveragePixelCount

Kind: Property

Number of depth values used in calculations.

##### depthAveragePixelCount.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthMax

Kind: Property

Maximum of depth values inside the ROI between the specified thresholds in
config. Calculated only if calculation method is set to AVERAGE or MIN oR MAX.

##### depthMax.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthMedian

Kind: Property

Median of depth values inside the ROI between the specified thresholds in
config. Calculated only if calculation method is set to MEDIAN.

##### depthMedian.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### depthMin

Kind: Property

Minimum of depth values inside the ROI between the specified thresholds in
config. Calculated only if calculation method is set to AVERAGE or MIN oR MAX.

##### depthMin.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthMode

Kind: Property

Most frequent of depth values inside the ROI between the specified thresholds in
config. Calculated only if calculation method is set to MODE.

##### depthMode.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### spatialCoordinates

Kind: Property

Spatial coordinates - x,y,z; x,y are the relative positions of the center of ROI
to the center of depth map

##### spatialCoordinates.setter(self, arg0: Point3f)

Kind: Method

#### depthai.StereoDepthConfig(depthai.Buffer)

Kind: Class

StereoDepthConfig message.

##### depthai.StereoDepthConfig.AlgorithmControl

Kind: Class

###### depthai.StereoDepthConfig.AlgorithmControl.DepthAlign

Kind: Class

Align the disparity/depth to the perspective of a rectified output, or center it

Members:

RECTIFIED_RIGHT :

RECTIFIED_LEFT :

CENTER :

###### CENTER: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### RECTIFIED_LEFT: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### RECTIFIED_RIGHT: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.AlgorithmControl.DepthAlign]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawStereoDepthConfig.AlgorithmControl.DepthAlign) -> int: int

Kind: Method

###### __init__(self: RawStereoDepthConfig.AlgorithmControl.DepthAlign, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawStereoDepthConfig.AlgorithmControl.DepthAlign) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawStereoDepthConfig.AlgorithmControl.DepthAlign, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.StereoDepthConfig.AlgorithmControl.DepthUnit

Kind: Class

Measurement unit for depth data

Members:

METER :

CENTIMETER :

MILLIMETER :

INCH :

FOOT :

CUSTOM :

###### CENTIMETER: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### CUSTOM: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### FOOT: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### INCH: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### METER: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### MILLIMETER: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthUnit]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.AlgorithmControl.DepthUnit]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawStereoDepthConfig.AlgorithmControl.DepthUnit) -> int: int

Kind: Method

###### __init__(self: RawStereoDepthConfig.AlgorithmControl.DepthUnit, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawStereoDepthConfig.AlgorithmControl.DepthUnit) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawStereoDepthConfig.AlgorithmControl.DepthUnit, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self: RawStereoDepthConfig.AlgorithmControl)

Kind: Method

###### centerAlignmentShiftFactor

Kind: Property

Used only for debug purposes. centerAlignmentShiftFactor is set automatically in
firmware, from camera extrinsics when depth alignment to camera is enabled.
Center alignment is achieved by shifting the obtained disparity map by a scale
factor. It's used to align to a different camera that is on the same horizontal
baseline as the two stereo cameras. E.g. if we have a device with 10 cm stereo
baseline, and we have another camera inbetween, 9cm from the LEFT camera and 1
cm from the RIGHT camera we can align the obtained disparity map using a scale
factor of 0.9. Note that aligning disparity map to a different camera involves 2
steps: 1. Shifting obtained disparity map. 2. Warping the image to counter
rotate and scaling to match the FOV. Center alignment factor 1 is equivalent to
RECTIFIED_RIGHT Center alignment factor 0 is equivalent to RECTIFIED_LEFT

###### centerAlignmentShiftFactor.setter(self, arg0: typing.SupportsFloat | None)

Kind: Method

###### customDepthUnitMultiplier

Kind: Property

Custom depth unit multiplier, if custom depth unit is enabled, relative to 1
meter. A multiplier of 1000 effectively means depth unit in millimeter.

###### customDepthUnitMultiplier.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### depthAlign

Kind: Property

Set the disparity/depth alignment to the perspective of a rectified output, or
center it

###### depthAlign.setter(self, arg0: RawStereoDepthConfig.AlgorithmControl.DepthAlign)

Kind: Method

###### depthUnit

Kind: Property

Measurement unit for depth data. Depth data is integer value, multiple of depth
unit.

###### depthUnit.setter(self, arg0: RawStereoDepthConfig.AlgorithmControl.DepthUnit)

Kind: Method

###### disparityShift

Kind: Property

Shift input frame by a number of pixels to increase minimum depth. For example
shifting by 48 will change effective disparity search range from (0,95] to
[48,143]. An alternative approach to reducing the minZ. We normally only
recommend doing this when it is known that there will be no objects farther away
than MaxZ, such as having a depth camera mounted above a table pointing down at
the table surface.

###### disparityShift.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enableExtended

Kind: Property

Disparity range increased from 95 to 190, combined from full resolution and
downscaled images. Suitable for short range objects

###### enableExtended.setter(self, arg0: bool)

Kind: Method

###### enableLeftRightCheck

Kind: Property

Computes and combines disparities in both L-R and R-L directions, and combine
them. For better occlusion handling

###### enableLeftRightCheck.setter(self, arg0: bool)

Kind: Method

###### enableSubpixel

Kind: Property

Computes disparity with sub-pixel interpolation (5 fractional bits), suitable
for long range

###### enableSubpixel.setter(self, arg0: bool)

Kind: Method

###### leftRightCheckThreshold

Kind: Property

Left-right check threshold for left-right, right-left disparity map combine,
0..128 Used only when left-right check mode is enabled. Defines the maximum
difference between the confidence of pixels from left-right and right-left
confidence maps

###### leftRightCheckThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### numInvalidateEdgePixels

Kind: Property

Invalidate X amount of pixels at the edge of disparity frame. For right and
center alignment X pixels will be invalidated from the right edge, for left
alignment from the left edge.

###### numInvalidateEdgePixels.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### subpixelFractionalBits

Kind: Property

Number of fractional bits for subpixel mode

Valid values: 3,4,5

Defines the number of fractional disparities: 2^x

Median filter postprocessing is supported only for 3 fractional bits

###### subpixelFractionalBits.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.StereoDepthConfig.CensusTransform

Kind: Class

The basic cost function used by the Stereo Accelerator for matching the left and
right images is the Census Transform. It works on a block of pixels and computes
a bit vector which represents the structure of the image in that block. There
are two types of Census Transform based on how the middle pixel is used: Classic
Approach and Modified Census. The comparisons that are made between pixels can
be or not thresholded. In some cases a mask can be applied to filter out only
specific bits from the entire bit stream. All these approaches are: Classic
Approach: Uses middle pixel to compare against all its neighbors over a defined
window. Each comparison results in a new bit, that is 0 if central pixel is
smaller, or 1 if is it bigger than its neighbor. Modified Census Transform: same
as classic Census Transform, but instead of comparing central pixel with its
neighbors, the window mean will be compared with each pixel over the window.
Thresholding Census Transform: same as classic Census Transform, but it is not
enough that a neighbor pixel to be bigger than the central pixel, it must be
significant bigger (based on a threshold). Census Transform with Mask: same as
classic Census Transform, but in this case not all of the pixel from the support
window are part of the binary descriptor. We use a ma sk “M” to define which
pixels are part of the binary descriptor (1), and which pixels should be skipped
(0).

###### depthai.StereoDepthConfig.CensusTransform.KernelSize

Kind: Class

Census transform kernel size possible values.

Members:

AUTO :

KERNEL_5x5 :

KERNEL_7x7 :

KERNEL_7x9 :

###### AUTO: typing.ClassVar[RawStereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### KERNEL_5x5: typing.ClassVar[RawStereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### KERNEL_7x7: typing.ClassVar[RawStereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### KERNEL_7x9: typing.ClassVar[RawStereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.CensusTransform.KernelSize]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawStereoDepthConfig.CensusTransform.KernelSize) -> int: int

Kind: Method

###### __init__(self: RawStereoDepthConfig.CensusTransform.KernelSize, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawStereoDepthConfig.CensusTransform.KernelSize) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawStereoDepthConfig.CensusTransform.KernelSize, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self: RawStereoDepthConfig.CensusTransform)

Kind: Method

###### enableMeanMode

Kind: Property

If enabled, each pixel in the window is compared with the mean window value
instead of the central pixel.

###### enableMeanMode.setter(self, arg0: bool)

Kind: Method

###### kernelMask

Kind: Property

Census transform mask, default - auto, mask is set based on resolution and
kernel size. Disabled for 400p input resolution. Enabled for 720p. 0XA82415 for
5x5 census transform kernel. 0XAA02A8154055 for 7x7 census transform kernel.
0X2AA00AA805540155 for 7x9 census transform kernel. Empirical values.

###### kernelMask.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### kernelSize

Kind: Property

Census transform kernel size.

###### kernelSize.setter(self, arg0: RawStereoDepthConfig.CensusTransform.KernelSize)

Kind: Method

###### threshold

Kind: Property

Census transform comparison threshold value.

###### threshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.StereoDepthConfig.CostAggregation

Kind: Class

Cost Aggregation is based on Semi Global Block Matching (SGBM). This algorithm
uses a semi global technique to aggregate the cost map. Ultimately the idea is
to build inertia into the stereo algorithm. If a pixel has very little texture
information, then odds are the correct disparity for this pixel is close to that
of the previous pixel considered. This means that we get improved results in
areas with low texture.

###### __init__(self: RawStereoDepthConfig.CostAggregation)

Kind: Method

###### divisionFactor

Kind: Property

Cost calculation linear equation parameters.

###### divisionFactor.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### horizontalPenaltyCostP1

Kind: Property

Horizontal P1 penalty cost parameter.

###### horizontalPenaltyCostP1.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### horizontalPenaltyCostP2

Kind: Property

Horizontal P2 penalty cost parameter.

###### horizontalPenaltyCostP2.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### verticalPenaltyCostP1

Kind: Property

Vertical P1 penalty cost parameter.

###### verticalPenaltyCostP1.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### verticalPenaltyCostP2

Kind: Property

Vertical P2 penalty cost parameter.

###### verticalPenaltyCostP2.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### depthai.StereoDepthConfig.CostMatching

Kind: Class

The matching cost is way of measuring the similarity of image locations in
stereo correspondence algorithm. Based on the configuration parameters and based
on the descriptor type, a linear equation is applied to computing the cost for
each candidate disparity at each pixel.

###### depthai.StereoDepthConfig.CostMatching.DisparityWidth

Kind: Class

Disparity search range: 64 or 96 pixels are supported by the HW.

Members:

DISPARITY_64 :

DISPARITY_96 :

###### DISPARITY_64: typing.ClassVar[RawStereoDepthConfig.CostMatching.DisparityWidth]

Kind: Class Variable

###### DISPARITY_96: typing.ClassVar[RawStereoDepthConfig.CostMatching.DisparityWidth]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.CostMatching.DisparityWidth]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawStereoDepthConfig.CostMatching.DisparityWidth) -> int: int

Kind: Method

###### __init__(self: RawStereoDepthConfig.CostMatching.DisparityWidth, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawStereoDepthConfig.CostMatching.DisparityWidth) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawStereoDepthConfig.CostMatching.DisparityWidth, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.StereoDepthConfig.CostMatching.LinearEquationParameters

Kind: Class

The linear equation applied for computing the cost is: COMB_COST = α*AD +
β*(CTC<<3). CLAMP(COMB_COST >> 5, threshold). Where AD is the Absolute
Difference between 2 pixels values. CTC is the Census Transform Cost between 2
pixels, based on Hamming distance (xor). The α and β parameters are subject to
fine tuning by the user.

###### __init__(self: RawStereoDepthConfig.CostMatching.LinearEquationParameters)

Kind: Method

###### alpha

Kind: Property

###### alpha.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### beta

Kind: Property

###### beta.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### threshold

Kind: Property

###### threshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### __init__(self: RawStereoDepthConfig.CostMatching)

Kind: Method

###### confidenceThreshold

Kind: Property

Disparities with confidence value under this threshold are accepted. Higher
confidence threshold means disparities with less confidence are accepted too.

###### confidenceThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### disparityWidth

Kind: Property

Disparity search range, default 96 pixels.

###### disparityWidth.setter(self, arg0: RawStereoDepthConfig.CostMatching.DisparityWidth)

Kind: Method

###### enableCompanding

Kind: Property

Disparity companding using sparse matching. Matching pixel by pixel for N
disparities. Matching every 2nd pixel for M disparitites. Matching every 4th
pixel for T disparities. In case of 96 disparities: N=48, M=32, T=16. This way
the search range is extended to 176 disparities, by sparse matching. Note: when
enabling this flag only depth map will be affected, disparity map is not.

###### enableCompanding.setter(self, arg0: bool)

Kind: Method

###### invalidDisparityValue

Kind: Property

Used only for debug purposes, SW postprocessing handled only invalid value of 0
properly.

###### invalidDisparityValue.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### linearEquationParameters

Kind: Property

Cost calculation linear equation parameters.

###### linearEquationParameters.setter(self, arg0: RawStereoDepthConfig.CostMatching.LinearEquationParameters)

Kind: Method

##### depthai.StereoDepthConfig.MedianFilter

Kind: Class

Median filter config

Members:

MEDIAN_OFF

KERNEL_3x3

KERNEL_5x5

KERNEL_7x7

###### KERNEL_3x3: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### KERNEL_5x5: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### KERNEL_7x7: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### MEDIAN_OFF: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, MedianFilter]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.StereoDepthConfig.PostProcessing

Kind: Class

Post-processing filters, all the filters are applied in disparity domain.

###### depthai.StereoDepthConfig.PostProcessing.BrightnessFilter

Kind: Class

Brightness filtering. If input frame pixel is too dark or too bright, disparity
will be invalidated. The idea is that for too dark/too bright pixels we have low
confidence, since that area was under/over exposed and details were lost.

###### __init__(self: RawStereoDepthConfig.PostProcessing.BrightnessFilter)

Kind: Method

###### maxBrightness

Kind: Property

Maximum range in depth units. If input pixel is less or equal than this value
the depth value is invalidated.

###### maxBrightness.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### minBrightness

Kind: Property

Minimum pixel brightness. If input pixel is less or equal than this value the
depth value is invalidated.

###### minBrightness.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.DecimationFilter

Kind: Class

Decimation filter. Reduces the depth scene complexity. The filter runs on kernel
sizes [2x2] to [8x8] pixels.

###### depthai.StereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode

Kind: Class

Decimation algorithm type.

Members:

PIXEL_SKIPPING :

NON_ZERO_MEDIAN :

NON_ZERO_MEAN :

###### NON_ZERO_MEAN: typing.ClassVar[RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]

Kind: Class Variable

###### NON_ZERO_MEDIAN: typing.ClassVar[RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]

Kind: Class Variable

###### PIXEL_SKIPPING: typing.ClassVar[RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode) -> int: int

Kind: Method

###### __init__(self: RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self: RawStereoDepthConfig.PostProcessing.DecimationFilter)

Kind: Method

###### decimationFactor

Kind: Property

Decimation factor. Valid values are 1,2,3,4. Disparity/depth map x/y resolution
will be decimated with this value.

###### decimationFactor.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### decimationMode

Kind: Property

Decimation algorithm type.

###### decimationMode.setter(self, arg0: RawStereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode)

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.Filter

Kind: Class

Members:

DECIMATION :

SPECKLE :

MEDIAN :

TEMPORAL :

SPATIAL :

FILTER_COUNT :

###### DECIMATION: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### FILTER_COUNT: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### MEDIAN: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### SPATIAL: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### SPECKLE: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### TEMPORAL: typing.ClassVar[RawStereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.PostProcessing.Filter]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawStereoDepthConfig.PostProcessing.Filter) -> int: int

Kind: Method

###### __init__(self: RawStereoDepthConfig.PostProcessing.Filter, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawStereoDepthConfig.PostProcessing.Filter) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawStereoDepthConfig.PostProcessing.Filter, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.StereoDepthConfig.PostProcessing.SpatialFilter

Kind: Class

1D edge-preserving spatial filter using high-order domain transform.

###### __init__(self: RawStereoDepthConfig.PostProcessing.SpatialFilter)

Kind: Method

###### alpha

Kind: Property

The Alpha factor in an exponential moving average with Alpha=1 - no filter.
Alpha = 0 - infinite filter. Determines the amount of smoothing.

###### alpha.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### delta

Kind: Property

Step-size boundary. Establishes the threshold used to preserve "edges". If the
disparity value between neighboring pixels exceed the disparity threshold set by
this delta parameter, then filtering will be temporarily disabled. Default value
0 means auto: 3 disparity integer levels. In case of subpixel mode it's 3*number
of subpixel levels.

###### delta.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enable

Kind: Property

Whether to enable or disable the filter.

###### enable.setter(self, arg0: bool)

Kind: Method

###### holeFillingRadius

Kind: Property

An in-place heuristic symmetric hole-filling mode applied horizontally during
the filter passes. Intended to rectify minor artefacts with minimal performance
impact. Search radius for hole filling.

###### holeFillingRadius.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### numIterations

Kind: Property

Number of iterations over the image in both horizontal and vertical direction.

###### numIterations.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.SpeckleFilter

Kind: Class

Speckle filtering. Removes speckle noise.

###### __init__(self: RawStereoDepthConfig.PostProcessing.SpeckleFilter)

Kind: Method

###### differenceThreshold

Kind: Property

Maximum difference between neighbor disparity pixels to put them into the same
blob. Units in disparity integer levels.

###### differenceThreshold.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enable

Kind: Property

Whether to enable or disable the filter.

###### enable.setter(self, arg0: bool)

Kind: Method

###### speckleRange

Kind: Property

Speckle search range.

###### speckleRange.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.TemporalFilter

Kind: Class

Temporal filtering with optional persistence.

###### depthai.StereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode

Kind: Class

Persistency algorithm type.

Members:

PERSISTENCY_OFF :

VALID_8_OUT_OF_8 :

VALID_2_IN_LAST_3 :

VALID_2_IN_LAST_4 :

VALID_2_OUT_OF_8 :

VALID_1_IN_LAST_2 :

VALID_1_IN_LAST_5 :

VALID_1_IN_LAST_8 :

PERSISTENCY_INDEFINITELY :

###### PERSISTENCY_INDEFINITELY: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### PERSISTENCY_OFF: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_2: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_5: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_8: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_3: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_4: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_OUT_OF_8: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_8_OUT_OF_8: typing.ClassVar[RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode) -> int: int

Kind: Method

###### __init__(self: RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self: RawStereoDepthConfig.PostProcessing.TemporalFilter)

Kind: Method

###### alpha

Kind: Property

The Alpha factor in an exponential moving average with Alpha=1 - no filter.
Alpha = 0 - infinite filter. Determines the extent of the temporal history that
should be averaged.

###### alpha.setter(self, arg0: typing.SupportsFloat)

Kind: Method

###### delta

Kind: Property

Step-size boundary. Establishes the threshold used to preserve surfaces (edges).
If the disparity value between neighboring pixels exceed the disparity threshold
set by this delta parameter, then filtering will be temporarily disabled.
Default value 0 means auto: 3 disparity integer levels. In case of subpixel mode
it's 3*number of subpixel levels.

###### delta.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### enable

Kind: Property

Whether to enable or disable the filter.

###### enable.setter(self, arg0: bool)

Kind: Method

###### persistencyMode

Kind: Property

Persistency mode. If the current disparity/depth value is invalid, it will be
replaced by an older value, based on persistency mode.

###### persistencyMode.setter(self, arg0: RawStereoDepthConfig.PostProcessing.TemporalFilter.PersistencyMode)

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.ThresholdFilter

Kind: Class

Threshold filtering. Filters out distances outside of a given interval.

###### __init__(self: RawStereoDepthConfig.PostProcessing.ThresholdFilter)

Kind: Method

###### maxRange

Kind: Property

Maximum range in depth units. Depth values over this value are invalidated.

###### maxRange.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### minRange

Kind: Property

Minimum range in depth units. Depth values under this value are invalidated.

###### minRange.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### __init__(self: RawStereoDepthConfig.PostProcessing)

Kind: Method

###### bilateralSigmaValue

Kind: Property

Sigma value for bilateral filter. 0 means disabled. A larger value of the
parameter means that farther colors within the pixel neighborhood will be mixed
together.

###### bilateralSigmaValue.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### brightnessFilter

Kind: Property

Brightness filtering. If input frame pixel is too dark or too bright, disparity
will be invalidated. The idea is that for too dark/too bright pixels we have low
confidence, since that area was under/over exposed and details were lost.

###### brightnessFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.BrightnessFilter)

Kind: Method

###### decimationFilter

Kind: Property

Decimation filter. Reduces disparity/depth map x/y complexity, reducing runtime
complexity for other filters.

###### decimationFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.DecimationFilter)

Kind: Method

###### filteringOrder

Kind: Property

Order of filters to be applied if filtering is enabled.

###### filteringOrder.setter(self, arg0: typing.Annotated [ collections.abc.Sequence [ RawStereoDepthConfig.PostProcessing.Filter
] , FixedSize ( 5 ) ])

Kind: Method

###### median

Kind: Property

Set kernel size for disparity/depth median filtering, or disable

###### median.setter(self, arg0: MedianFilter)

Kind: Method

###### spatialFilter

Kind: Property

Edge-preserving filtering: This type of filter will smooth the depth noise while
attempting to preserve edges.

###### spatialFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.SpatialFilter)

Kind: Method

###### speckleFilter

Kind: Property

Speckle filtering. Removes speckle noise.

###### speckleFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.SpeckleFilter)

Kind: Method

###### temporalFilter

Kind: Property

Temporal filtering with optional persistence.

###### temporalFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.TemporalFilter)

Kind: Method

###### thresholdFilter

Kind: Property

Threshold filtering. Filters out distances outside of a given interval.

###### thresholdFilter.setter(self, arg0: RawStereoDepthConfig.PostProcessing.ThresholdFilter)

Kind: Method

##### __init__(self)

Kind: Method

##### get(self) -> RawStereoDepthConfig: RawStereoDepthConfig

Kind: Method

Retrieve configuration data for StereoDepth.

Returns:
config for stereo depth algorithm

##### getBilateralFilterSigma(self) -> int: int

Kind: Method

Get sigma value for 5x5 bilateral filter

##### getConfidenceThreshold(self) -> int: int

Kind: Method

Get confidence threshold for disparity calculation

##### getDepthUnit(self) -> RawStereoDepthConfig.AlgorithmControl.DepthUnit: RawStereoDepthConfig.AlgorithmControl.DepthUnit

Kind: Method

Get depth unit of depth map.

##### getLeftRightCheckThreshold(self) -> int: int

Kind: Method

Get threshold for left-right check combine

##### getMaxDisparity(self) -> float: float

Kind: Method

Useful for normalization of the disparity map.

Returns:
Maximum disparity value that the node can return

##### getMedianFilter(self) -> MedianFilter: MedianFilter

Kind: Method

Get median filter setting

##### set(self, config: RawStereoDepthConfig) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

##### setBilateralFilterSigma(self, sigma: typing.SupportsInt) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

A larger value of the parameter means that farther colors within the pixel
neighborhood will be mixed together, resulting in larger areas of semi-equal
color.

Parameter ``sigma``:
Set sigma value for 5x5 bilateral filter. 0..65535

##### setConfidenceThreshold(self, confThr: typing.SupportsInt) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Confidence threshold for disparity calculation

Parameter ``confThr``:
Confidence threshold value 0..255

##### setDepthAlign(self, align: RawStereoDepthConfig.AlgorithmControl.DepthAlign) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Parameter ``align``:
Set the disparity/depth alignment: centered (between the 'left' and 'right'
inputs), or from the perspective of a rectified output stream

##### setDepthUnit(self, arg0: RawStereoDepthConfig.AlgorithmControl.DepthUnit) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Set depth unit of depth map.

Meter, centimeter, millimeter, inch, foot or custom unit is available.

##### setDisparityShift(self, arg0: typing.SupportsInt) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Shift input frame by a number of pixels to increase minimum depth. For example
shifting by 48 will change effective disparity search range from (0,95] to
[48,143]. An alternative approach to reducing the minZ. We normally only
recommend doing this when it is known that there will be no objects farther away
than MaxZ, such as having a depth camera mounted above a table pointing down at
the table surface.

##### setExtendedDisparity(self, enable: bool) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Disparity range increased from 95 to 190, combined from full resolution and
downscaled images. Suitable for short range objects

##### setLeftRightCheck(self, enable: bool) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Computes and combines disparities in both L-R and R-L directions, and combine
them.

For better occlusion handling, discarding invalid disparity values

##### setLeftRightCheckThreshold(self, sigma: typing.SupportsInt) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Parameter ``threshold``:
Set threshold for left-right, right-left disparity map combine, 0..255

##### setMedianFilter(self, median: MedianFilter) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Parameter ``median``:
Set kernel size for disparity/depth median filtering, or disable

##### setNumInvalidateEdgePixels(self, arg0: typing.SupportsInt) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Invalidate X amount of pixels at the edge of disparity frame. For right and
center alignment X pixels will be invalidated from the right edge, for left
alignment from the left edge.

##### setSubpixel(self, enable: bool) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Computes disparity with sub-pixel interpolation (3 fractional bits by default).

Suitable for long range. Currently incompatible with extended disparity

##### setSubpixelFractionalBits(self, subpixelFractionalBits: typing.SupportsInt) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Number of fractional bits for subpixel mode. Default value: 3. Valid values:
3,4,5. Defines the number of fractional disparities: 2^x. Median filter
postprocessing is supported only for 3 fractional bits.

#### depthai.StereoDepthProperties

Kind: Class

Specify properties for StereoDepth

##### depthai.StereoDepthProperties.DepthAlign

Kind: Class

Align the disparity/depth to the perspective of a rectified output, or center it

Members:

RECTIFIED_RIGHT :

RECTIFIED_LEFT :

CENTER :

###### CENTER: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### RECTIFIED_LEFT: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### RECTIFIED_RIGHT: typing.ClassVar[RawStereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, RawStereoDepthConfig.AlgorithmControl.DepthAlign]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self: RawStereoDepthConfig.AlgorithmControl.DepthAlign) -> int: int

Kind: Method

###### __init__(self: RawStereoDepthConfig.AlgorithmControl.DepthAlign, value: typing.SupportsInt)

Kind: Method

###### __int__(self: RawStereoDepthConfig.AlgorithmControl.DepthAlign) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self: RawStereoDepthConfig.AlgorithmControl.DepthAlign, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.StereoDepthProperties.MedianFilter

Kind: Class

Median filter config

Members:

MEDIAN_OFF

KERNEL_3x3

KERNEL_5x5

KERNEL_7x7

###### KERNEL_3x3: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### KERNEL_5x5: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### KERNEL_7x7: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### MEDIAN_OFF: typing.ClassVar[MedianFilter]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, MedianFilter]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.StereoDepthProperties.RectificationMesh

Kind: Class

###### meshLeftUri

Kind: Property

Uri which points to the mesh array for 'left' input rectification

###### meshLeftUri.setter(self, arg0: str)

Kind: Method

###### meshRightUri

Kind: Property

Uri which points to the mesh array for 'right' input rectification

###### meshRightUri.setter(self, arg0: str)

Kind: Method

###### meshSize

Kind: Property

Mesh array size in bytes, for each of 'left' and 'right' (need to match)

###### meshSize.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

###### stepHeight

Kind: Property

Distance between mesh points, in the vertical direction

###### stepHeight.setter(self, arg0: typing.SupportsInt)

Kind: Method

###### stepWidth

Kind: Property

Distance between mesh points, in the horizontal direction

###### stepWidth.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### alphaScaling

Kind: Property

Free scaling parameter between 0 (when all the pixels in the undistorted image
are valid) and 1 (when all the source image pixels are retained in the
undistorted image). On some high distortion lenses, and/or due to rectification
(image rotated) invalid areas may appear even with alpha=0, in these cases alpha
< 0.0 helps removing invalid areas. See getOptimalNewCameraMatrix from opencv
for more details.

##### alphaScaling.setter(self, arg0: typing.SupportsFloat | None)

Kind: Method

##### baseline

Kind: Property

Override baseline from calibration. Used only in disparity to depth conversion.
Units are centimeters.

##### baseline.setter(self, arg0: typing.SupportsFloat | None)

Kind: Method

##### depthAlignCamera

Kind: Property

Which camera to align disparity/depth to. When configured (not AUTO), takes
precedence over 'depthAlign'

##### depthAlignCamera.setter(self, arg0: CameraBoardSocket)

Kind: Method

##### depthAlignmentUseSpecTranslation

Kind: Property

Use baseline information for depth alignment from specs (design data) or from
calibration. Suitable for debugging. Utilizes calibrated value as default

##### depthAlignmentUseSpecTranslation.setter(self, arg0: bool | None)

Kind: Method

##### disparityToDepthUseSpecTranslation

Kind: Property

Use baseline information for disparity to depth conversion from specs (design
data) or from calibration. Suitable for debugging. Utilizes calibrated value as
default

##### disparityToDepthUseSpecTranslation.setter(self, arg0: bool | None)

Kind: Method

##### enableRectification

Kind: Property

Enable stereo rectification/dewarp or not. Useful to disable when replaying pre-
recorded rectified frames.

##### enableRectification.setter(self, arg0: bool)

Kind: Method

##### enableRuntimeStereoModeSwitch

Kind: Property

Whether to enable switching stereo modes at runtime or not. E.g. standard to
subpixel, standard+LR-check to subpixel + LR-check. Note: It will allocate
resources for worst cases scenario, should be enabled only if dynamic mode
switch is required. Default value: false.

##### enableRuntimeStereoModeSwitch.setter(self, arg0: bool)

Kind: Method

##### focalLength

Kind: Property

Override focal length from calibration. Used only in disparity to depth
conversion. Units are pixels.

##### focalLength.setter(self, arg0: typing.SupportsFloat | None)

Kind: Method

##### focalLengthFromCalibration

Kind: Property

Whether to use horizontal focal length from calibration intrinsics (fx) or
calculate based on calibration FOV. Default value is true. If set to false it's
calculated from FOV and image resolution: focalLength = calib.width / (2.f *
tan(calib.fov / 2 / 180.f * pi));

##### focalLengthFromCalibration.setter(self, arg0: bool)

Kind: Method

##### height

Kind: Property

Input frame height. Optional (taken from MonoCamera nodes if they exist)

##### height.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

##### initialConfig

Kind: Property

Initial stereo config

##### initialConfig.setter(self, arg0: RawStereoDepthConfig)

Kind: Method

##### mesh

Kind: Property

Specify a direct warp mesh to be used for rectification, instead of intrinsics +
extrinsic matrices

##### mesh.setter(self, arg0: StereoDepthProperties.RectificationMesh)

Kind: Method

##### numFramesPool

Kind: Property

Num frames in output pool

##### numFramesPool.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numPostProcessingMemorySlices

Kind: Property

Number of memory slices reserved for stereo depth post processing. -1 means
auto, memory will be allocated based on initial stereo settings and number of
shaves. 0 means that it will reuse the memory slices assigned for main stereo
algorithm. For optimal performance it's recommended to allocate more than 0, so
post processing will run in parallel with main stereo algorithm. Minimum 1,
maximum 6.

##### numPostProcessingMemorySlices.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numPostProcessingShaves

Kind: Property

Number of shaves reserved for stereo depth post processing. Post processing can
use multiple shaves to increase performance. -1 means auto, resources will be
allocated based on enabled filters. 0 means that it will reuse the shave
assigned for main stereo algorithm. For optimal performance it's recommended to
allocate more than 0, so post processing will run in parallel with main stereo
algorithm. Minimum 1, maximum 10.

##### numPostProcessingShaves.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### outHeight

Kind: Property

Output disparity/depth height. Currently only used when aligning to RGB

##### outHeight.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

##### outKeepAspectRatio

Kind: Property

Whether to keep aspect ratio of the input (rectified) or not

##### outKeepAspectRatio.setter(self, arg0: bool)

Kind: Method

##### outWidth

Kind: Property

Output disparity/depth width. Currently only used when aligning to RGB

##### outWidth.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

##### rectificationUseSpecTranslation

Kind: Property

Obtain rectification matrices using spec translation (design data) or from
calibration in calculations. Suitable for debugging. Default: false

##### rectificationUseSpecTranslation.setter(self, arg0: bool | None)

Kind: Method

##### rectifyEdgeFillColor

Kind: Property

Fill color for missing data at frame edges - grayscale 0..255, or -1 to
replicate pixels

##### rectifyEdgeFillColor.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### useHomographyRectification

Kind: Property

Use 3x3 homography matrix for stereo rectification instead of sparse mesh
generated on device. Default behaviour is AUTO, for lenses with FOV over 85
degrees sparse mesh is used, otherwise 3x3 homography. If custom mesh data is
provided through loadMeshData or loadMeshFiles this option is ignored. true: 3x3
homography matrix generated from calibration data is used for stereo
rectification, can't correct lens distortion. false: sparse mesh is generated
on-device from calibration data with mesh step specified with setMeshStep
(Default: (16, 16)), can correct lens distortion. Implementation for generating
the mesh is same as opencv's initUndistortRectifyMap function. Only the first 8
distortion coefficients are used from calibration data.

##### useHomographyRectification.setter(self, arg0: bool | None)

Kind: Method

##### width

Kind: Property

Input frame width. Optional (taken from MonoCamera nodes if they exist)

##### width.setter(self, arg0: typing.SupportsInt | None)

Kind: Method

#### depthai.StereoPair

Kind: Class

Describes which camera sockets can be used for stereo and their baseline.

##### isVertical: bool

Kind: Class Variable

##### left: CameraBoardSocket

Kind: Class Variable

##### right: CameraBoardSocket

Kind: Class Variable

##### __init__(self)

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### baseline

Kind: Property

##### baseline.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.StereoRectification

Kind: Class

StereoRectification structure

##### leftCameraSocket: CameraBoardSocket

Kind: Class Variable

##### rightCameraSocket: CameraBoardSocket

Kind: Class Variable

##### __init__(self)

Kind: Method

##### rectifiedRotationLeft

Kind: Property

##### rectifiedRotationLeft.setter(self, arg0: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsFloat ] ])

Kind: Method

##### rectifiedRotationRight

Kind: Property

##### rectifiedRotationRight.setter(self, arg0: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsFloat ] ])

Kind: Method

#### depthai.SyncProperties

Kind: Class

Specify properties for Sync.

##### processor

Kind: Property

Which processor should execute the node.

##### processor.setter(self, arg0: ProcessorType)

Kind: Method

##### syncAttempts

Kind: Property

##### syncAttempts.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### syncThresholdNs

Kind: Property

##### syncThresholdNs.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.SystemInformation(depthai.Buffer)

Kind: Class

SystemInformation message. Carries memory usage, cpu usage and chip
temperatures.

##### chipTemperature: ChipTemperature

Kind: Class Variable

##### cmxMemoryUsage: MemoryInfo

Kind: Class Variable

##### ddrMemoryUsage: MemoryInfo

Kind: Class Variable

##### leonCssCpuUsage: CpuUsage

Kind: Class Variable

##### leonCssMemoryUsage: MemoryInfo

Kind: Class Variable

##### leonMssCpuUsage: CpuUsage

Kind: Class Variable

##### leonMssMemoryUsage: MemoryInfo

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.SystemLoggerProperties

Kind: Class

SystemLoggerProperties structure

##### rateHz

Kind: Property

##### rateHz.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.TensorInfo

Kind: Class

TensorInfo structure

##### depthai.TensorInfo.DataType

Kind: Class

Members:

FP16

U8F

INT

FP32

I8

###### FP16: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### FP32: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### I8: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### INT: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### U8F: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, TensorInfo.DataType]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.TensorInfo.StorageOrder

Kind: Class

Members:

NHWC

NHCW

NCHW

HWC

CHW

WHC

HCW

WCH

CWH

NC

CN

C

H

W

###### C: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### CHW: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### CN: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### CWH: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### H: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### HCW: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### HWC: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### NC: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### NCHW: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### NHCW: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### NHWC: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### W: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### WCH: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### WHC: typing.ClassVar[TensorInfo.StorageOrder]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, TensorInfo.StorageOrder]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### dataType: TensorInfo.DataType

Kind: Class Variable

##### name: str

Kind: Class Variable

##### order: TensorInfo.StorageOrder

Kind: Class Variable

##### __init__(self)

Kind: Method

##### dims

Kind: Property

##### dims.setter(self, arg0: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

##### numDimensions

Kind: Property

##### numDimensions.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### offset

Kind: Property

##### offset.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### strides

Kind: Property

##### strides.setter(self, arg0: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

#### depthai.Timestamp

Kind: Class

Timestamp structure

##### __init__(self)

Kind: Method

##### get(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

##### nsec

Kind: Property

##### nsec.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### sec

Kind: Property

##### sec.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.ToFConfig(depthai.Buffer)

Kind: Class

ToFConfig message. Carries config for feature tracking algorithm

##### __init__()

Kind: Method

##### get(self) -> RawToFConfig: RawToFConfig

Kind: Method

Retrieve configuration data for ToF.

Returns:
config for feature tracking algorithm

##### set(self, config: RawToFConfig) -> ToFConfig: ToFConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

##### setMedianFilter(self, arg0: MedianFilter) -> ToFConfig: ToFConfig

Kind: Method

Parameter ``median``:
Set kernel size for median filtering, or disable

#### depthai.ToFProperties

Kind: Class

Specify properties for ToF

##### initialConfig

Kind: Property

Initial ToF config

##### initialConfig.setter(self, arg0: RawToFConfig)

Kind: Method

##### numFramesPool

Kind: Property

Num frames in output pool

##### numFramesPool.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numShaves

Kind: Property

Number of shaves reserved for ToF decoding.

##### numShaves.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### warpHwIds

Kind: Property

Warp HW IDs to use for undistortion, if empty, use auto/default

##### warpHwIds.setter(self, arg0: collections.abc.Sequence [ typing.SupportsInt ])

Kind: Method

#### depthai.TrackedFeature

Kind: Class

TrackedFeature structure

##### __init__(self)

Kind: Method

##### age

Kind: Property

Feature age in frames

##### age.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### harrisScore

Kind: Property

Feature harris score

##### harrisScore.setter(self, arg0: typing.SupportsFloat)

Kind: Method

##### id

Kind: Property

Feature ID. Persistent between frames if motion estimation is enabled.

##### id.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### position

Kind: Property

x, y position of the detected feature

##### position.setter(self, arg0: Point2f)

Kind: Method

##### trackingError

Kind: Property

Feature tracking error

##### trackingError.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.TrackedFeatures(depthai.Buffer)

Kind: Class

TrackedFeatures message. Carries position (X, Y) of tracked features and their
ID.

##### __init__(self)

Kind: Method

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### setSequenceNum(self, arg0: typing.SupportsInt) -> TrackedFeatures: TrackedFeatures

Kind: Method

Retrieves image sequence number

##### setTimestamp(self, arg0: datetime.timedelta) -> TrackedFeatures: TrackedFeatures

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> TrackedFeatures: TrackedFeatures

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### trackedFeatures

Kind: Property

##### trackedFeatures.setter(self, arg1: collections.abc.Sequence [ TrackedFeature ])

Kind: Method

#### depthai.TrackerIdAssignmentPolicy

Kind: Class

Members:

UNIQUE_ID

SMALLEST_ID

##### SMALLEST_ID: typing.ClassVar[TrackerIdAssignmentPolicy]

Kind: Class Variable

##### UNIQUE_ID: typing.ClassVar[TrackerIdAssignmentPolicy]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, TrackerIdAssignmentPolicy]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.TrackerType

Kind: Class

Members:

SHORT_TERM_KCF : Kernelized Correlation Filter tracking

SHORT_TERM_IMAGELESS : Short term tracking without using image data

ZERO_TERM_IMAGELESS : Ability to track the objects without accessing image data.

ZERO_TERM_COLOR_HISTOGRAM : Tracking using image data too.

##### SHORT_TERM_IMAGELESS: typing.ClassVar[TrackerType]

Kind: Class Variable

##### SHORT_TERM_KCF: typing.ClassVar[TrackerType]

Kind: Class Variable

##### ZERO_TERM_COLOR_HISTOGRAM: typing.ClassVar[TrackerType]

Kind: Class Variable

##### ZERO_TERM_IMAGELESS: typing.ClassVar[TrackerType]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, TrackerType]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.Tracklet

Kind: Class

Tracklet structure

Contains tracklets from object tracker output.

##### depthai.Tracklet.TrackingStatus

Kind: Class

Members:

NEW

TRACKED

LOST

REMOVED

###### LOST: typing.ClassVar[Tracklet.TrackingStatus]

Kind: Class Variable

###### NEW: typing.ClassVar[Tracklet.TrackingStatus]

Kind: Class Variable

###### REMOVED: typing.ClassVar[Tracklet.TrackingStatus]

Kind: Class Variable

###### TRACKED: typing.ClassVar[Tracklet.TrackingStatus]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Tracklet.TrackingStatus]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### roi: Rect

Kind: Class Variable

##### spatialCoordinates: Point3f

Kind: Class Variable

##### srcImgDetection: ImgDetection

Kind: Class Variable

##### status: Tracklet.TrackingStatus

Kind: Class Variable

##### __init__(self)

Kind: Method

##### age

Kind: Property

##### age.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### id

Kind: Property

##### id.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### label

Kind: Property

##### label.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.Tracklets(depthai.Buffer)

Kind: Class

Tracklets message. Carries object tracking information.

##### __init__(self)

Kind: Method

##### getSequenceNum(self) -> int: int

Kind: Method

Retrieves sequence number

##### getTimestamp(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp related to dai::Clock::now()

##### getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta

Kind: Method

Retrieves timestamp directly captured from device's monotonic clock, not
synchronized to host time. Used mostly for debugging

##### setSequenceNum(self, arg0: typing.SupportsInt) -> Tracklets: Tracklets

Kind: Method

Retrieves image sequence number

##### setTimestamp(self, arg0: datetime.timedelta) -> Tracklets: Tracklets

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### setTimestampDevice(self, arg0: datetime.timedelta) -> Tracklets: Tracklets

Kind: Method

Sets image timestamp related to dai::Clock::now()

##### tracklets

Kind: Property

Retrieve data for Tracklets.

Returns:
Vector of object tracker data, carrying tracking information.

##### tracklets.setter(self, arg1: collections.abc.Sequence [ Tracklet ])

Kind: Method

#### depthai.UVCProperties

Kind: Class

Properties for UVC node

##### gpioInit

Kind: Property

##### gpioInit.setter(self, arg0: collections.abc.Mapping [ typing.SupportsInt , typing.SupportsInt ])

Kind: Method

##### gpioStreamOff

Kind: Property

##### gpioStreamOff.setter(self, arg0: collections.abc.Mapping [ typing.SupportsInt , typing.SupportsInt ])

Kind: Method

##### gpioStreamOn

Kind: Property

##### gpioStreamOn.setter(self, arg0: collections.abc.Mapping [ typing.SupportsInt , typing.SupportsInt ])

Kind: Method

#### depthai.UsbSpeed

Kind: Class

Get USB Speed

Members:

UNKNOWN

LOW

FULL

HIGH

SUPER

SUPER_PLUS

##### FULL: typing.ClassVar[UsbSpeed]

Kind: Class Variable

##### HIGH: typing.ClassVar[UsbSpeed]

Kind: Class Variable

##### LOW: typing.ClassVar[UsbSpeed]

Kind: Class Variable

##### SUPER: typing.ClassVar[UsbSpeed]

Kind: Class Variable

##### SUPER_PLUS: typing.ClassVar[UsbSpeed]

Kind: Class Variable

##### UNKNOWN: typing.ClassVar[UsbSpeed]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, UsbSpeed]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.Version

Kind: Class

Version structure

##### __hash__: typing.ClassVar[None]

Kind: Class Variable

##### __eq__(self, arg0: Version) -> bool: bool

Kind: Method

##### __gt__(self, arg0: Version) -> bool: bool

Kind: Method

##### __init__()

Kind: Method

##### __lt__(self, arg0: Version) -> bool: bool

Kind: Method

##### __str__(self) -> str: str

Kind: Method

Convert Version to string

##### getBuildInfo(self) -> str: str

Kind: Method

Get build info

##### getSemver(self) -> Version: Version

Kind: Method

Retrieves semver version (no build information)

##### toStringSemver(self) -> str: str

Kind: Method

Convert Version to semver (no build information) string

#### depthai.VideoEncoderProperties

Kind: Class

Specify properties for VideoEncoder such as profile, bitrate, ...

##### depthai.VideoEncoderProperties.Profile

Kind: Class

Encoding profile, H264 (AVC), H265 (HEVC) or MJPEG

Members:

H264_BASELINE

H264_HIGH

H264_MAIN

H265_MAIN

MJPEG

###### H264_BASELINE: typing.ClassVar[VideoEncoderProperties.Profile]

Kind: Class Variable

###### H264_HIGH: typing.ClassVar[VideoEncoderProperties.Profile]

Kind: Class Variable

###### H264_MAIN: typing.ClassVar[VideoEncoderProperties.Profile]

Kind: Class Variable

###### H265_MAIN: typing.ClassVar[VideoEncoderProperties.Profile]

Kind: Class Variable

###### MJPEG: typing.ClassVar[VideoEncoderProperties.Profile]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, VideoEncoderProperties.Profile]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.VideoEncoderProperties.RateControlMode

Kind: Class

Rate control mode specifies if constant or variable bitrate should be used (H264
/ H265)

Members:

CBR

VBR

###### CBR: typing.ClassVar[VideoEncoderProperties.RateControlMode]

Kind: Class Variable

###### VBR: typing.ClassVar[VideoEncoderProperties.RateControlMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, VideoEncoderProperties.RateControlMode]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### profile: VideoEncoderProperties.Profile

Kind: Class Variable

##### rateCtrlMode: VideoEncoderProperties.RateControlMode

Kind: Class Variable

##### bitrate

Kind: Property

##### bitrate.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### keyframeFrequency

Kind: Property

##### keyframeFrequency.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### maxBitrate

Kind: Property

##### maxBitrate.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numBFrames

Kind: Property

##### numBFrames.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFramesPool

Kind: Property

##### numFramesPool.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### outputFrameSize

Kind: Property

##### outputFrameSize.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### quality

Kind: Property

##### quality.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.WarpProperties

Kind: Class

Specify properties for Warp

##### depthai.WarpProperties.Interpolation

Kind: Class

Interpolation type

Members:

BILINEAR

BICUBIC

NEAREST_NEIGHBOR

BYPASS

DEFAULT

DEFAULT_DISPARITY_DEPTH

###### BICUBIC: typing.ClassVar[Interpolation]

Kind: Class Variable

###### BILINEAR: typing.ClassVar[Interpolation]

Kind: Class Variable

###### BYPASS: typing.ClassVar[Interpolation]

Kind: Class Variable

###### DEFAULT: typing.ClassVar[Interpolation]

Kind: Class Variable

###### DEFAULT_DISPARITY_DEPTH: typing.ClassVar[Interpolation]

Kind: Class Variable

###### NEAREST_NEIGHBOR: typing.ClassVar[Interpolation]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Interpolation]]

Kind: Class Variable

###### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __getstate__(self) -> int: int

Kind: Method

###### __hash__(self) -> int: int

Kind: Method

###### __index__(self) -> int: int

Kind: Method

###### __init__(self, value: typing.SupportsInt)

Kind: Method

###### __int__(self) -> int: int

Kind: Method

###### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

###### __repr__(self) -> str: str

Kind: Method

###### __setstate__(self, state: typing.SupportsInt)

Kind: Method

###### __str__(self) -> str: str

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

#### depthai.XLinkConnection

Kind: Class

Represents connection between host and device over XLink protocol

##### bootBootloader(devInfo: DeviceInfo) -> DeviceInfo: DeviceInfo

Kind: Static Method

##### getAllConnectedDevices(state: XLinkDeviceState = ..., skipInvalidDevices: bool = True, platform: XLinkPlatform = ...) ->
list[DeviceInfo]: list[DeviceInfo]

Kind: Static Method

##### getDeviceByMxId(mxId: str, state: XLinkDeviceState = ..., skipInvalidDevice: bool = True) -> tuple[bool, DeviceInfo]:
tuple[bool, DeviceInfo]

Kind: Static Method

##### getFirstDevice(state: XLinkDeviceState = ..., skipInvalidDevice: bool = True) -> tuple[bool, DeviceInfo]: tuple[bool,
DeviceInfo]

Kind: Static Method

##### getGlobalProfilingData() -> ProfilingData: ProfilingData

Kind: Static Method

Get current accumulated profiling data

Returns:
ProfilingData from the specific connection

##### __init__()

Kind: Method

#### depthai.XLinkDeviceState

Kind: Class

Members:

X_LINK_ANY_STATE

X_LINK_BOOTED

X_LINK_UNBOOTED

X_LINK_BOOTLOADER

X_LINK_FLASH_BOOTED

##### X_LINK_ANY_STATE: typing.ClassVar[XLinkDeviceState]

Kind: Class Variable

##### X_LINK_BOOTED: typing.ClassVar[XLinkDeviceState]

Kind: Class Variable

##### X_LINK_BOOTLOADER: typing.ClassVar[XLinkDeviceState]

Kind: Class Variable

##### X_LINK_FLASH_BOOTED: typing.ClassVar[XLinkDeviceState]

Kind: Class Variable

##### X_LINK_UNBOOTED: typing.ClassVar[XLinkDeviceState]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, XLinkDeviceState]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### XLinkError

Kind: Exception

#### depthai.XLinkError_t

Kind: Class

Members:

X_LINK_SUCCESS

X_LINK_ALREADY_OPEN

X_LINK_COMMUNICATION_NOT_OPEN

X_LINK_COMMUNICATION_FAIL

X_LINK_COMMUNICATION_UNKNOWN_ERROR

X_LINK_DEVICE_NOT_FOUND

X_LINK_TIMEOUT

X_LINK_ERROR

X_LINK_OUT_OF_MEMORY

X_LINK_INSUFFICIENT_PERMISSIONS

X_LINK_DEVICE_ALREADY_IN_USE

X_LINK_NOT_IMPLEMENTED

X_LINK_INIT_USB_ERROR

X_LINK_INIT_TCP_IP_ERROR

X_LINK_INIT_PCIE_ERROR

##### X_LINK_ALREADY_OPEN: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_COMMUNICATION_FAIL: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_COMMUNICATION_NOT_OPEN: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_COMMUNICATION_UNKNOWN_ERROR: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_DEVICE_ALREADY_IN_USE: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_DEVICE_NOT_FOUND: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_ERROR: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_INIT_PCIE_ERROR: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_INIT_TCP_IP_ERROR: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_INIT_USB_ERROR: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_INSUFFICIENT_PERMISSIONS: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_NOT_IMPLEMENTED: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_OUT_OF_MEMORY: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_SUCCESS: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### X_LINK_TIMEOUT: typing.ClassVar[XLinkError_t]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, XLinkError_t]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.XLinkInProperties

Kind: Class

Specify properties for XLinkIn such as stream name, ...

##### streamName: str

Kind: Class Variable

##### maxDataSize

Kind: Property

##### maxDataSize.setter(self, arg0: typing.SupportsInt)

Kind: Method

##### numFrames

Kind: Property

##### numFrames.setter(self, arg0: typing.SupportsInt)

Kind: Method

#### depthai.XLinkOutProperties

Kind: Class

Specify properties for XLinkOut such as stream name, ...

##### metadataOnly: bool

Kind: Class Variable

##### streamName: str

Kind: Class Variable

##### maxFpsLimit

Kind: Property

##### maxFpsLimit.setter(self, arg0: typing.SupportsFloat)

Kind: Method

#### depthai.XLinkPlatform

Kind: Class

Members:

X_LINK_ANY_PLATFORM

X_LINK_MYRIAD_2

X_LINK_MYRIAD_X

##### X_LINK_ANY_PLATFORM: typing.ClassVar[XLinkPlatform]

Kind: Class Variable

##### X_LINK_MYRIAD_2: typing.ClassVar[XLinkPlatform]

Kind: Class Variable

##### X_LINK_MYRIAD_X: typing.ClassVar[XLinkPlatform]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, XLinkPlatform]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.XLinkProtocol

Kind: Class

Members:

X_LINK_USB_VSC

X_LINK_USB_CDC

X_LINK_PCIE

X_LINK_TCP_IP

X_LINK_IPC

X_LINK_NMB_OF_PROTOCOLS

X_LINK_ANY_PROTOCOL

##### X_LINK_ANY_PROTOCOL: typing.ClassVar[XLinkProtocol]

Kind: Class Variable

##### X_LINK_IPC: typing.ClassVar[XLinkProtocol]

Kind: Class Variable

##### X_LINK_NMB_OF_PROTOCOLS: typing.ClassVar[XLinkProtocol]

Kind: Class Variable

##### X_LINK_PCIE: typing.ClassVar[XLinkProtocol]

Kind: Class Variable

##### X_LINK_TCP_IP: typing.ClassVar[XLinkProtocol]

Kind: Class Variable

##### X_LINK_USB_CDC: typing.ClassVar[XLinkProtocol]

Kind: Class Variable

##### X_LINK_USB_VSC: typing.ClassVar[XLinkProtocol]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, XLinkProtocol]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### XLinkReadError

Kind: Exception

#### XLinkWriteError

Kind: Exception

#### depthai.connectionInterface

Kind: Class

Members:

USB

ETHERNET

WIFI

##### ETHERNET: typing.ClassVar[connectionInterface]

Kind: Class Variable

##### USB: typing.ClassVar[connectionInterface]

Kind: Class Variable

##### WIFI: typing.ClassVar[connectionInterface]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, connectionInterface]]

Kind: Class Variable

##### __eq__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __getstate__(self) -> int: int

Kind: Method

##### __hash__(self) -> int: int

Kind: Method

##### __index__(self) -> int: int

Kind: Method

##### __init__(self, value: typing.SupportsInt)

Kind: Method

##### __int__(self) -> int: int

Kind: Method

##### __ne__(self, other: typing.Any) -> bool: bool

Kind: Method

##### __repr__(self) -> str: str

Kind: Method

##### __setstate__(self, state: typing.SupportsInt)

Kind: Method

##### __str__(self) -> str: str

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### isDatatypeSubclassOf(arg0: DatatypeEnum, arg1: DatatypeEnum) -> bool: bool

Kind: Function

#### X_LINK_ALREADY_OPEN: XLinkError_t

Kind: Variable

#### X_LINK_ANY_PLATFORM: XLinkPlatform

Kind: Variable

#### X_LINK_ANY_PROTOCOL: XLinkProtocol

Kind: Variable

#### X_LINK_ANY_STATE: XLinkDeviceState

Kind: Variable

#### X_LINK_BOOTED: XLinkDeviceState

Kind: Variable

#### X_LINK_BOOTLOADER: XLinkDeviceState

Kind: Variable

#### X_LINK_COMMUNICATION_FAIL: XLinkError_t

Kind: Variable

#### X_LINK_COMMUNICATION_NOT_OPEN: XLinkError_t

Kind: Variable

#### X_LINK_COMMUNICATION_UNKNOWN_ERROR: XLinkError_t

Kind: Variable

#### X_LINK_DEVICE_ALREADY_IN_USE: XLinkError_t

Kind: Variable

#### X_LINK_DEVICE_NOT_FOUND: XLinkError_t

Kind: Variable

#### X_LINK_ERROR: XLinkError_t

Kind: Variable

#### X_LINK_FLASH_BOOTED: XLinkDeviceState

Kind: Variable

#### X_LINK_INIT_PCIE_ERROR: XLinkError_t

Kind: Variable

#### X_LINK_INIT_TCP_IP_ERROR: XLinkError_t

Kind: Variable

#### X_LINK_INIT_USB_ERROR: XLinkError_t

Kind: Variable

#### X_LINK_INSUFFICIENT_PERMISSIONS: XLinkError_t

Kind: Variable

#### X_LINK_IPC: XLinkProtocol

Kind: Variable

#### X_LINK_MYRIAD_2: XLinkPlatform

Kind: Variable

#### X_LINK_MYRIAD_X: XLinkPlatform

Kind: Variable

#### X_LINK_NMB_OF_PROTOCOLS: XLinkProtocol

Kind: Variable

#### X_LINK_NOT_IMPLEMENTED: XLinkError_t

Kind: Variable

#### X_LINK_OUT_OF_MEMORY: XLinkError_t

Kind: Variable

#### X_LINK_PCIE: XLinkProtocol

Kind: Variable

#### X_LINK_SUCCESS: XLinkError_t

Kind: Variable

#### X_LINK_TCP_IP: XLinkProtocol

Kind: Variable

#### X_LINK_TIMEOUT: XLinkError_t

Kind: Variable

#### X_LINK_UNBOOTED: XLinkDeviceState

Kind: Variable

#### X_LINK_USB_CDC: XLinkProtocol

Kind: Variable

#### X_LINK_USB_VSC: XLinkProtocol

Kind: Variable

#### __bootloader_version__: str

Kind: Variable

#### __build_datetime__: str

Kind: Variable

#### __commit__: str

Kind: Variable

#### __commit_datetime__: str

Kind: Variable

#### __device_version__: str

Kind: Variable

#### __version__: str

Kind: Variable
