# DepthAI Python API

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

### depthai

Kind: Package

#### beta

Kind: Package

Experimental APIs

##### node

Kind: Module

Experimental nodes

###### depthai.beta.node.ToFStereoFusion(depthai.DeviceNode)

Kind: Class

Experimental node that fuses aligned ToF and neural stereo-depth measurements.

The node configures its internal ToF, neural-depth, alignment, synchronization,
and fusion-network stages when built from a left and right camera.

@note This node is supported on RVC4 devices only. Creating it for an RVC2
device throws an exception.

###### build(self, left: depthai.node.Camera, right: depthai.node.Camera) -> ToFStereoFusion: ToFStereoFusion

Kind: Method

Configures fusion from a synchronized left and right camera pair.

@note This node is supported on RVC4 devices only.

Parameter ``left``:
    Left camera node.

Parameter ``right``:
    Right camera node.

Returns:
    This node.

###### depth

Kind: Property

Fused depth output, aligned to the ToF sensor.

###### initialConfig

Kind: Property

###### inputLeft

Kind: Property

Left camera input used when the node runs outside the RVC4 device build.

###### inputRight

Kind: Property

Right camera input used when the node runs outside the RVC4 device build.

###### neuralConfidence

Kind: Property

Confidence output produced by the ToF-neural fusion network.

###### neuralDepth

Kind: Property

###### neuralNetwork

Kind: Property

###### tof

Kind: Property

###### depthai.beta.node.ClassificationParser(depthai.DeviceNode)

Kind: Class

ClassificationParser node. Parses the raw output of a classification neural
network into a dai::beta::Classifications message with class names and scores
sorted in descending order of score.

The parser consumes a single output tensor. When the incoming NNData contains
exactly one tensor, it is selected automatically; otherwise the output layer
name must be configured explicitly or through an NNArchive head. Raw scores are
dequantized and flattened; when the model output is not already softmaxed, the
parser applies softmax to convert the scores to probabilities.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> ClassificationParser: ClassificationParser

Kind: Method

###### getClasses(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the class names to link with the classification scores.

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

Kind: Method

Returns the name of the model output layer to parse.

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

Kind: Method

Returns whether the model output is treated as already softmaxed.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setClasses(self, classes: list [ str ])

Kind: Method

Sets the class names to link with the classification scores.

The class names are expected to be in the same order as the neural network's
output. The number of class names must match the number of scores produced by
the model.

Parameter ``classes``:
    Vector of class names

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
ClassificationParser head; use setNNArchiveHead() to select a specific head from
a multi-head archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be a ClassificationParser head
with exactly one output layer.

Parameter ``head:``:
    NNArchive head to set

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer to parse.

When left empty, the parser selects the tensor automatically if the incoming
NNData contains exactly one tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### setSoftmax(self, isSoftmax: bool)

Kind: Method

Sets whether the model output is already softmaxed.

When false, the parser applies softmax to convert the raw scores to
probabilities.

Parameter ``isSoftmax``:
    True when the model output is already softmaxed

###### input

Kind: Property

Input NN results with classification data to parse.

###### out

Kind: Property

Outputs Classifications message with classes and scores sorted in descending
order of score.

###### depthai.beta.node.ClassificationSequenceParser(depthai.DeviceNode)

Kind: Class

ClassificationSequenceParser node. Parses the raw output of a classification
sequence neural network into a dai::beta::Classifications message with class
names and scores ordered by their position in the sequence.

The model predicts the classes multiple times and returns a list of predicted
classes, where each item corresponds to the relative step in the sequence. In
addition to time series classification, this parser can also be used for text
recognition models where words can be interpreted as a sequence of characters
(classes).

The parser consumes a single output tensor of shape (sequenceLength, nClasses),
(1, sequenceLength, nClasses) or (sequenceLength, nClasses, 1). When the
incoming NNData contains exactly one tensor, it is selected automatically;
otherwise the output layer name must be configured explicitly or through an
NNArchive head. Raw scores are dequantized; when the model output is not already
softmaxed, the parser applies softmax along each sequence step to convert the
scores to probabilities.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> ClassificationSequenceParser: ClassificationSequenceParser

Kind: Method

###### getClasses(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the class names to link with the per-step classification scores.

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

Kind: Method

Returns whether the remaining classes are concatenated.

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

Kind: Method

Returns the class indexes ignored during classification sequence generation.

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

Kind: Method

Returns the name of the model output layer to parse.

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

Kind: Method

Returns whether consecutive duplicate classes are removed from the sequence.

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

Kind: Method

Returns whether the model output is treated as already softmaxed.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setClasses(self, classes: list [ str ])

Kind: Method

Sets the class names to link with the per-step classification scores.

The class names are expected to be in the same order as the neural network's
output. The number of class names must match the number of scores produced by
the model at each sequence step.

Parameter ``classes``:
    Vector of class names

###### setConcatenateClasses(self, concatenateClasses: bool)

Kind: Method

Sets whether the remaining classes are concatenated. Used mostly for text
processing.

When true and more than one class remains: when all remaining class names are at
most one character long, they are joined and split on whitespace into words with
a per-word mean score; otherwise all class names are joined into a single string
with a " " separator and one mean score.

Parameter ``concatenateClasses``:
    True to concatenate the remaining classes @note Configures startup behavior.
    Send ClassificationSequenceParserConfig to inputConfig after the pipeline
    starts.

###### setIgnoredIndexes(self, ignoredIndexes: list [ int ])

Kind: Method

Sets the class indexes to ignore during classification sequence generation (e.g.
background class, blank space).

Sequence steps whose most probable class index is listed here are dropped from
the output. Every index must be within [0, nClasses - 1].

Parameter ``ignoredIndexes``:
    Vector of class indexes to ignore @note Configures startup behavior. Send
    ClassificationSequenceParserConfig to inputConfig after the pipeline starts.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
ClassificationSequenceParser head; use setNNArchiveHead() to select a specific
head from a multi-head archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be a
ClassificationSequenceParser head with exactly one output layer.

Parameter ``head:``:
    NNArchive head to set

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer to parse.

When left empty, the parser selects the tensor automatically if the incoming
NNData contains exactly one tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRemoveDuplicates(self, removeDuplicates: bool)

Kind: Method

Sets whether consecutive duplicate classes are removed from the sequence.

Only consecutive duplicates are removed; repeated classes separated by other
classes are kept.

Parameter ``removeDuplicates``:
    True to remove consecutive duplicates from the sequence @note Configures
    startup behavior. Send ClassificationSequenceParserConfig to inputConfig
    after the pipeline starts.

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### setSoftmax(self, isSoftmax: bool)

Kind: Method

Sets whether the model output is already softmaxed.

When false, the parser applies softmax along each sequence step to convert the
raw scores to probabilities.

Parameter ``isSoftmax``:
    True when the model output is already softmaxed

###### initialConfig

Kind: Property

Configuration used until a message is received on inputConfig.

###### input

Kind: Property

Input NN results with classification sequence data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. When synchronized, one configuration is consumed
per frame; otherwise all queued configurations are drained and the newest valid
one is used.

###### out

Kind: Property

Outputs Classifications message with classes and scores ordered by their
position in the sequence.

###### depthai.beta.node.EmbeddingsParser(depthai.DeviceNode)

Kind: Class

EmbeddingsParser node. Validates the raw output of an embeddings neural network
model head and forwards it unchanged as a dai::NNData message.

The parser expects a single output tensor carrying the embedding vector. When
the output layer name is left unconfigured, every incoming NNData must contain
exactly one tensor; otherwise the message is rejected. The message itself is
forwarded without modification, so all tensors, sequence number, timestamps, and
image transformation metadata are preserved.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> EmbeddingsParser: EmbeddingsParser

Kind: Method

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

Kind: Method

Returns the name of the model output layer carrying the embeddings.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
EmbeddingsParser head; use setNNArchiveHead() to select a specific head from a
multi-head archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be an EmbeddingsParser head with
exactly one output layer.

Parameter ``head:``:
    NNArchive head to set

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer carrying the embeddings.

When left empty, the parser requires the incoming NNData to contain exactly one
tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### input

Kind: Property

Input NN results with embeddings data to validate and forward.

###### out

Kind: Property

Outputs the unchanged NNData message containing the embeddings output layer.

###### depthai.beta.node.FastSAMParser(depthai.DeviceNode)

Kind: Class

FastSAMParser node. Parses the output of the FastSAM segmentation model
(https://github.com/CASIA-IVA-Lab/FastSAM) into a dai::SegmentationMask message
where each pixel holds the index of the instance it belongs to and 255 marks
background.

The parser consumes the model's YOLO detection outputs (NCHW tensors of shape
(1, numClasses + 5, gridH, gridW), sorted by layer name and decoded anchorless
with strides 8/16/32), the per-head mask-coefficient outputs (NCHW tensors of
shape (1, numPrototypes, gridH, gridW), sorted by layer name) and the prototype
masks output (NCHW tensor of shape (1, numPrototypes, protoH, protoW)). The
model input size is derived from the first (stride-8) YOLO output's grid times
8; the number of prototypes from the protos tensor's channel count. Boxes pass
confidence filtering and non-maximum suppression, boxes within 20 pixels of the
image border are snapped to it, and a box overlapping the full image with IoU >
0.9 is replaced by the full-image box. Each kept detection's mask is combined
from the prototypes, resized to the model input size with nearest-neighbor
interpolation, cropped to its box and binarized with the mask confidence
threshold.

The prompt selects the emitted instances: "everything" keeps all detections
(later, lower-confidence instances overwrite earlier ones on overlapping
pixels), "bbox" keeps the single mask with the highest IoU against the prompt
bounding box, and "point" combines the masks containing the prompt point (added
for point label 1, subtracted for 0). With no detections, a fully-background
mask is emitted.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> FastSAMParser: FastSAMParser

Kind: Method

###### getBoundingBox(self) -> typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(4) ]|None: typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(4) ]|None

Kind: Method

Returns the prompt bounding box as (x1, y1, x2, y2), or std::nullopt when it is
not set.

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

Kind: Method

Returns the confidence score threshold for detected objects.

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

Kind: Method

Returns the non-maximum suppression overlap threshold.

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

Kind: Method

Returns the mask confidence threshold.

###### getMaskOutputs(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the names of the model's mask-coefficient output layers.

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

Kind: Method

Returns the number of classes in the model.

###### getPointLabel(self) -> int|None: int|None

Kind: Method

Returns the prompt point label, or std::nullopt when it is not set.

###### getPoints(self) -> tuple [ int, int ]|None: tuple [ int, int ]|None

Kind: Method

Returns the prompt point as (x, y), or std::nullopt when it is not set.

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

Kind: Method

Returns the prompt type.

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

Kind: Method

Returns the name of the model's prototype-masks output layer.

###### getYoloOutputs(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the names of the model's YOLO output layers.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setBoundingBox(self, bbox: typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(4) ])

Kind: Method

Sets the prompt bounding box as (x1, y1, x2, y2) in model-input pixels, used by
the "bbox" prompt. Unset by default; the "bbox" prompt requires it and its x2
and y2 coordinates must not be 0.

Parameter ``bbox``:
    Bounding box as (x1, y1, x2, y2) @note Configures startup behavior. Send
    FastSAMParserConfig to inputConfig after the pipeline starts.

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Sets the confidence score threshold for detected objects. Detections whose score
is strictly greater than the threshold are kept. Defaults to 0.5.

Parameter ``threshold``:
    Confidence score threshold, must be between 0 and 1 @note Configures startup
    behavior. Send FastSAMParserConfig to inputConfig after the pipeline starts.

###### setIouThreshold(self, iouThreshold: float)

Kind: Method

Sets the non-maximum suppression overlap threshold. Boxes whose overlap with a
kept box is strictly greater than the threshold are suppressed. Defaults to 0.5.

Parameter ``iouThreshold``:
    Overlap threshold, must be between 0 and 1 @note Configures startup
    behavior. Send FastSAMParserConfig to inputConfig after the pipeline starts.

###### setMaskConfidence(self, maskConfidence: float)

Kind: Method

Sets the mask confidence threshold used to binarize instance masks. Mask pixels
with a sigmoid probability strictly greater than the threshold belong to the
instance. Defaults to 0.5.

Parameter ``maskConfidence``:
    Mask confidence threshold, must be between 0 and 1 @note Configures startup
    behavior. Send FastSAMParserConfig to inputConfig after the pipeline starts.

###### setMaskOutputs(self, maskOutputs: list [ str ])

Kind: Method

Sets the names of the model's mask-coefficient output layers. Only names
containing "mask" are used, sorted by name and index-aligned with the sorted
YOLO output layers; when empty, all layer names of the incoming NNData
containing "mask" are used. Defaults to ["output1_masks", "output2_masks",
"output3_masks"].

Parameter ``maskOutputs``:
    Names of the mask output layers

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one FastSAMParser
head; use setNNArchiveHead() to select a specific head from a multi-head
archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head's output layer names containing
"_yolo" configure the YOLO output layers and those containing "_masks" the mask
output layers (each only when at least one matches). The confidence threshold,
number of classes, NMS threshold, mask confidence, prompt, points, point label
and bounding box are read from the head metadata when present.

Parameter ``head:``:
    NNArchive head to set

###### setNumClasses(self, numClasses: int)

Kind: Method

Sets the number of classes in the model. The YOLO output tensors must have
numClasses + 5 channels. Defaults to 1.

Parameter ``numClasses``:
    Number of classes, must be greater than 0

###### setPointLabel(self, pointLabel: int)

Kind: Method

Sets the prompt point label, used by the "point" prompt: 1 adds the instance
masks containing the point, 0 subtracts them. Unset by default; the "point"
prompt requires it.

Parameter ``pointLabel``:
    Point label @note Configures startup behavior. Send FastSAMParserConfig to
    inputConfig after the pipeline starts.

###### setPoints(self, x: int, y: int)

Kind: Method

Sets the prompt point as (x, y) in model-input pixels, used by the "point"
prompt. Unset by default; the "point" prompt requires it.

Parameter ``x``:
    Point x coordinate

Parameter ``y``:
    Point y coordinate @note Configures startup behavior. Send
    FastSAMParserConfig to inputConfig after the pipeline starts.

###### setPrompt(self, prompt: str)

Kind: Method

Sets the prompt type: "everything" emits every detected instance, "bbox" the
single instance mask with the highest IoU against the prompt bounding box (see
setBoundingBox()), and "point" the combination of the instance masks containing
the prompt point (see setPoints() and setPointLabel()). Defaults to
"everything".

Parameter ``prompt``:
    Prompt type, one of "everything", "bbox" or "point" @note Configures startup
    behavior. Send FastSAMParserConfig to inputConfig after the pipeline starts.

###### setProtosOutput(self, protosOutput: str)

Kind: Method

Sets the name of the model's prototype-masks output layer; when empty,
"protos_output" is used. Defaults to "protos_output".

Parameter ``protosOutput``:
    Name of the protos output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### setYoloOutputs(self, yoloOutputs: list [ str ])

Kind: Method

Sets the names of the model's YOLO output layers. The layers are processed
sorted by name, so the stride-8 head must come first in sort order. Defaults to
["output1_yolov8", "output2_yolov8", "output3_yolov8"].

Parameter ``yoloOutputs``:
    Names of the YOLO output layers

###### initialConfig

Kind: Property

Configuration used until a message is received on inputConfig.

###### input

Kind: Property

Input NN results with FastSAM data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. When synchronized, one configuration is consumed
per frame; otherwise all queued configurations are drained and the newest valid
one is used.

###### out

Kind: Property

Outputs SegmentationMask message with the resulting segmentation masks given the
prompt.

###### depthai.beta.node.HRNetParser(depthai.DeviceNode)

Kind: Class

HRNetParser node. Parses the heatmap output of an HRNet pose estimation neural
network into a dai::beta::Keypoints message. The decoding is inspired by
https://github.com/ibaiGorordo/ONNX-HRNET-Human-Pose-Estimation.

The parser consumes a single output tensor. When the incoming NNData contains
exactly one tensor, it is selected automatically; otherwise the output layer
name must be configured explicitly or through an NNArchive head. The tensor is
read in NCHW orientation regardless of its stored order; after squeezing a
leading batch dimension of 1 it must be a 3D tensor of shape (numKeypoints,
height, width). The number of keypoints and the heatmap size are derived from
the tensor shape. Per heatmap, the keypoint is the position of the maximum value
normalized by the heatmap size and the keypoint's score is the maximum value
clipped to [0, 1]. Keypoints with a score below the score threshold are dropped
and the skeleton edges are remapped to the kept keypoints.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> HRNetParser: HRNetParser

Kind: Method

###### getEdges(self) -> list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]

Kind: Method

Returns the skeleton edges as pairs of keypoint indices.

###### getLabelNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the label names for the keypoints.

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

Kind: Method

Returns the name of the model output layer to parse.

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

Kind: Method

Returns the confidence score threshold for detected keypoints.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setEdges(self, edges: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ])

Kind: Method

Sets the skeleton edges as pairs of keypoint indices used for visualizing the
skeleton.

Example: {{0, 1}, {1, 2}, {2, 3}, {3, 0}} connects keypoint 0 to keypoint 1,
keypoint 1 to keypoint 2, etc.

Parameter ``edges``:
    Vector of keypoint index pairs

###### setLabelNames(self, labelNames: list [ str ])

Kind: Method

Sets the label names for the keypoints, indexed by keypoint index.

Parameter ``labelNames``:
    Vector of label names

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one HRNetParser
head; use setNNArchiveHead() to select a specific head from a multi-head
archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be an HRNetParser head with
exactly one output layer.

Parameter ``head:``:
    NNArchive head to set

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer to parse.

When left empty, the parser selects the tensor automatically if the incoming
NNData contains exactly one tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### setScoreThreshold(self, threshold: float)

Kind: Method

Sets the confidence score threshold for detected keypoints. Keypoints with a
score strictly below the threshold are dropped.

Parameter ``threshold``:
    Confidence score threshold, must be between 0 and 1 @note Configures startup
    behavior. Send HRNetParserConfig to inputConfig after the pipeline starts.

###### initialConfig

Kind: Property

Configuration used until a message is received on inputConfig.

###### input

Kind: Property

Input NN results with heatmaps data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. When synchronized, one configuration is consumed
per frame; otherwise all queued configurations are drained and the newest valid
one is used.

###### out

Kind: Property

Outputs Keypoints message with the detected body keypoints.

###### depthai.beta.node.ImageOutputParser(depthai.DeviceNode)

Kind: Class

ImageOutputParser node. Parses the output of image-to-image models (e.g. DnCNN3,
zero-dce) where the output is a modified image (denoised, enhanced etc.) into a
dai::ImgFrame message.

The parser consumes a single output tensor. When the incoming NNData contains
exactly one tensor, it is selected automatically; otherwise the output layer
name must be configured explicitly or through an NNArchive head. The tensor is
read in its stored order; after squeezing a leading batch dimension of 1 it must
be a 3D image tensor in CHW or HWC orientation, with the channel dimension equal
to 1 (grayscale) or 3 (color). All dimensions are derived from the runtime
tensor descriptor. The values are min-max normalized and scaled to the [0, 255]
8-bit range.

A grayscale image is emitted as a GRAY8 frame. A color image is emitted as a
BGR888p frame when the pipeline's default device platform is RVC2 and as a
BGR888i frame otherwise, including in a device-less pipeline. The model output
is treated as RGB and converted to BGR unless the BGR-output flag marks it as
already BGR.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> ImageOutputParser: ImageOutputParser

Kind: Method

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

Kind: Method

Returns the flag indicating whether the model output image is in BGR (Blue-
Green-Red) channel order.

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

Kind: Method

Returns the name of the model output layer to parse.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setBGROutput(self, outputIsBGR: bool = True)

Kind: Method

Sets the flag indicating whether the model output image is in BGR (Blue-Green-
Red) channel order.

When false (the default), a color model output is treated as RGB and its
channels are swapped to BGR before being emitted.

Parameter ``outputIsBGR``:
    True when the model output image is already BGR, defaults to true

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
ImageOutputParser head; use setNNArchiveHead() to select a specific head from a
multi-head archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be an ImageOutputParser head
with exactly one output layer.

Parameter ``head:``:
    NNArchive head to set

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer to parse.

When left empty, the parser selects the tensor automatically if the incoming
NNData contains exactly one tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### input

Kind: Property

Input NN results with image tensor data to parse.

###### out

Kind: Property

Outputs ImgFrame message with the model output image, e.g. a denoised or
enhanced image.

###### depthai.beta.node.ImgDetectionsFilter(depthai.DeviceNode)

Kind: Class

Experimental node for filtering image detections.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### initialConfig

Kind: Property

Configuration used until a message is received on inputConfig.

The default configuration forwards detections unchanged.

###### input

Kind: Property

Image detections to filter.

###### inputConfig

Kind: Property

Runtime filter configuration. The most recently received configuration is reused
for subsequent detection messages.

###### output

Kind: Property

Filtered image detections.

###### depthai.beta.node.KeypointParser(depthai.DeviceNode)

Kind: Class

KeypointParser node. Parses the raw output of a 2D or 3D keypoints neural
network into a dai::beta::Keypoints message.

The parser consumes a single output tensor. When the incoming NNData contains
exactly one tensor, it is selected automatically; otherwise the output layer
name must be configured explicitly or through an NNArchive head. The number of
keypoints must be configured before the pipeline starts. The number of
coordinates per keypoint (2 or 3) is derived from the tensor size and the
configured number of keypoints. Keypoint coordinates are divided by the
configured scale factor and clipped to [0, 1].

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> KeypointParser: KeypointParser

Kind: Method

###### getEdges(self) -> list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]

Kind: Method

Returns the skeleton edges as pairs of keypoint indices.

###### getLabelNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the label names for the keypoints.

###### getNumKeypoints(self) -> int|None: int|None

Kind: Method

Returns the number of keypoints the model detects, or std::nullopt when not
configured.

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

Kind: Method

Returns the name of the model output layer to parse.

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

Kind: Method

Returns the scale factor to divide the keypoint coordinates by.

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

Kind: Method

Returns the confidence score threshold for detected keypoints, or std::nullopt
when not configured.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setEdges(self, edges: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ])

Kind: Method

Sets the skeleton edges as pairs of keypoint indices used for visualizing the
skeleton.

Example: {{0, 1}, {1, 2}, {2, 3}, {3, 0}} connects keypoint 0 to keypoint 1,
keypoint 1 to keypoint 2, etc.

Parameter ``edges``:
    Vector of keypoint index pairs

###### setLabelNames(self, labelNames: list [ str ])

Kind: Method

Sets the label names for the keypoints, indexed by keypoint index.

Parameter ``labelNames``:
    Vector of label names

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one KeypointParser
head; use setNNArchiveHead() to select a specific head from a multi-head
archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be a KeypointParser head with
exactly one output layer.

Parameter ``head:``:
    NNArchive head to set

###### setNumKeypoints(self, nKeypoints: int)

Kind: Method

Sets the number of keypoints the model detects.

Must be configured before the pipeline starts, either explicitly or through an
NNArchive head.

Parameter ``nKeypoints``:
    Number of keypoints, must be greater than 0

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer to parse.

When left empty, the parser selects the tensor automatically if the incoming
NNData contains exactly one tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### setScaleFactor(self, scaleFactor: float)

Kind: Method

Sets the scale factor to divide the keypoint coordinates by.

Parameter ``scaleFactor``:
    Scale factor, must be greater than 0

###### setScoreThreshold(self, threshold: float)

Kind: Method

Sets the confidence score threshold for detected keypoints.

Parameter ``threshold``:
    Confidence score threshold, must be between 0 and 1

###### input

Kind: Property

Input NN results with keypoints data to parse.

###### out

Kind: Property

Outputs Keypoints message with the parsed 2D or 3D keypoints.

###### depthai.beta.node.LaneDetectionParser(depthai.DeviceNode)

Kind: Class

LaneDetectionParser node. Parses the output of an Ultra-Fast-Lane-Detection
(UFLD) neural network, e.g. the CULane and TuSimple variants, into a
dai::beta::Clusters message with one cluster of normalized points per lane,
including empty clusters for lanes without enough detected points.

The parser consumes a single output tensor. When the incoming NNData contains
exactly one tensor, it is selected automatically; otherwise the output layer
name must be configured explicitly or through an NNArchive head. The tensor is
read in its stored order and must be a 4D tensor of shape (batch, gridingNum +
1, clsNumPerLane, numLanes); the first batch entry is decoded. The row anchors,
griding number and number of points per lane must be configured before the
pipeline starts, either explicitly or through an NNArchive head. The input size
must also be configured before the pipeline starts: building from a full
NNArchive derives it from the model input's declared shape and layout (NHWC or
NCHW), while building from a specific head requires setInputSize() because a
head carries no model input metadata.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> LaneDetectionParser: LaneDetectionParser

Kind: Method

###### getClsNumPerLane(self) -> int|None: int|None

Kind: Method

Returns the number of points per lane, or std::nullopt when not configured.

###### getGridingNum(self) -> int|None: int|None

Kind: Method

Returns the griding number, or std::nullopt when not configured.

###### getInputSize(self) -> tuple [ int, int ]|None: tuple [ int, int ]|None

Kind: Method

Returns the model input image size as (width, height), or std::nullopt when not
configured.

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

Kind: Method

Returns the name of the model output layer to parse.

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

Kind: Method

Returns the row anchors, or an empty vector when not configured.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setClsNumPerLane(self, clsNumPerLane: int)

Kind: Method

Sets the number of points per lane.

Must be configured before the pipeline starts, either explicitly or through an
NNArchive head.

Parameter ``clsNumPerLane``:
    Number of points per lane, must be greater than 0

###### setGridingNum(self, gridingNum: int)

Kind: Method

Sets the griding number, the number of column samples the model predicts lane
positions over.

Must be configured before the pipeline starts, either explicitly or through an
NNArchive head.

Parameter ``gridingNum``:
    Griding number, must be greater than 1

###### setInputSize(self, width: int, height: int)

Kind: Method

Sets the model input image size the emitted points are computed against and
normalized by.

Must be configured before the pipeline starts. Configuring from a full NNArchive
derives it from the model input's declared shape and layout; the most recent
configuration wins.

Parameter ``width``:
    Input image width, must be greater than 0

Parameter ``height``:
    Input image height, must be greater than 0

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
LaneDetectionParser head and exactly one model input; use setNNArchiveHead() to
select a specific head from a multi-head archive. The input size is derived from
the model input's declared shape and layout (NHWC or NCHW).

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be a LaneDetectionParser head
with exactly one output layer.

Parameter ``head:``:
    NNArchive head to set @note A head carries no model input metadata, so the
    input size must additionally be configured with setInputSize().

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer to parse.

When left empty, the parser selects the tensor automatically if the incoming
NNData contains exactly one tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRowAnchors(self, rowAnchors: list [ int ])

Kind: Method

Sets the row anchors, the image rows at which the model predicts lane positions.

Must be configured before the pipeline starts, either explicitly or through an
NNArchive head, and must contain at least as many entries as the number of
points per lane.

Parameter ``rowAnchors``:
    Row anchors, must not be empty

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### input

Kind: Property

Input NN results with lane detection data to parse.

###### out

Kind: Property

Outputs Clusters message with the detected lanes represented as clusters of
points.

###### depthai.beta.node.MapOutputParser(depthai.DeviceNode)

Kind: Class

MapOutputParser node. Parses the output of models that produce map outputs, such
as depth maps (e.g. DepthAnything), density maps (e.g. DM-Count), heat maps, and
similar, into a dai::beta::Map2D message.

The parser consumes a single output tensor. When the incoming NNData contains
exactly one tensor, it is selected automatically; otherwise the output layer
name must be configured explicitly or through an NNArchive head. The tensor is
read in its stored order; leading dimensions of 1 are squeezed and the tensor
must then be a 2D HW map, or a 3D HWN map with a singleton trailing dimension
that is squeezed as well. All map dimensions are derived from the runtime tensor
descriptor.

When min-max scaling is enabled, the map values are scaled to the [0, 1] range;
a constant map is left unchanged.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> MapOutputParser: MapOutputParser

Kind: Method

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

Kind: Method

Returns the flag indicating whether the map is scaled to the [0, 1] range.

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

Kind: Method

Returns the name of the model output layer to parse.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setMinMaxScaling(self, minMaxScaling: bool = True)

Kind: Method

Sets the flag indicating whether the map is scaled to the [0, 1] range.

When true, the map values are min-max scaled to [0, 1]; a constant map is left
unchanged. Defaults to false.

Parameter ``minMaxScaling``:
    True to scale the map to the [0, 1] range, defaults to true @note Configures
    startup behavior. Send MapOutputParserConfig to inputConfig after the
    pipeline starts.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
MapOutputParser head; use setNNArchiveHead() to select a specific head from a
multi-head archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be a MapOutputParser head with
exactly one output layer.

Parameter ``head:``:
    NNArchive head to set

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer to parse.

When left empty, the parser selects the tensor automatically if the incoming
NNData contains exactly one tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### initialConfig

Kind: Property

Configuration used until a message is received on inputConfig.

###### input

Kind: Property

Input NN results with map tensor data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. When synchronized, one configuration is consumed
per frame; otherwise all queued configurations are drained and the newest valid
one is used.

###### out

Kind: Property

Outputs Map2D message with the parsed 2D map, e.g. a depth or density map.

###### depthai.beta.node.MLSDParser(depthai.DeviceNode)

Kind: Class

MLSDParser node. Parses the output of the M-LSD line segment detection model
into a dai::beta::Lines message with the detected lines and their confidence
scores, ordered by descending score.

The parser consumes two output tensors that must be configured before the
pipeline starts, either explicitly or through an NNArchive head: the tpMap
tensor, read in NCHW orientation as a 4D tensor of shape (batch, channels,
height, width) whose channels 1 to 4 hold the line displacement maps of the
first batch entry, and the heat tensor, flattened to one score per (height,
width) grid position. The topK highest-scoring grid positions are decoded into
candidate lines and kept when their score and length are strictly above the
score and distance thresholds. Ties between equal heat scores are ordered
following numpy's portable argpartition/argsort semantics. The emitted line
coordinates are normalized by the model input size, which defaults to 512x512
(the input size of all known M-LSD models, hard-coded by the source parser);
building from a full NNArchive derives it from the model input's declared shape
and layout (NHWC or NCHW), and setInputSize() overrides it.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> MLSDParser: MLSDParser

Kind: Method

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

Kind: Method

Returns the distance threshold for detected lines.

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

Kind: Method

Returns the model input image size as (width, height).

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

Kind: Method

Returns the name of the output layer containing the heat tensor, or an empty
string when not configured.

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

Kind: Method

Returns the name of the output layer containing the tpMap tensor, or an empty
string when not configured.

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

Kind: Method

Returns the confidence score threshold for detected lines.

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

Kind: Method

Returns the number of top candidates to keep.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setDistanceThreshold(self, distanceThreshold: float)

Kind: Method

Sets the distance threshold for detected lines. Candidates whose length in heat
map grid units is strictly above the threshold are kept.

Parameter ``distanceThreshold``:
    Distance threshold @note Configures startup behavior. Send MLSDParserConfig
    to inputConfig after the pipeline starts.

###### setInputSize(self, width: int, height: int)

Kind: Method

Sets the model input image size the emitted line coordinates are normalized by,
x coordinates by the width and y coordinates by the height.

Defaults to 512x512, the input size of all known M-LSD models. Configuring from
a full NNArchive derives it from the model input's declared shape and layout;
the most recent configuration wins.

Parameter ``width``:
    Input image width, must be greater than 0

Parameter ``height``:
    Input image height, must be greater than 0

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one MLSDParser
head and exactly one model input; use setNNArchiveHead() to select a specific
head from a multi-head archive. The input size is derived from the model input's
declared shape and layout (NHWC or NCHW).

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be an MLSDParser head with
exactly two output layers; the layer whose name contains "tpMap" is used as the
tpMap layer and the layer whose name contains "heat" as the heat layer.

Parameter ``head:``:
    NNArchive head to set @note A head carries no model input metadata, so the
    input size keeps its current value (512x512 by default); use setInputSize()
    for models with a different input size.

###### setOutputLayerHeat(self, outputLayerHeat: str)

Kind: Method

Sets the name of the output layer containing the heat tensor.

Must be configured before the pipeline starts, either explicitly or through an
NNArchive head.

Parameter ``outputLayerHeat``:
    Name of the output layer containing the heat tensor

###### setOutputLayerTPMap(self, outputLayerTPMap: str)

Kind: Method

Sets the name of the output layer containing the tpMap tensor.

Must be configured before the pipeline starts, either explicitly or through an
NNArchive head.

Parameter ``outputLayerTPMap``:
    Name of the output layer containing the tpMap tensor

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### setScoreThreshold(self, scoreThreshold: float)

Kind: Method

Sets the confidence score threshold for detected lines. Candidates with a heat
score strictly above the threshold are kept.

Parameter ``scoreThreshold``:
    Confidence score threshold @note Configures startup behavior. Send
    MLSDParserConfig to inputConfig after the pipeline starts.

###### setTopK(self, topK: int)

Kind: Method

Sets the number of top candidates to keep.

The number of candidates is capped at the heat map size when decoding.

Parameter ``topK``:
    Number of top candidates to keep, must be positive @note Configures startup
    behavior. Send MLSDParserConfig to inputConfig after the pipeline starts.

###### initialConfig

Kind: Property

Configuration used until a message is received on inputConfig.

###### input

Kind: Property

Input NN results with line detection data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. When synchronized, one configuration is consumed
per frame; otherwise all queued configurations are drained and the newest valid
one is used.

###### out

Kind: Property

Outputs Lines message with the detected lines and confidence scores.

###### depthai.beta.node.MPPalmDetectionParser(depthai.DeviceNode)

Kind: Class

MPPalmDetectionParser node. Parses the output of the MediaPipe palm detection
model into a dai::ImgDetections message containing the rotated bounding boxes,
labels and confidence scores of the detected hands. The decoding is based on
https://github.com/geaxgx/depthai_hand_tracker (MIT License).

The parser consumes two output tensors and identifies them by their last
dimension: the tensor with the larger last dimension holds the raw bounding
boxes and is reshaped to (numAnchors, 18) rows of bounding box center/size plus
7 palm keypoint coordinate pairs; the tensor with the smaller last dimension
holds the raw scores and is flattened to (numAnchors,). The scores are passed
through a sigmoid and filtered with the confidence threshold, the kept rows are
decoded against the model's SSD anchors generated from the configured scale (the
model input size), converted to rectangles rotated to align the wrist to middle-
finger direction with the rectangle's y-axis and expanded to squares, and non-
maximum suppression keeps at most the configured maximum number of detections.
The emitted bounding boxes are normalized to [0, 1].

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> MPPalmDetectionParser: MPPalmDetectionParser

Kind: Method

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

Kind: Method

Returns the confidence score threshold for detected hands.

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

Kind: Method

Returns the non-maximum suppression (IoU) threshold.

###### getLabelNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the label names for the detected hands.

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

Kind: Method

Returns the maximum number of detections to keep.

###### getOutputLayerNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the names of the model output layers relevant to the parser.

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

Kind: Method

Returns the scale of the model input image in pixels.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Sets the confidence score threshold for detected hands. Detections with a
sigmoid score strictly above the threshold are kept.

Parameter ``threshold``:
    Confidence score threshold @note Configures startup behavior. Send
    MPPalmDetectionParserConfig to inputConfig after the pipeline starts.

###### setIouThreshold(self, threshold: float)

Kind: Method

Sets the non-maximum suppression (IoU) threshold.

Parameter ``threshold``:
    Non-maximum suppression threshold @note Configures startup behavior. Send
    MPPalmDetectionParserConfig to inputConfig after the pipeline starts.

###### setLabelNames(self, labelNames: list [ str ])

Kind: Method

Sets the label names for the detected hands. The first label name is assigned to
every detection (all detections carry label 0). When empty, no label name is
assigned.

Parameter ``labelNames``:
    List of label names

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Sets the maximum number of detections to keep.

Parameter ``maxDetections``:
    Maximum number of detections to keep @note Configures startup behavior. Send
    MPPalmDetectionParserConfig to inputConfig after the pipeline starts.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
MPPalmDetectionParser head; use setNNArchiveHead() to select a specific head
from a multi-head archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be an MPPalmDetectionParser head
with exactly two output layers.

Parameter ``head:``:
    NNArchive head to set

###### setOutputLayerNames(self, outputLayerNames: list [ str ])

Kind: Method

Sets the names of the model output layers relevant to the parser. Exactly two
layer names are required.

Parameter ``outputLayerNames``:
    Names of the output layers

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### setScale(self, scale: int)

Kind: Method

Sets the scale of the model input image in pixels (e.g. 192 for a 192x192
model). The SSD anchors used for decoding are generated from the scale; a scale
that does not match the model input size fails decoding with an anchor count
mismatch.

Parameter ``scale``:
    Scale of the input image

###### initialConfig

Kind: Property

Configuration used when the parser starts.

###### input

Kind: Property

Input NN results with palm detection data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. In synchronized mode one configuration is consumed
per input frame; otherwise all queued configurations are drained and the newest
valid one is retained.

###### out

Kind: Property

Outputs ImgDetections message with the rotated bounding boxes, labels and
confidence scores of the detected hands.

###### depthai.beta.node.PPTextDetectionParser(depthai.DeviceNode)

Kind: Class

PPTextDetectionParser node. Parses the output of the PaddlePaddle OCR text
detection model into a dai::ImgDetections message containing the rotated
bounding boxes and confidence scores of the detected text.

The parser consumes a single probability-map output tensor of shape (1, 1, H, W)
or (1, H, W, 1). The map is thresholded with the mask threshold into a binary
text mask, the mask is dilated and its contours become rotated-rectangle
candidates; when more contours than the maximum number of detections remain, the
largest by area are kept. Rectangles smaller than 8 pixels on their smaller side
are dropped, each candidate is scored with the mean probability inside its
(slightly shrunk) corner polygon, candidates scoring below the confidence
threshold are dropped, and the kept rectangles are expanded by sqrt(2) in both
dimensions. The emitted bounding boxes are normalized to [0, 1] with angles in
degrees rounded to whole numbers; the detections carry no labels.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> PPTextDetectionParser: PPTextDetectionParser

Kind: Method

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

Kind: Method

Returns the confidence score threshold for the detected text bounding boxes.

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

Kind: Method

Returns the mask threshold for creating the binary text mask from the model
output probabilities.

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

Kind: Method

Returns the maximum number of candidate bounding boxes.

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

Kind: Method

Returns the name of the model output layer holding the text probability map.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Sets the confidence score threshold for the detected text bounding boxes.
Candidates with a score strictly below the threshold are dropped.

Parameter ``threshold``:
    Confidence score threshold @note Configures startup behavior. Send
    PPTextDetectionParserConfig to inputConfig after the pipeline starts.

###### setMaskThreshold(self, maskThreshold: float)

Kind: Method

Sets the mask threshold for creating the binary text mask from the model output
probabilities. Probabilities strictly above the threshold belong to the mask.

Parameter ``maskThreshold``:
    Mask threshold @note Configures startup behavior. Send
    PPTextDetectionParserConfig to inputConfig after the pipeline starts.

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Sets the maximum number of candidate bounding boxes. When more candidate
contours are found, only the largest by area are kept.

Parameter ``maxDetections``:
    Maximum number of candidate bounding boxes @note Configures startup
    behavior. Send PPTextDetectionParserConfig to inputConfig after the pipeline
    starts.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
PPTextDetectionParser head; use setNNArchiveHead() to select a specific head
from a multi-head archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head configures the confidence threshold,
the mask threshold and the maximum number of detections when present in its
metadata. The head's declared output names are not consumed: the parser resolves
the single runtime output tensor by itself (or uses the explicitly configured
output layer name), mirroring the source parser; archives whose head output name
differs from the model's declared output name therefore parse correctly.

Parameter ``head:``:
    NNArchive head to set

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer holding the text probability map. When
empty (the default), the layer is resolved automatically from single-tensor NN
results; multi-tensor results require an explicit name.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### initialConfig

Kind: Property

Configuration used when the parser starts.

###### input

Kind: Property

Input NN results with text detection probability map to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. In synchronized mode one configuration is consumed
per input frame; otherwise all queued configurations are drained and the newest
valid one is retained.

###### out

Kind: Property

Outputs ImgDetections message with the rotated bounding boxes and confidence
scores of the detected text.

###### depthai.beta.node.RegressionParser(depthai.DeviceNode)

Kind: Class

RegressionParser node. Parses the output of a model with regression output (e.g.
age-gender) into a dai::beta::Predictions message with the predicted value(s) in
the order the model emitted them.

The parser consumes a single output tensor. When the incoming NNData contains
exactly one tensor, it is selected automatically; otherwise the output layer
name must be configured explicitly or through an NNArchive head. The tensor is
dequantized and all its singleton dimensions are squeezed; the remaining values
become the predictions, so any tensor with at most one non-singleton dimension
is accepted regardless of rank (for example (1, 1, 1, 3), (1, 1) or (1,)) and an
empty tensor yields a message with no predictions. A tensor with more than one
non-singleton dimension after squeezing is rejected.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> RegressionParser: RegressionParser

Kind: Method

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

Kind: Method

Returns the name of the model output layer to parse.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
RegressionParser head; use setNNArchiveHead() to select a specific head from a
multi-head archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be a RegressionParser head with
exactly one output layer.

Parameter ``head:``:
    NNArchive head to set

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer to parse.

When left empty, the parser selects the tensor automatically if the incoming
NNData contains exactly one tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### input

Kind: Property

Input NN results with regression data to parse.

###### out

Kind: Property

Outputs Predictions message with the predicted value(s).

###### depthai.beta.node.RFDETRParser(depthai.DeviceNode)

Kind: Class

RFDETRParser node. Parses the output of RF-DETR object detection models
(https://github.com/roboflow/rf-detr) into a dai::ImgDetections message
containing the bounding boxes, labels, confidence scores and, in segmentation
mode, an instance segmentation mask, everything normalized to [0, 1].

The parser consumes 2 output tensors for detection (boxes, class logits) or 3
for instance segmentation (boxes, class logits, mask logits), in that order.
When no output layer names are configured, all layer names of the incoming
NNData are used in their reported order. The boxes tensor squeezes to (N, 4)
with normalized (xCenter, yCenter, width, height) boxes, the logits tensor is
(1, N, C) and the mask logits tensor squeezes to (N, maskHeight, maskWidth).
Class probabilities are the sigmoid of the logits; per query the maximum
probability is the score and its class the label. Detections are ordered by
descending score, truncated to the maximum number of detections and kept when
their score is strictly greater than the confidence threshold.

In segmentation mode at most 255 instances fit into the mask, so the truncation
is additionally capped at 255. Each detection's mask logits are passed through a
sigmoid, cropped to its bounding box, binarized with the mask confidence
threshold and resized to the model input size with nearest-neighbor
interpolation; the pixels not claimed by an earlier (higher-scoring) detection
receive the detection's index, with 255 marking background.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> RFDETRParser: RFDETRParser

Kind: Method

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

Kind: Method

Returns the confidence score threshold for detected objects.

###### getInputSize(self) -> tuple [ int, int ]|None: tuple [ int, int ]|None

Kind: Method

Returns the model input image size as (width, height), or std::nullopt when it
is not set.

###### getLabelNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the label names for the detected objects.

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

Kind: Method

Returns the mask confidence threshold.

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

Kind: Method

Returns the maximum number of detections to keep.

###### getOutputLayerNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the names of the model output layers.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Sets the confidence score threshold for detected objects. Detections with a
score strictly greater than the threshold are kept. Defaults to 0.5.

Parameter ``threshold``:
    Confidence score threshold, must be between 0 and 1 @note Configures startup
    behavior. Send RFDETRParserConfig to inputConfig after the pipeline starts.

###### setInputSize(self, width: int, height: int)

Kind: Method

Sets the model input image size the segmentation mask is emitted at. Unset by
default; segmentation mode requires it to be configured from an NNArchive or
with this setter before the parser processes messages. Detection mode does not
use it.

Configuring from a full NNArchive derives it from the first model input's
declared shape and layout; the most recent configuration wins.

Parameter ``width``:
    Input image width, must be greater than 0

Parameter ``height``:
    Input image height, must be greater than 0

###### setLabelNames(self, labelNames: list [ str ])

Kind: Method

Sets the label names for the detected objects, indexed by the class label. A
detection whose label is out of range receives the name "class_<label>". When
empty, no label names are assigned. Defaults to empty.

Parameter ``labelNames``:
    List of label names

###### setMaskConfidence(self, maskConfidence: float)

Kind: Method

Sets the mask confidence threshold used to binarize instance segmentation masks
in segmentation mode. Mask pixels with a sigmoid probability strictly greater
than the threshold belong to the instance. Defaults to 0.5.

Parameter ``maskConfidence``:
    Mask confidence threshold, must be between 0 and 1 @note Configures startup
    behavior. Send RFDETRParserConfig to inputConfig after the pipeline starts.

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Sets the maximum number of detections to keep, applied to the detections ordered
by descending score. In segmentation mode the applied limit is additionally
capped at 255, the maximum number of instances the segmentation mask can encode.
Defaults to 300.

Parameter ``maxDetections``:
    Maximum number of detections to keep, must be greater than 0 @note
    Configures startup behavior. Send RFDETRParserConfig to inputConfig after
    the pipeline starts.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one RFDETRParser
head; use setNNArchiveHead() to select a specific head from a multi-head
archive. The input size is derived from the first model input's declared shape
and layout (NHWC or NCHW).

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be an RFDETRParser head with 2
output layers (boxes, class logits) for detection or 3 (boxes, class logits,
mask logits) for segmentation.

Parameter ``head:``:
    NNArchive head to set @note A head carries no model input metadata, so the
    input size keeps its current value; segmentation mode requires it to be
    configured with setInputSize() when it is not set yet.

###### setOutputLayerNames(self, outputLayerNames: list [ str ])

Kind: Method

Sets the names of the model output layers, positionally: the boxes layer, the
class logits layer and, in segmentation mode, the mask logits layer. Must hold 2
or 3 names.

When left empty, all layer names of the incoming NNData are used in their
reported order.

Parameter ``outputLayerNames``:
    Names of the output layers

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### initialConfig

Kind: Property

Configuration used when the parser starts.

###### input

Kind: Property

Input NN results with RF-DETR detection data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. In synchronized mode one configuration is consumed
per input frame; otherwise all queued configurations are drained and the newest
valid one is retained.

###### out

Kind: Property

Outputs ImgDetections message with the bounding boxes, labels and confidence
scores of the detected objects and, in segmentation mode, the instance
segmentation mask.

###### depthai.beta.node.SCRFDParser(depthai.DeviceNode)

Kind: Class

SCRFDParser node. Parses the output of SCRFD detection models (e.g. SCRFD face
and person detection) into a dai::ImgDetections message containing the bounding
boxes, labels, confidence scores and 5 keypoints per detected object, everything
normalized to [0, 1].

The parser consumes three output tensors per configured feature stride, named
score_{stride}, bbox_{stride} and kps_{stride}. The score tensor is flattened,
the bbox tensor is paired 4 values per score (left, top, right, bottom distances
from the anchor center) and the kps tensor 10 values per score (5 keypoint
coordinate pairs), accepting both batched (1, N, C) and unbatched (N, C)
tensors. Scores greater than or equal to the confidence threshold (inclusive)
are kept, decoded against the anchor centers derived from the input size, the
stride and the number of anchors, sorted by descending score and suppressed with
the original SCRFD non-maximum suppression (+1 offset box areas, overlaps at
most the IoU threshold survive). The anchor centers are cached across messages
and refreshed when the input size, feature strides or number of anchors change.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> SCRFDParser: SCRFDParser

Kind: Method

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

Kind: Method

Returns the confidence score threshold for detected objects.

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

Kind: Method

Returns the feature strides of the FPN.

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

Kind: Method

Returns the model input image size as (width, height).

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

Kind: Method

Returns the non-maximum suppression (IoU) threshold.

###### getLabelNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the label names for the detected objects.

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

Kind: Method

Returns the maximum number of detections to keep.

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

Kind: Method

Returns the number of anchors per feature map position.

###### getOutputLayerNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the names of the model output layers relevant to the parser.

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

Kind: Method

Returns true when this node runs on the host.

Host-only pipelines always run the node on the host.

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Sets the confidence score threshold for detected objects. Detections with a
score greater than or equal to the threshold (inclusive) are kept.

Parameter ``threshold``:
    Confidence score threshold @note Configures startup behavior. Send
    SCRFDParserConfig to inputConfig after the pipeline starts.

###### setFeatStrideFPN(self, featStrideFpn: list [ int ])

Kind: Method

Sets the feature strides of the FPN. One score_{stride}, bbox_{stride} and
kps_{stride} layer triple is parsed per stride. Defaults to (8, 16, 32).

Parameter ``featStrideFpn``:
    Feature strides, every stride must be greater than 0

###### setInputSize(self, width: int, height: int)

Kind: Method

Sets the model input image size the anchor centers are computed against and the
emitted coordinates are normalized by. Defaults to (640, 640).

Configuring from a full NNArchive derives it from the model input's declared
shape and layout; the most recent configuration wins.

Parameter ``width``:
    Input image width, must be greater than 0

Parameter ``height``:
    Input image height, must be greater than 0

###### setIouThreshold(self, threshold: float)

Kind: Method

Sets the non-maximum suppression (IoU) threshold. Candidates whose overlap with
a kept detection is at most the threshold (inclusive) survive suppression.

Parameter ``threshold``:
    Non-maximum suppression threshold @note Configures startup behavior. Send
    SCRFDParserConfig to inputConfig after the pipeline starts.

###### setLabelNames(self, labelNames: list [ str ])

Kind: Method

Sets the label names for the detected objects. The first label name is assigned
to every detection (all detections carry label 0). When empty, no label name is
assigned. Defaults to ("Face").

Parameter ``labelNames``:
    List of label names

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Sets the maximum number of detections to keep.

Parameter ``maxDetections``:
    Maximum number of detections to keep @note Configures startup behavior. Send
    SCRFDParserConfig to inputConfig after the pipeline starts.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one SCRFDParser
head and exactly one model input; use setNNArchiveHead() to select a specific
head from a multi-head archive. The input size is derived from the model input's
declared shape and layout (NHWC or NCHW).

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be an SCRFDParser head with an
equal number of score, bbox and kps output layers.

Parameter ``head:``:
    NNArchive head to set @note A head carries no model input metadata, so the
    input size keeps its current value; configure it with setInputSize() when it
    differs from the default.

###### setNumAnchors(self, numAnchors: int)

Kind: Method

Sets the number of anchors per feature map position. Defaults to 2.

Parameter ``numAnchors``:
    Number of anchors; values of 1 or less yield one anchor per position,
    mirroring the source behavior

###### setOutputLayerNames(self, outputLayerNames: list [ str ])

Kind: Method

Sets the names of the model output layers relevant to the parser. The parser
looks up the per-stride score_{stride}, bbox_{stride} and kps_{stride} layer
names in this list.

When left empty, the list is resolved from the layer names of the first incoming
NNData.

Parameter ``outputLayerNames``:
    Names of the output layers

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Select whether the node runs on the host or device.

###### initialConfig

Kind: Property

Configuration used when the parser starts.

###### input

Kind: Property

Input NN results with SCRFD detection data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. In synchronized mode one configuration is consumed
per input frame; otherwise all queued configurations are drained and the newest
valid one is retained.

###### out

Kind: Property

Outputs ImgDetections message with the bounding boxes, labels, confidence scores
and keypoints of the detected objects.

###### depthai.beta.node.SuperAnimalParser(depthai.DeviceNode)

Kind: Class

SuperAnimalParser node. Parses the heatmap output of the SuperAnimal landmark
neural network into a dai::beta::Keypoints message.

The parser consumes a single output tensor. When the incoming NNData contains
exactly one tensor, it is selected automatically; otherwise the output layer
name must be configured explicitly or through an NNArchive head. The tensor is
read in its stored order and must be a 4D tensor of shape (batch, height, width,
numKeypoints) with a batch size of exactly 1. The number of keypoints and the
heatmap size are derived from the tensor shape; the configured number of
keypoints is informational only and does not affect the decoding. Per keypoint,
the keypoint is the position of the maximum heatmap value with a 0.5-pixel
center offset, mapped to input-image pixels and normalized by the configured
scale factor without clipping, and the keypoint's score is the heatmap value at
that position, which must lie in [0, 1]. Keypoints with a score strictly below
the score threshold are dropped and the skeleton edges are remapped to the kept
keypoints.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> SuperAnimalParser: SuperAnimalParser

Kind: Method

###### getEdges(self) -> list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]

Kind: Method

Returns the skeleton edges as pairs of keypoint indices.

###### getLabelNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the label names for the keypoints.

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

Kind: Method

Returns the number of keypoints the model detects.

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

Kind: Method

Returns the name of the model output layer to parse.

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

Kind: Method

Returns the scale factor the keypoint coordinates are scaled and normalized by.

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

Kind: Method

Returns the confidence score threshold for detected keypoints.

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

Kind: Method

Check if the node is set to run on host.

###### setEdges(self, edges: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ])

Kind: Method

Sets the skeleton edges as pairs of keypoint indices used for visualizing the
skeleton.

Example: {{0, 1}, {1, 2}, {2, 3}, {3, 0}} connects keypoint 0 to keypoint 1,
keypoint 1 to keypoint 2, etc.

Parameter ``edges``:
    Vector of keypoint index pairs

###### setLabelNames(self, labelNames: list [ str ])

Kind: Method

Sets the label names for the keypoints, indexed by keypoint index.

Parameter ``labelNames``:
    Vector of label names

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
SuperAnimalParser head; use setNNArchiveHead() to select a specific head from a
multi-head archive.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be a SuperAnimalParser head with
exactly one output layer.

Parameter ``head:``:
    NNArchive head to set

###### setNumKeypoints(self, nKeypoints: int)

Kind: Method

Sets the number of keypoints the model detects.

Informational only: the decoding derives the number of keypoints from the
heatmap tensor's last dimension.

Parameter ``nKeypoints``:
    Number of keypoints, must be greater than 0

###### setOutputLayerName(self, outputLayerName: str)

Kind: Method

Sets the name of the model output layer to parse.

When left empty, the parser selects the tensor automatically if the incoming
NNData contains exactly one tensor and fails otherwise.

Parameter ``outputLayerName``:
    Name of the output layer

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device. By default, the node runs on the
device.

###### setScaleFactor(self, scaleFactor: float)

Kind: Method

Sets the scale factor the keypoint coordinates are scaled and normalized by,
typically the model input size.

Parameter ``scaleFactor``:
    Scale factor, must be greater than 0

###### setScoreThreshold(self, threshold: float)

Kind: Method

Sets the confidence score threshold for detected keypoints. Keypoints with a
score strictly below the threshold are dropped.

Parameter ``threshold``:
    Confidence score threshold, must be between 0 and 1 @note Configures startup
    behavior. Send SuperAnimalParserConfig to inputConfig after the pipeline
    starts.

###### initialConfig

Kind: Property

Configuration used until a message is received on inputConfig.

###### input

Kind: Property

Input NN results with heatmaps data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. When synchronized, one configuration is consumed
per frame; otherwise all queued configurations are drained and the newest valid
one is used.

###### out

Kind: Property

Outputs Keypoints message with the detected animal keypoints.

###### depthai.beta.node.Stitching(depthai.DeviceNode)

Kind: Class

Stitching node. Combines N time-synced image streams into a single stitched
image.

The node runs on the host by default and can run on an RVC4 device when selected
with `setRunOnHost(false)`. Host execution requires depthai-core OpenCV support.
Inputs are fixed at build() time and synced by an internal Sync subnode that
follows the node's execution side, so host-mode sources may come from different
devices. Two independent stitching modes are available:

- `Mode::PANORAMA` wraps OpenCV's cv::Stitcher and registers the images from
their content, so no calibration is needed, but the cameras have to overlap. -
`Mode::PLANAR_PROJECTION` projects the images onto a plane given in the common
origin frame of the inputs (bird's-eye view), driven purely by the calibration
carried in the messages, so it also works without overlap. All input
transformations must have the same origin camera socket.

###### depthai.beta.node.Stitching.Mode

Kind: Class

Stitching mode.

Members:

  PANORAMA

  PLANAR_PROJECTION

###### PANORAMA: typing.ClassVar[Stitching.Mode]

Kind: Class Variable

###### PLANAR_PROJECTION: typing.ClassVar[Stitching.Mode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Stitching.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.beta.node.Stitching.CameraModel

Kind: Class

Camera projection model the panorama images are warped onto.

Members:

  SPHERICAL

  PINHOLE

  CYLINDRICAL

###### CYLINDRICAL: typing.ClassVar[Stitching.CameraModel]

Kind: Class Variable

###### PINHOLE: typing.ClassVar[Stitching.CameraModel]

Kind: Class Variable

###### SPHERICAL: typing.ClassVar[Stitching.CameraModel]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Stitching.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.beta.node.Stitching.SeamFinder

Kind: Class

Seam estimation method.

Members:

  NONE

  VORONOI

  DP_COLOR

  DP_COLOR_GRAD

  GRAPHCUT_COLOR

  GRAPHCUT_COLOR_GRAD

###### DP_COLOR: typing.ClassVar[Stitching.SeamFinder]

Kind: Class Variable

###### DP_COLOR_GRAD: typing.ClassVar[Stitching.SeamFinder]

Kind: Class Variable

###### GRAPHCUT_COLOR: typing.ClassVar[Stitching.SeamFinder]

Kind: Class Variable

###### GRAPHCUT_COLOR_GRAD: typing.ClassVar[Stitching.SeamFinder]

Kind: Class Variable

###### NONE: typing.ClassVar[Stitching.SeamFinder]

Kind: Class Variable

###### VORONOI: typing.ClassVar[Stitching.SeamFinder]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Stitching.SeamFinder]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.beta.node.Stitching.Plane

Kind: Class

A plane used by planar projection stitching.

###### __init__(self)

Kind: Method

###### normal

Kind: Property

Normal of the plane; it does not have to be of unit length.

###### normal.setter(self, arg0: depthai.Point3f)

Kind: Method

###### point

Kind: Property

A point lying on the plane.

###### point.setter(self, arg0: depthai.Point3f)

Kind: Method

###### unit

Kind: Property

Length unit of `point`.

###### unit.setter(self, arg0: depthai.LengthUnit)

Kind: Method

###### depthai.beta.node.Stitching.VirtualCamera

Kind: Class

The pinhole camera used to render a planar projection.

###### __init__(self)

Kind: Method

###### height

Kind: Property

Height of the rendered image in pixels.

###### height.setter(self, arg0: int)

Kind: Method

###### intrinsics

Kind: Property

Intrinsic matrix of the camera.

###### intrinsics.setter(self, arg0: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ])

Kind: Method

###### pose

Kind: Property

Pose of the camera with respect to the reference frame.

###### pose.setter(self, arg0: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ])

Kind: Method

###### unit

Kind: Property

Length unit of the translation part of `pose`.

###### unit.setter(self, arg0: depthai.LengthUnit)

Kind: Method

###### width

Kind: Property

Width of the rendered image in pixels.

###### width.setter(self, arg0: int)

Kind: Method

###### build(self, sources: list [ depthai.Node.Output ]) -> Stitching: Stitching

Kind: Method

###### getCameraModel(self) -> Stitching.CameraModel: Stitching.CameraModel

Kind: Method

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

Kind: Method

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

Kind: Method

###### getMaxRange(self, unit: depthai.LengthUnit = ...) -> float: float

Kind: Method

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

Kind: Method

###### getMode(self) -> Stitching.Mode: Stitching.Mode

Kind: Method

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

Kind: Method

Number of inputs the node was built with.

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

Kind: Method

###### getPlane(self) -> Stitching.Plane|None: Stitching.Plane|None

Kind: Method

###### getSeamFinder(self) -> Stitching.SeamFinder: Stitching.SeamFinder

Kind: Method

###### getView(self) -> Stitching.VirtualCamera|None: Stitching.VirtualCamera|None

Kind: Method

###### resetTransform(self)

Kind: Method

Discard the fixed transform and composition state and re-run the estimation. In
`Mode::PLANAR_PROJECTION` the projection maps, seams and exposure gains are
rebuilt from the next synced group. In non-continuous `Mode::PANORAMA`,
registration is repeated and the fixed maps, regions, seams and exposure
parameters are rebuilt.

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

Kind: Method

Check whether the node is configured to run on host.

###### setCameraModel(self, model: Stitching.CameraModel)

Kind: Method

Set the projection surface the images are warped onto. Defaults to SPHERICAL,
same as OpenCV. Only used in `Mode::PANORAMA`.

###### setContinuous(self, continuous: bool)

Kind: Method

Re-estimate the camera parameters on every frame. Only used in `Mode::PANORAMA`.

When true, registration runs for every synced group, which is slow but tolerates
cameras that move relative to each other. When false, registration evaluates
getEstimationFrames() complete candidates without composing them, selects the
one with the strongest geometrically consistent feature-match score, and then
starts emitting panoramas using that transform. Projection maps, output regions,
seam masks and exposure parameters are prepared with the first emitted panorama
and reused for subsequent groups.

###### setEstimationFrames(self, frames: int)

Kind: Method

Number of complete registration candidates evaluated before the strongest
transform is fixed. Failed registrations, oversized candidates, and candidates
that omit an input do not count. No panorama is emitted while the candidates are
being evaluated. Only used when continuous is false.

###### setMaxPanoramaSize(self, width: int, height: int)

Kind: Method

Reject panorama registrations whose projected canvas exceeds this size before
OpenCV allocates and composes it. This protects against degenerate feature
matches producing extremely large canvases. By default the size is unbounded.

###### setMaxRange(self, range: float, unit: depthai.LengthUnit = ...)

Kind: Method

Distance from a camera center beyond which the plane is not painted anymore.
Bounds the automatic view and cuts off the region around the horizon, where a
few pixels are stretched over a large part of the plane. Defaults to 10 meters.

###### setMaxViewSize(self, width: int, height: int)

Kind: Method

Upper bound on the size of the automatically computed view, in pixels. Defaults
to 1920x1920.

###### setMinIncidenceAngle(self, degrees: float)

Kind: Method

Smallest angle between a camera ray and the plane for the ray to still be used.
Rays hitting the plane at a shallower angle are heavily stretched, so they are
dropped. Defaults to 5 degrees.

###### setMode(self, mode: Stitching.Mode)

Kind: Method

Set the stitching mode. `Mode::PLANAR_PROJECTION` additionally needs a plane,
see `setPlane()`.

###### setPanoConfidenceThreshold(self, threshold: float)

Kind: Method

Confidence below which an image is dropped from the panorama

###### setPlane(self, plane: Stitching.Plane)

Kind: Method

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or an RVC4 device. By default, the node runs on
host.

###### setSeamFinder(self, finder: Stitching.SeamFinder)

Kind: Method

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

Kind: Method

Set the maximal interval between messages of a synced group.

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

###### setView(self, view: Stitching.VirtualCamera)

Kind: Method

Camera the plane is rendered from, in `Mode::PLANAR_PROJECTION`.

By default the view is computed from the content: the node intersects the field
of view of every input with the plane and places a camera looking straight at
the plane so that all of the footprints fit, at a resolution derived from the
inputs and bounded by `setMaxViewSize()`.

###### setViewAuto(self)

Kind: Method

###### inputs

Kind: Property

A map of inputs, one per stitched source. Populated by build().

###### out

Kind: Property

Stitched image, ImgFrame of type BGR888i.

###### sync

Kind: Property

Internal Sync node time-aligning the inputs.

###### depthai.beta.node.XFeatMonoParser(depthai.DeviceNode)

Kind: Class

XFeatMonoParser node. Parses the output of the XFeat model from one source (e.g.
one camera) into a dai::TrackedFeatures message with the keypoints of a
reference frame matched to the keypoints of the current frame.

The parser consumes three output tensors, assigned from an NNArchive head by
name substring or configured explicitly: the feature map (layer name containing
"feats"), read in NCHW orientation as (1, descriptor size, height, width), the
keypoint logits (name containing "keypoints"), read as (1, channels >= 64,
height, width), and the reliability heat map (name containing "heatmaps"), read
as (1, 1, height, width). Every frame is decoded into keypoints, scores and
descriptors; the strongest keypoints (up to the maximum count) with a positive
score are kept and their positions are scaled from the model input size to the
original image size.

The parser keeps a reference frame state: calling setTrigger() stores the next
decoded result as the reference after that frame's message is emitted. Frames
decoded while no reference is stored produce an empty TrackedFeatures message;
afterwards each frame's keypoints are matched to the reference by mutual
nearest-neighbor cosine similarity and emitted as feature pairs, where match i
produces the reference position with id i and age 0 followed by the matched
current position with id i and age 1. A frame whose keypoint heat map has no
candidate produces an empty message and leaves the reference and the pending
trigger untouched.

The original image size must be configured before the pipeline starts, either
through head metadata or with setOriginalSize().

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> XFeatMonoParser: XFeatMonoParser

Kind: Method

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

Kind: Method

Returns the model input image size as (width, height).

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

Kind: Method

Returns the maximum number of keypoints to keep per frame.

###### getOriginalSize(self) -> tuple [ int, int ]|None: tuple [ int, int ]|None

Kind: Method

Returns the original image size as (width, height), or std::nullopt when not
configured.

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

Kind: Method

Returns the name of the output layer containing the feature map.

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

Kind: Method

Returns the name of the output layer containing the reliability heat map.

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

Kind: Method

Returns the name of the output layer containing the keypoint logits.

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

Kind: Method

Check if the node is set to run on host.

###### setInputSize(self, width: int, height: int)

Kind: Method

Sets the model input image size the keypoint positions are decoded in.

Defaults to 640x352 like the source parser. Configuring from a full NNArchive
takes it from the head metadata or derives it from the model input's declared
shape and layout; the most recent configuration wins.

Parameter ``width``:
    Input image width, must be greater than 0

Parameter ``height``:
    Input image height, must be greater than 0

###### setMaxKeypoints(self, maxKeypoints: int)

Kind: Method

Sets the maximum number of keypoints to keep per frame.

Parameter ``maxKeypoints``:
    Maximum number of keypoints @note Configures startup behavior. Send
    XFeatMonoParserConfig to inputConfig after the pipeline starts.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
XFeatMonoParser head; use setNNArchiveHead() to select a specific head from a
multi-head archive. When the head metadata carries no input size, the input size
is derived from the model input's declared shape and layout (NHWC or NCHW).

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be an XFeatMonoParser head with
exactly three output layers; the layer whose name contains "feats" is used as
the feature map layer, the layer whose name contains "keypoints" as the keypoint
logit layer and the layer whose name contains "heatmaps" as the reliability heat
map layer. The original size, input size and maximum keypoint count are read
from the head metadata keys original_size, input_size and max_keypoints; missing
keys keep the current values.

Parameter ``head:``:
    NNArchive head to set

###### setOriginalSize(self, width: int, height: int)

Kind: Method

Sets the original image size the emitted keypoint positions are scaled to.

Must be configured before the pipeline starts, either explicitly or through head
metadata.

Parameter ``width``:
    Original image width, must be greater than 0

Parameter ``height``:
    Original image height, must be greater than 0

###### setOutputLayerFeats(self, outputLayerFeats: str)

Kind: Method

Sets the name of the output layer containing the feature map.

Parameter ``outputLayerFeats``:
    Name of the output layer containing the feature map

###### setOutputLayerHeatmaps(self, outputLayerHeatmaps: str)

Kind: Method

Sets the name of the output layer containing the reliability heat map.

Parameter ``outputLayerHeatmaps``:
    Name of the output layer containing the reliability heat map

###### setOutputLayerKeypoints(self, outputLayerKeypoints: str)

Kind: Method

Sets the name of the output layer containing the keypoint logits.

Parameter ``outputLayerKeypoints``:
    Name of the output layer containing the keypoint logits

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device. By default, the node runs on the
device.

###### setTrigger(self)

Kind: Method

Requests the reference frame update: after the next decoded frame's message is
emitted, that frame's keypoints become the reference the following frames are
matched against. May be called at any time while the pipeline runs.

###### initialConfig

Kind: Property

Configuration used until a message is received on inputConfig.

###### input

Kind: Property

Input NN results with XFeat data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. When synchronized, one configuration is consumed
per frame; otherwise all queued configurations are drained and the newest valid
one is used.

###### out

Kind: Property

Outputs TrackedFeatures message with the matched keypoint pairs.

###### depthai.beta.node.XFeatStereoParser(depthai.DeviceNode)

Kind: Class

XFeatStereoParser node. Parses the output of the XFeat model from two sources
(e.g. two cameras - left and right) into a dai::TrackedFeatures message with the
keypoints of the reference frame matched to the keypoints of the target frame.

The parser consumes three output tensors per source, assigned from an NNArchive
head by name substring or configured explicitly: the feature map (layer name
containing "feats"), read in NCHW orientation as (1, descriptor size, height,
width), the keypoint logits (name containing "keypoints"), read as (1, channels
>= 64, height, width), and the reliability heat map (name containing
"heatmaps"), read as (1, 1, height, width). Both sources share one layer, size
and keypoint-count configuration.

Each iteration consumes one reference message followed by one target message;
the node performs no synchronization beyond these two sequential blocking reads.
Both messages are decoded into keypoints, scores and descriptors; the strongest
keypoints (up to the maximum count) with a positive score are kept and their
positions are scaled from the model input size to the original image size. When
the reference (checked first) or the target frame's keypoint heat map has no
candidate, an empty TrackedFeatures message is emitted carrying that frame's
timestamps and the reference frame's sequence number. Otherwise the reference
keypoints are matched to the target keypoints by mutual nearest-neighbor cosine
similarity and emitted as feature pairs, where match i produces the reference
position with id i and age 0 followed by the matched target position with id i
and age 1; the message carries the target frame's timestamps and the reference
frame's sequence number, like the source parser.

The original image size must be configured before the pipeline starts, either
through head metadata or with setOriginalSize().

###### build(self, reference: depthai.Node.Output, target: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> XFeatStereoParser: XFeatStereoParser

Kind: Method

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

Kind: Method

Returns the model input image size as (width, height).

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

Kind: Method

Returns the maximum number of keypoints to keep per frame.

###### getOriginalSize(self) -> tuple [ int, int ]|None: tuple [ int, int ]|None

Kind: Method

Returns the original image size as (width, height), or std::nullopt when not
configured.

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

Kind: Method

Returns the name of the output layer containing the feature map.

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

Kind: Method

Returns the name of the output layer containing the reliability heat map.

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

Kind: Method

Returns the name of the output layer containing the keypoint logits.

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

Kind: Method

Check if the node is set to run on host.

###### setInputSize(self, width: int, height: int)

Kind: Method

Sets the model input image size the keypoint positions are decoded in.

Defaults to 640x352 like the source parser. Configuring from a full NNArchive
takes it from the head metadata or derives it from the model input's declared
shape and layout; the most recent configuration wins.

Parameter ``width``:
    Input image width, must be greater than 0

Parameter ``height``:
    Input image height, must be greater than 0

###### setMaxKeypoints(self, maxKeypoints: int)

Kind: Method

Sets the maximum number of keypoints to keep per frame.

Parameter ``maxKeypoints``:
    Maximum number of keypoints @note Configures startup behavior. Send
    XFeatStereoParserConfig to inputConfig after the pipeline starts.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one
XFeatStereoParser head; use setNNArchiveHead() to select a specific head from a
multi-head archive. When the head metadata carries no input size, the input size
is derived from the model input's declared shape and layout (NHWC or NCHW).

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be an XFeatStereoParser head
with exactly three output layers; the layer whose name contains "feats" is used
as the feature map layer, the layer whose name contains "keypoints" as the
keypoint logit layer and the layer whose name contains "heatmaps" as the
reliability heat map layer. The original size, input size and maximum keypoint
count are read from the head metadata keys original_size, input_size and
max_keypoints; missing keys keep the current values.

Parameter ``head:``:
    NNArchive head to set

###### setOriginalSize(self, width: int, height: int)

Kind: Method

Sets the original image size the emitted keypoint positions are scaled to.

Must be configured before the pipeline starts, either explicitly or through head
metadata.

Parameter ``width``:
    Original image width, must be greater than 0

Parameter ``height``:
    Original image height, must be greater than 0

###### setOutputLayerFeats(self, outputLayerFeats: str)

Kind: Method

Sets the name of the output layer containing the feature map.

Parameter ``outputLayerFeats``:
    Name of the output layer containing the feature map

###### setOutputLayerHeatmaps(self, outputLayerHeatmaps: str)

Kind: Method

Sets the name of the output layer containing the reliability heat map.

Parameter ``outputLayerHeatmaps``:
    Name of the output layer containing the reliability heat map

###### setOutputLayerKeypoints(self, outputLayerKeypoints: str)

Kind: Method

Sets the name of the output layer containing the keypoint logits.

Parameter ``outputLayerKeypoints``:
    Name of the output layer containing the keypoint logits

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device. By default, the node runs on the
device.

###### initialConfig

Kind: Property

Configuration used until a message is received on inputConfig.

###### inputConfig

Kind: Property

Runtime parser configuration. When synchronized, one configuration is consumed
per frame pair; otherwise all queued configurations are drained and the newest
valid one is used.

###### out

Kind: Property

Outputs TrackedFeatures message with the matched keypoint pairs.

###### referenceInput

Kind: Property

Input NN results of the reference source (e.g. the left camera) with XFeat data
to parse.

###### targetInput

Kind: Property

Input NN results of the target source (e.g. the right camera) with XFeat data to
parse.

###### depthai.beta.node.YuNetParser(depthai.DeviceNode)

Kind: Class

YuNetParser node. Parses the output of the YuNet face detection model into a
dai::ImgDetections message containing the bounding boxes, labels, confidence
scores and 5 facial keypoints per detected face, everything normalized to [0,
1]. The decoding is based on https://github.com/Kazuhito00/YuNet-ONNX-TFLite-
Sample (Apache License 2.0).

The parser consumes three output tensors: a loc tensor with 14 values per anchor
(2 bounding box center offsets, 2 bounding box size values and 5 keypoint
coordinate offset pairs), a conf tensor with 2 values per anchor (non-face and
face scores) and an iou tensor with 1 value per anchor. When a layer name is not
configured, it is auto-detected from the incoming NNData as the single layer
name starting with "loc", "conf" or "iou" respectively. The candidate scores are
sqrt(conf face score * iou score clipped to [0, 1]); candidates with a score
strictly greater than the confidence threshold are decoded against the YuNet
anchors generated from the input size, suppressed with cv2.dnn.NMSBoxes-
semantics non-maximum suppression (IoU threshold, maximum number of detections
as the top-k limit) and emitted in descending score order. Keypoint coordinates
are truncated to whole pixels before normalization, mirroring the source parser.
The anchors are cached across messages and refreshed when the input size
changes.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> YuNetParser: YuNetParser

Kind: Method

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

Kind: Method

Returns the confidence score threshold for detected faces.

###### getInputSize(self) -> tuple [ int, int ]|None: tuple [ int, int ]|None

Kind: Method

Returns the model input image size as (width, height), or std::nullopt when it
is not set.

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

Kind: Method

Returns the non-maximum suppression (IoU) threshold.

###### getLabelNames(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the label names for the detected faces.

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

Kind: Method

Returns the maximum number of detections to keep.

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

Kind: Method

Returns the name of the output layer containing the confidence predictions.

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

Kind: Method

Returns the name of the output layer containing the IoU predictions.

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

Kind: Method

Returns the name of the output layer containing the location predictions.

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

Kind: Method

Check if the node is set to run on host.

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Sets the confidence score threshold for detected faces. Detections with a score
strictly greater than the threshold are kept.

Parameter ``threshold``:
    Confidence score threshold @note Configures startup behavior. Send
    YuNetParserConfig to inputConfig after the pipeline starts.

###### setInputSize(self, width: int, height: int)

Kind: Method

Sets the model input image size the anchors are computed against and the emitted
coordinates are normalized by. Unset by default; it must be configured from an
NNArchive or with this setter before the parser processes messages.

Configuring from a full NNArchive derives it from the model input's declared
shape and layout; the most recent configuration wins.

Parameter ``width``:
    Input image width, must be greater than 0

Parameter ``height``:
    Input image height, must be greater than 0

###### setIouThreshold(self, threshold: float)

Kind: Method

Sets the non-maximum suppression (IoU) threshold. Candidates whose overlap with
a kept detection is at most the threshold (inclusive) survive suppression.

Parameter ``threshold``:
    Non-maximum suppression threshold @note Configures startup behavior. Send
    YuNetParserConfig to inputConfig after the pipeline starts.

###### setLabelNames(self, labelNames: list [ str ])

Kind: Method

Sets the label names for the detected faces. The first label name is assigned to
every detection (all detections carry label 0). When empty, no label name is
assigned. Defaults to ("Face").

Parameter ``labelNames``:
    List of label names

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Sets the maximum number of detections to keep, applied as the non-maximum
suppression top-k limit (no limit when 0 or negative).

Parameter ``maxDetections``:
    Maximum number of detections to keep @note Configures startup behavior. Send
    YuNetParserConfig to inputConfig after the pipeline starts.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. The archive must contain exactly one YuNetParser
head and exactly one model input; use setNNArchiveHead() to select a specific
head from a multi-head archive. The input size is derived from the model input's
declared shape and layout (NHWC or NCHW).

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node. The head must be a YuNetParser head; every
head output layer name must contain "loc", "conf" or "iou" and is routed to the
matching output layer name setting.

Parameter ``head:``:
    NNArchive head to set @note A head carries no model input metadata, so the
    input size keeps its current value; configure it with setInputSize() when it
    is not set yet.

###### setOutputLayerConf(self, confOutputLayerName: str)

Kind: Method

Sets the name of the output layer containing the confidence predictions. When
left empty, the name is auto-detected from the incoming NNData as the single
layer name starting with "conf".

Parameter ``confOutputLayerName``:
    Output layer name for the conf tensor

###### setOutputLayerIou(self, iouOutputLayerName: str)

Kind: Method

Sets the name of the output layer containing the IoU predictions. When left
empty, the name is auto-detected from the incoming NNData as the single layer
name starting with "iou".

Parameter ``iouOutputLayerName``:
    Output layer name for the IoU tensor

###### setOutputLayerLoc(self, locOutputLayerName: str)

Kind: Method

Sets the name of the output layer containing the location predictions. When left
empty, the name is auto-detected from the incoming NNData as the single layer
name starting with "loc".

Parameter ``locOutputLayerName``:
    Output layer name for the loc tensor

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device. By default, the node runs on the
device.

###### initialConfig

Kind: Property

Configuration used when the parser starts.

###### input

Kind: Property

Input NN results with YuNet detection data to parse.

###### inputConfig

Kind: Property

Runtime parser configuration. In synchronized mode one configuration is consumed
per input frame; otherwise all queued configurations are drained and the newest
valid one is retained.

###### out

Kind: Property

Outputs ImgDetections message with the bounding boxes, labels, confidence scores
and keypoints of the detected faces.

##### depthai.beta.Classifications(depthai.Buffer, depthai.Transformable)

Kind: Class

Classifications message. Carries classification class names and their
corresponding scores.

The classes and scores vectors are index-aligned. Parsers emit them sorted in
descending order of score, so the first entry is the most probable class.

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Returns the most probable class name.

Assumes the classes are sorted in descending order of score, which holds for
parser-emitted messages.

Throws:
    std::runtime_error if the message contains no classes.

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

Kind: Method

Returns the score of the most probable class.

Assumes the scores are sorted in descending order, which holds for parser-
emitted messages.

Throws:
    std::runtime_error if the message contains no scores.

###### getVisualizationMessage(self) -> depthai.ImgAnnotations|depthai.ImgFrame|None: depthai.ImgAnnotations|depthai.ImgFrame|None

Kind: Method

Returns an ImgAnnotations visualization with up to the top five classes and
their scores, or std::monostate when no transformation metadata is available to
derive the annotation layout from.

###### transformTo(self, target: depthai.ImgTransformation) -> Classifications: Classifications

Kind: Method

Returns a new Classifications message with the transformation metadata replaced
by the target transformation. Classification results carry no spatial data, so
classes and scores are unchanged.

Parameter ``target``:
    Target image transformation.

###### classes

Kind: Property

Class names, index-aligned with the scores vector.

###### classes.setter(self, arg0: list [ str ])

Kind: Method

###### scores

Kind: Property

Classification scores, index-aligned with the classes vector.

###### scores.setter(self, arg1: list [ float ])

Kind: Method

##### depthai.beta.Cluster

Kind: Class

Cluster of 2D points. Serialized value type contained by the Clusters message.

###### __init__(self)

Kind: Method

###### label

Kind: Property

Label of the cluster.

###### label.setter(self, arg0: int)

Kind: Method

###### points

Kind: Property

Points in the cluster.

###### points.setter(self, arg0: depthai.VectorPoint2f)

Kind: Method

##### depthai.beta.Clusters(depthai.Buffer, depthai.Transformable)

Kind: Class

Clusters message. Carries clusters of 2D points, each cluster with an integer
label.

Parsers emit clusters with sequential labels starting at 0 and point image
coordinates normalized to [0, 1]. Clusters may be empty, e.g. lanes without
enough detected points.

###### __init__(self)

Kind: Method

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

Kind: Method

###### getVisualizationMessage(self) -> depthai.ImgAnnotations|depthai.ImgFrame|None: depthai.ImgAnnotations|depthai.ImgFrame|None

Kind: Method

Returns an ImgAnnotations visualization with each cluster drawn as points in a
distinct color sampled from a rainbow colormap.

Throws:
    std::runtime_error if the message contains more than 255 clusters.

###### transformTo(self, target: depthai.ImgTransformation) -> Clusters: Clusters

Kind: Method

Returns a new Clusters message with the cluster point image coordinates remapped
from this message's transformation into the target transformation.

Parameter ``target``:
    Target image transformation.

Throws:
    std::runtime_error if this message carries no transformation metadata.

###### clusters

Kind: Property

Detected clusters of points.

###### clusters.setter(self, arg0: list [ Cluster ])

Kind: Method

##### depthai.beta.Keypoints(depthai.Buffer, depthai.Transformable)

Kind: Class

Keypoints message. Streamable wrapper around the native dai::KeypointsList,
carrying 2D or 3D keypoints together with optional skeleton edges connecting
them.

Keypoint image coordinates are normalized to [0, 1] by the keypoint parsers. 2D
keypoints carry a z coordinate of 0.

###### __init__(self)

Kind: Method

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

Kind: Method

###### getEdges(self) -> list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]

Kind: Method

Returns the skeleton edges as pairs of keypoint indices.

###### getKeypoints(self) -> list [ depthai.Keypoint ]: list [ depthai.Keypoint ]

Kind: Method

Returns the keypoints.

###### getPoints2f(self) -> depthai.VectorPoint2f: depthai.VectorPoint2f

Kind: Method

Returns the 2D image coordinates of the keypoints, dropping the z axis values.

###### getPoints3f(self) -> list [ depthai.Point3f ]: list [ depthai.Point3f ]

Kind: Method

Returns the 3D image coordinates of the keypoints. 2D keypoints carry a z
coordinate of 0.

###### getVisualizationMessage(self) -> depthai.ImgAnnotations|depthai.ImgFrame|None: depthai.ImgAnnotations|depthai.ImgFrame|None

Kind: Method

Returns an ImgAnnotations visualization with the keypoints drawn as points and
the skeleton edges drawn as lines.

###### setEdges(self, edges: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ])

Kind: Method

Sets the skeleton edges.

Parameter ``edges``:
    Pairs of keypoint indices to connect.

Throws:
    std::invalid_argument if an edge index is out of range or an edge is a self-
    loop.

###### setKeypoints(self, keypoints: list [ depthai.Keypoint ])

Kind: Method

###### transformTo(self, target: depthai.ImgTransformation) -> Keypoints: Keypoints

Kind: Method

Returns a new Keypoints message with the keypoint image coordinates remapped
from this message's transformation into the target transformation.

Parameter ``target``:
    Target image transformation.

Throws:
    std::runtime_error if this message carries no transformation metadata.

###### keypointsList

Kind: Property

Native keypoints list carrying the keypoints and the skeleton edges connecting
them.

###### keypointsList.setter(self, arg0: depthai.KeypointsList)

Kind: Method

##### depthai.beta.Line

Kind: Class

Detected line segment. Serialized value type contained by the Lines message.

###### __init__(self)

Kind: Method

###### confidence

Kind: Property

Confidence of the line, in [0, 1].

###### confidence.setter(self, arg0: float)

Kind: Method

###### endPoint

Kind: Property

End point of the line with x and y coordinate.

###### endPoint.setter(self, arg0: depthai.Point2f)

Kind: Method

###### startPoint

Kind: Property

Start point of the line with x and y coordinate.

###### startPoint.setter(self, arg0: depthai.Point2f)

Kind: Method

##### depthai.beta.Lines(depthai.Buffer, depthai.Transformable)

Kind: Class

Lines message. Carries detected line segments, each with a start point, an end
point and a confidence score.

Parsers emit line point image coordinates normalized to [0, 1] and confidences
clipped to [0, 1]. The message may carry no lines when nothing passes the
detection thresholds.

###### __init__(self)

Kind: Method

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

Kind: Method

###### getVisualizationMessage(self) -> depthai.ImgAnnotations|depthai.ImgFrame|None: depthai.ImgAnnotations|depthai.ImgFrame|None

Kind: Method

Returns an ImgAnnotations visualization with each line drawn as a two-point line
strip.

###### transformTo(self, target: depthai.ImgTransformation) -> Lines: Lines

Kind: Method

Returns a new Lines message with the line point image coordinates remapped from
this message's transformation into the target transformation.

Parameter ``target``:
    Target image transformation.

Throws:
    std::runtime_error if this message carries no transformation metadata.

###### lines

Kind: Property

Detected lines.

###### lines.setter(self, arg0: list [ Line ])

Kind: Method

##### depthai.beta.Map2D(depthai.Buffer, depthai.Transformable)

Kind: Class

Map2D message. Carries a dense 2D map of 32-bit floats, such as a depth map, a
density map or a heat map, together with image transformation metadata.

The map values are stored row-major in the buffer payload; the map dimensions
are carried in the serialized metadata.

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Returns the height of the 2D map.

###### getMap(self) -> numpy.ndarray [ numpy.float32 ]: numpy.ndarray [ numpy.float32 ]

Kind: Method

Returns a copy of the 2D map values in row-major order. If no map is set,
returns an empty vector.

###### getVisualizationMessage(self) -> depthai.ImgAnnotations|depthai.ImgFrame|None: depthai.ImgAnnotations|depthai.ImgFrame|None

Kind: Method

Returns an ImgFrame visualization of the map colored with a plasma colormap.

When any map value is below 1 the values are scaled by 255, so maps normalized
to [0, 1] use the full colormap range. The values are then truncated to 8-bit
indices into the colormap and emitted as an interleaved BGR frame.

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

Kind: Method

Returns the width of the 2D map.

###### setMap(self, map: numpy.ndarray)

Kind: Method

Sets the 2D map. The values are copied into the buffer payload.

Parameter ``map``:
    Map values in row-major order, of size width * height.

Parameter ``width``:
    Map width in values per row.

Parameter ``height``:
    Map height in rows.

Throws:
    std::runtime_error if the map size does not equal width * height.

###### transformTo(self, target: depthai.ImgTransformation) -> Map2D: Map2D

Kind: Method

Returns a new Map2D message with the transformation metadata replaced by the
target transformation. The map values and dimensions are unchanged.

Parameter ``target``:
    Target image transformation.

Throws:
    std::runtime_error if this message carries no transformation metadata.

##### depthai.beta.Prediction

Kind: Class

Single predicted value. Serialized value type contained by the Predictions
message.

###### __init__(self)

Kind: Method

###### prediction

Kind: Property

The predicted value.

###### prediction.setter(self, arg0: float)

Kind: Method

##### depthai.beta.Predictions(depthai.Buffer, depthai.Transformable)

Kind: Class

Predictions message. Carries the predicted value(s) of a regression model in the
order the model emitted them.

The message may carry no predictions when the parsed tensor is empty.

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Returns the first predicted value. Useful for single-prediction models.

Throws:
    std::runtime_error if the message contains no predictions.

###### getVisualizationMessage(self) -> depthai.ImgAnnotations|depthai.ImgFrame|None: depthai.ImgAnnotations|depthai.ImgFrame|None

Kind: Method

Returns an ImgAnnotations visualization with each predicted value drawn as text,
one below the other, or std::monostate when no transformation metadata is
available to derive the annotation layout from.

###### transformTo(self, target: depthai.ImgTransformation) -> Predictions: Predictions

Kind: Method

Returns a new Predictions message with the transformation metadata replaced by
the target transformation. Regression results carry no spatial data, so the
predictions are unchanged.

Parameter ``target``:
    Target image transformation.

###### predictions

Kind: Property

Predicted values, in the order the model emitted them.

###### predictions.setter(self, arg0: list [ Prediction ])

Kind: Method

##### depthai.beta.ClassificationSequenceParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for ClassificationSequenceParser.

###### concatenateClasses: bool

Kind: Class Variable

###### ignoredIndexes: list[int]

Kind: Class Variable

###### removeDuplicates: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Gets whether decoded class labels are concatenated.

Returns:
    Whether class labels are concatenated

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

Kind: Method

Gets the class indexes ignored while decoding the sequence.

Returns:
    Ignored class indexes

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

Kind: Method

Gets whether consecutive duplicate classes are removed.

Returns:
    Whether duplicate classes are removed

###### setConcatenateClasses(self, enabled: bool)

Kind: Method

Sets whether decoded class labels are concatenated.

Parameter ``concatenateClasses``:
    Whether class labels are concatenated

###### setIgnoredIndexes(self, indexes: list [ int ])

Kind: Method

Sets the class indexes ignored while decoding the sequence.

Parameter ``indexes``:
    Nonnegative class indexes to ignore

###### setRemoveDuplicates(self, enabled: bool)

Kind: Method

Sets whether consecutive duplicate classes are removed.

Parameter ``removeDuplicates``:
    Whether duplicate classes are removed

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

Kind: Method

Validates this configuration.

Returns:
    True if all ignored indexes are nonnegative

##### depthai.beta.FastSAMParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for FastSAMParser.

###### depthai.beta.FastSAMParserConfig.Prompt

Kind: Class

Prompt mode used to select emitted segmentation masks.

Members:

  EVERYTHING : Keep all detected instances.

  POINT : Select instances using a point and point label.

  BOUNDING_BOX : Select an instance using a bounding box.

###### BOUNDING_BOX: typing.ClassVar[FastSAMParserConfig.Prompt]

Kind: Class Variable

###### EVERYTHING: typing.ClassVar[FastSAMParserConfig.Prompt]

Kind: Class Variable

###### POINT: typing.ClassVar[FastSAMParserConfig.Prompt]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, FastSAMParserConfig.Prompt]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### boundingBox: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(4)]|None

Kind: Class Variable

###### confidenceThreshold: float

Kind: Class Variable

###### iouThreshold: float

Kind: Class Variable

###### maskConfidence: float

Kind: Class Variable

###### pointLabel: int|None

Kind: Class Variable

###### points: tuple[int, int]|None

Kind: Class Variable

###### prompt: FastSAMParserConfig.Prompt

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

###### getBoundingBox(self) -> typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(4) ]|None: typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(4) ]|None

Kind: Method

Gets the prompt bounding box.

Returns:
    Optional bounding box as {x1, y1, x2, y2}

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

Kind: Method

Gets the minimum detection confidence.

Returns:
    Confidence threshold

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

Kind: Method

Gets the intersection-over-union threshold.

Returns:
    IoU threshold

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

Kind: Method

Gets the threshold used to binarize instance masks.

Returns:
    Mask confidence threshold

###### getPointLabel(self) -> int|None: int|None

Kind: Method

Gets the prompt point label.

Returns:
    Optional point label

###### getPoints(self) -> tuple [ int, int ]|None: tuple [ int, int ]|None

Kind: Method

Gets the prompt point.

Returns:
    Optional prompt point as (x, y)

###### getPrompt(self) -> FastSAMParserConfig.Prompt: FastSAMParserConfig.Prompt

Kind: Method

Gets the prompt mode.

Returns:
    Prompt mode

###### setBoundingBox(self, boundingBox: typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(4) ])

Kind: Method

Sets the prompt bounding box.

Parameter ``boundingBox``:
    Bounding box as {x1, y1, x2, y2}, with ordered coordinates and positive
    x2/y2

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Sets the minimum detection confidence.

Parameter ``threshold``:
    Confidence threshold in the range [0, 1]

###### setIouThreshold(self, threshold: float)

Kind: Method

Sets the intersection-over-union threshold used by non-maximum suppression.

Parameter ``threshold``:
    IoU threshold in the range [0, 1]

###### setMaskConfidence(self, threshold: float)

Kind: Method

Sets the threshold used to binarize instance masks.

Parameter ``threshold``:
    Mask confidence threshold in the range [0, 1]

###### setPointLabel(self, label: int)

Kind: Method

Sets the prompt point label.

Parameter ``label``:
    Point label, 0 for negative or 1 for positive

###### setPoints(self, x: int, y: int)

Kind: Method

Sets the prompt point.

Parameter ``x``:
    Point x coordinate

Parameter ``y``:
    Point y coordinate

###### setPrompt(self, prompt: FastSAMParserConfig.Prompt)

Kind: Method

Sets the prompt mode. Required point or bounding-box data must already be
present.

Parameter ``prompt``:
    Prompt mode

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

Kind: Method

Validates thresholds, prompt payload, point label, and bounding-box coordinates.

Returns:
    True if the complete configuration is valid

##### depthai.beta.HRNetParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for HRNetParser.

###### scoreThreshold: float

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Gets the minimum keypoint score.

Returns:
    Score threshold

###### setScoreThreshold(self, threshold: float)

Kind: Method

Sets the minimum keypoint score.

Parameter ``threshold``:
    Score threshold in the range [0, 1]

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

Kind: Method

Validates this configuration.

Returns:
    True if the score threshold is in the range [0, 1]

##### depthai.beta.MLSDParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for MLSDParser.

###### distanceThreshold: float

Kind: Class Variable

###### scoreThreshold: float

Kind: Class Variable

###### topK: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Gets the distance threshold used while decoding line segments.

Returns:
    Distance threshold

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

Kind: Method

Gets the minimum candidate score.

Returns:
    Score threshold

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

Kind: Method

Gets the number of highest-scoring candidates retained for decoding.

Returns:
    Candidate count

###### setDistanceThreshold(self, threshold: float)

Kind: Method

Sets the distance threshold used while decoding line segments.

Parameter ``threshold``:
    Nonnegative distance threshold

###### setScoreThreshold(self, threshold: float)

Kind: Method

Sets the minimum candidate score.

Parameter ``threshold``:
    Score threshold in the range [0, 1]

###### setTopK(self, topK: int)

Kind: Method

Sets the number of highest-scoring candidates retained for decoding.

Parameter ``topK``:
    Positive candidate count

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

Kind: Method

Validates this configuration.

Returns:
    True if topK is positive, the score threshold is in [0, 1], and the distance
    threshold is nonnegative

##### depthai.beta.MPPalmDetectionParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for MPPalmDetectionParser.

###### confidenceThreshold: float

Kind: Class Variable

###### iouThreshold: float

Kind: Class Variable

###### maxDetections: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Gets the minimum detection confidence.

Returns:
    Confidence threshold

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

Kind: Method

Gets the intersection-over-union threshold.

Returns:
    IoU threshold

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

Kind: Method

Gets the maximum number of emitted detections.

Returns:
    Maximum detection count

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Sets the minimum detection confidence.

Parameter ``threshold``:
    Confidence threshold in the range [0, 1]

###### setIouThreshold(self, threshold: float)

Kind: Method

Sets the intersection-over-union threshold used by non-maximum suppression.

Parameter ``threshold``:
    IoU threshold in the range [0, 1]

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Sets the maximum number of emitted detections.

Parameter ``maxDetections``:
    Positive maximum detection count

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

Kind: Method

Validates this configuration.

Returns:
    True if both thresholds are in [0, 1] and maxDetections is positive

##### depthai.beta.MapOutputParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for MapOutputParser.

###### minMaxScaling: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Gets whether output values are scaled using their minimum and maximum.

Returns:
    Whether min-max scaling is enabled

###### setMinMaxScaling(self, enabled: bool)

Kind: Method

Sets whether output values are scaled using their minimum and maximum.

Parameter ``enabled``:
    Whether min-max scaling is enabled

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

Kind: Method

Validates this configuration.

Returns:
    True because every value of the boolean option is valid

##### depthai.beta.PPTextDetectionParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for PPTextDetectionParser.

###### confidenceThreshold: float

Kind: Class Variable

###### maskThreshold: float

Kind: Class Variable

###### maxDetections: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Gets the minimum detection confidence.

Returns:
    Confidence threshold

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

Kind: Method

Gets the threshold applied to the text probability mask.

Returns:
    Mask threshold

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

Kind: Method

Gets the maximum number of emitted detections.

Returns:
    Maximum detection count

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Sets the minimum detection confidence.

Parameter ``threshold``:
    Confidence threshold in the range [0, 1]

###### setMaskThreshold(self, threshold: float)

Kind: Method

Sets the threshold applied to the text probability mask.

Parameter ``threshold``:
    Mask threshold in the range [0, 1]

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Sets the maximum number of emitted detections.

Parameter ``maxDetections``:
    Positive maximum detection count

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

Kind: Method

Validates this configuration.

Returns:
    True if both thresholds are in [0, 1] and maxDetections is positive

##### depthai.beta.RFDETRParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for RFDETRParser.

###### confidenceThreshold: float

Kind: Class Variable

###### maskConfidence: float

Kind: Class Variable

###### maxDetections: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Get the minimum detection confidence.

Returns:
    Confidence threshold in the inclusive range [0, 1]

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

Kind: Method

Get the minimum per-pixel confidence used when creating instance masks.

Returns:
    Mask confidence threshold in the inclusive range [0, 1]

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

Kind: Method

Get the maximum number of detections to retain.

Returns:
    Maximum detection count

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Set the minimum detection confidence.

Parameter ``threshold``:
    Confidence threshold in the inclusive range [0, 1]

###### setMaskConfidence(self, threshold: float)

Kind: Method

Set the minimum per-pixel confidence used when creating instance masks.

Parameter ``threshold``:
    Mask confidence threshold in the inclusive range [0, 1]

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Set the maximum number of detections to retain.

Parameter ``maxDetections``:
    Maximum detection count, which must be positive

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

Kind: Method

Check whether all configuration values are valid.

Returns:
    True when both confidence thresholds are in the inclusive range [0, 1] and
    maxDetections is positive

##### depthai.beta.SCRFDParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for SCRFDParser.

###### confidenceThreshold: float

Kind: Class Variable

###### iouThreshold: float

Kind: Class Variable

###### maxDetections: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Get the minimum detection confidence.

Returns:
    Confidence threshold in the inclusive range [0, 1]

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

Kind: Method

Get the non-maximum suppression intersection-over-union threshold.

Returns:
    Intersection-over-union threshold in the inclusive range [0, 1]

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

Kind: Method

Get the maximum number of post-suppression detections to retain.

Returns:
    Maximum post-suppression detection count

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Set the minimum detection confidence.

Parameter ``threshold``:
    Confidence threshold in the inclusive range [0, 1]

###### setIouThreshold(self, threshold: float)

Kind: Method

Set the non-maximum suppression intersection-over-union threshold.

Parameter ``threshold``:
    Intersection-over-union threshold in the inclusive range [0, 1]

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Set the maximum number of post-suppression detections to retain.

Parameter ``maxDetections``:
    Maximum detection count, which must be positive

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

Kind: Method

Check whether all configuration values are valid.

Returns:
    True when both thresholds are in the inclusive range [0, 1] and
    maxDetections is positive

##### depthai.beta.SuperAnimalParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for SuperAnimalParser.

###### scoreThreshold: float

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Get the minimum keypoint score.

Returns:
    Score threshold in the inclusive range [0, 1]

###### setScoreThreshold(self, threshold: float)

Kind: Method

Set the minimum keypoint score.

Parameter ``threshold``:
    Score threshold in the inclusive range [0, 1]

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

Kind: Method

Check whether all configuration values are valid.

Returns:
    True when scoreThreshold is in the inclusive range [0, 1]

##### depthai.beta.XFeatMonoParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for XFeatMonoParser.

###### maxKeypoints: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Get the maximum number of keypoints to retain per frame.

Returns:
    Maximum keypoint count

###### setMaxKeypoints(self, maxKeypoints: int)

Kind: Method

Set the maximum number of keypoints to retain per frame.

Parameter ``maxKeypoints``:
    Maximum keypoint count, which must be positive

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

Kind: Method

Check whether all configuration values are valid.

Returns:
    True when maxKeypoints is positive

##### depthai.beta.XFeatStereoParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for XFeatStereoParser.

###### maxKeypoints: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Get the maximum number of keypoints to retain from each frame in the stereo
pair.

Returns:
    Maximum keypoint count applied to each frame

###### setMaxKeypoints(self, maxKeypoints: int)

Kind: Method

Set the maximum number of keypoints to retain from each frame in the stereo
pair.

Parameter ``maxKeypoints``:
    Maximum keypoint count, which must be positive

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

Kind: Method

Check whether all configuration values are valid.

Returns:
    True when maxKeypoints is positive

##### depthai.beta.YuNetParserConfig(depthai.Buffer)

Kind: Class

Runtime configuration for YuNetParser.

###### confidenceThreshold: float

Kind: Class Variable

###### iouThreshold: float

Kind: Class Variable

###### maxDetections: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Get the minimum face detection confidence.

Returns:
    Confidence threshold in the inclusive range [0, 1]

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

Kind: Method

Get the non-maximum suppression intersection-over-union threshold.

Returns:
    Intersection-over-union threshold in the inclusive range [0, 1]

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

Kind: Method

Get the maximum number of detections to retain.

Returns:
    Maximum detection count; a value less than or equal to zero means unlimited

###### setConfidenceThreshold(self, threshold: float)

Kind: Method

Set the minimum face detection confidence.

Parameter ``threshold``:
    Confidence threshold in the inclusive range [0, 1]

###### setIouThreshold(self, threshold: float)

Kind: Method

Set the non-maximum suppression intersection-over-union threshold.

Parameter ``threshold``:
    Intersection-over-union threshold in the inclusive range [0, 1]

###### setMaxDetections(self, maxDetections: int)

Kind: Method

Set the maximum number of detections to retain.

Parameter ``maxDetections``:
    Maximum detection count; a value less than or equal to zero means unlimited

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

Kind: Method

Check whether all configuration values are valid.

Returns:
    True when confidenceThreshold and iouThreshold are in the inclusive range
    [0, 1]; maxDetections may have any integer value

##### depthai.beta.ClassificationSequenceParserProperties

Kind: Class

###### classes: list[str]

Kind: Class Variable

###### initialConfig: ClassificationSequenceParserConfig

Kind: Class Variable

###### isSoftmax: bool

Kind: Class Variable

###### nClasses: int

Kind: Class Variable

###### outputLayerName: str

Kind: Class Variable

##### depthai.beta.FastSAMParserProperties

Kind: Class

###### initialConfig: FastSAMParserConfig

Kind: Class Variable

###### maskOutputs: list[str]

Kind: Class Variable

###### numClasses: int

Kind: Class Variable

###### protosOutput: str

Kind: Class Variable

###### yoloOutputs: list[str]

Kind: Class Variable

##### depthai.beta.HRNetParserProperties

Kind: Class

###### edges: list[typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(2)]]

Kind: Class Variable

###### initialConfig: HRNetParserConfig

Kind: Class Variable

###### labelNames: list[str]

Kind: Class Variable

###### outputLayerName: str

Kind: Class Variable

##### depthai.beta.ImgDetectionsFilterConfig(depthai.Buffer)

Kind: Class

###### confidenceThreshold: float|None

Kind: Class Variable

###### firstK: int|None

Kind: Class Variable

###### labelsToKeep: list[int]|None

Kind: Class Variable

###### labelsToReject: list[int]|None

Kind: Class Variable

###### minArea: float|None

Kind: Class Variable

###### nmsConfidenceThreshold: float

Kind: Class Variable

###### nmsDisabled: bool

Kind: Class Variable

###### nmsIouThreshold: float

Kind: Class Variable

###### sortDescending: bool

Kind: Class Variable

###### sortingDisabled: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

##### depthai.beta.ImgDetectionsFilterProperties

Kind: Class

###### initialConfig: ImgDetectionsFilterConfig

Kind: Class Variable

##### depthai.beta.MapOutputParserProperties

Kind: Class

###### initialConfig: MapOutputParserConfig

Kind: Class Variable

###### outputLayerName: str

Kind: Class Variable

##### depthai.beta.MLSDParserProperties

Kind: Class

###### initialConfig: MLSDParserConfig

Kind: Class Variable

###### inputSize: tuple[int, int]

Kind: Class Variable

###### outputLayerHeat: str

Kind: Class Variable

###### outputLayerTPMap: str

Kind: Class Variable

##### depthai.beta.MPPalmDetectionParserProperties

Kind: Class

###### initialConfig: MPPalmDetectionParserConfig

Kind: Class Variable

###### labelNames: list[str]

Kind: Class Variable

###### outputLayerNames: list[str]

Kind: Class Variable

###### scale: int

Kind: Class Variable

##### depthai.beta.PPTextDetectionParserProperties

Kind: Class

###### initialConfig: PPTextDetectionParserConfig

Kind: Class Variable

###### outputLayerName: str

Kind: Class Variable

##### depthai.beta.RFDETRParserProperties

Kind: Class

###### initialConfig: RFDETRParserConfig

Kind: Class Variable

###### inputSize: tuple[int, int]|None

Kind: Class Variable

###### labelNames: list[str]

Kind: Class Variable

###### outputLayerNames: list[str]

Kind: Class Variable

##### depthai.beta.SCRFDParserProperties

Kind: Class

###### featStrideFpn: list[int]

Kind: Class Variable

###### initialConfig: SCRFDParserConfig

Kind: Class Variable

###### inputSize: tuple[int, int]

Kind: Class Variable

###### labelNames: list[str]

Kind: Class Variable

###### numAnchors: int

Kind: Class Variable

###### outputLayerNames: list[str]

Kind: Class Variable

##### depthai.beta.SuperAnimalParserProperties

Kind: Class

###### edges: list[typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(2)]]

Kind: Class Variable

###### initialConfig: SuperAnimalParserConfig

Kind: Class Variable

###### labelNames: list[str]

Kind: Class Variable

###### nKeypoints: int

Kind: Class Variable

###### outputLayerName: str

Kind: Class Variable

###### scaleFactor: float

Kind: Class Variable

##### depthai.beta.StitchingProperties

Kind: Class

Serializable properties for the Stitching node.

###### cameraModel: node.Stitching.CameraModel

Kind: Class Variable

###### continuous: bool

Kind: Class Variable

###### estimationFrames: int

Kind: Class Variable

###### maxPanoramaHeight: int

Kind: Class Variable

###### maxPanoramaWidth: int

Kind: Class Variable

###### maxRange: float

Kind: Class Variable

###### maxViewHeight: int

Kind: Class Variable

###### maxViewWidth: int

Kind: Class Variable

###### minIncidenceAngle: float

Kind: Class Variable

###### mode: node.Stitching.Mode

Kind: Class Variable

###### panoConfidenceThreshold: float

Kind: Class Variable

###### plane: node.Stitching.Plane|None

Kind: Class Variable

###### seamFinder: node.Stitching.SeamFinder

Kind: Class Variable

###### view: node.Stitching.VirtualCamera|None

Kind: Class Variable

##### depthai.beta.XFeatMonoParserProperties

Kind: Class

###### initialConfig: XFeatMonoParserConfig

Kind: Class Variable

###### inputSize: tuple[int, int]

Kind: Class Variable

###### originalSize: tuple[int, int]|None

Kind: Class Variable

###### outputLayerFeats: str

Kind: Class Variable

###### outputLayerHeatmaps: str

Kind: Class Variable

###### outputLayerKeypoints: str

Kind: Class Variable

##### depthai.beta.XFeatStereoParserProperties

Kind: Class

###### initialConfig: XFeatStereoParserConfig

Kind: Class Variable

###### inputSize: tuple[int, int]

Kind: Class Variable

###### originalSize: tuple[int, int]|None

Kind: Class Variable

###### outputLayerFeats: str

Kind: Class Variable

###### outputLayerHeatmaps: str

Kind: Class Variable

###### outputLayerKeypoints: str

Kind: Class Variable

##### depthai.beta.YuNetParserProperties

Kind: Class

###### confOutputLayerName: str

Kind: Class Variable

###### initialConfig: YuNetParserConfig

Kind: Class Variable

###### inputSize: tuple[int, int]|None

Kind: Class Variable

###### iouOutputLayerName: str

Kind: Class Variable

###### labelNames: list[str]

Kind: Class Variable

###### locOutputLayerName: str

Kind: Class Variable

#### filters

Kind: Package

Parameters for filters

##### params

Kind: Module

Parameters for filters

###### depthai.filters.params.MedianFilter

Kind: Class

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.filters.params.SpatialFilter

Kind: Class

###### __init__(self)

Kind: Method

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

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: float)

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: int)

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: int)

Kind: Method

###### numIterations

Kind: Property

Number of iterations over the image in both horizontal and vertical direction.

###### numIterations.setter(self, arg0: int)

Kind: Method

###### depthai.filters.params.TemporalFilter

Kind: Class

Temporal filtering with optional persistence.

###### depthai.filters.params.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[TemporalFilter.PersistencyMode]

Kind: Class Variable

###### PERSISTENCY_OFF: typing.ClassVar[TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_2: typing.ClassVar[TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_5: typing.ClassVar[TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_8: typing.ClassVar[TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_3: typing.ClassVar[TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_4: typing.ClassVar[TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_OUT_OF_8: typing.ClassVar[TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_8_OUT_OF_8: typing.ClassVar[TemporalFilter.PersistencyMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self)

Kind: Method

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

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: float)

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: int)

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: ...)

Kind: Method

###### depthai.filters.params.ThresholdFilter

Kind: Class

Threshold filtering. Filters out distances outside of a given interval.

###### __init__(self)

Kind: Method

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

Kind: Method

###### maxRange

Kind: Property

Maximum range in depth units. Depth values over this value are invalidated.

###### maxRange.setter(self, arg0: int)

Kind: Method

###### minRange

Kind: Property

Minimum range in depth units. Depth values under this value are invalidated.

###### minRange.setter(self, arg0: int)

Kind: Method

###### depthai.filters.params.SpeckleFilter

Kind: Class

###### __init__(self)

Kind: Method

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

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: int)

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: int)

Kind: Method

#### modelzoo

Kind: Module

Model Zoo

##### getDefaultCachePath() -> os.PathLike: os.PathLike

Kind: Function

Get the default cache path (where models are cached)

##### getDefaultModelsPath() -> os.PathLike: os.PathLike

Kind: Function

Get the default models path (where yaml files are stored)

##### getDownloadEndpoint() -> str: str

Kind: Function

Get the download endpoint (for model querying)

##### getHealthEndpoint() -> str: str

Kind: Function

Get the health endpoint (for internet check)

##### setDefaultCachePath(path: os.PathLike)

Kind: Function

Set the default cache path (where models are cached)

Parameter ``path``:

##### setDefaultModelsPath(path: os.PathLike)

Kind: Function

Set the default models path (where yaml files are stored)

Parameter ``path``:

##### setDownloadEndpoint(endpoint: str)

Kind: Function

Set the download endpoint (for model querying)

Parameter ``endpoint``:

##### setHealthEndpoint(endpoint: str)

Kind: Function

Set the health endpoint (for internet check)

Parameter ``endpoint``:

#### nn_archive

Kind: Package

##### v1

Kind: Module

###### depthai.nn_archive.v1.Config

Kind: Class

The main class of the multi/single-stage model config scheme (multi- stage
models consists of interconnected single-stage models).

@type config_version: str @ivar config_version: String representing config
schema version in format 'x.y' where x is major version and y is minor version
@type model: Model @ivar model: A Model object representing the neural network
used in the archive.

###### __init__(self)

Kind: Method

###### configVersion

Kind: Property

String representing config schema version in format 'x.y' where x is major
version and y is minor version.

###### configVersion.setter(self, arg0: str|None)

Kind: Method

###### model

Kind: Property

A Model object representing the neural network used in the archive.

###### model.setter(self, arg0: Model)

Kind: Method

###### depthai.nn_archive.v1.Model

Kind: Class

A Model object representing the neural network used in the archive.

Class defining a single-stage model config scheme.

@type metadata: Metadata @ivar metadata: Metadata object defining the model
metadata. @type inputs: list @ivar inputs: List of Input objects defining the
model inputs. @type outputs: list @ivar outputs: List of Output objects defining
the model outputs. @type heads: list @ivar heads: List of Head objects defining
the model heads. If not defined, we assume a raw output.

###### __init__(self)

Kind: Method

###### heads

Kind: Property

List of Head objects defining the model heads. If not defined, we assume a raw
output.

###### heads.setter(self, arg0: list [ Head ]|None)

Kind: Method

###### inputs

Kind: Property

List of Input objects defining the model inputs.

###### inputs.setter(self, arg0: list [ Input ])

Kind: Method

###### metadata

Kind: Property

Metadata object defining the model metadata.

###### metadata.setter(self, arg0: MetadataClass)

Kind: Method

###### outputs

Kind: Property

List of Output objects defining the model outputs.

###### outputs.setter(self, arg0: list [ Output ])

Kind: Method

###### depthai.nn_archive.v1.Head

Kind: Class

Represents head of a model.

@type name: str | None @ivar name: Optional name of the head. @type parser: str
@ivar parser: Name of the parser responsible for processing the models output.
@type outputs: List[str] | None @ivar outputs: Specify which outputs are fed
into the parser. If None, all outputs are fed. @type metadata: C{HeadMetadata} |
C{HeadObjectDetectionMetadata} | C{HeadClassificationMetadata} |
C{HeadObjectDetectionSSDMetadata} | C{HeadSegmentationMetadata} |
C{HeadYOLOMetadata} @ivar metadata: Metadata of the parser.

###### __init__(self)

Kind: Method

###### metadata

Kind: Property

Metadata of the parser.

###### metadata.setter(self, arg0: Metadata)

Kind: Method

###### name

Kind: Property

Optional name of the head.

###### name.setter(self, arg0: str|None)

Kind: Method

###### outputs

Kind: Property

Specify which outputs are fed into the parser. If None, all outputs are fed.

###### outputs.setter(self, arg0: list [ str ]|None)

Kind: Method

###### parser

Kind: Property

Name of the parser responsible for processing the models output.

###### parser.setter(self, arg0: str)

Kind: Method

###### depthai.nn_archive.v1.DataType

Kind: Class

Data type of the input data (e.g., 'float32').

Represents all existing data types used in i/o streams of the model.

Precision of the model weights.

Data type of the output data (e.g., 'float32').

Members:

  BOOLEAN

  FLOAT16

  FLOAT32

  FLOAT64

  INT4

  INT8

  INT16

  INT32

  INT64

  UINT4

  UINT8

  UINT16

  UINT32

  UINT64

  STRING

###### BOOLEAN: typing.ClassVar[DataType]

Kind: Class Variable

###### FLOAT16: typing.ClassVar[DataType]

Kind: Class Variable

###### FLOAT32: typing.ClassVar[DataType]

Kind: Class Variable

###### FLOAT64: typing.ClassVar[DataType]

Kind: Class Variable

###### INT16: typing.ClassVar[DataType]

Kind: Class Variable

###### INT32: typing.ClassVar[DataType]

Kind: Class Variable

###### INT4: typing.ClassVar[DataType]

Kind: Class Variable

###### INT64: typing.ClassVar[DataType]

Kind: Class Variable

###### INT8: typing.ClassVar[DataType]

Kind: Class Variable

###### STRING: typing.ClassVar[DataType]

Kind: Class Variable

###### UINT16: typing.ClassVar[DataType]

Kind: Class Variable

###### UINT32: typing.ClassVar[DataType]

Kind: Class Variable

###### UINT4: typing.ClassVar[DataType]

Kind: Class Variable

###### UINT64: typing.ClassVar[DataType]

Kind: Class Variable

###### UINT8: typing.ClassVar[DataType]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.nn_archive.v1.InputType

Kind: Class

Members:

  IMAGE

  RAW

###### IMAGE: typing.ClassVar[InputType]

Kind: Class Variable

###### RAW: typing.ClassVar[InputType]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, InputType]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.nn_archive.v1.Input

Kind: Class

Represents input stream of a model.

@type name: str @ivar name: Name of the input layer.

@type dtype: DataType @ivar dtype: Data type of the input data (e.g.,
'float32').

@type input_type: InputType @ivar input_type: Type of input data (e.g.,
'image').

@type shape: list @ivar shape: Shape of the input data as a list of integers
(e.g. [H,W], [H,W,C], [N,H,W,C], ...).

@type layout: str @ivar layout: Lettercode interpretation of the input data
dimensions (e.g., 'NCHW').

@type preprocessing: PreprocessingBlock @ivar preprocessing: Preprocessing steps
applied to the input data.

###### __init__(self)

Kind: Method

###### dtype

Kind: Property

Data type of the input data (e.g., 'float32').

###### dtype.setter(self, arg0: DataType)

Kind: Method

###### inputType

Kind: Property

Type of input data (e.g., 'image').

###### inputType.setter(self, arg0: InputType)

Kind: Method

###### layout

Kind: Property

Lettercode interpretation of the input data dimensions (e.g., 'NCHW')

###### layout.setter(self, arg0: str|None)

Kind: Method

###### name

Kind: Property

Name of the input layer.

###### name.setter(self, arg0: str)

Kind: Method

###### preprocessing

Kind: Property

Preprocessing steps applied to the input data.

###### preprocessing.setter(self, arg0: PreprocessingBlock)

Kind: Method

###### shape

Kind: Property

Shape of the input data as a list of integers (e.g. [H,W], [H,W,C], [N,H,W,C],
...).

###### shape.setter(self, arg0: list [ int ])

Kind: Method

###### depthai.nn_archive.v1.Metadata

Kind: Class

Metadata of the parser.

Metadata for the object detection head.

@type classes: list @ivar classes: Names of object classes detected by the
model. @type n_classes: int @ivar n_classes: Number of object classes detected
by the model. @type iou_threshold: float @ivar iou_threshold: Non-max supression
threshold limiting boxes intersection. @type conf_threshold: float @ivar
conf_threshold: Confidence score threshold above which a detected object is
considered valid. @type max_det: int @ivar max_det: Maximum detections per
image. @type anchors: list @ivar anchors: Predefined bounding boxes of different
sizes and aspect ratios. The innermost lists are length 2 tuples of box sizes.
The middle lists are anchors for each output. The outmost lists go from smallest
to largest output.

Metadata for the classification head.

@type classes: list @ivar classes: Names of object classes classified by the
model. @type n_classes: int @ivar n_classes: Number of object classes classified
by the model. @type is_softmax: bool @ivar is_softmax: True, if output is
already softmaxed

Metadata for the SSD object detection head.

@type boxes_outputs: str @ivar boxes_outputs: Output name corresponding to
predicted bounding box coordinates. @type scores_outputs: str @ivar
scores_outputs: Output name corresponding to predicted bounding box confidence
scores.

Metadata for the segmentation head.

@type classes: list @ivar classes: Names of object classes segmented by the
model. @type n_classes: int @ivar n_classes: Number of object classes segmented
by the model. @type is_softmax: bool @ivar is_softmax: True, if output is
already softmaxed @type background_class: bool | None @ivar background_class:
True, if class index 0 is treated as background.

Metadata for the YOLO head.

@type yolo_outputs: list @ivar yolo_outputs: A list of output names for each of
the different YOLO grid sizes. @type mask_outputs: list | None @ivar
mask_outputs: A list of output names for each mask output. @type protos_outputs:
str | None @ivar protos_outputs: Output name for the protos. @type
keypoints_outputs: list | None @ivar keypoints_outputs: A list of output names
for the keypoints. @type angles_outputs: list | None @ivar angles_outputs: A
list of output names for the angles. @type subtype: str @ivar subtype: YOLO
family decoding subtype (e.g. yolov5, yolov6, yolov7 etc.) @type n_prototypes:
int | None @ivar n_prototypes: Number of prototypes per bbox in YOLO instance
segmnetation. @type n_keypoints: int | None @ivar n_keypoints: Number of
keypoints per bbox in YOLO keypoint detection. @type is_softmax: bool | None
@ivar is_softmax: True, if output is already softmaxed in YOLO instance
segmentation @type strides: list | None @ivar strides: Strides for each YOLO
output.

Metadata for the basic head. It allows you to specify additional fields.

@type postprocessor_path: str | None @ivar postprocessor_path: Path to the
postprocessor.

###### __init__(self)

Kind: Method

###### anchors

Kind: Property

Predefined bounding boxes of different sizes and aspect ratios. The innermost
lists are length 2 tuples of box sizes. The middle lists are anchors for each
output. The outmost lists go from smallest to largest output.

###### anchors.setter(self, arg0: list [ list [ list [ float ] ] ]|None)

Kind: Method

###### anglesOutputs

Kind: Property

A list of output names for the angles.

###### anglesOutputs.setter(self, arg0: list [ str ]|None)

Kind: Method

###### backgroundClass

Kind: Property

True, if class index 0 is treated as background.

###### backgroundClass.setter(self, arg0: bool|None)

Kind: Method

###### boxesOutputs

Kind: Property

Output name corresponding to predicted bounding box coordinates.

###### boxesOutputs.setter(self, arg0: str|None)

Kind: Method

###### classes

Kind: Property

Names of object classes recognized by the model.

###### classes.setter(self, arg0: list [ str ]|None)

Kind: Method

###### confThreshold

Kind: Property

Confidence score threshold above which a detected object is considered valid.

###### confThreshold.setter(self, arg0: float|None)

Kind: Method

###### extraParams

Kind: Property

Additional parameters

###### extraParams.setter(self, arg0: json)

Kind: Method

###### iouThreshold

Kind: Property

Non-max supression threshold limiting boxes intersection.

###### iouThreshold.setter(self, arg0: float|None)

Kind: Method

###### isSoftmax

Kind: Property

True, if output is already softmaxed.

True, if output is already softmaxed in YOLO instance segmentation.

###### isSoftmax.setter(self, arg0: bool|None)

Kind: Method

###### keypointsOutputs

Kind: Property

A list of output names for the keypoints.

###### keypointsOutputs.setter(self, arg0: list [ str ]|None)

Kind: Method

###### maskOutputs

Kind: Property

A list of output names for each mask output.

###### maskOutputs.setter(self, arg0: list [ str ]|None)

Kind: Method

###### maxDet

Kind: Property

Maximum detections per image.

###### maxDet.setter(self, arg0: int|None)

Kind: Method

###### nClasses

Kind: Property

Number of object classes recognized by the model.

###### nClasses.setter(self, arg0: int|None)

Kind: Method

###### nKeypoints

Kind: Property

Number of keypoints per bbox in YOLO keypoint detection.

###### nKeypoints.setter(self, arg0: int|None)

Kind: Method

###### nPrototypes

Kind: Property

Number of prototypes per bbox in YOLO instance segmnetation.

###### nPrototypes.setter(self, arg0: int|None)

Kind: Method

###### postprocessorPath

Kind: Property

Path to the postprocessor.

###### postprocessorPath.setter(self, arg0: str|None)

Kind: Method

###### protosOutputs

Kind: Property

Output name for the protos.

###### protosOutputs.setter(self, arg0: str|None)

Kind: Method

###### scoresOutputs

Kind: Property

Output name corresponding to predicted bounding box confidence scores.

###### scoresOutputs.setter(self, arg0: str|None)

Kind: Method

###### strides

Kind: Property

Strides for each YOLO output.

###### strides.setter(self, arg0: list [ int ]|None)

Kind: Method

###### subtype

Kind: Property

YOLO family decoding subtype (e.g. yolov5, yolov6, yolov7 etc.).

###### subtype.setter(self, arg0: str|None)

Kind: Method

###### yoloOutputs

Kind: Property

A list of output names for each of the different YOLO grid sizes.

###### yoloOutputs.setter(self, arg0: list [ str ]|None)

Kind: Method

###### depthai.nn_archive.v1.MetadataClass

Kind: Class

Metadata object defining the model metadata.

Represents metadata of a model.

@type name: str @ivar name: Name of the model. @type path: str @ivar path:
Relative path to the model executable.

###### __init__(self)

Kind: Method

###### name

Kind: Property

Name of the model.

###### name.setter(self, arg0: str)

Kind: Method

###### path

Kind: Property

Relative path to the model executable.

###### path.setter(self, arg0: str)

Kind: Method

###### precision

Kind: Property

Precision of the model weights.

###### precision.setter(self, arg0: DataType|None)

Kind: Method

###### depthai.nn_archive.v1.Output

Kind: Class

Represents output stream of a model.

@type name: str @ivar name: Name of the output layer. @type dtype: DataType
@ivar dtype: Data type of the output data (e.g., 'float32').

###### __init__(self)

Kind: Method

###### dtype

Kind: Property

Data type of the output data (e.g., 'float32').

###### dtype.setter(self, arg0: DataType)

Kind: Method

###### layout

Kind: Property

List of letters describing the output layout (e.g. 'NC').

###### layout.setter(self, arg0: str|None)

Kind: Method

###### name

Kind: Property

Name of the output layer.

###### name.setter(self, arg0: str)

Kind: Method

###### shape

Kind: Property

Shape of the output as a list of integers (e.g. [1, 1000]).

###### shape.setter(self, arg0: list [ int ]|None)

Kind: Method

###### depthai.nn_archive.v1.PreprocessingBlock

Kind: Class

Preprocessing steps applied to the input data.

Represents preprocessing operations applied to the input data.

@type mean: list | None @ivar mean: Mean values in channel order. Order depends
on the order in which the model was trained on. @type scale: list | None @ivar
scale: Standardization values in channel order. Order depends on the order in
which the model was trained on. @type reverse_channels: bool | None @ivar
reverse_channels: If True input to the model is RGB else BGR. @type
interleaved_to_planar: bool | None @ivar interleaved_to_planar: If True input to
the model is interleaved (NHWC) else planar (NCHW). @type dai_type: str | None
@ivar dai_type: DepthAI input type which is read by DepthAI to automatically
setup the pipeline.

###### __init__(self)

Kind: Method

###### daiType

Kind: Property

DepthAI input type which is read by DepthAI to automatically setup the pipeline.

###### daiType.setter(self, arg0: str|None)

Kind: Method

###### interleavedToPlanar

Kind: Property

If True input to the model is interleaved (NHWC) else planar (NCHW).

###### interleavedToPlanar.setter(self, arg0: bool|None)

Kind: Method

###### mean

Kind: Property

Mean values in channel order. Order depends on the order in which the model was
trained on.

###### mean.setter(self, arg0: list [ float ]|None)

Kind: Method

###### reverseChannels

Kind: Property

If True input to the model is RGB else BGR.

###### reverseChannels.setter(self, arg0: bool|None)

Kind: Method

###### scale

Kind: Property

Standardization values in channel order. Order depends on the order in which the
model was trained on.

###### scale.setter(self, arg0: list [ float ]|None)

Kind: Method

#### node

Kind: Package

##### internal

Kind: Module

###### depthai.node.internal.XLinkInBridge

Kind: Class

XLink bridge structure for host-to-device communication Contains pointers to
XLinkOutHost and XLinkIn nodes

###### xLinkIn

Kind: Property

###### xLinkOutHost

Kind: Property

###### depthai.node.internal.XLinkOutBridge

Kind: Class

XLink bridge structure for device-to-host communication Contains pointers to
XLinkOut and XLinkInHost nodes

###### xLinkInHost

Kind: Property

###### xLinkOut

Kind: Property

###### depthai.node.internal.XLinkIn(depthai.DeviceNode)

Kind: Class

###### 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: int)

Kind: Method

Set maximum message size it can receive

Parameter ``maxDataSize``:
    Maximum size in bytes

###### setNumFrames(self, numFrames: int)

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 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

###### depthai.node.internal.XLinkOut(depthai.DeviceNode)

Kind: Class

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

Kind: Method

###### 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

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

Kind: Method

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

Kind: Method

Get stream name

###### setBytesPerSecondLimit(self, bytesPerSecondLimit: int)

Kind: Method

###### setFpsLimit(self, fps: float)

Kind: Method

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

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

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

Kind: Method

Specify whether to transfer only messages attributes and not buffer data

###### setPacketSize(self, packetSize: int)

Kind: Method

###### setStreamName(self, name: 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

###### depthai.node.internal.XLinkInHost(depthai.Node)

Kind: Class

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

Kind: Method

###### out

Kind: Property

###### depthai.node.internal.XLinkOutHost(depthai.Node)

Kind: Class

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

Kind: Method

###### in_

Kind: Property

##### depthai.node.BenchmarkOut(depthai.DeviceNode)

Kind: Class

###### setFps(self, fps: float)

Kind: Method

Set FPS at which the node is sending out messages. 0 means as fast as possible

###### setNumMessagesToSend(self, num: int)

Kind: Method

Sets number of messages to send, by default send messages indefinitely

Parameter ``num``:
    number of messages to send

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### input

Kind: Property

Message that will be sent repeatedly

###### out

Kind: Property

Send messages out as fast as possible

##### depthai.node.BenchmarkIn(depthai.DeviceNode)

Kind: Class

###### logReportsAsWarnings(self, logReportsAsWarnings: bool)

Kind: Method

Log the reports as warnings

###### measureIndividualLatencies(self, attachLatencies: bool)

Kind: Method

Attach latencies to the report

###### sendReportEveryNMessages(self, num: int)

Kind: Method

Specify how many messages to measure for each report

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### input

Kind: Property

Receive messages as fast as possible

###### passthrough

Kind: Property

Passthrough for input messages (so the node can be placed between other nodes)

###### report

Kind: Property

Send a benchmark report when the set number of messages are received

##### depthai.node.ColorCamera(depthai.DeviceNode)

Kind: Class

ColorCamera node. For use with color sensors.

###### __init__(self)

Kind: Method

###### 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

###### 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: int)

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: float)

Kind: Method

Set rate at which camera should produce frames

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

###### setFrameEventFilter(self, events: list [ 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, arg0: int)

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: int)

Kind: Method

Set number of frames in isp pool

###### setIspScale(self, numerator: int, denominator: int)

Kind: Method

###### setNumFramesPool(self, raw: int, isp: int, preview: int, video: int, still: int)

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: int)

Kind: Method

Set number of frames in preview pool

###### setPreviewSize(self, width: int, height: int)

Kind: Method

###### setRawNumFramesPool(self, arg0: int)

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: float, y: float)

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: int)

Kind: Method

Set number of frames in preview pool

###### setStillSize(self, width: int, height: int)

Kind: Method

###### setVideoNumFramesPool(self, arg0: int)

Kind: Method

Set number of frames in preview pool

###### setVideoSize(self, width: int, height: int)

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

###### inputControl

Kind: Property

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

###### 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.Camera(depthai.DeviceNode)

Kind: Class

###### build(self, boardSocket: depthai.CameraBoardSocket = ..., sensorResolution: tuple [ int, int ]|None = None, sensorFps: float|None = None) -> Camera: Camera

Kind: Method

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

Kind: Method

Retrieves which board socket to use

Returns:
    Board socket to use

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

Kind: Method

Get camera image orientation

Returns:
    Image orientation

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

Kind: Method

Get number of frames in isp pool

Returns:
    Number of frames

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

Kind: Method

Get maximum size of isp pool

Returns:
    Maximum size in bytes of isp pool

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

Kind: Method

Get maximum size of raw pool

Returns:
    Maximum size in bytes of raw pool

###### getOutputsMaxSizePool(self) -> int|None: int|None

Kind: Method

Get maximum size of outputs pool for all outputs

Returns:
    Maximum size in bytes of image manip pool

###### getOutputsNumFramesPool(self) -> int|None: int|None

Kind: Method

Get number of frames in outputs pool for all outputs

Returns:
    Number of frames

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

Kind: Method

Get number of frames in raw pool

Returns:
    Number of frames

###### getSensorType(self) -> depthai.CameraSensorType: depthai.CameraSensorType

Kind: Method

Get the sensor type

Returns:
    Sensor type

###### requestFullResolutionOutput(self, type: depthai.ImgFrame.Type|None = None, fps: float|None = None, useHighestResolution: bool = False) -> depthai.Node.Output: depthai.Node.Output

Kind: Method

Get a high resolution output with full FOV on the sensor. By default the
function will not use the resolutions higher than 5000x4000, as those often need
a lot of resources, making them hard to use in combination with other nodes.

Parameter ``type``:
    Type of the output (NV12, BGR, ...) - by default it's auto-selected for best
    performance

Parameter ``fps``:
    FPS of the output - by default it's auto-selected to highest possible that a
    sensor config support or 30, whichever is lower

Parameter ``useHighestResolution``:
    If true, the function will use the highest resolution available on the
    sensor, even if it's higher than 5000x4000

###### requestIspOutput(self, fps: float|None = None) -> depthai.Node.Output: depthai.Node.Output

Kind: Method

Request output with isp resolution. The fps does not vote.

###### requestOutput(self, size: tuple [ int, int ], type: depthai.ImgFrame.Type|None = None, resizeMode: depthai.ImgResizeMode = ..., fps: float|None = None, enableUndistortion: bool|None = None, alphaScaling: float|None = None) -> depthai.Node.Output: depthai.Node.Output

Kind: Method

###### setImageOrientation(self, imageOrientation: depthai.CameraImageOrientation) -> Camera: Camera

Kind: Method

Set camera image orientation

Parameter ``imageOrientation``:
    Image orientation to set

Returns:
    Shared pointer to the camera node

###### setIspNumFramesPool(self, num: int) -> Camera: Camera

Kind: Method

Set number of frames in isp pool (will be automatically reduced if the maximum
pool memory size is exceeded)

Parameter ``num``:
    Number of frames

Returns:
    Shared pointer to the camera node

###### setMaxSizePoolIsp(self, size: int) -> Camera: Camera

Kind: Method

Set maximum size of isp pool

Parameter ``size``:
    Maximum size in bytes of isp pool

Returns:
    Shared pointer to the camera node

###### setMaxSizePoolRaw(self, size: int) -> Camera: Camera

Kind: Method

Set maximum size of raw pool

Parameter ``size``:
    Maximum size in bytes of raw pool

Returns:
    Shared pointer to the camera node

###### setMaxSizePools(self, raw: int, isp: int, imgmanip: int) -> Camera: Camera

Kind: Method

Set maximum memory size of all pools

Parameter ``raw``:
    Maximum size in bytes of raw pool

Parameter ``isp``:
    Maximum size in bytes of isp pool

Parameter ``outputs``:
    Maximum size in bytes of outputs pools

Returns:
    Shared pointer to the camera node

###### setMockIsp(self, mockIsp: ReplayVideo) -> Camera: Camera

Kind: Method

Set mock ISP for Camera node. Automatically sets mockIsp size.

Parameter ``replay``:
    ReplayVideo node to use as mock ISP

###### setNumFramesPools(self, raw: int, isp: int, imgmanip: int) -> Camera: Camera

Kind: Method

Set number of frames in all pools (will be automatically reduced if the maximum
pool memory size is exceeded)

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

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

Parameter ``outputs``:
    Number of frames in outputs pools

Returns:
    Shared pointer to the camera node

###### setOutputsMaxSizePool(self, size: int) -> Camera: Camera

Kind: Method

Set maximum size of pools for all outputs

Parameter ``size``:
    Maximum size in bytes of pools for all outputs

Returns:
    Shared pointer to the camera node

###### setOutputsNumFramesPool(self, num: int) -> Camera: Camera

Kind: Method

Set number of frames in pools for all outputs

Parameter ``num``:
    Number of frames in pools for all outputs

Returns:
    Shared pointer to the camera node

###### setRawNumFramesPool(self, num: int) -> Camera: Camera

Kind: Method

Set number of frames in raw pool (will be automatically reduced if the maximum
pool memory size is exceeded)

Parameter ``num``:
    Number of frames

Returns:
    Shared pointer to the camera node

###### setSensorType(self, sensorType: depthai.CameraSensorType) -> Camera: Camera

Kind: Method

Set the sensor type to use

Parameter ``sensorType``:
    Sensor type to use

###### initialControl

Kind: Property

Initial control options to apply to sensor

###### inputControl

Kind: Property

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

###### mockIsp

Kind: Property

Input for mocking 'isp' functionality on RVC2. Default queue is blocking with
size 8

###### 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.

##### depthai.node.MonoCamera(depthai.DeviceNode)

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: int)

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: float)

Kind: Method

Set rate at which camera should produce frames

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

###### setFrameEventFilter(self, events: list [ depthai.FrameEvent ])

Kind: Method

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

Kind: Method

Set camera image orientation

###### setIsp3aFps(self, arg0: int)

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: int)

Kind: Method

Set number of frames in main (ISP output) pool

###### setRawNumFramesPool(self, arg0: int)

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

###### initialControl

Kind: Property

Initial control options to apply to sensor

###### inputControl

Kind: Property

###### out

Kind: Property

###### raw

Kind: Property

##### depthai.node.StereoDepth(depthai.DeviceNode)

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:

  FAST_ACCURACY

  FAST_DENSITY

  DEFAULT

  FACE

  HIGH_DETAIL

  ROBOTICS

  DENSITY

  ACCURACY

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

Kind: Class Variable

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

Kind: Class Variable

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

Kind: Class Variable

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

Kind: Class Variable

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

Kind: Class Variable

###### FAST_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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self, left: depthai.Node.Output, right: depthai.Node.Output, presetMode: StereoDepth.PresetMode = ...)

Kind: Method

###### build(self, left: depthai.Node.Output, right: depthai.Node.Output, presetMode: StereoDepth.PresetMode = ...) -> StereoDepth: StereoDepth

Kind: Method

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

Kind: Method

Equivalent to useHomographyRectification(!enableDistortionCorrection)

###### loadMeshData()

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: os.PathLike, pathRight: os.PathLike)

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: float)

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: float)

Kind: Method

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

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

Kind: Method

Sets a default preset based on specified option.

Parameter ``mode``:
    Stereo depth preset mode

.. warning::
    If using alpha scaling on RVC4 the DEFAULT, DENSITY, and FAST_DENSITY
    presets can produce inaccurate depth in black padded regions, as they
    prioritize coverage.

###### setDepthAlign(self, align: depthai.StereoDepthConfig.AlgorithmControl.DepthAlign)

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

###### 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: float)

Kind: Method

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

###### setInputResolution(self, width: int, height: int)

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

###### setMeshStep(self, width: int, height: int)

Kind: Method

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

###### setNumFramesPool(self, arg0: int)

Kind: Method

Specify number of frames in pool.

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

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

Kind: Method

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

###### setOutputSize(self, width: int, height: int)

Kind: Method

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

Currently only applicable when aligning to RGB camera

###### setPostProcessingHardwareResources(self, arg0: int, arg1: int)

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: int)

Kind: Method

Fill color for missing data at frame edges

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

###### 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: int)

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 mean
lower confidence of the calculated disparity value. RGB alignment, left-right
check or any postprocessing (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.

###### inputAlignTo

Kind: Property

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

###### inputConfig

Kind: Property

Input StereoDepthConfig message with ability to modify parameters in runtime.

###### left

Kind: Property

Input for left ImgFrame of left-right pair

###### 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

###### syncedLeft

Kind: Property

Passthrough ImgFrame message from 'left' Input.

###### syncedRight

Kind: Property

Passthrough ImgFrame message from 'right' Input.

##### depthai.node.NeuralNetwork(depthai.DeviceNode)

Kind: Class

NeuralNetwork node. Runs a neural inference on input data.

###### depthai.node.NeuralNetwork.Model

Kind: Class

###### __init__(self, modelDesc: ...)

Kind: Method

###### build(self, input: depthai.Node.Output, nnArchive: depthai.NNArchive) -> NeuralNetwork: NeuralNetwork

Kind: Method

###### getNNArchive(self) -> depthai.NNArchive|None: depthai.NNArchive|None

Kind: Method

Get the archive owned by this Node.

Returns:
    constant reference to this Nodes archive

###### 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

###### setBackend(self, setBackend: str)

Kind: Method

Specifies backend to use

Parameter ``backend``:
    String specifying backend to use

###### setBackendProperties(self, setBackendProperties: dict [ str, str ])

Kind: Method

Set backend properties

Parameter ``backendProperties``:
    backend properties map

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

Kind: Method

###### setBlobPath(self, path: os.PathLike)

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

###### setFromModelZoo(self, description: depthai.NNModelDescription, useCached: bool)

Kind: Method

Download model from zoo and set it for this Node

Parameter ``description:``:
    Model description to download

Parameter ``useCached:``:
    Use cached model if available

###### setModelFromDeviceZoo(self, model: depthai.DeviceModelZoo)

Kind: Method

Set model from Device Model Zoo

Parameter ``model``:
    DeviceModelZoo model enum @note Only applicable for RVC4 devices with OS
    1.20.5 or higher

###### setModelPath(self, modelPath: os.PathLike)

Kind: Method

Load a network model into assets. DLC and other custom model files are loaded
lazily and must remain available and unchanged until the pipeline has been
built.

Parameter ``modelPath``:
    Path to the neural network model file.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

###### setNumInferenceThreads(self, numThreads: int)

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: int)

Kind: Method

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

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

###### setNumPoolFrames(self, numFrames: int)

Kind: Method

Specifies how many frames will be available in the pool

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

###### setNumShavesPerInferenceThread(self, numShavesPerInferenceThread: int)

Kind: Method

How many Shaves should a single thread use for inference

Parameter ``numShavesPerThread``:
    Number of shaves per thread

###### input

Kind: Property

Input message with data to be inferred upon

###### 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.VideoEncoder(depthai.DeviceNode)

Kind: Class

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

###### __init__(self, input: depthai.Node.Output, bitrate: float = 0, frameRate: float = 30.0, profile: depthai.VideoEncoderProperties.Profile = ..., keyframeFrequency: int = 30, lossless: bool = False, quality: int = 80)

Kind: Method

###### build(self, input: depthai.Node.Output, bitrate: float = 0, frameRate: float = 30.0, profile: depthai.VideoEncoderProperties.Profile = ..., keyframeFrequency: int = 30, lossless: bool = False, quality: int = 80) -> VideoEncoder: VideoEncoder

Kind: Method

###### 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

###### 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

###### setBitrate(self, bitrate: int)

Kind: Method

Set output bitrate in bps, for CBR rate control mode. 0 for auto (based on frame
size and FPS)

###### setBitrateKbps(self, bitrateKbps: int)

Kind: Method

Set output bitrate in kbps, for CBR rate control mode. 0 for auto (based on
frame size and FPS)

###### setDefaultProfilePreset(self, fps: float, profile: depthai.VideoEncoderProperties.Profile)

Kind: Method

Sets a default preset based on specified frame rate and profile

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

Parameter ``profile``:
    Encoding profile

###### setFrameRate(self, frameRate: float)

Kind: Method

Sets expected frame rate

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

###### setKeyframeFrequency(self, freq: int)

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: int)

Kind: Method

Specifies maximum output encoded frame size

###### setNumBFrames(self, numBFrames: int)

Kind: Method

Set number of B frames to be inserted

###### setNumFramesPool(self, frames: int)

Kind: Method

Set number of frames in pool

Parameter ``frames``:
    Number of pool frames

###### setProfile(self, profile: depthai.VideoEncoderProperties.Profile)

Kind: Method

Set encoding profile

###### setQuality(self, quality: int)

Kind: Method

Set quality

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

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

Kind: Method

Set rate control mode

###### 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

###### out

Kind: Property

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

##### depthai.node.ImageManip(depthai.DeviceNode)

Kind: Class

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

###### depthai.node.ImageManip.PerformanceMode

Kind: Class

Members:

  BALANCED

  PERFORMANCE

  LOW_POWER

###### BALANCED: typing.ClassVar[depthai.ImageManipProperties.PerformanceMode]

Kind: Class Variable

###### LOW_POWER: typing.ClassVar[depthai.ImageManipProperties.PerformanceMode]

Kind: Class Variable

###### PERFORMANCE: typing.ClassVar[depthai.ImageManipProperties.PerformanceMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, depthai.ImageManipProperties.PerformanceMode]]

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: depthai.ImageManipProperties.PerformanceMode) -> int: int

Kind: Method

###### __init__(self: depthai.ImageManipProperties.PerformanceMode, value: int)

Kind: Method

###### __int__(self: depthai.ImageManipProperties.PerformanceMode) -> int: int

Kind: Method

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

Kind: Method

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

Kind: Method

###### __setstate__(self: depthai.ImageManipProperties.PerformanceMode, state: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.node.ImageManip.Backend

Kind: Class

Members:

  HW

  CPU

  GPU

  AUTO

###### AUTO: typing.ClassVar[depthai.ImageManipProperties.Backend]

Kind: Class Variable

###### CPU: typing.ClassVar[depthai.ImageManipProperties.Backend]

Kind: Class Variable

###### GPU: typing.ClassVar[depthai.ImageManipProperties.Backend]

Kind: Class Variable

###### HW: typing.ClassVar[depthai.ImageManipProperties.Backend]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, depthai.ImageManipProperties.Backend]]

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: depthai.ImageManipProperties.Backend) -> int: int

Kind: Method

###### __init__(self: depthai.ImageManipProperties.Backend, value: int)

Kind: Method

###### __int__(self: depthai.ImageManipProperties.Backend) -> int: int

Kind: Method

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

Kind: Method

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

Kind: Method

###### __setstate__(self: depthai.ImageManipProperties.Backend, state: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### setBackend(self, arg0: depthai.ImageManipProperties.Backend) -> ImageManip: ImageManip

Kind: Method

Set backend preference: - CPU: Run ImageManip on the CPU. - HW: Prefer the
dedicated hardware image manipulation backend. - GPU: Prefer the GPU backend. -
AUTO: Let the runtime select the backend automatically (GPU with CPU fallback).

Hardware-accelerated backends can cause some unexpected behavior when using
multiple ImageManip nodes in series. Currently, the only operation affected is
downscaling.

Parameter ``backend``:
    Backend preference

###### setMaxOutputFrameSize(self, arg0: int)

Kind: Method

Specify maximum size of output image.

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

###### setMaxPoolSize(self, arg0: int)

Kind: Method

Specify maximum size of output image pool.

Parameter ``maxPoolSize``:
    Maximum pool size in bytes

###### setNumFramesPool(self, arg0: int)

Kind: Method

Specify number of frames in pool.

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

###### setPerformanceMode(self, arg0: depthai.ImageManipProperties.PerformanceMode) -> ImageManip: ImageManip

Kind: Method

Set performance mode

Parameter ``performanceMode``:
    Performance mode

###### setRunOnHost(self, arg0: bool) -> ImageManip: ImageManip

Kind: Method

Specify whether to run on host or device

Parameter ``runOnHost``:
    Run node on host

###### initialConfig

Kind: Property

Initial config to use when manipulating frames

###### inputConfig

Kind: Property

Input ImageManipConfig message with ability to modify parameters in runtime

###### inputImage

Kind: Property

Input image to be modified

###### out

Kind: Property

##### depthai.node.Warp(depthai.DeviceNode)

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: list [ int ])

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: int)

Kind: Method

Specify maximum size of output image.

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

###### setNumFramesPool(self, arg0: int)

Kind: Method

Specify number of frames in pool.

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

###### setOutputSize(self, arg0: int, arg1: int)

Kind: Method

###### setWarpMesh(self, arg0: depthai.VectorPoint2f, arg1: int, arg2: int)

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.SPIOut(depthai.DeviceNode)

Kind: Class

SPIOut node. Sends messages over SPI.

###### setBusId(self, id: int)

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.SPIIn(depthai.DeviceNode)

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: int)

Kind: Method

Specifies SPI Bus number to use

Parameter ``id``:
    SPI Bus id

###### setMaxDataSize(self, maxDataSize: int)

Kind: Method

Set maximum message size it can receive

Parameter ``maxDataSize``:
    Maximum size in bytes

###### setNumFrames(self, numFrames: int)

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.DetectionNetwork(depthai.DeviceNodeGroup)

Kind: Class

DetectionNetwork, base for different network specializations

###### depthai.node.DetectionNetwork.Model

Kind: Class

###### __init__(self: NeuralNetwork.Model, modelDesc: ...)

Kind: Method

###### __init__(self, input: depthai.Node.Output, nnArchive: depthai.NNArchive, confidenceThreshold: float = 0.5)

Kind: Method

###### build(self, input: depthai.Node.Output, nnArchive: depthai.NNArchive, confidenceThreshold: float = 0.5) -> DetectionNetwork: DetectionNetwork

Kind: Method

###### getClasses(self) -> list [ str ]|None: list [ str ]|None

Kind: Method

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

Kind: Method

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

Returns:
    Detection confidence

###### 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

###### setBackend(self, setBackend: str)

Kind: Method

Specifies backend to use

Parameter ``backend``:
    String specifying backend to use

###### setBackendProperties(self, setBackendProperties: dict [ str, str ])

Kind: Method

Set backend properties

Parameter ``backendProperties``:
    backend properties map

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

Kind: Method

###### setBlobPath(self, path: os.PathLike)

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

###### setConfidenceThreshold(self, thresh: float)

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

###### setFromModelZoo(self, description: depthai.NNModelDescription, useCached: bool = False)

Kind: Method

Download model from zoo and set it for this Node

Parameter ``description:``:
    Model description to download

Parameter ``useCached:``:
    Use cached model if available

###### setModelPath(self, modelPath: os.PathLike)

Kind: Method

Load a network model into assets. DLC and other custom model files are loaded
lazily and must remain available and unchanged until the pipeline has been
built.

Parameter ``modelPath``:
    Path to the model file.

###### setNNArchive(self, archive: depthai.NNArchive)

Kind: Method

###### setNumInferenceThreads(self, numThreads: int)

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: int)

Kind: Method

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

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

###### setNumPoolFrames(self, numFrames: int)

Kind: Method

Specifies how many frames will be available in the pool

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

###### setNumShavesPerInferenceThread(self, numShavesPerInferenceThread: int)

Kind: Method

How many Shaves should a single thread use for inference

Parameter ``numShavesPerThread``:
    Number of shaves per thread

###### detectionParser

Kind: Property

###### input

Kind: Property

Input message with data to be inferred upon

###### neuralNetwork

Kind: Property

###### 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.SystemLogger(depthai.DeviceNode)

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: float)

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[RVC4] message that carries various system information
like memory and CPU usage, temperatures, ... For series 2 devices output
SystemInformation message, for series 4 devices output SystemInformationRVC4
message

##### depthai.node.Script(depthai.DeviceNode)

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(self, script: str, name: str = '')

Kind: Method

###### setScriptPath(self, arg0: os.PathLike, arg1: str)

Kind: Method

###### inputs

Kind: Property

###### outputs

Kind: Property

##### depthai.node.SpatialLocationCalculator(depthai.DeviceNode)

Kind: Class

SpatialLocationCalculator node. Calculates the spatial locations of detected
objects based on the input depth map. Spatial location calculations can be
additionally refined by using a segmentation mask. If keypoints are provided,
the spatial location is calculated around each keypoint.

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

Kind: Method

Check if the node is set to run on host

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### 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.

###### inputDetections

Kind: Property

Input messages on which spatial location will be calculated. Possible datatypes
are ImgDetections or Keypoints.

###### out

Kind: Property

Outputs SpatialLocationCalculatorData message that carries spatial locations for
each additional ROI that is specified in the config.

###### outputDetections

Kind: Property

Outputs SpatialImgDetections message that carries spatial locations along with
original input data.

###### passthroughDepth

Kind: Property

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

##### depthai.node.SpatialDetectionNetwork(depthai.DeviceNode)

Kind: Class

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

###### depthai.node.SpatialDetectionNetwork.Model

Kind: Class

###### __init__(self: NeuralNetwork.Model, modelDesc: ...)

Kind: Method

###### build(self, input: Camera, depthSource: Depth|StereoDepth|NeuralDepth|ToF, model: depthai.NNModelDescription|depthai.NNArchive|str, fps: float|None = None, resizeMode: depthai.ImgResizeMode|None = None) -> SpatialDetectionNetwork: SpatialDetectionNetwork

Kind: Method

###### getClasses(self) -> list [ str ]|None: list [ str ]|None

Kind: Method

Get classes labels

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

Kind: Method

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

Returns:
    Detection confidence

###### 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

###### setBackend(self, setBackend: str)

Kind: Method

Specifies backend to use

Parameter ``backend``:
    String specifying backend to use

###### setBackendProperties(self, setBackendProperties: dict [ str, str ])

Kind: Method

Set backend properties

Parameter ``backendProperties``:
    backend properties map

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

Kind: Method

###### setBlobPath(self, path: os.PathLike)

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

###### setBoundingBoxScaleFactor(self, scaleFactor: float)

Kind: Method

Custom interface

Specifies scale factor for detected bounding boxes.

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

###### setConfidenceThreshold(self, thresh: float)

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

###### setDepthLowerThreshold(self, lowerThreshold: int)

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: int)

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].

###### setFromModelZoo(self, description: depthai.NNModelDescription, useCached: bool)

Kind: Method

Download model from zoo and set it for this Node

Parameter ``description:``:
    Model description to download

Parameter ``useCached:``:
    Use cached model if available

###### setModelPath(self, modelPath: os.PathLike)

Kind: Method

Load a network model into assets. DLC and other custom model files are loaded
lazily and must remain available and unchanged until the pipeline has been
built.

Parameter ``modelPath``:
    Path to the model file.

###### setNNArchive(self, archive: depthai.NNArchive)

Kind: Method

###### setNumInferenceThreads(self, numThreads: int)

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: int)

Kind: Method

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

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

###### setNumPoolFrames(self, numFrames: int)

Kind: Method

Specifies how many frames will be available in the pool

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

###### setNumShavesPerInferenceThread(self, numShavesPerInferenceThread: int)

Kind: Method

How many Shaves should a single thread use for inference

Parameter ``numShavesPerThread``:
    Number of shaves per thread

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

Kind: Method

Specifies spatial location calculator algorithm: Average/Min/Max

Parameter ``calculationAlgorithm``:
    Calculation algorithm.

###### detectionParser

Kind: Property

###### input

Kind: Property

Input message with data to be inferred upon

###### inputDepth

Kind: Property

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

###### neuralNetwork

Kind: Property

###### out

Kind: Property

Outputs ImgDetections message that carries parsed detection results.

###### 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.

###### 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.

###### spatialLocationCalculator

Kind: Property

##### depthai.node.ObjectTracker(depthai.DeviceNode)

Kind: Class

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

###### setDetectionLabelsToTrack(self, labels: list [ int ])

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: int)

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, threshold: float)

Kind: Method

Set the occlusion ratio threshold. Used to filter out overlapping tracklets.

Parameter ``theshold``:
    Occlusion ratio threshold. Default 0.3.

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### setSpatialAssociation(self, enabled: bool)

Kind: Method

Enable or disable spatially-aware association. If disabled, only 2D association
is used.

Parameter ``enabled``:
    `true` enables spatially-aware association, `false` uses 2D-only
    association. Default is false.

###### setSpatialAssociationWeight(self, weight: float)

Kind: Method

Set spatial association weight in [0,1].

Parameter ``weight``:
    Spatial association weight in [0,1] used to blend 2D and spatial association
    scores (0 = 2D-only scoring, 1 = spatial-only scoring). This weight affects
    candidate scoring only; final acceptance still requires passing the 2D IoU
    threshold gate. Default is 0.5.

###### setSpatialDepthAwareScale(self, scale: float)

Kind: Method

Set depth-aware gating scale used for spatial association. Increases gating
threshold with increased depth.

Parameter ``scale``:
    Depth-aware gating scale factor. Default is 0.35

###### setSpatialDistanceThreshold(self, thresholdMeters: float)

Kind: Method

Set base 3D gating threshold in meters for spatial association.

Parameter ``thresholdMeters``:
    Base spatial gating distance in meters. Default is 1.5m.

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

Kind: Method

Specify tracker ID assignment policy.

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

###### setTrackerThreshold(self, threshold: float)

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, trackletBirthThreshold: int)

Kind: Method

Set the tracklet birth threshold. Minimum consecutive tracked frames required to
consider a tracklet as a new (TRACKED) instance.

Parameter ``trackletBirthThreshold``:
    Tracklet birth threshold. Default 3.

###### setTrackletMaxLifespan(self, trackletMaxLifespan: int)

Kind: Method

Set the tracklet lifespan in number of frames. Number of frames after which a
LOST tracklet is removed.

Parameter ``trackletMaxLifespan``:
    Tracklet lifespan in number of frames. 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.IMU(depthai.DeviceNode)

Kind: Class

IMU node for BNO08X.

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

Kind: Method

Whether to perform firmware update or not. Default value: false.

###### enableIMUSensor(self, sensorConfig: depthai.IMUSensorConfig)

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: int)

Kind: Method

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

###### setMaxBatchReports(self, maxBatchReports: int)

Kind: Method

Maximum number of IMU packets in a batch report

###### mockIn

Kind: Property

Mock IMU data for replaying recorded data

###### out

Kind: Property

Outputs IMUData message that carries IMU packets.

##### depthai.node.EdgeDetector(depthai.DeviceNode)

Kind: Class

EdgeDetector node. Performs edge detection using 3x3 Sobel filter

###### setMaxOutputFrameSize(self, arg0: int)

Kind: Method

Specify maximum size of output image.

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

###### setNumFramesPool(self, arg0: int)

Kind: Method

Specify number of frames in pool.

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

###### 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.DeviceNode)

Kind: Class

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

###### setHardwareResources(self, numShaves: int, numMemorySlices: int)

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.

###### 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.AprilTag(depthai.DeviceNode)

Kind: Class

AprilTag node.

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

Kind: Method

Get number of threads to use for AprilTag detection.

Returns:
    Number of threads to use.

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

Kind: Method

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

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

Kind: Method

Check if the node is set to run on host

###### setNumThreads(self, numThreads: int)

Kind: Method

Set number of threads to use for AprilTag detection.

Parameter ``numThreads``:
    Number of threads to use.

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

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### 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.DetectionParser(depthai.DeviceNode)

Kind: Class

DetectionParser node. Parses detection results from Mobilenet-SSD or YOLO neural
networks. @note If multiple detection heads are present in the NNArchive, only
one type is supported (either YOLO or Mobilenet-SSD) and the last one will be
used.

###### build(self, input: depthai.Node.Output, nnArchive: depthai.NNArchive) -> DetectionParser: DetectionParser

Kind: Method

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

Kind: Method

Get anchor masks for anchor-based yolo models

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

Kind: Method

Get anchors for anchor-based yolo models

###### getClasses(self) -> list [ str ]|None: list [ str ]|None

Kind: Method

Get class names to decode.

###### 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 number of coordinates per bounding box.

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

Kind: Method

Get whether keypoints decoding is enabled.

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

Kind: Method

Get whether segmentation mask decoding is enabled.

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

Kind: Method

Get IOU threshold for non-maxima suppression

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

Kind: Method

Gets NN Family to parse

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

Kind: Method

Get number of keypoints to decode.

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

Kind: Method

Get number of classes to decode.

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

Kind: Method

Returns number of frames in pool

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

Kind: Method

Get strides for yolo models

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

Kind: Method

Get subtype for the parser.

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

Kind: Method

Check if the node is set to run on host

###### setAnchorMasks(self, anchorMasks: dict [ str, list [ int ] ])

Kind: Method

Set anchor masks for anchor-based yolo models

Parameter ``anchorMasks``:
    Map of anchor masks

###### setAnchors(self, anchors: list [ list [ list [ float ] ] ])

Kind: Method

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

Kind: Method

###### setBlobPath(self, path: os.PathLike)

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

###### setClasses(self, classes: list [ str ])

Kind: Method

Set class names. This will clear any previously set number of classes.

Parameter ``classes``:
    Vector of class names

###### setConfidenceThreshold(self, thresh: float)

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: int)

Kind: Method

Sets the number of coordinates per bounding box.

Parameter ``coordinates``:
    Number of coordinates. Default is 4

###### setDecodeKeypoints(self, decode: bool)

Kind: Method

Enable/disable keypoints decoding. If enabled, number of keypoints must also be
set.

###### setDecodeSegmentation(self, decode: bool)

Kind: Method

Enable/disable segmentation mask decoding.

###### setInputImageSize(self, width: int, height: int)

Kind: Method

###### setIouThreshold(self, thresh: float)

Kind: Method

Set IOU threshold for non-maxima suppression

Parameter ``thresh``:
    IOU threshold

###### setKeypointEdges(self, edges: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ])

Kind: Method

Set edges connections between keypoints.

Parameter ``edges``:
    Vector edges connections represented as pairs of keypoint indices. @note
    This is only applicable if keypoints decoding is enabled.

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node. If the archive's type is SUPERBLOB, use default
number of shaves.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node.

Parameter ``head:``:
    NNArchive head to set

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

Kind: Method

Sets NN Family to parse. Possible values are:

DetectionNetworkType::YOLO - 0 DetectionNetworkType::MOBILENET - 1

.. warning::
    If NN Family is set manually, user must ensure that it matches the actual
    model being used.

###### setNumClasses(self, numClasses: int)

Kind: Method

Set number of classes. This will clear any previously set class names.

Parameter ``numClasses``:
    Number of classes

###### setNumFramesPool(self, numFramesPool: int)

Kind: Method

Specify number of frames in pool.

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

###### setNumKeypoints(self, numKeypoints: int)

Kind: Method

Set number of keypoints to decode. Automatically enables keypoints decoding.

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### setStrides(self, strides: list [ int ])

Kind: Method

Set strides for yolo models

###### setSubtype(self, subtype: str)

Kind: Method

Set subtype for the parser.

Parameter ``subtype``:
    Subtype string, currently supported subtypes are: yolov6r1, yolov6r2
    yolov8n, yolov6, yolov8, yolov10, yolov11, yolov3, yolov3-tiny, yolov5,
    yolov7, yolo-p, yolov5-u

###### 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.SegmentationParser(depthai.DeviceNode)

Kind: Class

SegmentationParser node. Parses raw segmentation output from segmentation neural
networks into a dai::SegmentationMask datatype. The parser supports two output
model types: 1. Single-channel output where the model argmaxes the class
probabilities internally and outputs a single channel mask with class indices.
2. Multi-channel output where each channel corresponds to the probability map
for a specific class. The parser will perform argmax across channels to generate
the final mask. The parser can be configured to treat the first class (index 0)
as the background class, which will be ignored in the final segmentation mask.

.. warning::
    Only OAK4 supports running SegmentationParser on device. On other platforms,
    the node will automatically switch to host execution.

###### build(self, input: depthai.Node.Output, model: depthai.NNModelDescription|depthai.NNArchive|str) -> SegmentationParser: SegmentationParser

Kind: Method

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

Kind: Method

Gets whether the first class (index 0) is considered the background class.

###### getLabels(self) -> list [ str ]: list [ str ]

Kind: Method

Returns the class labels associated with the segmentation mask.

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

Kind: Method

Check if the node is set to run on host

###### setBackgroundClass(self, backgroundClass: bool)

Kind: Method

Sets whether the first class (index 0) is considered the background class. If
true, the pixels classified as index 0 will be treated as background.

Parameter ``backgroundClass``:
    Boolean indicating if the first class is the background class

@note Only applicable if the number of classes is greater than 1 and the output
classes are not in a single layer (eg. classesInOneLayer = false).

###### setLabels(self, labels: list [ str ])

Kind: Method

Sets the class labels associated with the segmentation mask. The label at index
$i$ in the `labels` vector corresponds to the value $i$ in the segmentation mask
data array.

Parameter ``labels``:
    Vector of class labels

###### setNNArchive(self, nnArchive: depthai.NNArchive)

Kind: Method

Set NNArchive for this Node.

Parameter ``nnArchive:``:
    NNArchive to set

###### setNNArchiveHead(self, head: depthai.nn_archive.v1.Head)

Kind: Method

Set NNArchive head for this Node.

Parameter ``head:``:
    NNArchive head to set

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### initialConfig

Kind: Property

Initial config to use when parsing segmentation masks.

###### input

Kind: Property

Input NN results with segmentation data to parser

###### inputConfig

Kind: Property

Input SegmentationParserConfig message with ability to modify parameters in
runtime.

###### out

Kind: Property

Outputs segmentation mask

##### depthai.node.UVC(depthai.DeviceNode)

Kind: Class

UVC (USB Video Class) node

###### setGpiosOnInit(self, list: dict [ int, int ])

Kind: Method

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

###### setGpiosOnStreamOff(self, list: dict [ int, int ])

Kind: Method

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

###### setGpiosOnStreamOn(self, list: dict [ int, int ])

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.Thermal(depthai.DeviceNode)

Kind: Class

Thermal node.

###### build(self, boardSocket: depthai.CameraBoardSocket = ..., fps: float = 25.0) -> Thermal: Thermal

Kind: Method

Build with a specific board socket and fps.

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

Kind: Method

Retrieves which board socket to use

Returns:
    Board socket to use

###### color

Kind: Property

Outputs YUV422i grayscale thermal image.

###### initialConfig

Kind: Property

Initial config to use for thermal sensor.

###### inputConfig

Kind: Property

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

###### temperature

Kind: Property

Outputs FP16 (degC) thermal image.

##### depthai.node.ToFBase(depthai.DeviceNode)

Kind: Class

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

###### build(self, boardSocket: depthai.CameraBoardSocket = ..., profile: depthai.ToFConfig.Profile = ..., fps: float|None = None) -> ToFBase: ToFBase

Kind: Method

Build with a specific board socket

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

Kind: Method

Retrieves which board socket to use

Returns:
    Board socket to use

###### setOutputUndistortion(self, enable: bool) -> ToFBase: ToFBase

Kind: Method

Enable or disable undistortion for depth and auxiliary outputs.

Parameter ``enable``:
    Whether to undistort the outputs. @note Undistortion is supported on RVC4.
    RVC2 logs a warning and leaves outputs unchanged.

Returns:
    This ToF base node.

###### amplitude

Kind: Property

###### confidence

Kind: Property

###### depth

Kind: Property

###### initialConfig

Kind: Property

Initial config to use for feature tracking.

###### inputConfig

Kind: Property

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

###### intensity

Kind: Property

###### phase

Kind: Property

###### raw

Kind: Property

##### depthai.node.ToF(depthai.DeviceNodeGroup)

Kind: Class

###### create(device: depthai.Device) -> ToF: ToF

Kind: Static Method

###### build(self, boardSocket: depthai.CameraBoardSocket = ..., presetMode: depthai.ImageFiltersPresetMode = ..., fps: float|None = None) -> ToF: ToF

Kind: Method

###### getInitialConfig(self) -> depthai.ToFConfig: depthai.ToFConfig

Kind: Method

###### setInitialConfig(self, arg0: depthai.ToFConfig)

Kind: Method

###### setOutputUndistortion(self, enable: bool) -> ToF: ToF

Kind: Method

Enable or disable undistortion for depth and auxiliary outputs.

Parameter ``enable``:
    Whether to undistort the outputs. @note Undistortion is supported on RVC4.
    RVC2 logs a warning and leaves outputs unchanged.

Returns:
    This ToF node.

###### amplitude

Kind: Property

Amplitude output

###### confidence

Kind: Property

Confidence output

###### depth

Kind: Property

Filtered depth output

###### imageFiltersInputConfig

Kind: Property

Input config for image filters

###### imageFiltersNode

Kind: Property

Image filters node

###### intensity

Kind: Property

Intensity output

###### phase

Kind: Property

Phase output

###### raw

Kind: Property

Raw data coming from the sensor

###### rawDepth

Kind: Property

Raw depth output from ToF sensor. On RVC2 this is connected to the unfiltered
base depth output. On RVC4 this is an unconnected placeholder output.

###### tofBaseInputConfig

Kind: Property

Input config for ToF base node

###### tofBaseNode

Kind: Property

ToF base node

##### depthai.node.PointCloud(depthai.DeviceNode)

Kind: Class

PointCloud node. Computes point cloud from depth frames.

###### setNumFramesPool(self, numFramesPool: int)

Kind: Method

Specify number of frames in pool.

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

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on host.

###### setTargetCoordinateSystem(self, targetCamera: depthai.CameraBoardSocket)

Kind: Method

###### useCPU(self)

Kind: Method

Use single-threaded CPU for processing

###### useCPUMT(self, numThreads: int = 2)

Kind: Method

Use multi-threaded CPU for processing

###### useGPU(self, device: int = 0)

Kind: Method

Use GPU for point cloud computation

Parameter ``device``:
    GPU device index (default 0)

###### initialConfig

Kind: Property

Initial config to use when computing the point cloud.

###### inputColor

Kind: Property

###### inputConfig

Kind: Property

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

###### inputDepth

Kind: Property

###### 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.Sync(depthai.DeviceNode)

Kind: Class

Sync node. Performs syncing between image frames

###### depthai.node.Sync.TimestampSource

Kind: Class

Members:

  DEFAULT

  DEVICE

  HOST

  SYSTEM

###### DEFAULT: typing.ClassVar[depthai.SyncProperties.TimestampSource]

Kind: Class Variable

###### DEVICE: typing.ClassVar[depthai.SyncProperties.TimestampSource]

Kind: Class Variable

###### HOST: typing.ClassVar[depthai.SyncProperties.TimestampSource]

Kind: Class Variable

###### SYSTEM: typing.ClassVar[depthai.SyncProperties.TimestampSource]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, depthai.SyncProperties.TimestampSource]]

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: depthai.SyncProperties.TimestampSource) -> int: int

Kind: Method

###### __init__(self: depthai.SyncProperties.TimestampSource, value: int)

Kind: Method

###### __int__(self: depthai.SyncProperties.TimestampSource) -> int: int

Kind: Method

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

Kind: Method

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

Kind: Method

###### __setstate__(self: depthai.SyncProperties.TimestampSource, state: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### 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

###### getTimestampSource(self) -> depthai.SyncProperties.TimestampSource: depthai.SyncProperties.TimestampSource

Kind: Method

Get the timestamp source

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

Kind: Method

Check if the node is set to run on host

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

Kind: Method

Specify on which processor the node should run. RVC2 only.

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

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### setSyncAttempts(self, maxDataSize: int)

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

###### setTimestampSource(self, source: depthai.SyncProperties.TimestampSource)

Kind: Method

Specify the timestamp source

###### inputs

Kind: Property

A map of inputs

###### out

Kind: Property

##### depthai.node.MessageDemux(depthai.DeviceNode)

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

Specify on which processor the node should run. RVC2 only.

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.ThreadedHostNode(depthai.ThreadedNode)

Kind: Class

###### __init__(self)

Kind: Method

###### createInput(self, name: str = '', group: str = '', blocking: bool = True, queueSize: int = 3, types: list [ depthai.Node.DatatypeHierarchy ] = ..., waitForMessage: bool = False) -> depthai.Node.Input: depthai.Node.Input

Kind: Method

###### createOutput(self, name: str = '', group: str = '', possibleDatatypes: list [ depthai.Node.DatatypeHierarchy ] = ...) -> depthai.Node.Output: depthai.Node.Output

Kind: Method

###### createSubnode(self, class_, args, kwargs)

Kind: Method

###### onStart(self)

Kind: Method

###### onStop(self)

Kind: Method

###### run(self)

Kind: Method

##### depthai.node.HostNode(depthai.node.ThreadedHostNode)

Kind: Class

###### __init_subclass__

Kind: Class Method

###### __init__(self)

Kind: Method

###### createSubnode(self, class_, args, kwargs)

Kind: Method

###### onStart(self)

Kind: Method

###### onStop(self)

Kind: Method

###### processGroup(self, arg0: depthai.MessageGroup) -> depthai.Buffer: depthai.Buffer

Kind: Method

###### runSyncingOnDevice(self)

Kind: Method

###### runSyncingOnHost(self)

Kind: Method

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

Kind: Method

Send processing to pipeline. If set to true, it's important to call
`pipeline.run()` in the main thread or `pipeline.processTasks()` in the main
thread. Otherwise, if set to false, such action is not needed.

###### inputs

Kind: Property

###### out

Kind: Property

##### depthai.node.RecordVideo(depthai.node.ThreadedHostNode)

Kind: Class

RecordVideo node, used to record a video source stream to a file

###### getCompressionLevel(self) -> ...: ...

Kind: Method

###### getRecordMetadataFile(self) -> os.PathLike: os.PathLike

Kind: Method

###### getRecordVideoFile(self) -> os.PathLike: os.PathLike

Kind: Method

###### setCompressionLevel(self, compressionLevel: ...) -> RecordVideo: RecordVideo

Kind: Method

###### setFps(self, fps: int) -> RecordVideo: RecordVideo

Kind: Method

###### setRecordMetadataFile(self, recordFile: os.PathLike) -> RecordVideo: RecordVideo

Kind: Method

###### setRecordVideoFile(self, recordFile: os.PathLike) -> RecordVideo: RecordVideo

Kind: Method

###### input

Kind: Property

Input for ImgFrame or EncodedFrame messages to be recorded

Default queue is blocking with size 15

##### depthai.node.RecordMetadataOnly(depthai.node.ThreadedHostNode)

Kind: Class

RecordMetadataOnly node, used to record a source stream to a file

###### getCompressionLevel(self) -> ...: ...

Kind: Method

###### getRecordFile(self) -> os.PathLike: os.PathLike

Kind: Method

###### setCompressionLevel(self, compressionLevel: ...) -> RecordMetadataOnly: RecordMetadataOnly

Kind: Method

###### setRecordFile(self, recordFile: os.PathLike) -> RecordMetadataOnly: RecordMetadataOnly

Kind: Method

###### input

Kind: Property

Input IMU messages to be recorded (will support other types in the future)

Default queue is blocking with size 8

##### depthai.node.ImageFilters(depthai.DeviceNode)

Kind: Class

###### build(self, input: depthai.Node.Output, presetMode: depthai.ImageFiltersPresetMode = ...) -> ImageFilters: ImageFilters

Kind: Method

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

Kind: Method

Check if the node is set to run on host

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### initialConfig

Kind: Property

Initial config for image filters.

###### input

Kind: Property

Input for image frames to be filtered

###### inputConfig

Kind: Property

Config to be set for a specific filter

###### output

Kind: Property

Filtered frame

##### depthai.node.ToFDepthConfidenceFilter(depthai.DeviceNode)

Kind: Class

Node for depth confidence filter, designed to be used with the `ToF` node.

###### build(self, depth: depthai.Node.Output, amplitude: depthai.Node.Output, presetMode: depthai.ImageFiltersPresetMode = ...) -> ToFDepthConfidenceFilter: ToFDepthConfidenceFilter

Kind: Method

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

Kind: Method

Check if the node is set to run on host

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### amplitude

Kind: Property

Amplitude frame image, expected ImgFrame type is RAW8 or RAW16.

###### confidence

Kind: Property

RAW16 encoded confidence frame

###### depth

Kind: Property

Depth frame image, expected ImgFrame type is RAW8 or RAW16.

###### filteredDepth

Kind: Property

RAW16 encoded filtered depth frame

###### initialConfig

Kind: Property

Initial config for ToF depth confidence filter.

###### inputConfig

Kind: Property

Config message for runtime filter configuration

##### depthai.node.ReplayVideo(depthai.node.ThreadedHostNode)

Kind: Class

Replay node, used to replay a file to a source node

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

Kind: Method

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

Kind: Method

###### getOutFrameType(self) -> depthai.ImgFrame.Type: depthai.ImgFrame.Type

Kind: Method

###### getReplayMetadataFile(self) -> os.PathLike: os.PathLike

Kind: Method

###### getReplayVideoFile(self) -> os.PathLike: os.PathLike

Kind: Method

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

Kind: Method

###### setFps(self, fps: float) -> ReplayVideo: ReplayVideo

Kind: Method

###### setLoop(self, loop: bool) -> ReplayVideo: ReplayVideo

Kind: Method

###### setOutFrameType(self, frameType: depthai.ImgFrame.Type) -> ReplayVideo: ReplayVideo

Kind: Method

###### setReplayMetadataFile(self, replayFile: os.PathLike) -> ReplayVideo: ReplayVideo

Kind: Method

###### setReplayVideoFile(self, replayVideoFile: os.PathLike) -> ReplayVideo: ReplayVideo

Kind: Method

###### setSize(self, width: int, height: int) -> ReplayVideo: ReplayVideo

Kind: Method

###### out

Kind: Property

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

Default queue is blocking with size 8

##### depthai.node.ReplayMetadataOnly(depthai.node.ThreadedHostNode)

Kind: Class

Replay node, used to replay a file to a source node

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

Kind: Method

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

Kind: Method

###### getReplayFile(self) -> os.PathLike: os.PathLike

Kind: Method

###### setFps(self, fps: float) -> ReplayMetadataOnly: ReplayMetadataOnly

Kind: Method

###### setLoop(self, loop: bool) -> ReplayMetadataOnly: ReplayMetadataOnly

Kind: Method

###### setReplayFile(self, replayFile: os.PathLike) -> ReplayMetadataOnly: ReplayMetadataOnly

Kind: Method

###### out

Kind: Property

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

Default queue is blocking with size 8

##### depthai.node.ImageAlign(depthai.DeviceNode)

Kind: Class

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

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

Kind: Method

Check if the node is set to run on host

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

Kind: Method

Specify interpolation method to use when resizing

###### setNumFramesPool(self, numFramesPool: int) -> ImageAlign: ImageAlign

Kind: Method

Specify number of frames in the pool

###### setNumShaves(self, numShaves: int) -> ImageAlign: ImageAlign

Kind: Method

Specify number of shaves to use for this node

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

Kind: Method

Specify whether to keep aspect ratio when resizing

###### setOutputSize(self, alignWidth: int, alignHeight: int) -> ImageAlign: ImageAlign

Kind: Method

Specify the output size of the aligned image

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### 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.Align(depthai.DeviceNode)

Kind: Class

Align node. Aligns ImgFrame and Transformable messages using ImgTransformation
metadata.

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

Kind: Method

Check if the node is set to run on host

###### setNumFramesPool(self, numFramesPool: int) -> Align: Align

Kind: Method

Specify number of frames in the pool

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### initialConfig

Kind: Property

Initial config to use when aligning messages.

###### input

Kind: Property

Input message to be aligned. Can be either ImgFrame or any message that
implements Transformable interface. 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 the input message aligned to the inputAlignTo message. Output message
will be of the same type as input message.

###### passthroughInput

Kind: Property

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

##### depthai.node.RGBD(depthai.node.ThreadedHostNode)

Kind: Class

RGBD node. Combines depth and color frames into a single point cloud.

###### build(self) -> RGBD: RGBD

Kind: Method

###### printDevices(self)

Kind: Method

Print available GPU devices

###### setDepthUnits(self, units: depthai.LengthUnit)

Kind: Method

###### useCPU(self)

Kind: Method

Use single-threaded CPU for processing

###### useCPUMT(self, numThreads: int = 2)

Kind: Method

Use multi-threaded CPU for processing

Parameter ``numThreads``:
    Number of threads to use

###### useGPU(self, device: int = 0)

Kind: Method

Use GPU for processing (needs to be compiled with Kompute support)

Parameter ``device``:
    GPU device index

###### inColor

Kind: Property

###### inDepth

Kind: Property

###### pcl

Kind: Property

Output point cloud.

###### rgbd

Kind: Property

Output RGBD frames.

##### depthai.node.Rectification(depthai.DeviceNode)

Kind: Class

###### enableRectification(self, enable: bool) -> Rectification: Rectification

Kind: Method

Enable or disable rectification (useful for minimal changes during debugging)

###### setOutputSize(self, width: int, height: int) -> Rectification: Rectification

Kind: Method

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### input1

Kind: Property

Input images to be rectified

###### input2

Kind: Property

###### output1

Kind: Property

Send outputs

###### output2

Kind: Property

###### passthrough1

Kind: Property

Passthrough for input messages (so the node can be placed between other nodes)

###### passthrough2

Kind: Property

##### depthai.node.NeuralDepth(depthai.DeviceNode)

Kind: Class

NeuralDepth node. Compute depth from left-right image pair using neural network.

###### getInputSize(model: depthai.DeviceModelZoo) -> tuple [ int, int ]: tuple [ int, int ]

Kind: Static Method

Get input size for specific model

###### build(self, leftInput: depthai.Node.Output, rightInput: depthai.Node.Output, model: depthai.DeviceModelZoo = ...) -> NeuralDepth: NeuralDepth

Kind: Method

###### setRectification(self, enable: bool) -> NeuralDepth: NeuralDepth

Kind: Method

Enable or disable rectification (useful for prerectified inputs)

###### confidence

Kind: Property

Output confidence ImgFrame

###### depth

Kind: Property

Output depth ImgFrame

###### disparity

Kind: Property

Output disparity ImgFrame

###### edge

Kind: Property

Output edge ImgFrame

###### initialConfig

Kind: Property

Initial config to use for NeuralDepth.

###### inputConfig

Kind: Property

Input config to modify parameters in runtime.

###### left

Kind: Property

Input for left ImgFrame of left-right pair

###### messageDemux

Kind: Property

###### neuralNetwork

Kind: Property

###### rectification

Kind: Property

###### rectifiedLeft

Kind: Property

Output for rectified left ImgFrame

###### rectifiedRight

Kind: Property

Output for rectified right ImgFrame

###### right

Kind: Property

Input for right ImgFrame of left-right pair

###### sync

Kind: Property

##### depthai.node.GPUStereo(depthai.DeviceNode)

Kind: Class

GPU-accelerated stereo depth node for RVC4.

Computes disparity and depth maps from a synchronized stereo camera pair using
OpenCL on the Adreno GPU. Supports both rectified and unrectified inputs
(controlled via setRectification).

###### build(self, leftInput: depthai.Node.Output, rightInput: depthai.Node.Output) -> GPUStereo: GPUStereo

Kind: Method

Build the node by linking left and right camera outputs.

###### setRectification(self, enable: bool) -> GPUStereo: GPUStereo

Kind: Method

Enable or disable built-in stereo rectification.

When enabled, the node rectifies the input images internally using calibration
data. When disabled, inputs are expected to be already rectified.

###### confidenceMap

Kind: Property

Outputs ImgFrame message that carries RAW8 confidence map. Lower values mean
lower confidence of the calculated disparity value. Note: postprocessing steps
like LR-check/median filter are not applied to confidence map.

###### 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 RAW16 encoded disparity data.

###### initialConfig

Kind: Property

Initial config to use for GPUStereo.

Use this to configure startup parameters before the pipeline starts. Note: Only
`confidenceThreshold` is supported/exposed for this node.

###### left

Kind: Property

###### right

Kind: Property

##### depthai.node.Depth(depthai.DeviceNodeGroup)

Kind: Class

Depth node. Unified depth output from StereoDepth, NeuralDepth,
NeuralAssistedStereo, ToF, or GPUStereo.

With Algorithm::AUTO, the backend is chosen from device capabilities, target
FPS, and stereo resolution. On RVC4 this prefers NeuralDepth when available; on
other platforms it uses ToF when a ToF sensor is connected, otherwise
StereoDepth.

Use build() to pin algorithm, FPS, or resolution before the first depth() /
confidence() access. Use setAlignTo() to align depth to another camera output.

###### depthai.node.Depth.Algorithm

Kind: Class

Backend selection for the Depth node.

Members:

  AUTO

  STEREO

  NEURAL

  NEURAL_ASSISTED_STEREO

  TOF

  GPU_STEREO

###### AUTO: typing.ClassVar[Depth.Algorithm]

Kind: Class Variable

###### GPU_STEREO: typing.ClassVar[Depth.Algorithm]

Kind: Class Variable

###### NEURAL: typing.ClassVar[Depth.Algorithm]

Kind: Class Variable

###### NEURAL_ASSISTED_STEREO: typing.ClassVar[Depth.Algorithm]

Kind: Class Variable

###### STEREO: typing.ClassVar[Depth.Algorithm]

Kind: Class Variable

###### TOF: typing.ClassVar[Depth.Algorithm]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Depth.Algorithm]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### build(self, fps: float|None = None) -> Depth: Depth

Kind: Method

###### getRequestedAlgorithm(self) -> Depth.Algorithm: Depth.Algorithm

Kind: Method

Get the requested algorithm selection.

###### getRequestedConfig(self) -> typing.Any: typing.Any

Kind: Method

Get the requested config override, if any.

Returns:
    Config override, or std::nullopt when config is auto-picked

###### getResolvedAlgorithm(self) -> Depth.Algorithm: Depth.Algorithm

Kind: Method

Get the algorithm actually wired (AUTO resolved). Valid after first depth()
access.

###### getResolvedConfig(self) -> typing.Any: typing.Any

Kind: Method

Get the resolved algorithm-specific config.

###### setAlgorithm(self, algorithm: Depth.Algorithm) -> Depth: Depth

Kind: Method

Set the requested algorithm before wiring.

Parameter ``algorithm``:
    Backend to use; AUTO re-enables auto-selection

###### setAlignTo(self, alignTo: depthai.Node.Output) -> Depth: Depth

Kind: Method

Align depth output to another image source. Must be called before first depth()
or confidence() access. Only depth() is aligned; confidence() stays in the
backend frame.

Parameter ``alignTo``:
    Output to align depth to

###### setConfig(self, config: depthai.DeviceModelZoo) -> Depth: Depth

Kind: Method

###### confidence

Kind: Property

Output confidence map from the active backend. When ToF is active, this forwards
the actual ToF confidence output.

###### depth

Kind: Property

Output depth map from the active backend.

##### depthai.node.NeuralAssistedStereo(depthai.DeviceNode)

Kind: Class

NeuralAssistedStereo node. Combines Neural Depth with VPP and traditional Stereo
Depth.

This composite node internally creates and connects: - Rectification node (full
resolution) - NeuralDepth node (low resolution depth estimation) - VPP node
(applies virtual projection pattern) - StereoDepth node (final depth computation
on VPP-enhanced images)

Pipeline structure: Left/Right Cameras → Rectification → [Full res to VPP] ↓
NeuralDepth (low res) → [disparity + confidence to VPP] ↓ VPP (combines neural
depth with full res images) ↓ StereoDepth → Final Depth Output

###### build(self, leftInput: depthai.Node.Output, rightInput: depthai.Node.Output, neuralModel: depthai.DeviceModelZoo = ..., rectifyImages: bool = True) -> NeuralAssistedStereo: NeuralAssistedStereo

Kind: Method

###### depth

Kind: Property

###### disparity

Kind: Property

###### inputNeuralConfig

Kind: Property

###### inputStereoConfig

Kind: Property

###### inputVppConfig

Kind: Property

###### left

Kind: Property

###### neuralConfidence

Kind: Property

###### neuralDepth

Kind: Property

###### neuralDisparity

Kind: Property

###### rectification

Kind: Property

###### rectifiedLeft

Kind: Property

###### rectifiedRight

Kind: Property

###### right

Kind: Property

###### stereoDepth

Kind: Property

###### vpp

Kind: Property

###### vppLeft

Kind: Property

###### vppRight

Kind: Property

##### depthai.node.Vpp(depthai.DeviceNode)

Kind: Class

Vpp node. Apply Virtual Projection Pattern algorithm to stereo images based on
disparity.

###### build(self, leftInput: depthai.Node.Output, rightInput: depthai.Node.Output, disparity: depthai.Node.Output, confidence: depthai.Node.Output) -> Vpp: Vpp

Kind: Method

###### confidence

Kind: Property

###### disparity

Kind: Property

###### initialConfig

Kind: Property

Initial config of the node.

###### initialConfig.setter(self, arg1: depthai.VppConfig)

Kind: Method

###### inputConfig

Kind: Property

###### left

Kind: Property

###### leftOut

Kind: Property

Output ImgFrame message that carries the processed left image with virtual
projection pattern applied.

###### right

Kind: Property

###### rightOut

Kind: Property

Output ImgFrame message that carries the processed right image with virtual
projection pattern applied.

###### syncedInputs

Kind: Property

"Synchronised Left Img, Right Img, Dispatiy and confidence input."

##### depthai.node.Gate(depthai.DeviceNode)

Kind: Class

Gate Node.

This node acts as a valve for data pipelines. It controls the flow of messages
from the 'input' to the 'output' based on the state configured via
'inputControl'. It can be configured to stay open indefinitely, stay closed, or
open for a specific number of messages.

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

Kind: Method

Check if the node is configured to run on the host.

Returns:
    true if running on host, false otherwise.

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on
device.

###### initialConfig

Kind: Property

Initial config of the node.

###### initialConfig.setter(self, arg1: depthai.GateControl)

Kind: Method

###### input

Kind: Property

Main data input. * Accepts arbitrary Buffer messages (e.g., ImgFrame, NNData).
If the Gate is Open, messages received here are forwarded to 'output'. If the
Gate is Closed, messages received here are discarded/dropped. * Default queue
size: 1 Blocking: False

###### inputControl

Kind: Property

Control input. * Accepts 'GateControl' messages to dynamically change the Gate's
state. Use this to Open/Close the gate or set it to pass a specific number of
frames at runtime. * Default queue size: 4

###### output

Kind: Property

Main data output. * Forwards messages that were allowed through the Gate. The
data type matches the input message.

##### depthai.node.BasaltVIO(depthai.node.ThreadedHostNode)

Kind: Class

Basalt Visual Inertial Odometry node. Performs VIO on stereo images and IMU
data.

###### runSyncOnHost(self, runOnHost: bool)

Kind: Method

###### setAccelBias(self, bias: list [ float ])

Kind: Method

###### setAccelNoiseStd(self, noise: list [ float ])

Kind: Method

###### setConfig(self, config: depthai.VioConfig)

Kind: Method

###### setConfigPath(self, path: str)

Kind: Method

###### setGyroBias(self, bias: list [ float ])

Kind: Method

###### setGyroNoiseStd(self, noise: list [ float ])

Kind: Method

###### setImuExtrinsics(self, imuExtr: depthai.TransformData)

Kind: Method

###### setImuUpdateRate(self, rate: int)

Kind: Method

###### setLocalTransform(self, transform: depthai.TransformData)

Kind: Method

###### imu

Kind: Property

Input IMU data.

###### left

Kind: Property

###### passthrough

Kind: Property

Output passthrough of left image.

###### right

Kind: Property

###### transform

Kind: Property

Output transform data.

##### depthai.node.RTABMapVIO(depthai.node.ThreadedHostNode)

Kind: Class

RTABMap Visual Inertial Odometry node. Performs VIO on rectified frame, depth
frame and IMU data.

###### reset(self, transform: depthai.TransformData)

Kind: Method

Reset Odometry.

###### setLocalTransform(self, transform: depthai.TransformData)

Kind: Method

###### setParams(self, params: dict [ str, str ])

Kind: Method

Set RTABMap parameters.

###### setUseFeatures(self, useFeatures: bool)

Kind: Method

Whether to use input features or calculate them internally.

###### depth

Kind: Property

###### features

Kind: Property

Input tracked features on which VIO is performed (optional).

###### imu

Kind: Property

Input IMU data.

###### passthroughDepth

Kind: Property

Passthrough depth frame.

###### passthroughFeatures

Kind: Property

Passthrough features.

###### passthroughRect

Kind: Property

Passthrough rectified frame.

###### rect

Kind: Property

###### transform

Kind: Property

Output transform.

##### depthai.node.RTABMapSLAM(depthai.node.ThreadedHostNode)

Kind: Class

RTABMap SLAM node. Performs SLAM on given odometry pose, rectified frame and
depth frame.

###### getLocalTransform(self) -> depthai.TransformData: depthai.TransformData

Kind: Method

###### saveDatabase(self)

Kind: Method

###### setAlphaScaling(self, alpha: float)

Kind: Method

Set the alpha scaling factor for the camera model.

###### setDatabasePath(self, path: str)

Kind: Method

Set RTABMap database path. "/tmp/rtabmap.tmp.db" by default.

###### setFreq(self, f: float)

Kind: Method

Set the frequency at which the node processes data. 1Hz by default.

###### setLoadDatabaseOnStart(self, load: bool)

Kind: Method

Whether to load the database on start. False by default.

###### setLocalTransform(self, transform: depthai.TransformData)

Kind: Method

###### setParams(self, params: dict [ str, str ])

Kind: Method

Set RTABMap parameters. For the list of all parameters visit

https://github.com/introlab/rtabmap/blob/master/corelib/include/rtabmap/core/Par
ameters.h

###### setPublishGrid(self, publish: bool)

Kind: Method

Whether to publish the ground point cloud. True by default.

###### setPublishGroundCloud(self, publish: bool)

Kind: Method

Whether to publish the ground point cloud. True by default.

###### setPublishObstacleCloud(self, publish: bool)

Kind: Method

Whether to publish the obstacle point cloud. True by default.

###### setSaveDatabaseOnClose(self, save: bool)

Kind: Method

Whether to save the database on close. False by default.

###### setSaveDatabasePeriod(self, period: float)

Kind: Method

Set the interval at which the database is saved. 30.0s by default.

###### setSaveDatabasePeriodically(self, save: bool)

Kind: Method

Whether to save the database periodically. False by default.

###### setUseFeatures(self, useFeatures: bool)

Kind: Method

Whether to use input features for SLAM. False by default.

###### triggerNewMap(self)

Kind: Method

Trigger a new map.

###### depth

Kind: Property

###### features

Kind: Property

Input tracked features on which SLAM is performed (optional).

###### groundPCL

Kind: Property

Output ground point cloud.

###### obstaclePCL

Kind: Property

Output obstacle point cloud.

###### occupancyGridMap

Kind: Property

Output occupancy grid map.

###### odom

Kind: Property

Input odometry pose.

###### odomCorrection

Kind: Property

Output odometry correction (map to odom).

###### passthroughDepth

Kind: Property

Output passthrough depth image.

###### passthroughFeatures

Kind: Property

Output passthrough features.

###### passthroughOdom

Kind: Property

Output passthrough odometry pose.

###### passthroughRect

Kind: Property

Output passthrough rectified image.

###### rect

Kind: Property

###### transform

Kind: Property

Output transform.

##### depthai.node.DynamicCalibration(depthai.DeviceNode)

Kind: Class

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

Kind: Method

###### setRunOnHost(self, runOnHost: bool)

Kind: Method

Specify whether to run on host or device By default, the node will run on host
on RVC2 and on device on RVC4.

###### calibrationOutput

Kind: Property

Output calibration quality result

###### coverageOutput

Kind: Property

###### inputControl

Kind: Property

Input DynamicCalibrationControl message with ability to modify parameters in
runtime.

###### inputs

Kind: Property

###### left

Kind: Property

###### metricsOutput

Kind: Property

###### qualityOutput

Kind: Property

###### rgb

Kind: Property

###### right

Kind: Property

###### sync

Kind: Property

##### depthai.node.AutoCalibration(depthai.DeviceNode)

Kind: Class

###### initialConfig: depthai.AutoCalibrationConfig

Kind: Class Variable

###### build(self, cameraLeft: Camera, cameraRight: Camera) -> AutoCalibration: AutoCalibration

Kind: Method

###### output

Kind: Property

#### utility

Kind: Module

Utility functions

##### colorizeDepthFrame(frame: depthai.ImgFrame, minDepth: float = 300.0, maxDepth: float = 12000.0, colormap: int = 2, useLog: bool = True) -> depthai.ImgFrame: depthai.ImgFrame

Kind: Function

#### depthai.Timestamp

Kind: Class

Timestamp structure

##### nsec: int

Kind: Class Variable

##### sec: int

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

##### getSystemClock(self) -> datetime.datetime: datetime.datetime

Kind: Method

#### depthai.Point2f

Kind: Class

Point2f structure

x and y coordinates that define a 2D point.

##### x: float

Kind: Class Variable

##### y: float

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.Point3f

Kind: Class

Point3f structure

x,y,z coordinates that define a 3D point.

##### x: float

Kind: Class Variable

##### y: float

Kind: Class Variable

##### z: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.Point3fRGBA

Kind: Class

Point3fRGBA structure

x,y,z coordinates and RGB color values that define a 3D point with color and
alpha.

##### a: int

Kind: Class Variable

##### b: int

Kind: Class Variable

##### g: int

Kind: Class Variable

##### r: int

Kind: Class Variable

##### x: float

Kind: Class Variable

##### y: float

Kind: Class Variable

##### z: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.Point3d

Kind: Class

Point3d structure

x,y,z coordinates that define a 3D point.

##### x: float

Kind: Class Variable

##### y: float

Kind: Class Variable

##### z: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.Quaterniond

Kind: Class

Quaterniond structure

qx,qy,qz,qw coordinates that define a 3D point orientation.

##### qw: float

Kind: Class Variable

##### qx: float

Kind: Class Variable

##### qy: float

Kind: Class Variable

##### qz: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.Size2f

Kind: Class

Size2f structure

width, height values define the size of the shape/frame

##### height: float

Kind: Class Variable

##### width: float

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### 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

  VERTICAL

  CAM_E

  CAM_F

  CAM_G

  CAM_H

  CBA : Experimental feature. This API might change or be removed in a future release.

  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

##### CBA: 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

##### VERTICAL: 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.HousingCoordinateSystem

Kind: Class

Which Housing to use.

AUTO denotes that the decision will be made by device

Members:

  CAM_A

  CAM_B

  CAM_C

  CAM_D

  CAM_E

  CAM_F

  CAM_G

  CAM_H

  CAM_I

  CAM_J

  FRONT_CAM_A

  FRONT_CAM_B

  FRONT_CAM_C

  FRONT_CAM_D

  FRONT_CAM_E

  FRONT_CAM_F

  FRONT_CAM_G

  FRONT_CAM_H

  FRONT_CAM_I

  FRONT_CAM_J

  VESA_A

  VESA_B

  VESA_C

  VESA_D

  VESA_E

  VESA_F

  VESA_G

  VESA_H

  VESA_I

  VESA_J

  IMU

##### CAM_A: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### CAM_B: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### CAM_C: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### CAM_D: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### CAM_E: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### CAM_F: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### CAM_G: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### CAM_H: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### CAM_I: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### CAM_J: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_A: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_B: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_C: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_D: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_E: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_F: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_G: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_H: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_I: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### FRONT_CAM_J: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### IMU: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_A: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_B: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_C: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_D: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_E: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_F: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_G: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_H: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_I: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### VESA_J: typing.ClassVar[HousingCoordinateSystem]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, HousingCoordinateSystem]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.ExternalFrameSyncRole

Kind: Class

Which external frame sync role the device should have.

AUTO_DETECT denotes that the decision will be made by device. It will choose
between MASTER and SLAVE.

Members:

  AUTO_DETECT

  MASTER

  SLAVE

##### AUTO_DETECT: typing.ClassVar[ExternalFrameSyncRole]

Kind: Class Variable

##### MASTER: typing.ClassVar[ExternalFrameSyncRole]

Kind: Class Variable

##### SLAVE: typing.ClassVar[ExternalFrameSyncRole]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, ExternalFrameSyncRole]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.CameraSensorConfig

Kind: Class

Sensor config

##### fov: Rect

Kind: Class Variable

##### height: int

Kind: Class Variable

##### maxFps: float

Kind: Class Variable

##### minFps: float

Kind: Class Variable

##### type: CameraSensorType

Kind: Class Variable

##### width: int

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.CameraFeatures

Kind: Class

CameraFeatures structure

Characterizes detected cameras on board

##### calibrationResolution: CameraSensorConfig|None

Kind: Class Variable

##### configs: list[CameraSensorConfig]

Kind: Class Variable

##### hasAutofocus: bool

Kind: Class Variable

##### hasAutofocusIC: bool

Kind: Class Variable

##### height: int

Kind: Class Variable

##### name: str

Kind: Class Variable

##### orientation: CameraImageOrientation

Kind: Class Variable

##### sensorName: str

Kind: Class Variable

##### socket: CameraBoardSocket

Kind: Class Variable

##### supportedTypes: list[CameraSensorType]

Kind: Class Variable

##### width: int

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.MemoryInfo

Kind: Class

MemoryInfo structure

Free, remaining and total memory stats

##### remaining: int

Kind: Class Variable

##### total: int

Kind: Class Variable

##### used: int

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.ChipTemperature

Kind: Class

Chip temperature information.

Multiple temperature measurement points and their average

##### average: float

Kind: Class Variable

##### css: float

Kind: Class Variable

##### dss: float

Kind: Class Variable

##### mss: float

Kind: Class Variable

##### upa: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.ChipTemperatureRVC4

Kind: Class

Chip temperature information.

Multiple temperature measurement points and their average

##### average: float

Kind: Class Variable

##### camera: float

Kind: Class Variable

##### cpuss: float

Kind: Class Variable

##### ddr: float

Kind: Class Variable

##### gpuss: float

Kind: Class Variable

##### mdmss: float

Kind: Class Variable

##### video: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.CpuUsage

Kind: Class

CpuUsage structure

Average usage in percent and time span of the average (since last query)

##### average: float

Kind: Class Variable

##### msTime: int

Kind: Class Variable

##### __init__(self)

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.StereoRectification

Kind: Class

StereoRectification structure

##### leftCameraSocket: CameraBoardSocket

Kind: Class Variable

##### rectifiedRotationLeft: list[list[float]]

Kind: Class Variable

##### rectifiedRotationRight: list[list[float]]

Kind: Class Variable

##### rightCameraSocket: CameraBoardSocket

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.Extrinsics

Kind: Class

Extrinsics structure

##### lengthUnit: LengthUnit

Kind: Class Variable

##### rotationMatrix: list[list[float]]

Kind: Class Variable

##### specTranslation: Point3f

Kind: Class Variable

##### toCameraSocket: CameraBoardSocket

Kind: Class Variable

##### toDeviceId: str

Kind: Class Variable

##### translation: Point3f

Kind: Class Variable

##### __init__(self)

Kind: Method

##### getExtrinsicsTransformationTo(self, to: Extrinsics, useSpecTranslation: bool = False, unit: LengthUnit = ...) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]

Kind: Method

Get the extrinsic transformation matrix from this Extrinsics to the target
Extrinsics.

Parameter ``to``:
    The target Extrinsics to get the transformation matrix to

Parameter ``useSpecTranslation``:
    Set to true to force using spec translation

Parameter ``sourceUnit``:
    Units of the translation vector in the source Extrinsics (this). Only
    relevant if useSpecTranslation is false.

Returns:
    a transformationMatrix which is 4x4 in homogeneous coordinate system

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

Kind: Method

Get the inverse extrinsic rotation matrix in array format.

Returns:
    3x3 inverse rotation matrix as a 2D array

##### getInverseTransformationMatrix(self, useSpecTranslation: bool = False, unit: LengthUnit = ...) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]

Kind: Method

Get the inverse of the extrinsic transformation matrix which is equal to the
transformation from the toCameraSocket to the current camera socket.

Parameter ``useSpecTranslation``:
    Set to true to force using spec translation

Parameter ``unit``:
    Units of the returned translation vector

Returns:
    a transformationMatrix which is 4x4 in homogeneous coordinate system

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

Kind: Method

Get the extrinsic rotation matrix in array format.

Returns:
    3x3 rotation matrix as a 2D array

##### getTransformationMatrix(self, useSpecTranslation: bool = False, unit: LengthUnit = ...) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]

Kind: Method

Get the Camera Extrinsics object to the toCameraSocket.

Parameter ``useSpecTranslation``:
    Set to true to force using spec translation

Parameter ``unit``:
    Units of the returned translation vector

Returns:
    4x4 homogeneous transformation matrix

The returned matrix has the following layout:

```
[ r00 r01 r02 Tx ]
[ r10 r11 r12 Ty ]
[ r20 r21 r22 Tz ]
[  0   0   0  1 ]
```

@note The full transformation matrix can only be obtained if both the rotation
matrix and the translation vector are set.

##### getTranslationVector(self, useSpecTranslation: bool = False, unit: LengthUnit = ...) -> list [ float ]: list [ float ]

Kind: Method

Get the translation vector

Parameter ``unit``:
    Units of the returned translation vector

Returns:
    translation vector in specified units

##### hasCompatibleCoordinateSystem(self, to: Extrinsics) -> bool: bool

Kind: Method

Check whether these extrinsics can be expressed relative to the same target
coordinate system as another Extrinsics object. Unknown device IDs and AUTO
camera sockets are treated as compatible for backwards compatibility.

Parameter ``to``:
    The target Extrinsics object to compare with

Returns:
    true if no known part of the target coordinate system differs, false
    otherwise

##### isEqualExtrinsics(self, other: Extrinsics, epsilon: float = 9.999999974752427e-07) -> bool: bool

Kind: Method

Two Extrinsics objects are equal if their rotation matrices and translation
vectors are equal (within a small epsilon).

Parameter ``other``:
    The other Extrinsics object to compare with

Parameter ``epsilon``:
    The tolerance for comparing floating-point values

Returns:
    true if the Extrinsics objects are equal, false otherwise

##### setTransformationMatrix(self, matrix: list [ list [ float ] ], unit: LengthUnit = ...)

Kind: Method

Set the extrinsic transformation matrix.

Parameter ``matrix``:
    4x4 homogeneous transformation matrix

Parameter ``unit``:
    Units of the translation components Tx, Ty, and Tz

The matrix must have the following layout:

```
[ r00 r01 r02 Tx ]
[ r10 r11 r12 Ty ]
[ r20 r21 r22 Tz ]
[  0   0   0  1 ]
```

##### setTranslationVector(self, translationVector: Point3f, unit: LengthUnit = ..., useSpecTranslation: bool = False)

Kind: Method

Set the translation vector

Parameter ``translationVector``:
    The translation vector to set

Parameter ``unit``:
    Units of the provided translation vector

Parameter ``useSpecTranslation``:
    Set to true to force setting spec translation

#### depthai.CameraInfo

Kind: Class

CameraInfo structure

##### cameraType: CameraModel

Kind: Class Variable

##### distortionCoeff: list[float]

Kind: Class Variable

##### extrinsics: Extrinsics

Kind: Class Variable

##### height: int

Kind: Class Variable

##### intrinsicMatrix: list[list[float]]

Kind: Class Variable

##### specHfovDeg: float

Kind: Class Variable

##### width: int

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.EepromData

Kind: Class

EepromData structure

Contains the Calibration and Board data stored on device

##### batchName: str

Kind: Class Variable

##### batchTime: int

Kind: Class Variable

##### boardConf: str

Kind: Class Variable

##### boardCustom: str

Kind: Class Variable

##### boardName: str

Kind: Class Variable

##### boardOptions: int

Kind: Class Variable

##### boardRev: str

Kind: Class Variable

##### cameraData: dict[CameraBoardSocket, CameraInfo]

Kind: Class Variable

##### deviceName: str

Kind: Class Variable

##### hardwareConf: str

Kind: Class Variable

##### housingExtrinsics: Extrinsics

Kind: Class Variable

##### imuCalibrationParams: ImuCalibrationParams

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

##### version: int

Kind: Class Variable

##### verticalCameraSocket: CameraBoardSocket

Kind: Class Variable

##### __init__(self)

Kind: Method

##### miscellaneousData

Kind: Property

##### miscellaneousData.setter(self, arg0: ..., std: ...)

Kind: Method

#### depthai.ImuNoiseParameters

Kind: Class

Allan-variance-derived IMU noise parameters.

##### accelerometer: AccelerometerNoiseParams

Kind: Class Variable

##### gyroscope: GyroscopeNoiseParams

Kind: Class Variable

##### name: str

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.ImuCalibrationParams

Kind: Class

Complete IMU parameter payload: noise + per-sensor canonical affine calibration.

##### accelerometer: list[list[float]]

Kind: Class Variable

##### gyroscope: list[list[float]]

Kind: Class Variable

##### noise: ImuNoiseParameters

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.AccelerometerNoiseParams

Kind: Class

##### x: AccelAxisNoiseParams

Kind: Class Variable

##### y: AccelAxisNoiseParams

Kind: Class Variable

##### z: AccelAxisNoiseParams

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.GyroscopeNoiseParams

Kind: Class

##### x: GyroAxisNoiseParams

Kind: Class Variable

##### y: GyroAxisNoiseParams

Kind: Class Variable

##### z: GyroAxisNoiseParams

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.AccelAxisNoiseParams

Kind: Class

##### biasStability: float

Kind: Class Variable

##### noiseDensity: float

Kind: Class Variable

##### randomWalk: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.GyroAxisNoiseParams

Kind: Class

##### biasStability: float

Kind: Class Variable

##### noiseDensity: float

Kind: Class Variable

##### randomWalk: float

Kind: Class Variable

##### __init__(self)

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.ProcessorType

Kind: Class

Members:

  LEON_CSS

  LEON_MSS

  CPU

  DSP

##### CPU: typing.ClassVar[ProcessorType]

Kind: Class Variable

##### DSP: typing.ClassVar[ProcessorType]

Kind: Class Variable

##### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.LengthUnit

Kind: Class

Measurement unit for depth and calibration data.

Members:

  METER

  CENTIMETER

  MILLIMETER

  INCH

  FOOT

  CUSTOM

##### CENTIMETER: typing.ClassVar[LengthUnit]

Kind: Class Variable

##### CUSTOM: typing.ClassVar[LengthUnit]

Kind: Class Variable

##### FOOT: typing.ClassVar[LengthUnit]

Kind: Class Variable

##### INCH: typing.ClassVar[LengthUnit]

Kind: Class Variable

##### METER: typing.ClassVar[LengthUnit]

Kind: Class Variable

##### MILLIMETER: typing.ClassVar[LengthUnit]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, LengthUnit]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.AngleUnit

Kind: Class

Measurement unit for angular quantities stored in radians.

Members:

  RADIAN

  DEGREE

##### DEGREE: typing.ClassVar[AngleUnit]

Kind: Class Variable

##### RADIAN: typing.ClassVar[AngleUnit]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, AngleUnit]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.YoloDecodingFamily

Kind: Class

Members:

  TLBR

  v5AB

  v3AB

  R1AF

##### R1AF: typing.ClassVar[YoloDecodingFamily]

Kind: Class Variable

##### TLBR: typing.ClassVar[YoloDecodingFamily]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, YoloDecodingFamily]]

Kind: Class Variable

##### v3AB: typing.ClassVar[YoloDecodingFamily]

Kind: Class Variable

##### v5AB: typing.ClassVar[YoloDecodingFamily]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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: int)

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: int)

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

##### anchorMasks: dict[str, list[int]]

Kind: Class Variable

##### anchors: list[float]

Kind: Class Variable

##### anchorsV2: list[list[list[float]]]

Kind: Class Variable

##### classes: int

Kind: Class Variable

##### confidenceThreshold: float

Kind: Class Variable

##### coordinates: int

Kind: Class Variable

##### decodeKeypoints: bool

Kind: Class Variable

##### decodingFamily: YoloDecodingFamily

Kind: Class Variable

##### iouThreshold: float

Kind: Class Variable

##### keypointEdges: list[typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(2)]]

Kind: Class Variable

##### nnFamily: DetectionNetworkType

Kind: Class Variable

##### numKeypoints: int|None

Kind: Class Variable

##### outputNames: list[str]

Kind: Class Variable

#### depthai.RotatedRect

Kind: Class

RotatedRect structure

##### angle: float

Kind: Class Variable

##### center: Point2f

Kind: Class Variable

##### size: Size2f

Kind: Class Variable

##### __init__(self)

Kind: Method

##### denormalize(self, width: int, height: int, force: bool = False) -> RotatedRect: RotatedRect

Kind: Method

Denormalize the rotated rectangle. The denormalized rectangle will have center
and size coordinates in range [0, width] and [0, height]

Returns:
    Denormalized rotated rectangle

##### getOuterCXCYWH(self) -> tuple [ Point2f, Size2f ]: tuple [ Point2f, Size2f ]

Kind: Method

Returns the outer non-rotated rectangle in the YOLO (xcenter, ycenter, width,
height) format.

Returns:
    (center point, size)

##### getOuterRect(self) -> typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ]: typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ]

Kind: Method

Returns the outer non-rotated rectangle

Returns:
    [minx, miny, maxx, maxy]

##### getOuterXYWH(self) -> tuple [ Point2f, Size2f ]: tuple [ Point2f, Size2f ]

Kind: Method

Returns the outer non-rotated rectangle in the COCO (xmin, ymin, width, height)
format.

Returns:
    (top-left point, size)

##### getPoints(self) -> typing.Annotated [ list [ Point2f ], pybind11_stubgen.typing_ext.FixedSize(4) ]: typing.Annotated [ list [ Point2f ], pybind11_stubgen.typing_ext.FixedSize(4) ]

Kind: Method

Get the 4 corner points of the rotated rectangle

Returns:
    4 corner points

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

Kind: Method

##### normalize(self, width: int, height: int) -> RotatedRect: RotatedRect

Kind: Method

Normalize the rotated rectangle. The normalized rectangle will have center and
size coordinates in range [0,1]

Returns:
    Normalized rotated rectangle

#### 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.

##### height: float

Kind: Class Variable

##### width: float

Kind: Class Variable

##### x: float

Kind: Class Variable

##### y: float

Kind: Class Variable

##### __init__(self)

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, point: Point2f) -> bool: bool

Kind: Method

Checks whether the rectangle contains the point.

##### denormalize(self, width: int, height: int) -> 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: int, height: int) -> 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.

#### depthai.StereoPair

Kind: Class

Describes which camera sockets can be used for stereo and their baseline.

##### baseline: float

Kind: Class Variable

##### 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

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.Color

Kind: Class

Color structure

r,g,b,a color values with values in range [0.0, 1.0]

##### a: float

Kind: Class Variable

##### b: float

Kind: Class Variable

##### g: float

Kind: Class Variable

##### r: float

Kind: Class Variable

##### __init__(self)

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.ProfilingData

Kind: Class

##### numBytesRead: int

Kind: Class Variable

##### numBytesWritten: int

Kind: Class Variable

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.DeviceModelZoo

Kind: Class

On device models, relevant for RVC4 platform

Members:

  NEURAL_DEPTH_1248X780

  NEURAL_DEPTH_1056X660

  NEURAL_DEPTH_960X600

  NEURAL_DEPTH_864X540

  NEURAL_DEPTH_768X480

  NEURAL_DEPTH_576X360

  NEURAL_DEPTH_480X300

  NEURAL_DEPTH_384X240

  NEURAL_DEPTH_288X180

  NEURAL_DEPTH_192X120

  NEURAL_DEPTH_EXTRA_LARGE

  NEURAL_DEPTH_LARGE

  NEURAL_DEPTH_MEDIUM

  NEURAL_DEPTH_SMALL

  NEURAL_DEPTH_NANO

##### NEURAL_DEPTH_1056X660: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_1248X780: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_192X120: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_288X180: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_384X240: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_480X300: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_576X360: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_768X480: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_864X540: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_960X600: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_EXTRA_LARGE: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_LARGE: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_MEDIUM: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_NANO: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### NEURAL_DEPTH_SMALL: typing.ClassVar[DeviceModelZoo]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, DeviceModelZoo]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.Keypoint

Kind: Class

##### confidence: float

Kind: Class Variable

##### imageCoordinates: Point3f

Kind: Class Variable

##### label: int

Kind: Class Variable

##### labelName: str

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.KeypointsList

Kind: Class

##### __init__(self)

Kind: Method

##### getEdges(self) -> list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]

Kind: Method

Get the indices of the edges.

Returns:
    Vector of edge indices.

##### getKeypoints(self) -> list [ Keypoint ]: list [ Keypoint ]

Kind: Method

Get keypoints.

Returns:
    Vector of Keypoint objects.

##### getPoints2f(self) -> VectorPoint2f: VectorPoint2f

Kind: Method

Get only image 2D coordinates of the keypoints and drop the z axis values.

Returns:
    Vector of Point2f coordinates.

##### getPoints3f(self) -> list [ Point3f ]: list [ Point3f ]

Kind: Method

Get only image coordinates of the keypoints.

Returns:
    Vector of Point3f coordinates.

##### setEdges(self, edges: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ])

Kind: Method

##### setKeypoints(self, keypoints: list [ Keypoint ])

Kind: Method

#### depthai.SpatialKeypoint

Kind: Class

##### confidence: float

Kind: Class Variable

##### imageCoordinates: Point3f

Kind: Class Variable

##### label: int

Kind: Class Variable

##### labelName: str

Kind: Class Variable

##### spatialCoordinates: Point3f

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.SpatialKeypointsList

Kind: Class

List of spatial keypoints.

All `SpatialKeypoint::spatialCoordinates` values stored in this list are
expressed in `unit` units. Mixed spatial units within a single list are not
supported.

##### __init__(self)

Kind: Method

##### getEdges(self) -> list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]

Kind: Method

Get the indices of the edges.

Returns:
    Vector of edge indices.

##### getKeypoints(self) -> list [ SpatialKeypoint ]: list [ SpatialKeypoint ]

Kind: Method

Get keypoints.

Returns:
    Vector of Keypoint objects.

##### getPoints2f(self) -> VectorPoint2f: VectorPoint2f

Kind: Method

Get only image 2D coordinates of the keypoints and drop the z axis values.

Returns:
    Vector of Point2f coordinates.

##### getPoints3f(self) -> list [ Point3f ]: list [ Point3f ]

Kind: Method

Get only image coordinates of the keypoints.

Returns:
    Vector of Point3f coordinates.

##### getSpatialCoordinates(self) -> list [ Point3f ]: list [ Point3f ]

Kind: Method

Get spatial coordinates of the keypoints.

Returns:
    Vector of Point3f spatial coordinates.

##### setEdges(self, edges: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ])

Kind: Method

##### setKeypoints(self, keypoints: list [ SpatialKeypoint ])

Kind: Method

##### setSpatialCoordinates(self, spatialCoordinates: list [ Point3f ], spatialUnit: LengthUnit = ...)

Kind: Method

Sets the keypoints from a vector of 3D spatial points.

The size of spatialCoordinates must match the number of keypoints.

Parameter ``spatialCoordinates``:
    vector of Point3f objects to set as spatial coordinates.

Parameter ``spatialUnit``:
    The unit of the spatial coordinates. By default, spatial coordinates are in
    millimeters.

##### unit

Kind: Property

Length unit used by all keypoints' `spatialCoordinates` in this list.

##### unit.setter(self, arg0: LengthUnit)

Kind: Method

#### depthai.DatatypeEnum

Kind: Class

Members:

  ADatatype

  Buffer

  Transformable

  ImgFrame

  EncodedFrame

  NNData

  ImageManipConfig

  CameraControl

  ImgDetections

  SpatialImgDetections

  SegmentationParserConfig

  SegmentationMask

  SystemInformation

  SystemInformationRVC4

  SpatialLocationCalculatorConfig

  SpatialLocationCalculatorData

  EdgeDetectorConfig

  AprilTagConfig

  AprilTags

  Tracklets

  IMUData

  StereoDepthConfig

  GPUStereoConfig

  FeatureTrackerConfig

  ThermalConfig

  ToFConfig

  VppConfig

  TrackedFeatures

  BenchmarkReport

  MessageGroup

  TransformData

  PointCloudConfig

  PointCloudData

  ImageAlignConfig

  AlignConfig

  ImgAnnotations

  MapData

  RGBDData

  PipelineEvent

  PipelineState

  ImageFiltersConfig

  ToFDepthConfidenceFilterConfig

  DynamicCalibrationControl

  DynamicCalibrationResult

  AutoCalibrationConfig

  AutoCalibrationResult

  CalibrationQuality

  ImgDetectionsFilterConfig

  Classifications

  Keypoints

  Clusters

  Map2D

  Lines

  Predictions

  FastSAMParserConfig

  HRNetParserConfig

  MLSDParserConfig

  MPPalmDetectionParserConfig

  PPTextDetectionParserConfig

  RFDETRParserConfig

  SCRFDParserConfig

  SuperAnimalParserConfig

  YuNetParserConfig

  ClassificationSequenceParserConfig

  MapOutputParserConfig

  XFeatMonoParserConfig

  XFeatStereoParserConfig

  CoverageData

##### ADatatype: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### AlignConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### AprilTagConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### AprilTags: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### AutoCalibrationConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### AutoCalibrationResult: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### BenchmarkReport: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Buffer: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### CalibrationQuality: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### CameraControl: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ClassificationSequenceParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Classifications: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Clusters: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### CoverageData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### DynamicCalibrationControl: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### DynamicCalibrationResult: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### EdgeDetectorConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### EncodedFrame: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### FastSAMParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### FeatureTrackerConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### GPUStereoConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### HRNetParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### IMUData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImageAlignConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImageFiltersConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImageManipConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImgAnnotations: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImgDetections: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImgDetectionsFilterConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ImgFrame: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Keypoints: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Lines: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### MLSDParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### MPPalmDetectionParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Map2D: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### MapData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### MapOutputParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### MessageGroup: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### NNData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### PPTextDetectionParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### PipelineEvent: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### PipelineState: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### PointCloudConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### PointCloudData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Predictions: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### RFDETRParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### RGBDData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### SCRFDParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### SegmentationMask: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### SegmentationParserConfig: 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

##### SuperAnimalParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### SystemInformation: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### SystemInformationRVC4: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ThermalConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ToFConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### ToFDepthConfidenceFilterConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### TrackedFeatures: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Tracklets: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### TransformData: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### Transformable: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### VppConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### XFeatMonoParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### XFeatStereoParserConfig: typing.ClassVar[DatatypeEnum]

Kind: Class Variable

##### YuNetParserConfig: 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.ADatatype

Kind: Class

Abstract message

##### __init__(self)

Kind: Method

#### depthai.Buffer(depthai.ADatatype)

Kind: Class

Base message - buffer of binary data

##### __init__(self: typing_extensions.Buffer)

Kind: Method

##### __repr__(self: typing_extensions.Buffer) -> str: str

Kind: Method

##### getData(self) -> numpy.ndarray [ numpy.uint8 ]: numpy.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 image 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

##### getTimestampSystem(self: typing_extensions.Buffer) -> datetime.datetime|None: datetime.datetime|None

Kind: Method

Retrieves timestamp directly captured from device's system clock, that can be
synchronized using PTP

##### getVisualizationMessage(self: typing_extensions.Buffer) -> ImgAnnotations|ImgFrame|None: ImgAnnotations|ImgFrame|None

Kind: Method

Get visualizable message

Returns:
    Visualizable message, either ImgFrame, ImgAnnotations or std::monostate
    (None)

##### setBufferMetadataFrom(self: typing_extensions.Buffer, arg0: typing_extensions.Buffer)

Kind: Method

Copies all metadata from another buffer

##### setData(self: typing_extensions.Buffer, arg0: ..., std: ...)

Kind: Method

##### setSequenceNum(self: typing_extensions.Buffer, sequenceNum: int)

Kind: Method

Sets image sequence number

##### setTimestamp(self: typing_extensions.Buffer, timestamp: datetime.timedelta)

Kind: Method

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

##### setTimestampDevice(self: typing_extensions.Buffer, timestampDevice: datetime.timedelta)

Kind: Method

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

##### setTimestampSystem(self: typing_extensions.Buffer, arg0: datetime.datetime|None)

Kind: Method

Sets optional system_clock timestamp (device system clock; may be PTP-
synchronized).

#### depthai.ProtoSerializable

Kind: Class

##### load(self, path: os.PathLike)

Kind: Method

##### save(self, path: os.PathLike, metadataOnly: bool = False)

Kind: Method

#### depthai.Transformable

Kind: Class

Interface for messages that carry image transformation metadata and can be
remapped to another image transformation.

##### transformation: ImgTransformation|None

Kind: Class Variable

##### getTransformation(self) -> ImgTransformation|None: ImgTransformation|None

Kind: Method

Returns the current transformation if set, else std::nullopt.

##### setTransformation(self, transformation: ImgTransformation)

Kind: Method

Sets the current transformation.

#### depthai.TransformableBuffer(depthai.Buffer, depthai.Transformable)

Kind: Class

Base message type for custom transformable messages.

This class combines Buffer storage with the Transformable interface and provides
a virtual transformTo() entry point for host-side polymorphic dispatch. Python
users should inherit from TransformableBuffer, not Transformable, when
implementing custom messages that need transformation support.

##### __init__(self)

Kind: Method

##### transformTo(self, target: ImgTransformation) -> TransformableBuffer: TransformableBuffer

Kind: Method

Returns a transformed copy of this message.

Python subclasses of TransformableBuffer should override this method to
implement custom transformation logic. Generic callers use this entry point when
they need to transform a custom message without knowing its concrete type. The
base implementation throws, because it cannot preserve Python subclass state
automatically.

Parameter ``target``:
    Target image transformation.

#### 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[AprilTagConfig.Family]

Kind: Class Variable

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

Kind: Class Variable

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

Kind: Class Variable

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

Kind: Class Variable

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

Kind: Class Variable

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

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, AprilTagConfig.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: int)

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: int)

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)

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: float)

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: float)

Kind: Method

###### maxNmaxima

Kind: Property

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

###### maxNmaxima.setter(self, arg0: int)

Kind: Method

###### minClusterPixels

Kind: Property

Reject quads containing too few pixels.

###### minClusterPixels.setter(self, arg0: int)

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: int)

Kind: Method

##### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Parameter ``family``:
    AprilTag family

##### 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: float)

Kind: Method

##### family

Kind: Property

AprilTag family.

##### family.setter(self, arg0: AprilTagConfig.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: int)

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: int)

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: float)

Kind: Method

##### quadThresholds

Kind: Property

AprilTag quad threshold parameters.

##### quadThresholds.setter(self, arg0: AprilTagConfig.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.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: float)

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: int)

Kind: Method

##### id

Kind: Property

The decoded ID of the tag

##### id.setter(self, arg0: int)

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.AprilTags(depthai.Buffer, depthai.Transformable)

Kind: Class

AprilTags message.

##### aprilTags: list[AprilTag]

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

##### transformTo(self, target: ImgTransformation) -> AprilTags: AprilTags

Kind: Method

Returns a new AprilTags message with the tags transformed into the target image
transformation.

If the target transformation has a different coordinate system source (eg.
different camera socket) then the remapping will be inaccurate due to the lack
of depth information.

Parameter ``target``:
    Target image transformation.

#### 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.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_MAX_ISO

###### AE_AUTO: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AE_LOCK: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AE_MANUAL: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AE_MAX_ISO: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AE_REGION: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AE_TARGET_FPS_RANGE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AF_MODE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AF_REGION: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AF_TRIGGER: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### ANTIBANDING_MODE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AWB_LOCK: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### AWB_MODE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### BRIGHTNESS: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### CAPTURE_INTENT: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### CHROMA_DENOISE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### CONTRAST: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### CONTROL_MODE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### CUSTOM_CAPTURE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### CUSTOM_CAPT_MODE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### CUSTOM_EXP_BRACKETS: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### CUSTOM_USECASE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### EFFECT_MODE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### EXPOSURE_COMPENSATION: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### FRAME_DURATION: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### LUMA_DENOISE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### MOVE_LENS: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### NOISE_REDUCTION_STRENGTH: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### RESOLUTION: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### SATURATION: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### SCENE_MODE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### SENSITIVITY: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### SHARPNESS: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### START_STREAM: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### STILL_CAPTURE: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### STOP_STREAM: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### STREAM_FORMAT: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### WB_COLOR_TEMP: typing.ClassVar[CameraControl.Command]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraControl.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: int)

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: int)

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[CameraControl.AutoFocusMode]

Kind: Class Variable

###### CONTINUOUS_PICTURE: typing.ClassVar[CameraControl.AutoFocusMode]

Kind: Class Variable

###### CONTINUOUS_VIDEO: typing.ClassVar[CameraControl.AutoFocusMode]

Kind: Class Variable

###### EDOF: typing.ClassVar[CameraControl.AutoFocusMode]

Kind: Class Variable

###### MACRO: typing.ClassVar[CameraControl.AutoFocusMode]

Kind: Class Variable

###### OFF: typing.ClassVar[CameraControl.AutoFocusMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraControl.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: int)

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: int)

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[CameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### CLOUDY_DAYLIGHT: typing.ClassVar[CameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### DAYLIGHT: typing.ClassVar[CameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### FLUORESCENT: typing.ClassVar[CameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### INCANDESCENT: typing.ClassVar[CameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### OFF: typing.ClassVar[CameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### SHADE: typing.ClassVar[CameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### TWILIGHT: typing.ClassVar[CameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### WARM_FLUORESCENT: typing.ClassVar[CameraControl.AutoWhiteBalanceMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraControl.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: int)

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: int)

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[CameraControl.SceneMode]

Kind: Class Variable

###### BARCODE: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### BEACH: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### CANDLELIGHT: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### FACE_PRIORITY: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### FIREWORKS: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### LANDSCAPE: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### NIGHT: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### NIGHT_PORTRAIT: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### PARTY: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### PORTRAIT: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### SNOW: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### SPORTS: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### STEADYPHOTO: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### SUNSET: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### THEATRE: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### UNSUPPORTED: typing.ClassVar[CameraControl.SceneMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraControl.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: int)

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: int)

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[CameraControl.ControlMode]

Kind: Class Variable

###### OFF: typing.ClassVar[CameraControl.ControlMode]

Kind: Class Variable

###### USE_SCENE_MODE: typing.ClassVar[CameraControl.ControlMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraControl.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: int)

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: int)

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[CameraControl.CaptureIntent]

Kind: Class Variable

###### PREVIEW: typing.ClassVar[CameraControl.CaptureIntent]

Kind: Class Variable

###### STILL_CAPTURE: typing.ClassVar[CameraControl.CaptureIntent]

Kind: Class Variable

###### VIDEO_RECORD: typing.ClassVar[CameraControl.CaptureIntent]

Kind: Class Variable

###### VIDEO_SNAPSHOT: typing.ClassVar[CameraControl.CaptureIntent]

Kind: Class Variable

###### ZERO_SHUTTER_LAG: typing.ClassVar[CameraControl.CaptureIntent]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraControl.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.AntiBandingMode

Kind: Class

Members:

  OFF

  MAINS_50_HZ

  MAINS_60_HZ

  AUTO

###### AUTO: typing.ClassVar[CameraControl.AntiBandingMode]

Kind: Class Variable

###### MAINS_50_HZ: typing.ClassVar[CameraControl.AntiBandingMode]

Kind: Class Variable

###### MAINS_60_HZ: typing.ClassVar[CameraControl.AntiBandingMode]

Kind: Class Variable

###### OFF: typing.ClassVar[CameraControl.AntiBandingMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraControl.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: int)

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: int)

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[CameraControl.EffectMode]

Kind: Class Variable

###### BLACKBOARD: typing.ClassVar[CameraControl.EffectMode]

Kind: Class Variable

###### MONO: typing.ClassVar[CameraControl.EffectMode]

Kind: Class Variable

###### NEGATIVE: typing.ClassVar[CameraControl.EffectMode]

Kind: Class Variable

###### OFF: typing.ClassVar[CameraControl.EffectMode]

Kind: Class Variable

###### POSTERIZE: typing.ClassVar[CameraControl.EffectMode]

Kind: Class Variable

###### SEPIA: typing.ClassVar[CameraControl.EffectMode]

Kind: Class Variable

###### SOLARIZE: typing.ClassVar[CameraControl.EffectMode]

Kind: Class Variable

###### WHITEBOARD: typing.ClassVar[CameraControl.EffectMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraControl.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.CameraControl.FrameSyncMode

Kind: Class

Members:

  AUTO

  OFF

  OUTPUT

  INPUT

  TIME_PTP

###### AUTO: typing.ClassVar[CameraControl.FrameSyncMode]

Kind: Class Variable

###### INPUT: typing.ClassVar[CameraControl.FrameSyncMode]

Kind: Class Variable

###### OFF: typing.ClassVar[CameraControl.FrameSyncMode]

Kind: Class Variable

###### OUTPUT: typing.ClassVar[CameraControl.FrameSyncMode]

Kind: Class Variable

###### TIME_PTP: typing.ClassVar[CameraControl.FrameSyncMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, CameraControl.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### aeLockMode: bool

Kind: Class Variable

##### aeMaxExposureTimeUs: int

Kind: Class Variable

##### afRegion: ...

Kind: Class Variable

##### antiBandingMode: CameraControl.AntiBandingMode

Kind: Class Variable

##### autoFocusMode: CameraControl.AutoFocusMode

Kind: Class Variable

##### awbLockMode: bool

Kind: Class Variable

##### awbMode: CameraControl.AutoWhiteBalanceMode

Kind: Class Variable

##### brightness: int

Kind: Class Variable

##### captureIntent: CameraControl.CaptureIntent

Kind: Class Variable

##### chromaDenoise: int

Kind: Class Variable

##### cmdMask: int

Kind: Class Variable

##### contrast: int

Kind: Class Variable

##### controlMode: CameraControl.ControlMode

Kind: Class Variable

##### effectMode: CameraControl.EffectMode

Kind: Class Variable

##### expCompensation: int

Kind: Class Variable

##### expManual: ...

Kind: Class Variable

##### lensPosition: int

Kind: Class Variable

##### lumaDenoise: int

Kind: Class Variable

##### saturation: int

Kind: Class Variable

##### sceneMode: CameraControl.SceneMode

Kind: Class Variable

##### sharpness: int

Kind: Class Variable

##### wbColorTemp: int

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

##### clearCommand(self, arg0: CameraControl.Command)

Kind: Method

##### clearMiscControls(self)

Kind: Method

Clear the list of miscellaneous controls set by `setControl`

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

Kind: Method

Check whether command to capture a still is set

Returns:
    True if capture still command is set

##### getCommand(self, arg0: CameraControl.Command) -> bool: bool

Kind: Method

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

Kind: Method

Retrieves exposure time

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

Kind: Method

Whether or not HDR (High Dynamic Range) mode is enabled

Returns:
    True if HDR mode is enabled, false otherwise

##### 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

##### setAntiBandingMode(self, mode: CameraControl.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: int) -> CameraControl: CameraControl

Kind: Method

Set a command to specify auto exposure compensation. This modifies the
brightness target with positive numbers making the image brighter and negative
numbers making the image darker.

Parameter ``compensation``:
    Compensation value between -9..9, default 0

##### setAutoExposureEnable(self) -> CameraControl: CameraControl

Kind: Method

Set a command to enable auto exposure

##### setAutoExposureLimit(self, maxExposureTimeUs: int) -> CameraControl: CameraControl

Kind: Method

##### setAutoExposureLock(self, lock: bool) -> CameraControl: CameraControl

Kind: Method

Set a command to stop the auto-exposure algorithm. The latest AE sensor
configuration is kept.

Parameter ``lock``:
    Auto exposure lock mode enabled or disabled

##### setAutoExposureMaxISO(self, aeMaxISO: int) -> CameraControl: CameraControl

Kind: Method

Set a command to specify the maximum ISO sensitivity limit for auto-exposure.
This limits the AE algorithm from increasing sensitivity beyond a certain point
and can help to reduce noise in low-light conditions.

Parameter ``aeMaxISO``:
    Maximum ISO

##### setAutoExposureRegion(self, startX: int, startY: int, width: int, height: int) -> 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: int, macroPosition: int) -> 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: CameraControl.AutoFocusMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify autofocus mode. Default `CONTINUOUS_VIDEO`

##### setAutoFocusRegion(self, startX: int, startY: int, width: int, height: int) -> 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: CameraControl.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: int) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust image brightness

Parameter ``value``:
    Brightness, range -10..10, default 0

##### setCaptureIntent(self, mode: CameraControl.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: int) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust chroma denoise amount

Parameter ``value``:
    Chroma denoise amount, range 0..4, default 1

##### setCommand(self, arg0: CameraControl.Command, arg1: bool)

Kind: Method

##### setContrast(self, value: int) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust image contrast

Parameter ``value``:
    Contrast, range -10..10, default 0

##### setControlMode(self, mode: CameraControl.ControlMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify control mode

Parameter ``mode``:
    Control mode

##### setEffectMode(self, mode: CameraControl.EffectMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify effect mode

Parameter ``mode``:
    Effect mode

##### setExternalTrigger(self, numFramesBurst: int, numFramesDiscard: int) -> 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: CameraControl.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: auto/input/output/disabled

##### setHdr(self, enable: bool) -> CameraControl: CameraControl

Kind: Method

Whether or not to enable HDR (High Dynamic Range) mode

Parameter ``enable``:
    True to enable HDR mode, false to disable

##### setLumaDenoise(self, value: int) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust luma denoise amount

Parameter ``value``:
    Luma denoise amount, range 0..4, default 1

##### setManualExposure(self, exposureTimeUs: int, sensitivityIso: int) -> CameraControl: CameraControl

Kind: Method

##### setManualFocus(self, lensPosition: int) -> CameraControl: CameraControl

Kind: Method

Set a command to specify manual focus position

Parameter ``lensPosition``:
    specify lens position 0..255

##### setManualFocusRaw(self, lensPositionRaw: float) -> 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: int) -> 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(self, control: str, value: str) -> CameraControl: CameraControl

Kind: Method

##### setSaturation(self, value: int) -> CameraControl: CameraControl

Kind: Method

Set a command to adjust image saturation

Parameter ``value``:
    Saturation, range -10..10, default 0

##### setSceneMode(self, mode: CameraControl.SceneMode) -> CameraControl: CameraControl

Kind: Method

Set a command to specify scene mode

Parameter ``mode``:
    Scene mode

##### setSharpness(self, value: int) -> 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: int, activeLevel: int) -> 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: int) -> 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.EdgeDetectorConfigData

Kind: Class

##### __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: list [ list [ int ] ])

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: list [ list [ int ] ])

Kind: Method

#### depthai.EdgeDetectorConfig(depthai.Buffer)

Kind: Class

EdgeDetectorConfig message. Carries sobel edge filter config.

##### __init__(self)

Kind: Method

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

Kind: Method

##### getConfigData(self) -> EdgeDetectorConfigData: EdgeDetectorConfigData

Kind: Method

Retrieve configuration data for EdgeDetector

Returns:
    EdgeDetectorConfigData: sobel filter horizontal and vertical 3x3 kernels

##### setSobelFilterKernels(self, horizontalKernel: list [ list [ int ] ], verticalKernel: list [ list [ int ] ])

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.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.Type

Kind: Class

Members:

  HARRIS

  SHI_THOMASI

###### HARRIS: typing.ClassVar[FeatureTrackerConfig.CornerDetector.Type]

Kind: Class Variable

###### SHI_THOMASI: typing.ClassVar[FeatureTrackerConfig.CornerDetector.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, FeatureTrackerConfig.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.FeatureTrackerConfig.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: float)

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: float)

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: float)

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: float)

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: float)

Kind: Method

###### __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: int)

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: int)

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: int)

Kind: Method

###### thresholds

Kind: Property

Threshold settings. These are advanced settings, suitable for debugging/special
cases.

###### thresholds.setter(self, arg0: FeatureTrackerConfig.CornerDetector.Thresholds)

Kind: Method

###### type

Kind: Property

Corner detector algorithm type.

###### type.setter(self, arg0: FeatureTrackerConfig.CornerDetector.Type)

Kind: Method

##### depthai.FeatureTrackerConfig.MotionEstimator

Kind: Class

Used for feature reidentification between current and previous features.

###### depthai.FeatureTrackerConfig.MotionEstimator.Type

Kind: Class

Members:

  LUCAS_KANADE_OPTICAL_FLOW

  HW_MOTION_ESTIMATION

###### HW_MOTION_ESTIMATION: typing.ClassVar[FeatureTrackerConfig.MotionEstimator.Type]

Kind: Class Variable

###### LUCAS_KANADE_OPTICAL_FLOW: typing.ClassVar[FeatureTrackerConfig.MotionEstimator.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, FeatureTrackerConfig.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.FeatureTrackerConfig.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: float)

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: int)

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: int)

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: int)

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: int)

Kind: Method

###### __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: FeatureTrackerConfig.MotionEstimator.OpticalFlow)

Kind: Method

###### type

Kind: Property

Motion estimator algorithm type.

###### type.setter(self, arg0: FeatureTrackerConfig.MotionEstimator.Type)

Kind: Method

##### depthai.FeatureTrackerConfig.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: float)

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: float)

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: float)

Kind: Method

##### __init__(self)

Kind: Method

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

Kind: Method

##### setCornerDetector(self, cornerDetector: FeatureTrackerConfig.CornerDetector.Type) -> FeatureTrackerConfig: FeatureTrackerConfig

Kind: Method

##### setFeatureMaintainer(self, enable: bool) -> FeatureTrackerConfig: FeatureTrackerConfig

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(self, enable: bool) -> FeatureTrackerConfig: FeatureTrackerConfig

Kind: Method

##### setNumTargetFeatures(self, numTargetFeatures: int) -> FeatureTrackerConfig: FeatureTrackerConfig

Kind: Method

Set number of target features to detect.

Parameter ``numTargetFeatures``:
    Number of features

##### setOpticalFlow(self) -> FeatureTrackerConfig: FeatureTrackerConfig

Kind: Method

#### depthai.ThermalConfig(depthai.Buffer)

Kind: Class

ThermalConfig message. Currently unused.

##### __init__(self)

Kind: Method

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

Kind: Method

##### ambientParams

Kind: Property

Ambient factors that affect the temperature measurement of a Thermal sensor.

##### ambientParams.setter(self, arg0: ThermalAmbientParams)

Kind: Method

##### ffcParams

Kind: Property

Parameters for Flat-Field-Correction.

##### ffcParams.setter(self, arg0: ThermalFFCParams)

Kind: Method

##### imageParams

Kind: Property

Image signal processing parameters on the sensor.

##### imageParams.setter(self, arg0: ThermalImageParams)

Kind: Method

#### depthai.ThermalImageParams

Kind: Class

##### __init__(self)

Kind: Method

##### brightnessLevel

Kind: Property

Image brightness level, 0-255.

##### brightnessLevel.setter(self, arg0: int|None)

Kind: Method

##### contrastLevel

Kind: Property

Image contrast level, 0-255.

##### contrastLevel.setter(self, arg0: int|None)

Kind: Method

##### digitalDetailEnhanceLevel

Kind: Property

0-4 Digital etail enhance level.

##### digitalDetailEnhanceLevel.setter(self, arg0: int|None)

Kind: Method

##### orientation

Kind: Property

Orientation of the image. Computed on the sensor.

##### orientation.setter(self, arg0: ...|None)

Kind: Method

##### spatialNoiseFilterLevel

Kind: Property

0-3. Spatial noise filter level.

##### spatialNoiseFilterLevel.setter(self, arg0: int|None)

Kind: Method

##### timeNoiseFilterLevel

Kind: Property

0-3. Time noise filter level. Filters out the noise that appears over time.

##### timeNoiseFilterLevel.setter(self, arg0: int|None)

Kind: Method

#### depthai.ThermalFFCParams

Kind: Class

##### antiFallProtectionThresholdHighGainMode: int|None

Kind: Class Variable

##### antiFallProtectionThresholdLowGainMode: int|None

Kind: Class Variable

##### __init__(self)

Kind: Method

##### autoFFC

Kind: Property

Auto Flat-Field-Correction. Controls wheather the shutter is controlled by the
sensor module automatically or not.

##### autoFFC.setter(self, arg0: bool|None)

Kind: Method

##### autoFFCTempThreshold

Kind: Property

Auto FFC trigger threshold. The condition for triggering the auto FFC is that
the change of Vtemp value exceeds a certain threshold, which is called the Auto
FFC trigger threshold.

##### autoFFCTempThreshold.setter(self, arg0: int|None)

Kind: Method

##### closeManualShutter

Kind: Property

Set this to True/False to close/open the shutter when autoFFC is disabled.

##### closeManualShutter.setter(self, arg0: bool|None)

Kind: Method

##### fallProtection

Kind: Property

The shutter blade may open/close abnormally during strong mechanical shock (such
as fall), and a monitoring process is designed in the firmware to correct the
abnormal shutter switch in time. Turn on or off the fall protect mechanism.

##### fallProtection.setter(self, arg0: bool|None)

Kind: Method

##### maxFFCInterval

Kind: Property

Maximum FFC interval when auto FFC is enabled. The time interval between two FFC
should not be more than this value.

##### maxFFCInterval.setter(self, arg0: int|None)

Kind: Method

##### minFFCInterval

Kind: Property

Minimum FFC interval when auto FFC is enabled. The time interval between two FFC
should not be less than this value.

##### minFFCInterval.setter(self, arg0: int|None)

Kind: Method

##### minShutterInterval

Kind: Property

Frequent FFC will cause shutter heating, resulting in abnormal FFC effect and
abnormal temperature measurement. Regardless of which mechanism triggers FFC,
the minimum trigger interval must be limited.

##### minShutterInterval.setter(self, arg0: int|None)

Kind: Method

#### depthai.ThermalAmbientParams

Kind: Class

Ambient factors that affect the temperature measurement of a Thermal sensor.

##### __init__(self)

Kind: Method

##### atmosphericTemperature

Kind: Property

Atmospheric temperature. unit:K, range:230-500(high gain), 230-900(low gain)

##### atmosphericTemperature.setter(self, arg0: int|None)

Kind: Method

##### atmosphericTransmittance

Kind: Property

Atmospheric transmittance. unit:1/128, range:1-128(0.01-1)

##### atmosphericTransmittance.setter(self, arg0: int|None)

Kind: Method

##### distance

Kind: Property

Distance to the measured object. unit:cnt(128cnt=1m), range:0-25600(0-200m)

##### distance.setter(self, arg0: int|None)

Kind: Method

##### gainMode

Kind: Property

Gain mode, low or high.

##### gainMode.setter(self, arg0: ThermalGainMode|None)

Kind: Method

##### reflectionTemperature

Kind: Property

Reflection temperature. unit:K, range:230-500(high gain), 230-900(low gain)

##### reflectionTemperature.setter(self, arg0: int|None)

Kind: Method

##### targetEmissivity

Kind: Property

Emissivity. unit:1/128, range:1-128(0.01-1)

##### targetEmissivity.setter(self, arg0: int|None)

Kind: Method

#### depthai.ThermalGainMode

Kind: Class

Thermal sensor gain mode. Use low gain in high energy environments.

Members:

  LOW : 

  HIGH : 

##### HIGH: typing.ClassVar[ThermalGainMode]

Kind: Class Variable

##### LOW: typing.ClassVar[ThermalGainMode]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, ThermalGainMode]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.ToFConfig(depthai.Buffer)

Kind: Class

ToFConfig message. Carries config for feature tracking algorithm

##### depthai.ToFConfig.Profile

Kind: Class

Members:

  LOW_RANGE

  MID_RANGE

  HIGH_RANGE

###### HIGH_RANGE: typing.ClassVar[ToFConfig.Profile]

Kind: Class Variable

###### LOW_RANGE: typing.ClassVar[ToFConfig.Profile]

Kind: Class Variable

###### MID_RANGE: typing.ClassVar[ToFConfig.Profile]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, ToFConfig.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### HIGH_RANGE: typing.ClassVar[ToFConfig.Profile]

Kind: Class Variable

##### LOW_RANGE: typing.ClassVar[ToFConfig.Profile]

Kind: Class Variable

##### MID_RANGE: typing.ClassVar[ToFConfig.Profile]

Kind: Class Variable

##### 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

##### phaseUnwrapErrorThreshold: int

Kind: Class Variable

##### phaseUnwrappingLevel: int

Kind: Class Variable

##### profile: ToFConfig.Profile

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

##### setMedianFilter(self, arg0: filters.params.MedianFilter) -> ToFConfig: ToFConfig

Kind: Method

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

##### setProfilePreset(self, arg0: ToFConfig.Profile)

Kind: Method

Set preset mode for ToFConfig.

Parameter ``presetMode``:
    Preset mode for ToFConfig.

##### median

Kind: Property

Set kernel size for depth median filtering, or disable

##### median.setter(self, arg0: filters.params.MedianFilter)

Kind: Method

#### depthai.ImageManipConfig(depthai.Buffer)

Kind: Class

ImageManipConfig message. Specifies image manipulation options like:

- Crop

- Resize

- Warp

- ...

##### depthai.ImageManipConfig.ResizeMode

Kind: Class

Members:

  NONE

  LETTERBOX

  CENTER_CROP

  STRETCH

###### CENTER_CROP: typing.ClassVar[ImageManipConfig.ResizeMode]

Kind: Class Variable

###### LETTERBOX: typing.ClassVar[ImageManipConfig.ResizeMode]

Kind: Class Variable

###### NONE: typing.ClassVar[ImageManipConfig.ResizeMode]

Kind: Class Variable

###### STRETCH: typing.ClassVar[ImageManipConfig.ResizeMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, ImageManipConfig.ResizeMode]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### __init__(self)

Kind: Method

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

Kind: Method

##### addCrop(self, x: int, y: int, w: int, h: int) -> ImageManipConfig: ImageManipConfig

Kind: Method

##### addCropRotatedRect(self, rect: RotatedRect, normalizedCoords: bool) -> ImageManipConfig: ImageManipConfig

Kind: Method

Crops the image to the specified (rotated) rectangle

Parameter ``rect``:
    RotatedRect to crop

Parameter ``normalizedCoords``:
    If true, the coordinates are normalized to range [0, 1] where 1 maps to the
    width/height of the image

##### addFlipHorizontal(self) -> ImageManipConfig: ImageManipConfig

Kind: Method

Flips the image horizontally

##### addFlipVertical(self) -> ImageManipConfig: ImageManipConfig

Kind: Method

Flips the image vertically

##### addRotateDeg(self, angle: float) -> ImageManipConfig: ImageManipConfig

Kind: Method

##### addScale(self, scale: float) -> ImageManipConfig: ImageManipConfig

Kind: Method

##### addTransformAffine(self, mat: typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ]) -> ImageManipConfig: ImageManipConfig

Kind: Method

Applies an affine transformation to the image

Parameter ``matrix``:
    an array containing a 2x2 matrix representing the affine transformation

##### addTransformFourPoints(self, src: typing.Annotated [ list [ Point2f ], pybind11_stubgen.typing_ext.FixedSize(4) ], dst: typing.Annotated [ list [ Point2f ], pybind11_stubgen.typing_ext.FixedSize(4) ], normalizedCoords: bool) -> ImageManipConfig: ImageManipConfig

Kind: Method

Applies a perspective transformation to the image

Parameter ``src``:
    Source points

Parameter ``dst``:
    Destination points

Parameter ``normalizedCoords``:
    If true, the coordinates are normalized to range [0, 1] where 1 maps to the
    width/height of the image

##### addTransformPerspective(self, mat: typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(9) ]) -> ImageManipConfig: ImageManipConfig

Kind: Method

Applies a perspective transformation to the image

Parameter ``matrix``:
    an array containing a 3x3 matrix representing the perspective transformation

##### clearOps(self) -> ImageManipConfig: ImageManipConfig

Kind: Method

Removes all operations from the list (does not affect output configuration)

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

Kind: Method

Gets the undistort flag

Returns:
    True if undistort is enabled, false otherwise

##### setBackgroundColor(self, r: int, g: int, b: int) -> ImageManipConfig: ImageManipConfig

Kind: Method

##### setColormap(self, colormap: Colormap) -> ImageManipConfig: ImageManipConfig

Kind: Method

##### setFrameType(self, type: ImgFrame.Type) -> ImageManipConfig: ImageManipConfig

Kind: Method

Sets the frame type of the output image

Parameter ``frameType``:
    Frame type of the output image

##### setOutputCenter(self, c: bool) -> ImageManipConfig: ImageManipConfig

Kind: Method

Centers the content in the output image without resizing

Parameter ``c``:
    True to center the content, false otherwise

##### setOutputSize(self, w: int, h: int, mode: ImageManipConfig.ResizeMode = ...) -> ImageManipConfig: ImageManipConfig

Kind: Method

Sets the output size of the image

Parameter ``w``:
    Width of the output image

Parameter ``h``:
    Height of the output image

Parameter ``mode``:
    Resize mode. NONE - no resize, STRETCH - stretch to fit, LETTERBOX - keep
    aspect ratio and pad with background color, CENTER_CROP - keep aspect ratio
    and crop

##### 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

##### 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

##### setUndistort(self, undistort: bool) -> ImageManipConfig: ImageManipConfig

Kind: Method

Sets the undistort flag

#### depthai.ImgDetections(depthai.Buffer, depthai.ProtoSerializable, depthai.Transformable)

Kind: Class

ImgDetections message. Carries normalized detections and optional segmentation
mask. The segmentation mask is stored as a single-channel INT8 2-d array, where
the value represents the instance index in the list of detections. The value 255
is treated as a background pixel (no instance).

##### detections: list[ImgDetection]

Kind: Class Variable

##### segmentationMaskHeight: int

Kind: Class Variable

##### segmentationMaskWidth: int

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

##### getCvSegmentationMask(self) -> numpy.ndarray|None: numpy.ndarray|None

Kind: Method

Retrieves mask data as a cv::Mat copy with specified width and height. If mask
data is not set, returns std::nullopt.

Parameter ``allocator``:
    Allows callers to supply a custom cv::MatAllocator for zero-copy/custom
    memory management; nullptr uses OpenCV’s default.

##### getCvSegmentationMaskByClass(self, semantic_class: int) -> numpy.ndarray|None: numpy.ndarray|None

Kind: Method

Retrieves data by the semantic class. If no mask data is not set, returns
std::nullopt.

Parameter ``semanticClass``:
    Semantic class index

Parameter ``allocator``:
    Allows callers to supply a custom cv::MatAllocator for zero-copy/custom
    memory management; nullptr uses OpenCV’s default.

##### getCvSegmentationMaskByIndex(self, index: int) -> numpy.ndarray|None: numpy.ndarray|None

Kind: Method

Returns a binary mask where pixels belonging to the instance index are set to 1,
others to 0. If mask data is not set, returns std::nullopt.

Parameter ``index``:
    Instance index

Parameter ``allocator``:
    Allows callers to supply a custom cv::MatAllocator for zero-copy/custom
    memory management; nullptr uses OpenCV’s default.

##### getMaskData(self) -> typing.Any: typing.Any

Kind: Method

Returns a copy of the segmentation mask data as a vector of bytes. If mask data
is not set, returns std::nullopt.

##### getSegmentationMask(self) -> ImgFrame|None: ImgFrame|None

Kind: Method

Returns the segmentation mask as an ImgFrame. If mask data is not set, returns
std::nullopt.

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

Kind: Method

Returns the height of the segmentation mask.

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

Kind: Method

Returns the width of the segmentation mask.

##### getTransformation(self) -> ImgTransformation|None: ImgTransformation|None

Kind: Method

Retrieves image transformation data

##### setCvSegmentationMask(self, mask: numpy.ndarray)

Kind: Method

Copies cv::Mat data to Segmentation Mask buffer

Parameter ``frame``:
    Input cv::Mat frame from which to copy the data @note Throws if mask is not
    a single channel INT8 type.

##### setSegmentationMask(self, frame: ImgFrame)

Kind: Method

Sets the segmentation mask from a vector of bytes. The size of the vector must
be equal to width * height.

##### setTransformation(self, transformation: ImgTransformation|None)

Kind: Method

Specifies image transformation data

Parameter ``transformation``:
    transformation data

##### transformTo(self, target: ImgTransformation) -> ImgDetections: ImgDetections

Kind: Method

Returns a new ImgDetections message with the detections transformed into the
target image transformation.

If the target transformation has a different source coordinate system (eg.
different camera socket) than the one the detections were originally generated
in, the remapping will be inaccurate due to the lack of depth information.

The segmentation mask is not transformed. Use Align node to transform the
segmentation mask to the target transformation if needed.

Parameter ``target``:
    Target image transformation.

#### depthai.ImgDetection

Kind: Class

##### confidence: float

Kind: Class Variable

##### label: int

Kind: Class Variable

##### labelName: str

Kind: Class Variable

##### xmax: float

Kind: Class Variable

##### xmin: float

Kind: Class Variable

##### ymax: float

Kind: Class Variable

##### ymin: float

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

##### getBoundingBox(self) -> RotatedRect: RotatedRect

Kind: Method

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

Kind: Method

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

Kind: Method

##### getEdges(self) -> list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]

Kind: Method

Returns a list of edges, each edge is a pair of indices, or empty list if no
keypoints were set.

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

Kind: Method

##### getKeypoints(self) -> list [ Keypoint ]: list [ Keypoint ]

Kind: Method

Returns a list of Keypoint objects, or empty list if no keypoints were set.

##### getKeypoints2f(self) -> VectorPoint2f: VectorPoint2f

Kind: Method

Returns a list of Point2f coordinates of the keypoints, or empty list if no
keypoints were set.

##### getKeypoints3f(self) -> list [ Point3f ]: list [ Point3f ]

Kind: Method

Returns a list of Point3f coordinates of the keypoints, or empty list if no
keypoints were set.

##### getOuterBoundingBox(self) -> typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ]: typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ]

Kind: Method

Returns the outer bounding box as [minx, miny, maxx, maxy].

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

Kind: Method

##### setBoundingBox(self, boundingBox: RotatedRect)

Kind: Method

##### setEdges(self, edges: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ])

Kind: Method

##### setKeypoints(self, keypoints: KeypointsList)

Kind: Method

##### setOuterBoundingBox(self, xmin: float, ymin: float, xmax: float, ymax: float)

Kind: Method

##### transform(self, source: ImgTransformation, target: ImgTransformation)

Kind: Method

Transforms the detection from the source ImgTransformation to the target
ImgTransformation.

Parameter ``source``:
    Source image transformation.

Parameter ``target``:
    Target image transformation.

#### depthai.ImgFrame(depthai.Buffer, depthai.ProtoSerializable)

Kind: Class

##### 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

  RAW32

  NONE

###### BGR888i: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### BGR888p: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### BGRF16F16F16i: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### BGRF16F16F16p: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### BITSTREAM: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### GRAY8: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### GRAYF16: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### HDR: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### LUT16: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### LUT2: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### LUT4: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### NONE: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### NV12: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### NV21: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### PACK10: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### PACK12: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RAW10: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RAW12: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RAW14: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RAW16: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RAW32: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RAW8: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RGB161616: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RGB888i: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RGB888p: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RGBA8888: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RGBF16F16F16i: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### RGBF16F16F16p: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### YUV400p: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### YUV420p: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### YUV422i: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### YUV422p: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### YUV444i: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### YUV444p: typing.ClassVar[ImgFrame.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, ImgFrame.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.ImgFrame.Fsync

Kind: Class

Members:

  NONE

  INPUT

  OUTPUT

  PTP

###### INPUT: typing.ClassVar[ImgFrame.Fsync]

Kind: Class Variable

###### NONE: typing.ClassVar[ImgFrame.Fsync]

Kind: Class Variable

###### OUTPUT: typing.ClassVar[ImgFrame.Fsync]

Kind: Class Variable

###### PTP: typing.ClassVar[ImgFrame.Fsync]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, ImgFrame.Fsync]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.ImgFrame.Specs

Kind: Class

###### bytesPP: int

Kind: Class Variable

###### height: int

Kind: Class Variable

###### p1Offset: int

Kind: Class Variable

###### p2Offset: int

Kind: Class Variable

###### p3Offset: int

Kind: Class Variable

###### stride: int

Kind: Class Variable

###### type: ImgFrame.Type

Kind: Class Variable

###### width: int

Kind: Class Variable

###### __init__(self)

Kind: Method

##### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Retrieves image bytes per pixel

##### 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) -> numpy.ndarray: numpy.ndarray

Kind: Method

@note This API only available if OpenCV support is enabled

Retrieves cv::Mat suitable for use in common opencv functions. ImgFrame is
converted to color BGR interleaved or grayscale depending on type.

A copy is always made

Returns:
    cv::Mat for use in opencv functions

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

Kind: Method

Retrieves exposure time

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

Kind: Method

Retrieves sensor FPS for this frame.

##### getFrame(self) -> numpy.ndarray: numpy.ndarray

Kind: Method

@note This API only available if OpenCV support is enabled

Retrieves data as cv::Mat with specified width, height and type

Parameter ``copy``:
    If false only a reference to data is made, otherwise a copy

Returns:
    cv::Mat with corresponding to ImgFrame parameters

##### getFsync(self) -> ImgFrame.Fsync: ImgFrame.Fsync

Kind: Method

Retrieves effective frame sync mode for this frame.

##### 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

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

Kind: Method

Retrieves image plane height in lines

##### getPlaneStride(self, planeIndex: int) -> int: int

Kind: Method

Retrieves image plane stride (offset to next plane) in bytes

Parameter ``current``:
    plane index, 0 or 1

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

Kind: Method

Retrieves sensitivity, as an ISO value

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

Kind: Method

Retrieves selected sensor mode index for this frame.

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

Kind: Method

Retrieves sensor temperature in degrees Celsius. Returns an empty optional if
not available.

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

Kind: Method

@note Fov API works correctly only on rectilinear frames Get the source diagonal
field of view in degrees

Returns:
    field of view in degrees

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

Kind: Method

@note Fov API works correctly only on rectilinear frames Get the source
horizontal field of view

Parameter ``degrees``:
    field of view in degrees

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

Kind: Method

Retrieves source image height in pixels

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

Kind: Method

@note Fov API works correctly only on rectilinear frames Get the source vertical
field of view

Parameter ``degrees``:
    field of view in degrees

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

Kind: Method

Retrieves source image width in pixels

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

Kind: Method

Retrieves image line stride in bytes

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

Kind: Method

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

Kind: Method

##### getTimestampSystem(self) -> datetime.datetime|None: datetime.datetime|None

Kind: Method

##### getTransformation(self) -> ImgTransformation: ImgTransformation

Kind: Method

Retrieves image transformation data

##### getType(self) -> ImgFrame.Type: ImgFrame.Type

Kind: Method

Retrieves image type

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

Kind: Method

Retrieves image width in pixels

##### setCategory(self, category: int) -> ImgFrame: ImgFrame

Kind: Method

Parameter ``category``:
    Image category

##### setCvFrame(self, array: numpy.ndarray, type: ImgFrame.Type) -> ImgFrame: ImgFrame

Kind: Method

@note This API only available if OpenCV support is enabled

Copies cv::Mat data to the ImgFrame buffer and converts to a specific type.

Parameter ``frame``:
    Input cv::Mat BGR frame or single channel frame from which to copy the data
    from.

Parameter ``type``:
    Specifies the target image format for the internal buffer, including color
    space, layout, and bit depth.

##### setFrame(self, array: numpy.ndarray) -> ImgFrame: ImgFrame

Kind: Method

@note This API only available if OpenCV support is enabled

Copies cv::Mat data to ImgFrame buffer

Parameter ``frame``:
    Input cv::Mat frame from which to copy the data

##### setHeight(self, height: int) -> ImgFrame: ImgFrame

Kind: Method

Specifies frame height

Parameter ``height``:
    frame height

##### setInstanceNum(self, instance: int) -> ImgFrame: ImgFrame

Kind: Method

Instance number relates to the origin of the frame (which camera)

Parameter ``instance``:
    Instance number

##### setSize(self, width: int, height: int) -> ImgFrame: ImgFrame

Kind: Method

##### setStride(self, stride: int) -> ImgFrame: ImgFrame

Kind: Method

Specifies frame stride

Parameter ``stride``:
    frame stride

##### setTransformation(self, transformation: ImgTransformation) -> ImgFrame: ImgFrame

Kind: Method

Specifies image transformation data

Parameter ``transformation``:
    transformation data

##### setType(self, type: ImgFrame.Type) -> ImgFrame: ImgFrame

Kind: Method

Specifies frame type, RGB, BGR, ...

Parameter ``type``:
    Type of image

##### setWidth(self, width: int) -> ImgFrame: ImgFrame

Kind: Method

Specifies frame width

Parameter ``width``:
    frame width

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

Kind: Method

Check that the image transformation match the image size

Returns:
    true if the transformations are valid

#### depthai.ImgTransformation

Kind: Class

ImgTransformation struct. Holds information of how a ImgFrame or related message
was transformed from their source. Useful for remapping from one ImgFrame to
another.

##### __init__(self)

Kind: Method

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

Kind: Method

##### addCrop(self, x: int, y: int, width: int, height: int) -> ImgTransformation: ImgTransformation

Kind: Method

Add a crop transformation.

Parameter ``x``:
    X coordinate of the top-left corner of the crop

Parameter ``y``:
    Y coordinate of the top-left corner of the crop

Parameter ``width``:
    Width of the crop

Parameter ``height``:
    Height of the crop

##### addFlipHorizontal(self) -> ImgTransformation: ImgTransformation

Kind: Method

Add a horizontal flip transformation.

##### addFlipVertical(self) -> ImgTransformation: ImgTransformation

Kind: Method

Add a vertical flip transformation.

##### addPadding(self, x: int, y: int, width: int, height: int) -> ImgTransformation: ImgTransformation

Kind: Method

Add a pad transformation. Works like crop, but in reverse.

Parameter ``top``:
    Padding on the top

Parameter ``bottom``:
    Padding on the bottom

Parameter ``left``:
    Padding on the left

Parameter ``right``:
    Padding on the right

##### addRotation(self, angle: float, rotationPoint: Point2f) -> ImgTransformation: ImgTransformation

Kind: Method

Add a rotation transformation.

Parameter ``angle``:
    Angle in degrees

Parameter ``rotationPoint``:
    Point around which to rotate

##### addScale(self, scaleX: float, scaleY: float) -> ImgTransformation: ImgTransformation

Kind: Method

Add a scale transformation.

Parameter ``scaleX``:
    Scale factor in the horizontal direction

Parameter ``scaleY``:
    Scale factor in the vertical direction

##### addSrcCrops(self, crops: list [ RotatedRect ]) -> ImgTransformation: ImgTransformation

Kind: Method

##### addTransformation(self, matrix: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]) -> ImgTransformation: ImgTransformation

Kind: Method

Add a new transformation.

Parameter ``matrix``:
    Transformation matrix

##### getDFov(self, source: bool = False) -> float: float

Kind: Method

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

Kind: Method

Retrieve the distortion coefficients of the source sensor

Returns:
    vector of distortion coefficients

##### getDistortionModel(self) -> CameraModel: CameraModel

Kind: Method

Retrieve the distortion model of the source sensor

Returns:
    Distortion model

##### getDstMaskPt(self, x: int, y: int) -> bool: bool

Kind: Method

Returns true if the point is inside the image region (not in the background
region).

##### getExtrinsics(self) -> Extrinsics: Extrinsics

Kind: Method

Retrieve the pose of the source sensor or virtual camera relative to its target
coordinate system. The target coordinate system is identified by
Extrinsics::toDeviceId and Extrinsics::toCameraSocket.

Returns:
    Extrinsics

##### getExtrinsicsTransformationMatrixTo(self, to: ImgTransformation, useSpecTranslation: bool = False, sourceUnit: LengthUnit = ...) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]

Kind: Method

Get the extrinsic transformation matrix from the source coordinate system of
this transformation to the target coordinate system of the to transformation.

Parameter ``to``:
    Target transformation to get extrinsics to

Parameter ``useSpecTranslation``:
    If true, the translation vector w.r.t. the CAD design will be used instead
    of the translation vector obtained through calibration.

Parameter ``sourceUnit``:
    The desired measurement unit in which to return the transformation matrix
    in.

Returns:
    4x4 homogeneous transformation matrix representing the extrinsics from this
    transformation to the target transformation @note Both transformations must
    have a compatible target device ID and a common target camera socket.
    Otherwise extrinsics cannot be calculated.

##### getHFov(self, source: bool = False) -> float: float

Kind: Method

##### getIntrinsicMatrix(self) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]

Kind: Method

Retrieve the total intrinsic matrix calculated from transform * intrinsic.

Returns:
    total intrinsic matrix

##### getIntrinsicMatrixInv(self) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]

Kind: Method

Retrieve the inverse of the total intrinsic matrix.

Returns:
    inverse total intrinsic matrix

##### getMatrix(self) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]

Kind: Method

##### getMatrixInv(self) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]

Kind: Method

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

Kind: Method

Retrieve the size of the frame. Should be equal to the size of the corresponding
ImgFrame message.

Returns:
    Size of the frame

##### getSourceIntrinsicMatrix(self) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]

Kind: Method

##### getSourceIntrinsicMatrixInv(self) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]

Kind: Method

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

Kind: Method

Retrieve the size of the source frame from which this frame was derived.

Returns:
    Size of the frame

##### getSrcCrops(self) -> list [ RotatedRect ]: list [ RotatedRect ]

Kind: Method

##### getSrcMaskPt(self, x: int, y: int) -> bool: bool

Kind: Method

Returns true if the point is inside the transformed region of interest
(determined by crops used).

##### getTransformationMatrix(self) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]

Kind: Method

##### getTransformationMatrixInv(self) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]

Kind: Method

##### getVFov(self, source: bool = False) -> float: float

Kind: Method

##### invTransformPoint(self, point: Point2f) -> Point2f: Point2f

Kind: Method

Transform a point from the current frame to the source frame.

Parameter ``point``:
    Point to transform

Returns:
    Transformed point

##### invTransformRect(self, rect: RotatedRect) -> RotatedRect: RotatedRect

Kind: Method

Transform a rotated rect from the current frame to the source frame.

Parameter ``rect``:
    Rectangle to transform

Returns:
    Transformed rectangle

##### isAlignedTo(self, to: ImgTransformation) -> bool: bool

Kind: Method

Check if the transformations are aligned

Parameter ``to``:
    Transformation to compare with

##### isEqualTransformation(self, other: ImgTransformation) -> bool: bool

Kind: Method

Two transformations are equal if the transformation matrices, intrinsic
matrices, distortion models, distortion coefficients, extrinsics, and sizes are
all equal.

Parameter ``other``:
    Transformation to compare with

Returns:
    True if the transformations are equal, false otherwise

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

Kind: Method

Check if the transformations are valid. The transformations are valid if the
source frame size and the current frame size are set.

##### project3DPoint(self, point: Point3f) -> Point2f: Point2f

Kind: Method

Project a 3D spatial point into 2D point in the current frame defined by this
transformation.

Parameter ``point``:
    3D point to project

Returns:
    Projected 2D point in the current frame @note This function assumes that the
    point is in the coordinate system of the current frame.

##### project3DPointFrom(self, from_: ImgTransformation, point: Point3f) -> Point2f: Point2f

Kind: Method

Project a 3D point from the source frame (from transformation) into a 2D point
in the current frame (this transformation).

Parameter ``from``:
    Transformation to project from

Parameter ``point3f``:
    3D point to project

Returns:
    Projected 2D point in the current frame @note This function assumes that the
    point3f is in the coordinate system of the source frame.

##### project3DPointTo(self, to: ImgTransformation, point: Point3f) -> Point2f: Point2f

Kind: Method

Project a 3D spatial point from the source coordinate system (this
transformation) into a 2D point in the target frame (to transformation).

Parameter ``to``:
    Target transformation to project to

Parameter ``point3f``:
    3D point to project

Returns:
    Projected 2D point in the target frame (to transformation) @note This
    function assumes that the point3f is in the coordinate system of the current
    frame.

##### projectPointTo(self, to: ImgTransformation, point: Point2f, depth: float) -> Point2f: Point2f

Kind: Method

Project a 2D point from the source frame defined by this transformation into a
2D point in the target frame defined by the to transformation. This function
will use the depth of the point to project it into 3D space and then reproject
it back to 2D in the target frame.

Parameter ``to``:
    Target transformation to project to

Parameter ``point2f``:
    Source 2D point in the current frame

Parameter ``depth``:
    (mm) Depth of the point to project

Returns:
    Projected 2D point in the target frame (to transformation)

##### remap3DPointFrom(self, from_: ImgTransformation, point: Point3f) -> Point3f: Point3f

Kind: Method

Remap a 3D point to the coordinate system of this transformation from the source
coordinate system of the from transformation.

Parameter ``from``:
    Transformation to remap from

Parameter ``point``:
    3D point to remap

Returns:
    Remapped 3D point in the current coordinate system @note This function
    assumes that the point is in the coordinate system of the source frame.

##### remap3DPointTo(self, to: ImgTransformation, point: Point3f) -> Point3f: Point3f

Kind: Method

Remap a 3D point from the source coordinate system of this transformation to the
coordinate system of the target transformation (to transformation).

Parameter ``to``:
    Target transformation to remap to

Parameter ``point``:
    3D point to remap

Returns:
    Remapped 3D point in the target coordinate system @note This function
    assumes that the point is in the coordinate system of the current frame.

##### remapPointFrom(self, from_: ImgTransformation, point: Point2f) -> Point2f: Point2f

Kind: Method

Remap a point to this transformation from another. If the intrinsics are
different (e.g. different camera), the function will also use the intrinsics to
remap the point.

Parameter ``from``:
    Transformation to remap from

Parameter ``point``:
    Point to remap

##### remapPointTo(self, to: ImgTransformation, point: Point2f) -> Point2f: Point2f

Kind: Method

Remap a point from this transformation to another. If the intrinsics are
different (e.g. different camera), the function will also use the intrinsics to
remap the point.

Parameter ``to``:
    Transformation to remap to

Parameter ``point``:
    Point to remap @note This function assumes both transformations have the
    same source (eg. same source camera socket). If they don't, remapping will
    be inaccurate.

##### remapRectFrom(self, from_: ImgTransformation, rect: RotatedRect) -> RotatedRect: RotatedRect

Kind: Method

Remap a rotated rect to this transformation from another. If the intrinsics are
different (e.g. different camera), the function will also use the intrinsics to
remap the rect.

Parameter ``from``:
    Transformation to remap from

Parameter ``rect``:
    RotatedRect to remap

##### remapRectTo(self, to: ImgTransformation, rect: RotatedRect) -> RotatedRect: RotatedRect

Kind: Method

Remap a rotated rect from this transformation to another. If the intrinsics are
different (e.g. different camera), the function will also use the intrinsics to
remap the rect.

Parameter ``to``:
    Transformation to remap to

Parameter ``rect``:
    RotatedRect to remap

##### setDistortionCoefficients(self, coefficients: list [ float ]) -> ImgTransformation: ImgTransformation

Kind: Method

##### setDistortionModel(self, model: CameraModel) -> ImgTransformation: ImgTransformation

Kind: Method

##### setExtrinsics(self, extrinsics: Extrinsics) -> ImgTransformation: ImgTransformation

Kind: Method

##### setIntrinsicMatrix(self, intrinsicMatrix: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]) -> ImgTransformation: ImgTransformation

Kind: Method

##### setSize(self, width: int, height: int) -> ImgTransformation: ImgTransformation

Kind: Method

##### setSourceSize(self, width: int, height: int) -> ImgTransformation: ImgTransformation

Kind: Method

##### transformPoint(self, point: Point2f) -> Point2f: Point2f

Kind: Method

Transform a point from the source frame to the current frame.

Parameter ``point``:
    Point to transform

Returns:
    Transformed point

##### transformRect(self, rect: RotatedRect) -> RotatedRect: RotatedRect

Kind: Method

Transform a rotated rect from the source frame to the current frame.

Parameter ``rect``:
    Rectangle to transform

Returns:
    Transformed rectangle

#### depthai.EncodedFrame(depthai.Buffer, depthai.ProtoSerializable)

Kind: Class

##### depthai.EncodedFrame.Profile

Kind: Class

Members:

  JPEG

  AVC

  HEVC

###### AVC: typing.ClassVar[EncodedFrame.Profile]

Kind: Class Variable

###### HEVC: typing.ClassVar[EncodedFrame.Profile]

Kind: Class Variable

###### JPEG: typing.ClassVar[EncodedFrame.Profile]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, EncodedFrame.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.EncodedFrame.FrameType

Kind: Class

Members:

  I

  P

  B

  Unknown

###### B: typing.ClassVar[EncodedFrame.FrameType]

Kind: Class Variable

###### I: typing.ClassVar[EncodedFrame.FrameType]

Kind: Class Variable

###### P: typing.ClassVar[EncodedFrame.FrameType]

Kind: Class Variable

###### Unknown: typing.ClassVar[EncodedFrame.FrameType]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, EncodedFrame.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### __init__(self)

Kind: Method

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

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

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

Kind: Method

Retrieves sensor FPS for this frame.

##### getFrameType(self) -> EncodedFrame.FrameType: EncodedFrame.FrameType

Kind: Method

Retrieves frame type (H26x only)

##### getFsync(self) -> ImgFrame.Fsync: ImgFrame.Fsync

Kind: Method

Retrieves effective frame sync mode for this frame.

##### 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) -> EncodedFrame.Profile: EncodedFrame.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

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

Kind: Method

Retrieves selected sensor mode index for this frame.

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

Kind: Method

Retrieves sensor temperature in degrees Celsius. Returns an empty optional if
not available.

##### getTransformation(self) -> ImgTransformation: ImgTransformation

Kind: Method

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

Kind: Method

Retrieves image width in pixels

##### setBitrate(self, arg0: int) -> EncodedFrame: EncodedFrame

Kind: Method

Retrieves the encoding bitrate

##### setFrameType(self, arg0: EncodedFrame.FrameType) -> EncodedFrame: EncodedFrame

Kind: Method

Retrieves frame type (H26x only)

##### setHeight(self, height: int) -> 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: EncodedFrame.Profile) -> EncodedFrame: EncodedFrame

Kind: Method

Retrieves the encoding profile (JPEG, AVC or HEVC)

##### setQuality(self, arg0: int) -> EncodedFrame: EncodedFrame

Kind: Method

Retrieves the encoding quality

##### setSize(self, width: int, height: int) -> EncodedFrame: EncodedFrame

Kind: Method

##### setTransformation(self, arg0: ImgTransformation)

Kind: Method

##### setWidth(self, width: int) -> EncodedFrame: EncodedFrame

Kind: Method

Specifies frame width

Parameter ``width``:
    frame width

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### accuracy: IMUReport.Accuracy

Kind: Class Variable

##### sequence: int

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

##### getTimestampSystem(self) -> datetime.datetime|None: datetime.datetime|None

Kind: Method

Retrieves timestamp directly captured from device's system clock, can be
synchronized with PTP

#### depthai.IMUReportAccelerometer(depthai.IMUReport)

Kind: Class

Accelerometer

Units are [m/s^2]

##### x: float

Kind: Class Variable

##### y: float

Kind: Class Variable

##### z: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.IMUReportGyroscope(depthai.IMUReport)

Kind: Class

Gyroscope

Units are [rad/s]

##### x: float

Kind: Class Variable

##### y: float

Kind: Class Variable

##### z: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.IMUReportMagneticField(depthai.IMUReport)

Kind: Class

Magnetic field

Units are [uTesla]

##### x: float

Kind: Class Variable

##### y: float

Kind: Class Variable

##### z: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.IMUReportRotationVectorWAcc(depthai.IMUReport)

Kind: Class

Rotation Vector with Accuracy

Contains quaternion components: i,j,k,real

##### i: float

Kind: Class Variable

##### j: float

Kind: Class Variable

##### k: float

Kind: Class Variable

##### real: float

Kind: Class Variable

##### rotationVectorAccuracy: float

Kind: Class Variable

##### __init__(self)

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.IMUData(depthai.Buffer, depthai.ProtoSerializable)

Kind: Class

IMUData message. Carries normalized detection results

##### __init__(self)

Kind: Method

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

Kind: Method

##### packets

Kind: Property

Detections

##### packets.setter(self, arg1: list [ IMUPacket ])

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) -> typing.Iterator [ tuple [ str, ADatatype ] ]: typing.Iterator [ tuple [ str, ADatatype ] ]

Kind: Method

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

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

##### isSynced(self, thresholdNs: int) -> bool: bool

Kind: Method

True if all messages in the group are in the interval

Parameter ``thresholdNs``:
    Maximal interval between messages

#### depthai.TensorInfo

Kind: Class

TensorInfo structure

##### depthai.TensorInfo.DataType

Kind: Class

Members:

  FP16

  U8F

  U16F

  INT

  FP32

  I8

  FP64

###### FP16: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### FP32: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### FP64: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### I8: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### INT: typing.ClassVar[TensorInfo.DataType]

Kind: Class Variable

###### U16F: 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: int)

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: int)

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### dataType: TensorInfo.DataType

Kind: Class Variable

##### dims: list[int]

Kind: Class Variable

##### name: str

Kind: Class Variable

##### numDimensions: int

Kind: Class Variable

##### offset: int

Kind: Class Variable

##### order: TensorInfo.StorageOrder

Kind: Class Variable

##### qpScale: float

Kind: Class Variable

##### qpZp: float

Kind: Class Variable

##### quantization: bool

Kind: Class Variable

##### strides: list[int]

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

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

Kind: Method

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

Kind: Method

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

Kind: Method

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

Kind: Method

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

Kind: Method

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

Kind: Method

#### depthai.NNData(depthai.Buffer, depthai.ProtoSerializable)

Kind: Class

NNData message. Carries tensors and their metadata

##### __init__(self)

Kind: Method

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

Kind: Method

##### addTensor(self, name: str, tensor: list [ int ], storageOrder: TensorInfo.StorageOrder) -> NNData: NNData

Kind: Method

##### 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

##### getFirstTensor(self, dequantize: bool = False) -> typing.Any: typing.Any

Kind: Method

##### 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

##### getTensor(self, name: str, dequantize: bool = False) -> typing.Any: typing.Any

Kind: Method

##### getTensorDatatype(self, name: str) -> TensorInfo.DataType: TensorInfo.DataType

Kind: Method

Get the datatype of a given tensor

Returns:
    TensorInfo::DataType tensor datatype

##### getTensorInfo(self, name: str) -> TensorInfo|None: TensorInfo|None

Kind: Method

Retrieve tensor information

Parameter ``name``:
    Name of the tensor

Returns:
    Tensor information

##### getTransformation(self) -> ImgTransformation|None: ImgTransformation|None

Kind: Method

##### 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

##### setTransformation(self, transformation: ImgTransformation|None)

Kind: Method

Specifies image transformation data

Parameter ``transformation``:
    transformation data

#### depthai.NeuralDepthConfig(depthai.Buffer)

Kind: Class

NeuralDepthConfig message.

##### depthai.NeuralDepthConfig.PostProcessing

Kind: Class

###### depthai.NeuralDepthConfig.PostProcessing.TemporalFilter

Kind: Class

Temporal filtering with optional persistence.

###### depthai.NeuralDepthConfig.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[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### PERSISTENCY_OFF: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_2: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_5: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_8: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_3: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_4: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_OUT_OF_8: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_8_OUT_OF_8: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, filters.params.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: filters.params.TemporalFilter.PersistencyMode) -> int: int

Kind: Method

###### __init__(self: filters.params.TemporalFilter.PersistencyMode, value: int)

Kind: Method

###### __int__(self: filters.params.TemporalFilter.PersistencyMode) -> int: int

Kind: Method

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

Kind: Method

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

Kind: Method

###### __setstate__(self: filters.params.TemporalFilter.PersistencyMode, state: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self: filters.params.TemporalFilter)

Kind: Method

###### __str__(self: filters.params.TemporalFilter) -> str: str

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: float)

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: int)

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: ...)

Kind: Method

###### depthai.NeuralDepthConfig.PostProcessing.ThresholdFilter

Kind: Class

Threshold filtering. Filters out distances outside of a given interval.

###### __init__(self: filters.params.ThresholdFilter)

Kind: Method

###### __str__(self: filters.params.ThresholdFilter) -> str: str

Kind: Method

###### maxRange

Kind: Property

Maximum range in depth units. Depth values over this value are invalidated.

###### maxRange.setter(self, arg0: int)

Kind: Method

###### minRange

Kind: Property

Minimum range in depth units. Depth values under this value are invalidated.

###### minRange.setter(self, arg0: int)

Kind: Method

###### __init__(self)

Kind: Method

###### confidenceThreshold

Kind: Property

Confidence threshold for disparity calculation, Confidences above this value
will be considered valid. Valid range is [0,255].

###### confidenceThreshold.setter(self, arg0: int)

Kind: Method

###### edgeThreshold

Kind: Property

Edge threshold for disparity calculation, Pixels with edge magnitude below this
value will be considered invalid. Valid range is [0,255].

###### edgeThreshold.setter(self, arg0: int)

Kind: Method

###### temporalFilter

Kind: Property

Temporal filtering with optional persistence.

###### temporalFilter.setter(self, arg0: filters.params.TemporalFilter)

Kind: Method

###### thresholdFilter

Kind: Property

Threshold filtering. Filters out distances outside of a given interval.

###### thresholdFilter.setter(self, arg0: filters.params.ThresholdFilter)

Kind: Method

##### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Get confidence threshold for disparity calculation

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

Kind: Method

Get custom depth unit multiplier relative to 1 meter.

##### getDepthUnit(self) -> LengthUnit: LengthUnit

Kind: Method

Get depth unit of depth map.

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

Kind: Method

Get edge threshold for disparity calculation

##### setConfidenceThreshold(self, confidenceThreshold: int) -> NeuralDepthConfig: NeuralDepthConfig

Kind: Method

Confidence threshold for disparity calculation

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

##### setCustomDepthUnitMultiplier(self, customDepthUnitMultiplier: float) -> NeuralDepthConfig: NeuralDepthConfig

Kind: Method

Set custom depth unit multiplier relative to 1 meter.

##### setDepthUnit(self, depthUnit: LengthUnit) -> NeuralDepthConfig: NeuralDepthConfig

Kind: Method

Set depth unit of depth map.

##### setEdgeThreshold(self, edgeThreshold: int) -> NeuralDepthConfig: NeuralDepthConfig

Kind: Method

Set edge threshold for disparity calculation

Parameter ``edgeThr``:
    Edge threshold value 0..255

##### postProcessing

Kind: Property

Controls the postprocessing of disparity and/or depth map.

##### postProcessing.setter(self, arg0: NeuralDepthConfig.PostProcessing)

Kind: Method

#### depthai.GPUStereoConfig(depthai.Buffer)

Kind: Class

Configuration for the GPUStereo node.

##### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Get the confidence threshold for disparity filtering.

##### setConfidenceThreshold(self, threshold: int) -> GPUStereoConfig: GPUStereoConfig

Kind: Method

Set the confidence threshold for disparity filtering.

Pixels with a matching cost above this threshold are invalidated.

Parameter ``threshold``:
    Value in range [0, 255]. 0 disables the filter. Values outside the range are
    clamped.

##### confidenceThreshold

Kind: Property

Confidence threshold for disparity filtering.

Value in range [0, 255]. 0 disables the filter.

##### confidenceThreshold.setter(self, arg0: int)

Kind: Method

#### depthai.SpatialImgDetection

Kind: Class

SpatialImgDetection structure

Contains image detection results together with spatial location data.

##### boundingBox: RotatedRect|None

Kind: Class Variable

##### boundingBoxMapping: SpatialLocationCalculatorConfigData

Kind: Class Variable

##### confidence: float

Kind: Class Variable

##### label: int

Kind: Class Variable

##### labelName: str

Kind: Class Variable

##### spatialCoordinates: Point3f

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Returns the angle of the bounding box.

##### getBoundingBox(self) -> RotatedRect: RotatedRect

Kind: Method

Returns bounding box if it was set, else it constructs a new one from the legacy
xmin, ymin, xmax, ymax values.

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

Kind: Method

Returns the X coordinate of the center of the bounding box.

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

Kind: Method

Returns the Y coordinate of the center of the bounding box.

##### getEdges(self) -> list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ]

Kind: Method

Returns a list of edges, each edge is a pair of indices, or empty list if no
keypoints were set.

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

Kind: Method

Returns the height of the (rotated) bounding box.

##### getImgDetection(self) -> ImgDetection: ImgDetection

Kind: Method

Converts SpatialImgDetection to ImgDetection by dropping spatial data.

Returns:
    dai::ImgDetection object.

##### getKeypointSpatialCoordinates(self) -> list [ Point3f ]: list [ Point3f ]

Kind: Method

Returns a list of spatial coordinates for each keypoint, or empty list if no
keypoints were set.

##### getKeypoints(self) -> list [ SpatialKeypoint ]: list [ SpatialKeypoint ]

Kind: Method

Returns a list of Keypoint objects, or empty list if no keypoints were set.

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

Kind: Method

Returns the width of the (rotated) bounding box.

##### setBoundingBox(self, boundingBox: RotatedRect)

Kind: Method

Sets the bounding box and the legacy coordinates of the detection.

##### setEdges(self, edges: list [ typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(2) ] ])

Kind: Method

Sets edges for the keypoints, throws if no keypoints were set beforehand.

##### setKeypoints(self, keypoints: SpatialKeypointsList)

Kind: Method

##### setOuterBoundingBox(self, xmin: float, ymin: float, xmax: float, ymax: float)

Kind: Method

Sets the bounding box and the legacy coordinates of the detection from the top-
left and bottom-right points.

##### setSpatialCoordinate(self, spatialCoordinates: Point3f)

Kind: Method

Sets spatial coordinates for the detection.

Parameter ``spatialCoordinates``:
    list of Point3f objects to set. @note The size of spatialCoordinates.

##### xmax

Kind: Property

Deprecation warning: use boundingBox instead

##### xmax.setter(self, arg0: float)

Kind: Method

##### xmin

Kind: Property

Deprecation warning: use boundingBox instead

##### xmin.setter(self, arg0: float)

Kind: Method

##### ymax

Kind: Property

Deprecation warning: use boundingBox instead

##### ymax.setter(self, arg0: float)

Kind: Method

##### ymin

Kind: Property

Deprecation warning: use boundingBox instead

##### ymin.setter(self, arg0: float)

Kind: Method

#### depthai.SpatialImgDetections(depthai.Buffer, depthai.ProtoSerializable, depthai.Transformable)

Kind: Class

SpatialImgDetections message. Carries detection results together with spatial
location data

##### detections: list[SpatialImgDetection]

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

##### getCvSegmentationMask(self) -> numpy.ndarray|None: numpy.ndarray|None

Kind: Method

Retrieves mask data as a cv::Mat copy with specified width and height. If mask
data is not set, returns std::nullopt.

Parameter ``allocator``:
    Allows callers to supply a custom cv::MatAllocator for zero-copy/custom
    memory management; nullptr uses OpenCV’s default.

##### getCvSegmentationMaskByClass(self, semantic_class: int) -> numpy.ndarray|None: numpy.ndarray|None

Kind: Method

Retrieves data by the semantic class. If no mask data is not set, returns
std::nullopt.

Parameter ``semanticClass``:
    Semantic class index

Parameter ``allocator``:
    Allows callers to supply a custom cv::MatAllocator for zero-copy/custom
    memory management; nullptr uses OpenCV’s default.

##### getCvSegmentationMaskByIndex(self, index: int) -> numpy.ndarray|None: numpy.ndarray|None

Kind: Method

Returns a binary mask where pixels belonging to the instance index are set to 1,
others to 0. If mask data is not set, returns std::nullopt.

Parameter ``index``:
    Instance index

Parameter ``allocator``:
    Allows callers to supply a custom cv::MatAllocator for zero-copy/custom
    memory management; nullptr uses OpenCV’s default.

##### getMaskData(self) -> typing.Any: typing.Any

Kind: Method

Returns a copy of the segmentation mask data as a vector of bytes. If mask data
is not set, returns std::nullopt.

##### getSegmentationMask(self) -> ImgFrame|None: ImgFrame|None

Kind: Method

Returns the segmentation mask as an ImgFrame. If mask data is not set, returns
std::nullopt.

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

Kind: Method

Returns the height of the segmentation mask.

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

Kind: Method

Returns the width of the segmentation mask.

##### getTransformation(self) -> ImgTransformation|None: ImgTransformation|None

Kind: Method

##### setCvSegmentationMask(self, mask: numpy.ndarray)

Kind: Method

Copies cv::Mat data to Segmentation Mask buffer

Parameter ``frame``:
    Input cv::Mat frame from which to copy the data @note Throws if mask is not
    a single channel INT8 type.

##### setSegmentationMask(self, frame: ImgFrame)

Kind: Method

Sets the segmentation mask from a vector of bytes. The size of the vector must
be equal to width * height.

##### setTransformation(self, arg0: ImgTransformation|None)

Kind: Method

##### transformTo(self, target: ImgTransformation) -> SpatialImgDetections: SpatialImgDetections

Kind: Method

Returns a new SpatialImgDetections message with the spatial detections
transformed into the target image transformation.

For each detection, the bounding box is assumed to lie on a plane parallel to
the image plane at depth `detection.spatialCoordinates.z` (that is, all four
bounding-box corners are projected using the same depth value). The transformed
corners are then fit with the smallest enclosing rotated rectangle to preserve
rectangularity.

Parameter ``target``:
    Target image transformation.

Returns:
    SpatialImgDetections with transformed detections.

##### unit

Kind: Property

Length unit used by all imgDetections' `spatialCoordinates` in this list.

##### unit.setter(self, arg0: LengthUnit)

Kind: Method

#### depthai.SegmentationParserConfig(depthai.Buffer)

Kind: Class

##### confidenceThreshold: float

Kind: Class Variable

##### stepSize: int

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

Get confidence threshold

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

Kind: Method

Gets the step size for segmentation parsing.

##### setConfidenceThreshold(self, threshold: float)

Kind: Method

Add a confidence threshold to the argmax operation over the segmentation tensor.
Pixels with confidence values below this threshold will be assigned the
background class (255).

Parameter ``threshold``:
    Confidence threshold for segmentation parsing @note Default is -1.0f, which
    means no thresholding is applied. @note Only applicable if output classes
    are not in a single layer (eg. classesInOneLayer = false).

##### setStepSize(self, stepSize: int)

Kind: Method

Sets the step size for segmentation parsing. A step size of 1 means every pixel
is processed, a step size of 2 means every second pixel is processed, and so on.
This can be used to speed up processing at the cost of lower resolution masks.

Parameter ``stepSize``:
    Step size for segmentation parsing

#### depthai.SegmentationMask(depthai.Buffer, depthai.ProtoSerializable, depthai.Transformable)

Kind: Class

SegmentationMask message.

Segmentation mask of an image is stored as a single-channel UINT8 array, where
each value represents a class or instance index. The value 255 is treated as
background pixels (no class/instance).

##### __init__(self)

Kind: Method

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

Kind: Method

##### getArea(self, index: int) -> int|None: int|None

Kind: Method

Returns the area (number of pixels) of the specified instance/class index in the
segmentation mask.

Parameter ``index``:
    Instance/Class index @note If index is not present in the mask, returns
    std::nullopt.

##### getBoundingBoxes(self, index: int, calculateRotation: bool = False) -> list [ RotatedRect ]: list [ RotatedRect ]

Kind: Method

Returns a bounding box for each continuous region with the specified index.

Parameter ``index``:
    class index

Parameter ``calculateRotation``:
    If true, returns rotated bounding boxes, otherwise returns the outer, axis-
    aligned bounding boxes.

##### getCentroid(self, index: int) -> Point2f|None: Point2f|None

Kind: Method

Returns the normalized centroid (x,y) coordinates of the specified
instance/class index in the segmentation mask.

Parameter ``index``:
    Instance/Class index @note If index is not present in the mask, returns
    std::nullopt.

##### getContour(self, index: int) -> list [ VectorPoint2f ]: list [ VectorPoint2f ]

Kind: Method

Calls the opencv findContours function and filters the results based on the
provided index. Returns filtered contour as a vector of vectors of non-
normalized points. If mask data is not set, returns an empty vector.

Parameter ``index``:
    class index

##### getCvMask(self) -> numpy.ndarray: numpy.ndarray

Kind: Method

Retrieves mask data as a cv::Mat copy with specified width and height. If mask
data is not set, returns an empty matrix.

Parameter ``allocator``:
    Allows callers to supply a custom cv::MatAllocator for zero-copy/custom
    memory management; nullptr uses OpenCV’s default.

##### getCvMaskByIndex(self, index: int) -> numpy.ndarray: numpy.ndarray

Kind: Method

Returns a binary mask where pixels belonging to the instance index are set to 1,
others to 0. If mask data is not set, returns an empty matrix.

Parameter ``index``:
    Instance index

Parameter ``allocator``:
    Allows callers to supply a custom cv::MatAllocator for zero-copy/custom
    memory management; nullptr uses OpenCV’s default.

##### getFrame(self) -> ImgFrame: ImgFrame

Kind: Method

Returns the segmentation mask as an ImgFrame. If mask data is not set, returns
an empty frame with only metadata set.

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

Kind: Method

Returns the height of the segmentation mask.

##### getLabels(self) -> list [ str ]: list [ str ]

Kind: Method

Returns all class labels associated with the segmentation mask. If no labels are
set, returns an empty vector.

##### getMaskByIndex(self, index: int) -> numpy.ndarray [ numpy.uint8 ]: numpy.ndarray [ numpy.uint8 ]

Kind: Method

Returns a binary mask where pixels belonging to the specified instance/class
index are set to 1, others to 0. If mask data is not set, returns an empty
vector.

##### getMaskByLabel(self, label: str) -> numpy.ndarray [ numpy.uint8 ]: numpy.ndarray [ numpy.uint8 ]

Kind: Method

Returns a binary mask where pixels belonging to the specified class label are
set to 1, others to 0. If labels are not set or label not found, returns an
empty vector.

##### getMaskData(self) -> numpy.ndarray [ numpy.uint8 ]: numpy.ndarray [ numpy.uint8 ]

Kind: Method

Returns a copy of the segmentation mask data as a vector of bytes. If mask data
is not set, returns an empty vector.

##### getTransformation(self) -> ImgTransformation|None: ImgTransformation|None

Kind: Method

Retrieves image transformation data

##### getUniqueIndices(self) -> list: list

Kind: Method

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

Kind: Method

Returns the width of the segmentation mask.

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

Kind: Method

Returns true if the mask data is not empty and has valid size (width * height).

##### setCvMask(self, mask: numpy.ndarray)

Kind: Method

Copies cv::Mat data to Segmentation Mask buffer

Parameter ``frame``:
    Input cv::Mat frame from which to copy the data @note Throws if mask is not
    a single channel INT8 type.

##### setLabels(self, labels: list [ str ])

Kind: Method

Sets the class labels associated with the segmentation mask. The label at index
`i` in the `labels` vector corresponds to the value `i` in the segmentation mask
data array.

Parameter ``labels``:
    Vector of class labels

##### setMask(self, mask: list [ int ], width: int, height: int)

Kind: Method

##### setTransformation(self, transformation: ImgTransformation)

Kind: Method

Specifies image transformation data

Parameter ``transformation``:
    transformation data

##### transformTo(self, target: ImgTransformation) -> SegmentationMask: SegmentationMask

Kind: Method

Returns a copy of this segmentation mask.

Segmentation mask remapping is not implemented. For optimal performance,
segmentation masks should be generated from already aligned source messages
instead of being transformed after the fact. Use Align on the source inputs to
align segmentation masks.

Parameter ``target``:
    Target image transformation.

#### 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.

##### lowerThreshold: int

Kind: Class Variable

##### upperThreshold: int

Kind: Class Variable

##### __init__(self)

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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.SpatialLocationCalculatorConfig(depthai.Buffer)

Kind: Class

Configuration for SpatialLocationCalculator.

Holds global parameters and optional per-ROI entries used to compute 3D spatial
locations from a depth map.

Global parameters (defaults): - Lower depth threshold [mm]: 0 - Upper depth
threshold [mm]: 65535 - Calculation algorithm: MEDIAN - Step size: AUTO -
Keypoint radius [px]: 10 - Calculate spatial keypoints: true - Use segmentation
for ImgDetections: true - Segmentation passthrough: true - Bounding box scale
factor: 1.0

An optional list of per-ROI configurations is available via `config`. ROI
settings override the corresponding global values where specified.

##### calculateSpatialKeypoints: bool

Kind: Class Variable

##### globalLowerThreshold: int

Kind: Class Variable

##### globalStepSize: int

Kind: Class Variable

##### globalUpperThreshold: int

Kind: Class Variable

##### useSegmentation: bool

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

##### addROI(self, ROI: SpatialLocationCalculatorConfigData)

Kind: Method

Add a new region of interest (ROI) to configuration data.

Parameter ``roi``:
    Configuration parameters for ROI

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

Kind: Method

Retrieve scale factor for bounding boxes used in spatial calculations.

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

Kind: Method

Retrieve whether keypoints are used for spatial location calculation. $..
warning::

Only applicable to ImgDetections with keypoints.

##### getCalculationAlgorithm(self) -> SpatialLocationCalculatorAlgorithm: SpatialLocationCalculatorAlgorithm

Kind: Method

##### getConfigData(self) -> list [ SpatialLocationCalculatorConfigData ]: list [ SpatialLocationCalculatorConfigData ]

Kind: Method

Retrieve configuration data for SpatialLocationCalculator

Returns:
    Vector of configuration parameters for ROIs (region of interests)

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

Kind: Method

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

Kind: Method

Retrieve radius around keypoints used to calculate spatial coordinates.

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

Kind: Method

Retrieve whether segmentation is passed through along with spatial detections.
$.. warning::

Only applicable to ImgDetections with segmentation masks.

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

Kind: Method

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

Kind: Method

Retrieve whether segmentation is used for spatial location calculation. $..
warning::

Only applicable to ImgDetections with segmentation masks.

##### setBoundingBoxScaleFactor(self, arg0: float)

Kind: Method

Set scale factor for bounding boxes used in spatial calculations.

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

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

Kind: Method

If false, spatial coordinates of keypoints will not be calculated.

Parameter ``calculateSpatialKeypoints``:
    $.. warning::

Only applicable to ImgDetections with keypoints.

##### setCalculationAlgorithm(self, arg0: SpatialLocationCalculatorAlgorithm)

Kind: Method

Set spatial location calculation algorithm. Possible values:

- MEDIAN: Median of all depth values in the ROI - AVERAGE: Average of all depth
values in the ROI - MIN: Minimum depth value in the ROI - MAX: Maximum depth
value in the ROI - MODE: Most frequent depth value in the ROI

##### setDepthThresholds(self, arg0: int, arg1: int)

Kind: Method

Set the lower and upper depth value thresholds to be used in the spatial
calculations.

Parameter ``lowerThreshold``:
    Lower threshold in depth units (millimeter by default).

Parameter ``upperThreshold``:
    Upper threshold in depth units (millimeter by default).

##### setKeypointRadius(self, arg0: int)

Kind: Method

Set radius around keypoints to calculate spatial coordinates.

Parameter ``radius``:
    Radius in pixels. $.. warning::

Only applicable to Keypoints or ImgDetections with keypoints.

##### setROIs(self, ROIs: list [ SpatialLocationCalculatorConfigData ])

Kind: Method

Specify additional regions of interest (ROI) to calculate their spatial
coordinates. Results of ROI coordinates are available on
SpatialLocationCalculatorData output.

Parameter ``ROIs``:
    Vector of configuration parameters for ROIs (region of interests)

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

Kind: Method

Specify whether to passthrough segmentation mask along with spatial detections.

Parameter ``passthroughSegmentation``:
    $.. warning::

Only applicable to ImgDetections with segmentation masks.

##### setStepSize(self, arg0: int)

Kind: Method

Set step size for spatial location calculation. Step size 1 means that every
pixel is taken into calculation, size 2 means every second etc. for AVERAGE,
MIN, MAX step size is 1; for MODE/MEDIAN it's 2.

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

Kind: Method

Specify whether to consider only segmented pixels within a detection bounding
box for spatial calculations.

Parameter ``useSegmentation``:
    $.. warning::

Only applicable to ImgDetections with segmentation masks.

#### depthai.SpatialLocationCalculatorData(depthai.Buffer)

Kind: Class

SpatialLocationCalculatorData message. Carries spatial information (X,Y,Z) and
their configuration parameters

##### spatialLocations: list[SpatialLocations]

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

##### 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)

#### 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: float)

Kind: Method

##### depthAveragePixelCount

Kind: Property

Number of depth values used in calculations.

##### depthAveragePixelCount.setter(self, arg0: int)

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: int)

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: float)

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: int)

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: float)

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.ConfidenceMetrics

Kind: Class

Confidence metrics settings. RVC4 only.

###### __init__(self)

Kind: Method

###### flatnessConfidenceThreshold

Kind: Property

Threshold for flatness check in SGM block. Valid range is [1,7].

###### flatnessConfidenceThreshold.setter(self, arg0: int)

Kind: Method

###### flatnessConfidenceWeight

Kind: Property

Weight used with flatness estimation to generate final confidence map. Valid
range is [0,32].

###### flatnessConfidenceWeight.setter(self, arg0: int)

Kind: Method

###### flatnessOverride

Kind: Property

Flag to indicate whether final confidence value will be overidden by flatness
value. Valid range is {true,false}.

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

Kind: Method

###### motionVectorConfidenceThreshold

Kind: Property

Threshold offset for MV variance in confidence generation. A value of 0 allows
most variance. Valid range is [0,3].

###### motionVectorConfidenceThreshold.setter(self, arg0: int)

Kind: Method

###### motionVectorConfidenceWeight

Kind: Property

Weight used with local neighborhood motion vector variance estimation to
generate final confidence map. Valid range is [0,32].

###### motionVectorConfidenceWeight.setter(self, arg0: int)

Kind: Method

###### occlusionConfidenceWeight

Kind: Property

Weight used with occlusion estimation to generate final confidence map. Valid
range is [0,32]

###### occlusionConfidenceWeight.setter(self, arg0: int)

Kind: Method

##### 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:

  AUTO

  RECTIFIED_RIGHT : 

  RECTIFIED_LEFT : 

  CENTER : 

  RIGHT

  LEFT

###### AUTO: typing.ClassVar[StereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### CENTER: typing.ClassVar[StereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### LEFT: typing.ClassVar[StereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### RECTIFIED_LEFT: typing.ClassVar[StereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### RECTIFIED_RIGHT: typing.ClassVar[StereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### RIGHT: typing.ClassVar[StereoDepthConfig.AlgorithmControl.DepthAlign]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, StereoDepthConfig.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### centerAlignmentShiftFactor: float|None

Kind: Class Variable

###### __init__(self)

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: float)

Kind: Method

###### depthAlign

Kind: Property

Set the disparity/depth alignment to the perspective of a rectified output, or
center it

###### depthAlign.setter(self, arg0: StereoDepthConfig.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: LengthUnit)

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. RVC2 only.

###### disparityShift.setter(self, arg0: int)

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 RVC2 only.

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

Kind: Method

###### enableSwLeftRightCheck

Kind: Property

Enables software left right check. RVC4 only.

###### enableSwLeftRightCheck.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: int)

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. RVC2 only.

###### numInvalidateEdgePixels.setter(self, arg0: int)

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 RVC2 only.

###### subpixelFractionalBits.setter(self, arg0: int)

Kind: Method

##### 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)

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: int)

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: int)

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[StereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]

Kind: Class Variable

###### NON_ZERO_MEDIAN: typing.ClassVar[StereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]

Kind: Class Variable

###### PIXEL_SKIPPING: typing.ClassVar[StereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, StereoDepthConfig.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: int)

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: int)

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: int)

Kind: Method

###### decimationMode

Kind: Property

Decimation algorithm type.

###### decimationMode.setter(self, arg0: StereoDepthConfig.PostProcessing.DecimationFilter.DecimationMode)

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.HoleFilling

Kind: Class

Hole-filling configuration. RVC4 only.

###### __init__(self)

Kind: Method

###### enable

Kind: Property

Flag to enable post-processing hole-filling.

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

Kind: Method

###### fillConfidenceThreshold

Kind: Property

Pixels with confidence below this value will be filled with the average
disparity of their corresponding superpixel. Valid range is [1,255].

###### fillConfidenceThreshold.setter(self, arg0: int)

Kind: Method

###### highConfidenceThreshold

Kind: Property

Pixels with confidence higher than this value are used to calculate an average
disparity per superpixel. Valid range is [1,255]

###### highConfidenceThreshold.setter(self, arg0: int)

Kind: Method

###### invalidateDisparities

Kind: Property

If enabled, sets to 0 the disparity of pixels with confidence below
nFillConfThresh, which did not pass nMinValidPixels criteria. Valid range is
{true, false}.

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

Kind: Method

###### minValidDisparity

Kind: Property

Represents the required percentange of pixels with confidence value above
nHighConfThresh that are used to calculate average disparity per superpixel,
where 1 means 50% or half, 2 means 25% or a quarter and 3 means 12.5% or an
eighth. If the required number of pixels are not found, the holes will not be
filled.

###### minValidDisparity.setter(self, arg0: int)

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.AdaptiveMedianFilter

Kind: Class

Adaptive median filter configuration. RVC4 only.

###### __init__(self)

Kind: Method

###### confidenceThreshold

Kind: Property

Confidence threshold for adaptive median filtering. Should be less than
nFillConfThresh value used in evaDfsHoleFillConfig. Valid range is [0,255].

###### confidenceThreshold.setter(self, arg0: int)

Kind: Method

###### enable

Kind: Property

Flag to enable adaptive median filtering for a final pass of filtering on low
confidence pixels.

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

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.Filter

Kind: Class

Members:

  NONE : 

  DECIMATION : 

  SPECKLE : 

  MEDIAN : 

  SPATIAL : 

  TEMPORAL : 

###### DECIMATION: typing.ClassVar[StereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### MEDIAN: typing.ClassVar[StereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### NONE: typing.ClassVar[StereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### SPATIAL: typing.ClassVar[StereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### SPECKLE: typing.ClassVar[StereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### TEMPORAL: typing.ClassVar[StereoDepthConfig.PostProcessing.Filter]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, StereoDepthConfig.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.StereoDepthConfig.PostProcessing.MedianFilter

Kind: Class

Members:

  MEDIAN_OFF

  KERNEL_3x3

  KERNEL_5x5

  KERNEL_7x7

###### KERNEL_3x3: typing.ClassVar[filters.params.MedianFilter]

Kind: Class Variable

###### KERNEL_5x5: typing.ClassVar[filters.params.MedianFilter]

Kind: Class Variable

###### KERNEL_7x7: typing.ClassVar[filters.params.MedianFilter]

Kind: Class Variable

###### MEDIAN_OFF: typing.ClassVar[filters.params.MedianFilter]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, filters.params.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: filters.params.MedianFilter) -> int: int

Kind: Method

###### __init__(self: filters.params.MedianFilter, value: int)

Kind: Method

###### __int__(self: filters.params.MedianFilter) -> int: int

Kind: Method

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

Kind: Method

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

Kind: Method

###### __setstate__(self: filters.params.MedianFilter, state: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### depthai.StereoDepthConfig.PostProcessing.SpatialFilter

Kind: Class

###### __init__(self: filters.params.SpatialFilter)

Kind: Method

###### __str__(self: filters.params.SpatialFilter) -> str: str

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: float)

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: int)

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: int)

Kind: Method

###### numIterations

Kind: Property

Number of iterations over the image in both horizontal and vertical direction.

###### numIterations.setter(self, arg0: int)

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[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### PERSISTENCY_OFF: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_2: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_5: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_1_IN_LAST_8: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_3: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_IN_LAST_4: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_2_OUT_OF_8: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### VALID_8_OUT_OF_8: typing.ClassVar[filters.params.TemporalFilter.PersistencyMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, filters.params.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: filters.params.TemporalFilter.PersistencyMode) -> int: int

Kind: Method

###### __init__(self: filters.params.TemporalFilter.PersistencyMode, value: int)

Kind: Method

###### __int__(self: filters.params.TemporalFilter.PersistencyMode) -> int: int

Kind: Method

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

Kind: Method

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

Kind: Method

###### __setstate__(self: filters.params.TemporalFilter.PersistencyMode, state: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self: filters.params.TemporalFilter)

Kind: Method

###### __str__(self: filters.params.TemporalFilter) -> str: str

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: float)

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: int)

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: ...)

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.ThresholdFilter

Kind: Class

Threshold filtering. Filters out distances outside of a given interval.

###### __init__(self: filters.params.ThresholdFilter)

Kind: Method

###### __str__(self: filters.params.ThresholdFilter) -> str: str

Kind: Method

###### maxRange

Kind: Property

Maximum range in depth units. Depth values over this value are invalidated.

###### maxRange.setter(self, arg0: int)

Kind: Method

###### minRange

Kind: Property

Minimum range in depth units. Depth values under this value are invalidated.

###### minRange.setter(self, arg0: int)

Kind: Method

###### depthai.StereoDepthConfig.PostProcessing.SpeckleFilter

Kind: Class

###### __init__(self: filters.params.SpeckleFilter)

Kind: Method

###### __str__(self: filters.params.SpeckleFilter) -> str: str

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: int)

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: int)

Kind: Method

###### __init__(self)

Kind: Method

###### adaptiveMedianFilter

Kind: Property

Adaptive median filter configuration. RVC4 only.

###### adaptiveMedianFilter.setter(self, arg0: StereoDepthConfig.PostProcessing.AdaptiveMedianFilter)

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. RVC2 only.

###### bilateralSigmaValue.setter(self, arg0: int)

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: StereoDepthConfig.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: StereoDepthConfig.PostProcessing.DecimationFilter)

Kind: Method

###### filteringOrder

Kind: Property

Order of filters to be applied if filtering is enabled.

###### filteringOrder.setter(self, arg0: typing.Annotated [ list [ StereoDepthConfig.PostProcessing.Filter ], pybind11_stubgen.typing_ext.FixedSize(5) ])

Kind: Method

###### holeFilling

Kind: Property

Hole-filling configuration. RVC4 only.

###### holeFilling.setter(self, arg0: StereoDepthConfig.PostProcessing.HoleFilling)

Kind: Method

###### median

Kind: Property

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

###### median.setter(self, arg0: filters.params.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: filters.params.SpatialFilter)

Kind: Method

###### speckleFilter

Kind: Property

Speckle filtering. Removes speckle noise.

###### speckleFilter.setter(self, arg0: filters.params.SpeckleFilter)

Kind: Method

###### temporalFilter

Kind: Property

Temporal filtering with optional persistence.

###### temporalFilter.setter(self, arg0: filters.params.TemporalFilter)

Kind: Method

###### thresholdFilter

Kind: Property

Threshold filtering. Filters out distances outside of a given interval.

###### thresholdFilter.setter(self, arg0: filters.params.ThresholdFilter)

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.

###### depthai.StereoDepthConfig.CostAggregation.P1Config

Kind: Class

Adaptive P1 penalty configuration. RVC4 only.

###### __init__(self)

Kind: Method

###### defaultValue

Kind: Property

Used as the default penalty value when nAdapEnable is disabled. A bigger value
enforces higher smoothness and reduced noise at the cost of lower edge accuracy.
This value must be smaller than P2 default penalty. Valid range is [10,50].

###### defaultValue.setter(self, arg0: int)

Kind: Method

###### edgeThreshold

Kind: Property

Threshold value on edges when nAdapEnable is enabled. A bigger value permits
higher neighboring feature dissimilarity tolerance. This value is shared with P2
penalty configuration. Valid range is [8,16].

###### edgeThreshold.setter(self, arg0: int)

Kind: Method

###### edgeValue

Kind: Property

Penalty value on edges when nAdapEnable is enabled. A smaller penalty value
permits higher change in disparity. This value must be smaller than or equal to
P2 edge penalty. Valid range is [10,50].

###### edgeValue.setter(self, arg0: int)

Kind: Method

###### enableAdaptive

Kind: Property

Used to disable/enable adaptive penalty.

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

Kind: Method

###### smoothThreshold

Kind: Property

Threshold value on low texture regions when nAdapEnable is enabled. A bigger
value permits higher neighboring feature dissimilarity tolerance. This value is
shared with P2 penalty configuration. Valid range is [2,12].

###### smoothThreshold.setter(self, arg0: int)

Kind: Method

###### smoothValue

Kind: Property

Penalty value on low texture regions when nAdapEnable is enabled. A smaller
penalty value permits higher change in disparity. This value must be smaller
than or equal to P2 smoothness penalty. Valid range is [10,50].

###### smoothValue.setter(self, arg0: int)

Kind: Method

###### depthai.StereoDepthConfig.CostAggregation.P2Config

Kind: Class

Adaptive P2 penalty configuration. RVC4 only.

###### __init__(self)

Kind: Method

###### defaultValue

Kind: Property

Used as the default penalty value when nAdapEnable is disabled. A bigger value
enforces higher smoothness and reduced noise at the cost of lower edge accuracy.
This value must be larger than P1 default penalty. Valid range is [20,100].

###### defaultValue.setter(self, arg0: int)

Kind: Method

###### edgeValue

Kind: Property

Penalty value on edges when nAdapEnable is enabled. A smaller penalty value
permits higher change in disparity. This value must be larger than or equal to
P1 edge penalty. Valid range is [20,100].

###### edgeValue.setter(self, arg0: int)

Kind: Method

###### enableAdaptive

Kind: Property

Used to disable/enable adaptive penalty.

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

Kind: Method

###### smoothValue

Kind: Property

Penalty value on low texture regions when nAdapEnable is enabled. A smaller
penalty value permits higher change in disparity. This value must be larger than
or equal to P1 smoothness penalty. Valid range is [20,100].

###### smoothValue.setter(self, arg0: int)

Kind: Method

###### __init__(self)

Kind: Method

###### divisionFactor

Kind: Property

Cost calculation linear equation parameters. RVC2 only.

###### divisionFactor.setter(self, arg0: int)

Kind: Method

###### horizontalPenaltyCostP1

Kind: Property

Horizontal P1 penalty cost parameter. RVC2 only.

###### horizontalPenaltyCostP1.setter(self, arg0: int)

Kind: Method

###### horizontalPenaltyCostP2

Kind: Property

Horizontal P2 penalty cost parameter. RVC2 only.

###### horizontalPenaltyCostP2.setter(self, arg0: int)

Kind: Method

###### p1Config

Kind: Property

Adaptive P1 penalty configuration. RVC4 only.

###### p1Config.setter(self, arg0: StereoDepthConfig.CostAggregation.P1Config)

Kind: Method

###### p2Config

Kind: Property

Adaptive P2 penalty configuration. RVC4 only.

###### p2Config.setter(self, arg0: StereoDepthConfig.CostAggregation.P2Config)

Kind: Method

###### verticalPenaltyCostP1

Kind: Property

Vertical P1 penalty cost parameter. RVC2 only.

###### verticalPenaltyCostP1.setter(self, arg0: int)

Kind: Method

###### verticalPenaltyCostP2

Kind: Property

Vertical P2 penalty cost parameter. RVC2 only.

###### verticalPenaltyCostP2.setter(self, arg0: int)

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.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. RVC2 only.

###### alpha: int

Kind: Class Variable

###### beta: int

Kind: Class Variable

###### threshold: int

Kind: Class Variable

###### __init__(self)

Kind: Method

###### 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[StereoDepthConfig.CostMatching.DisparityWidth]

Kind: Class Variable

###### DISPARITY_96: typing.ClassVar[StereoDepthConfig.CostMatching.DisparityWidth]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, StereoDepthConfig.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self)

Kind: Method

###### confidenceThreshold

Kind: Property

Disparities with confidence value over this threshold are accepted.

###### confidenceThreshold.setter(self, arg0: int)

Kind: Method

###### disparityWidth

Kind: Property

Disparity search range, default 96 pixels. RVC2 only.

###### disparityWidth.setter(self, arg0: StereoDepthConfig.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. RVC2
only.

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

Kind: Method

###### enableSwConfidenceThresholding

Kind: Property

Enable software confidence thresholding. RVC4 only.

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

Kind: Method

###### invalidDisparityValue

Kind: Property

Used only for debug purposes, SW postprocessing handled only invalid value of 0
properly. RVC2 only.

###### invalidDisparityValue.setter(self, arg0: int)

Kind: Method

###### linearEquationParameters

Kind: Property

Cost calculation linear equation parameters. RVC2 only.

###### linearEquationParameters.setter(self, arg0: StereoDepthConfig.CostMatching.LinearEquationParameters)

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[StereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### KERNEL_5x5: typing.ClassVar[StereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### KERNEL_7x7: typing.ClassVar[StereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### KERNEL_7x9: typing.ClassVar[StereoDepthConfig.CensusTransform.KernelSize]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, StereoDepthConfig.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: int)

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: int)

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. RVC2 only.

###### 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. RVC2 only.

###### kernelMask.setter(self, arg0: int)

Kind: Method

###### kernelSize

Kind: Property

Census transform kernel size. RVC2 only.

###### kernelSize.setter(self, arg0: StereoDepthConfig.CensusTransform.KernelSize)

Kind: Method

###### noiseThresholdOffset

Kind: Property

Used to reduce small fixed levels of noise across all luminance values in the
current image. Valid range is [0,127]. Default value is 1. RVC4 only.

###### noiseThresholdOffset.setter(self, arg0: int)

Kind: Method

###### noiseThresholdScale

Kind: Property

Used to reduce noise values that increase with luminance in the current image.
Valid range is [-128,127]. Default value is 1. RVC4 only.

###### noiseThresholdScale.setter(self, arg0: int)

Kind: Method

###### threshold

Kind: Property

Census transform comparison threshold value. RVC2 only.

###### threshold.setter(self, arg0: int)

Kind: Method

##### depthai.StereoDepthConfig.MedianFilter

Kind: Class

Members:

  MEDIAN_OFF

  KERNEL_3x3

  KERNEL_5x5

  KERNEL_7x7

###### KERNEL_3x3: typing.ClassVar[filters.params.MedianFilter]

Kind: Class Variable

###### KERNEL_5x5: typing.ClassVar[filters.params.MedianFilter]

Kind: Class Variable

###### KERNEL_7x7: typing.ClassVar[filters.params.MedianFilter]

Kind: Class Variable

###### MEDIAN_OFF: typing.ClassVar[filters.params.MedianFilter]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, filters.params.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: filters.params.MedianFilter) -> int: int

Kind: Method

###### __init__(self: filters.params.MedianFilter, value: int)

Kind: Method

###### __int__(self: filters.params.MedianFilter) -> int: int

Kind: Method

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

Kind: Method

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

Kind: Method

###### __setstate__(self: filters.params.MedianFilter, state: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### __init__(self)

Kind: Method

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

Kind: Method

##### 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

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

Kind: Method

Get custom depth unit multiplier relative to 1 meter.

##### getDepthUnit(self) -> LengthUnit: LengthUnit

Kind: Method

Get depth unit of depth map.

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

Kind: Method

Get extended disparity setting

##### getFiltersComputeBackend(self) -> ProcessorType: ProcessorType

Kind: Method

Get filters compute backend RVC4 only.

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

Kind: Method

Get left-right check setting

##### 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) -> filters.params.MedianFilter: filters.params.MedianFilter

Kind: Method

Get median filter setting

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

Kind: Method

Get subpixel setting

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

Kind: Method

Get number of fractional bits for subpixel mode

##### setBilateralFilterSigma(self, sigma: int) -> 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: int) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Confidence threshold for disparity calculation

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

##### setCustomDepthUnitMultiplier(self, arg0: float) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Set custom depth unit multiplier relative to 1 meter.

##### setDepthAlign(self, align: StereoDepthConfig.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: LengthUnit) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Set depth unit of depth map.

Meter, centimeter, millimeter, inch, foot or custom unit is available.

##### setDisparityShift(self, arg0: int) -> 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

##### setFiltersComputeBackend(self, filtersBackend: ProcessorType) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Set filters compute backend RVC4 only.

##### 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: int) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

Parameter ``threshold``:
    Set threshold for left-right, right-left disparity map combine, 0..255

##### setMedianFilter(self, median: filters.params.MedianFilter) -> StereoDepthConfig: StereoDepthConfig

Kind: Method

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

##### setNumInvalidateEdgePixels(self, arg0: int) -> 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: int) -> 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.

##### algorithmControl

Kind: Property

Controls the flow of stereo algorithm - left-right check, subpixel etc.

##### algorithmControl.setter(self, arg0: StereoDepthConfig.AlgorithmControl)

Kind: Method

##### censusTransform

Kind: Property

Census transform settings.

##### censusTransform.setter(self, arg0: StereoDepthConfig.CensusTransform)

Kind: Method

##### confidenceMetrics

Kind: Property

Confidence metrics settings. RVC4 only.

##### confidenceMetrics.setter(self, arg0: StereoDepthConfig.ConfidenceMetrics)

Kind: Method

##### costAggregation

Kind: Property

Cost aggregation settings.

##### costAggregation.setter(self, arg0: StereoDepthConfig.CostAggregation)

Kind: Method

##### costMatching

Kind: Property

Cost matching settings.

##### costMatching.setter(self, arg0: StereoDepthConfig.CostMatching)

Kind: Method

##### postProcessing

Kind: Property

Controls the postprocessing of disparity and/or depth map.

##### postProcessing.setter(self, arg0: StereoDepthConfig.PostProcessing)

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

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

Kind: Method

#### depthai.SystemInformationRVC4(depthai.Buffer)

Kind: Class

SystemInformation message Carries memory usage, cpu usage and chip temperatures.

##### chipTemperature: ChipTemperatureRVC4

Kind: Class Variable

##### cpuAvgUsage: CpuUsage

Kind: Class Variable

##### cpuUsages: list[CpuUsage]

Kind: Class Variable

##### ddrMemoryUsage: MemoryInfo

Kind: Class Variable

##### processCpuAvgUsage: CpuUsage

Kind: Class Variable

##### processMemoryUsage: int

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.TrackedFeature

Kind: Class

TrackedFeature structure

##### __init__(self)

Kind: Method

##### age

Kind: Property

Feature age in frames

##### age.setter(self, arg0: int)

Kind: Method

##### descriptor

Kind: Property

Feature descriptor

##### descriptor.setter(self, arg0: typing.Annotated [ list [ int ], pybind11_stubgen.typing_ext.FixedSize(32) ])

Kind: Method

##### harrisScore

Kind: Property

Feature harris score

##### harrisScore.setter(self, arg0: float)

Kind: Method

##### id

Kind: Property

Feature ID. Persistent between frames if motion estimation is enabled.

##### id.setter(self, arg0: int)

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: float)

Kind: Method

#### depthai.TrackedFeatures(depthai.Buffer)

Kind: Class

TrackedFeatures message. Carries position (X, Y) of tracked features and their
ID.

##### trackedFeatures: list[TrackedFeature]

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### age: int

Kind: Class Variable

##### id: int

Kind: Class Variable

##### label: int

Kind: Class Variable

##### roi: Rect

Kind: Class Variable

##### spatialCoordinates: Point3f

Kind: Class Variable

##### speed: float|None

Kind: Class Variable

##### srcImgDetection: ImgDetection

Kind: Class Variable

##### status: Tracklet.TrackingStatus

Kind: Class Variable

##### velocity: Point3f|None

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.Tracklets(depthai.Buffer, depthai.Transformable)

Kind: Class

Tracklets message. Carries object tracking information.

##### __init__(self)

Kind: Method

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

Kind: Method

##### getTransformation(self) -> ImgTransformation: ImgTransformation

Kind: Method

##### setTransformation(self, arg0: ImgTransformation)

Kind: Method

##### transformTo(self, target: ImgTransformation) -> Tracklets: Tracklets

Kind: Method

Returns a new Tracklets message with the tracklets transformed into the target
image transformation.

For each tracklet, the bounding box is assumed to lie on a plane parallel to the
image plane at depth `tracklet.spatialCoordinates.z` (that is, all four
bounding-box corners are projected using the same depth value). The transformed
corners are then fit with the smallest enclosing rotated rectangle to preserve
rectangularity.

Parameter ``target``:
    Target image transformation.

##### tracklets

Kind: Property

Retrieve data for Tracklets.

Returns:
    Vector of object tracker data, carrying tracking information.

##### tracklets.setter(self, arg1: list [ Tracklet ])

Kind: Method

##### unit

Kind: Property

Measurement unit used by all tracklets' `spatialCoordinates` in this list.

##### unit.setter(self, arg0: LengthUnit)

Kind: Method

#### depthai.BenchmarkReport(depthai.Buffer)

Kind: Class

BenchmarkReport message.

##### __init__(self)

Kind: Method

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

Kind: Method

##### averageLatency

Kind: Property

##### fps

Kind: Property

##### latencies

Kind: Property

##### numMessagesReceived

Kind: Property

##### timeTotal

Kind: Property

#### depthai.PointCloudConfig(depthai.Buffer)

Kind: Class

PointCloudConfig message. Carries point cloud output settings.

##### depthai.PointCloudConfig.CoordinateSystemType

Kind: Class

Members:

  DEFAULT

  CAMERA_SOCKET

  HOUSING

###### CAMERA_SOCKET: typing.ClassVar[PointCloudConfig.CoordinateSystemType]

Kind: Class Variable

###### DEFAULT: typing.ClassVar[PointCloudConfig.CoordinateSystemType]

Kind: Class Variable

###### HOUSING: typing.ClassVar[PointCloudConfig.CoordinateSystemType]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, PointCloudConfig.CoordinateSystemType]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### __init__(self)

Kind: Method

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

Kind: Method

##### getCoordinateSystemType(self) -> PointCloudConfig.CoordinateSystemType: PointCloudConfig.CoordinateSystemType

Kind: Method

Retrieve the coordinate system type.

##### getLengthUnit(self) -> LengthUnit: LengthUnit

Kind: Method

Retrieve the length unit used for output point coordinates.

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

Kind: Method

Retrieve whether the point cloud is organized (all width*height points kept).

Returns:
    true if all width*height points are output, false if only valid (z > 0)
    points are kept

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

Kind: Method

**Deprecated:** Use getOrganized() instead (sparse == !organized).

##### getTargetCameraSocket(self) -> CameraBoardSocket: CameraBoardSocket

Kind: Method

Retrieve the target camera socket (valid when coordSystemType == CAMERA_SOCKET).

##### getTargetHousingCS(self) -> HousingCoordinateSystem: HousingCoordinateSystem

Kind: Method

Retrieve the target housing coordinate system (valid when coordSystemType ==
HOUSING).

##### getTransformationMatrix(self) -> typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(4) ] ], pybind11_stubgen.typing_ext.FixedSize(4) ]

Kind: Method

Retrieve transformation matrix applied to every output point.

Returns:
    4x4 row-major transformation matrix (identity by default)

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

Kind: Method

Retrieve whether spec translation is used.

##### setLengthUnit(self, arg0: LengthUnit) -> PointCloudConfig: PointCloudConfig

Kind: Method

Set the length unit for output point coordinates.

##### setOrganized(self, arg0: bool) -> PointCloudConfig: PointCloudConfig

Kind: Method

Enable or disable organized point cloud output. When true all width*height
points are kept; when false only points with z > 0 are emitted.

##### setSparse(self, sparse: bool) -> PointCloudConfig: PointCloudConfig

Kind: Method

**Deprecated:** Use setOrganized() instead (sparse == !organized).

##### setTargetCoordinateSystem(self, targetCamera: CameraBoardSocket) -> PointCloudConfig: PointCloudConfig

Kind: Method

##### setTransformationMatrix(self, arg0: typing.Annotated [ list [ typing.Annotated [ list [ float ], pybind11_stubgen.typing_ext.FixedSize(3) ] ], pybind11_stubgen.typing_ext.FixedSize(3) ]) -> PointCloudConfig: PointCloudConfig

Kind: Method

#### depthai.PointCloudData(depthai.Buffer, depthai.ProtoSerializable, depthai.Transformable)

Kind: Class

PointCloudData message. Carries point cloud data.

##### __init__(self)

Kind: Method

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

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.ndarray [ numpy.float32 ]: numpy.ndarray [ numpy.float32 ]

Kind: Method

##### getPointsRGB(self) -> tuple: tuple

Kind: Method

##### getTransformation(self) -> ImgTransformation: ImgTransformation

Kind: Method

##### 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

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

Kind: Method

Retrieves whether point cloud is color

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

Kind: Method

Retrieves whether point cloud is organized (height > 1) Organized point clouds
have width x height structure from the original image Sparse point clouds have
height == 1 and only contain valid points

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

Kind: Method

Retrieves whether point cloud is sparse $.. deprecated::

Use isOrganized() instead. Sparse means height == 1

##### setHeight(self, arg0: int) -> PointCloudData: PointCloudData

Kind: Method

Specifies frame height

Parameter ``height``:
    frame height

##### setInstanceNum(self, instanceNum: int) -> PointCloudData: PointCloudData

Kind: Method

Specifies instance number

Parameter ``instanceNum``:
    instance number

##### setMaxX(self, arg0: float) -> 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: float) -> 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: float) -> 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: float) -> 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: float) -> 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: float) -> 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)

##### setPoints(self, arg0: numpy.ndarray [ numpy.float32 ])

Kind: Method

##### setPointsRGB(self, arg0: numpy.ndarray [ numpy.float32 ], arg1: numpy.ndarray [ numpy.uint8 ])

Kind: Method

##### setSize(self, width: int, height: int) -> PointCloudData: PointCloudData

Kind: Method

##### setTransformation(self, transformation: ImgTransformation) -> PointCloudData: PointCloudData

Kind: Method

##### setWidth(self, arg0: int) -> PointCloudData: PointCloudData

Kind: Method

Specifies frame width

Parameter ``width``:
    frame width

##### updateBoundingBox(self) -> PointCloudData: PointCloudData

Kind: Method

Recomputes the bounding box (min/max X, Y, Z) from the current point data. All
stored points are included regardless of their z value. If the cloud is empty,
all bounds are set to 0.

#### depthai.PipelineEvent(depthai.Buffer)

Kind: Class

Pipeline event message.

##### depthai.PipelineEvent.Type

Kind: Class

Members:

  CUSTOM

  LOOP

  INPUT

  OUTPUT

  INPUT_BLOCK

  OUTPUT_BLOCK

###### CUSTOM: typing.ClassVar[PipelineEvent.Type]

Kind: Class Variable

###### INPUT: typing.ClassVar[PipelineEvent.Type]

Kind: Class Variable

###### INPUT_BLOCK: typing.ClassVar[PipelineEvent.Type]

Kind: Class Variable

###### LOOP: typing.ClassVar[PipelineEvent.Type]

Kind: Class Variable

###### OUTPUT: typing.ClassVar[PipelineEvent.Type]

Kind: Class Variable

###### OUTPUT_BLOCK: typing.ClassVar[PipelineEvent.Type]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, PipelineEvent.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.PipelineEvent.Interval

Kind: Class

Members:

  NONE

  START

  END

###### END: typing.ClassVar[PipelineEvent.Interval]

Kind: Class Variable

###### NONE: typing.ClassVar[PipelineEvent.Interval]

Kind: Class Variable

###### START: typing.ClassVar[PipelineEvent.Interval]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, PipelineEvent.Interval]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.PipelineEvent.Status

Kind: Class

Members:

  SUCCESS

  BLOCKED

  CANCELLED

###### BLOCKED: typing.ClassVar[PipelineEvent.Status]

Kind: Class Variable

###### CANCELLED: typing.ClassVar[PipelineEvent.Status]

Kind: Class Variable

###### SUCCESS: typing.ClassVar[PipelineEvent.Status]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, PipelineEvent.Status]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### interval: PipelineEvent.Interval

Kind: Class Variable

##### nodeId: int

Kind: Class Variable

##### queueSize: int|None

Kind: Class Variable

##### source: str

Kind: Class Variable

##### status: PipelineEvent.Status

Kind: Class Variable

##### type: PipelineEvent.Type

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.NodeState

Kind: Class

##### depthai.NodeState.DurationEvent

Kind: Class

###### durationUs: int

Kind: Class Variable

###### startEvent: PipelineEvent

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

##### depthai.NodeState.DurationStats

Kind: Class

###### averageMicrosRecent: int

Kind: Class Variable

###### maxMicros: int

Kind: Class Variable

###### maxMicrosRecent: int

Kind: Class Variable

###### medianMicrosRecent: int

Kind: Class Variable

###### minMicros: int

Kind: Class Variable

###### minMicrosRecent: int

Kind: Class Variable

###### stdDevMicrosRecent: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

##### depthai.NodeState.Timing

Kind: Class

###### durationStats: NodeState.DurationStats

Kind: Class Variable

###### fps: float

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

##### depthai.NodeState.QueueStats

Kind: Class

###### maxQueued: int

Kind: Class Variable

###### maxQueuedRecent: int

Kind: Class Variable

###### medianQueuedRecent: int

Kind: Class Variable

###### minQueuedRecent: int

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

##### depthai.NodeState.InputQueueState

Kind: Class

###### depthai.NodeState.InputQueueState.State

Kind: Class

Members:

  IDLE

  WAITING

  BLOCKED

###### BLOCKED: typing.ClassVar[NodeState.InputQueueState.State]

Kind: Class Variable

###### IDLE: typing.ClassVar[NodeState.InputQueueState.State]

Kind: Class Variable

###### WAITING: typing.ClassVar[NodeState.InputQueueState.State]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, NodeState.InputQueueState.State]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### numQueued: int

Kind: Class Variable

###### queueStats: NodeState.QueueStats

Kind: Class Variable

###### state: NodeState.InputQueueState.State

Kind: Class Variable

###### timing: NodeState.Timing

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

##### depthai.NodeState.OutputQueueState

Kind: Class

###### depthai.NodeState.OutputQueueState.State

Kind: Class

Members:

  IDLE

  SENDING

###### IDLE: typing.ClassVar[NodeState.OutputQueueState.State]

Kind: Class Variable

###### SENDING: typing.ClassVar[NodeState.OutputQueueState.State]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, NodeState.OutputQueueState.State]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### state: NodeState.OutputQueueState.State

Kind: Class Variable

###### timing: NodeState.Timing

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

##### depthai.NodeState.State

Kind: Class

Members:

  IDLE

  GETTING_INPUTS

  PROCESSING

  SENDING_OUTPUTS

###### GETTING_INPUTS: typing.ClassVar[NodeState.State]

Kind: Class Variable

###### IDLE: typing.ClassVar[NodeState.State]

Kind: Class Variable

###### PROCESSING: typing.ClassVar[NodeState.State]

Kind: Class Variable

###### SENDING_OUTPUTS: typing.ClassVar[NodeState.State]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, NodeState.State]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### events: list[NodeState.DurationEvent]

Kind: Class Variable

##### inputStates: dict[str, NodeState.InputQueueState]

Kind: Class Variable

##### inputsGetTiming: NodeState.Timing

Kind: Class Variable

##### mainLoopTiming: NodeState.Timing

Kind: Class Variable

##### otherTimings: dict[str, NodeState.Timing]

Kind: Class Variable

##### outputStates: dict[str, NodeState.OutputQueueState]

Kind: Class Variable

##### outputsSendTiming: NodeState.Timing

Kind: Class Variable

##### state: NodeState.State

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.PipelineState(depthai.Buffer)

Kind: Class

Pipeline event message.

##### nodeStates: dict[int, NodeState]

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.TransformData(depthai.Buffer)

Kind: Class

TransformData message. Carries transform in x,y,z,qx,qy,qz,qw format.

##### __init__(self)

Kind: Method

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

Kind: Method

##### getQuaternion(self) -> Quaterniond: Quaterniond

Kind: Method

##### getRotationEuler(self) -> Point3d: Point3d

Kind: Method

##### getTranslation(self) -> Point3d: Point3d

Kind: Method

#### depthai.ImageAlignConfig(depthai.Buffer)

Kind: Class

ImageAlignConfig configuration structure

##### __init__(self)

Kind: Method

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

Kind: Method

##### staticDepthPlane

Kind: Property

Optional static depth plane to align to, in depth units, by default millimeters

##### staticDepthPlane.setter(self, arg0: int)

Kind: Method

#### depthai.AlignConfig(depthai.Buffer)

Kind: Class

AlignConfig configuration structure

##### __init__(self)

Kind: Method

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

Kind: Method

##### staticDepthPlane

Kind: Property

Optional static depth plane to align to, in depth units, by default millimeters

##### staticDepthPlane.setter(self, arg0: int)

Kind: Method

#### depthai.ImgAnnotations(depthai.Buffer, depthai.ProtoSerializable)

Kind: Class

##### annotations: VectorImgAnnotation

Kind: Class Variable

##### __init__(self)

Kind: Method

##### getTransformation(self) -> ImgTransformation|None: ImgTransformation|None

Kind: Method

##### setTransformation(self, arg0: ImgTransformation|None)

Kind: Method

#### depthai.CircleAnnotation

Kind: Class

##### diameter: float

Kind: Class Variable

##### fillColor: Color

Kind: Class Variable

##### outlineColor: Color

Kind: Class Variable

##### position: Point2f

Kind: Class Variable

##### thickness: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.PointsAnnotationType

Kind: Class

Members:

  UNKNOWN

  POINTS

  LINE_LOOP

  LINE_STRIP

  LINE_LIST

##### LINE_LIST: typing.ClassVar[PointsAnnotationType]

Kind: Class Variable

##### LINE_LOOP: typing.ClassVar[PointsAnnotationType]

Kind: Class Variable

##### LINE_STRIP: typing.ClassVar[PointsAnnotationType]

Kind: Class Variable

##### POINTS: typing.ClassVar[PointsAnnotationType]

Kind: Class Variable

##### UNKNOWN: typing.ClassVar[PointsAnnotationType]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, PointsAnnotationType]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.PointsAnnotation

Kind: Class

##### fillColor: Color

Kind: Class Variable

##### outlineColor: Color

Kind: Class Variable

##### outlineColors: VectorColor

Kind: Class Variable

##### points: VectorPoint2f

Kind: Class Variable

##### thickness: float

Kind: Class Variable

##### type: PointsAnnotationType

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.TextAnnotation

Kind: Class

##### backgroundColor: Color

Kind: Class Variable

##### fontSize: float

Kind: Class Variable

##### position: Point2f

Kind: Class Variable

##### text: str

Kind: Class Variable

##### textColor: Color

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.ImgAnnotation

Kind: Class

##### circles: VectorCircleAnnotation

Kind: Class Variable

##### points: VectorPointsAnnotation

Kind: Class Variable

##### texts: VectorTextAnnotation

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.VectorColor

Kind: Class

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

Kind: Method

Check whether the list is nonempty

##### __delitem__(self, arg0: int)

Kind: Method

##### __getitem__(self, s: slice) -> VectorColor: VectorColor

Kind: Method

##### __init__(self)

Kind: Method

##### __iter__(self) -> typing.Iterator [ Color ]: typing.Iterator [ Color ]

Kind: Method

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

Kind: Method

##### __setitem__(self, arg0: int, arg1: Color)

Kind: Method

##### append(self, x: Color)

Kind: Method

Add an item to the end of the list

##### clear(self)

Kind: Method

Clear the contents

##### extend(self, L: VectorColor)

Kind: Method

##### insert(self, i: int, x: Color)

Kind: Method

Insert an item at a given position.

##### pop(self) -> Color: Color

Kind: Method

#### depthai.VectorPoint2f

Kind: Class

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

Kind: Method

Check whether the list is nonempty

##### __delitem__(self, arg0: int)

Kind: Method

##### __getitem__(self, s: slice) -> VectorPoint2f: VectorPoint2f

Kind: Method

##### __init__(self)

Kind: Method

##### __iter__(self) -> typing.Iterator [ Point2f ]: typing.Iterator [ Point2f ]

Kind: Method

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

Kind: Method

##### __setitem__(self, arg0: int, arg1: Point2f)

Kind: Method

##### append(self, x: Point2f)

Kind: Method

Add an item to the end of the list

##### clear(self)

Kind: Method

Clear the contents

##### extend(self, L: VectorPoint2f)

Kind: Method

##### insert(self, i: int, x: Point2f)

Kind: Method

Insert an item at a given position.

##### pop(self) -> Point2f: Point2f

Kind: Method

#### depthai.VectorCircleAnnotation

Kind: Class

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

Kind: Method

Check whether the list is nonempty

##### __delitem__(self, arg0: int)

Kind: Method

##### __getitem__(self, s: slice) -> VectorCircleAnnotation: VectorCircleAnnotation

Kind: Method

##### __init__(self)

Kind: Method

##### __iter__(self) -> typing.Iterator [ CircleAnnotation ]: typing.Iterator [ CircleAnnotation ]

Kind: Method

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

Kind: Method

##### __setitem__(self, arg0: int, arg1: CircleAnnotation)

Kind: Method

##### append(self, x: CircleAnnotation)

Kind: Method

Add an item to the end of the list

##### clear(self)

Kind: Method

Clear the contents

##### extend(self, L: VectorCircleAnnotation)

Kind: Method

##### insert(self, i: int, x: CircleAnnotation)

Kind: Method

Insert an item at a given position.

##### pop(self) -> CircleAnnotation: CircleAnnotation

Kind: Method

#### depthai.VectorPointsAnnotation

Kind: Class

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

Kind: Method

Check whether the list is nonempty

##### __delitem__(self, arg0: int)

Kind: Method

##### __getitem__(self, s: slice) -> VectorPointsAnnotation: VectorPointsAnnotation

Kind: Method

##### __init__(self)

Kind: Method

##### __iter__(self) -> typing.Iterator [ PointsAnnotation ]: typing.Iterator [ PointsAnnotation ]

Kind: Method

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

Kind: Method

##### __setitem__(self, arg0: int, arg1: PointsAnnotation)

Kind: Method

##### append(self, x: PointsAnnotation)

Kind: Method

Add an item to the end of the list

##### clear(self)

Kind: Method

Clear the contents

##### extend(self, L: VectorPointsAnnotation)

Kind: Method

##### insert(self, i: int, x: PointsAnnotation)

Kind: Method

Insert an item at a given position.

##### pop(self) -> PointsAnnotation: PointsAnnotation

Kind: Method

#### depthai.VectorTextAnnotation

Kind: Class

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

Kind: Method

Check whether the list is nonempty

##### __delitem__(self, arg0: int)

Kind: Method

##### __getitem__(self, s: slice) -> VectorTextAnnotation: VectorTextAnnotation

Kind: Method

##### __init__(self)

Kind: Method

##### __iter__(self) -> typing.Iterator [ TextAnnotation ]: typing.Iterator [ TextAnnotation ]

Kind: Method

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

Kind: Method

##### __setitem__(self, arg0: int, arg1: TextAnnotation)

Kind: Method

##### append(self, x: TextAnnotation)

Kind: Method

Add an item to the end of the list

##### clear(self)

Kind: Method

Clear the contents

##### extend(self, L: VectorTextAnnotation)

Kind: Method

##### insert(self, i: int, x: TextAnnotation)

Kind: Method

Insert an item at a given position.

##### pop(self) -> TextAnnotation: TextAnnotation

Kind: Method

#### depthai.VectorImgAnnotation

Kind: Class

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

Kind: Method

Check whether the list is nonempty

##### __delitem__(self, arg0: int)

Kind: Method

##### __getitem__(self, s: slice) -> VectorImgAnnotation: VectorImgAnnotation

Kind: Method

##### __init__(self)

Kind: Method

##### __iter__(self) -> typing.Iterator [ ImgAnnotation ]: typing.Iterator [ ImgAnnotation ]

Kind: Method

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

Kind: Method

##### __setitem__(self, arg0: int, arg1: ImgAnnotation)

Kind: Method

##### append(self, x: ImgAnnotation)

Kind: Method

Add an item to the end of the list

##### clear(self)

Kind: Method

Clear the contents

##### extend(self, L: VectorImgAnnotation)

Kind: Method

##### insert(self, i: int, x: ImgAnnotation)

Kind: Method

Insert an item at a given position.

##### pop(self) -> ImgAnnotation: ImgAnnotation

Kind: Method

#### depthai.RGBDData(depthai.Buffer, depthai.ProtoSerializable)

Kind: Class

RGBD message. Carries RGB and Depth frames. Frames can be either of type
ImgFrame or EncodedFrame.

##### __init__(self)

Kind: Method

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

Kind: Method

##### getDepthFrame(self) -> ImgFrame|EncodedFrame|None: ImgFrame|EncodedFrame|None

Kind: Method

##### getRGBFrame(self) -> ImgFrame|EncodedFrame|None: ImgFrame|EncodedFrame|None

Kind: Method

##### setDepthFrame(self, frame: ImgFrame|EncodedFrame)

Kind: Method

##### setRGBFrame(self, frame: ImgFrame|EncodedFrame)

Kind: Method

#### depthai.MapData(depthai.Buffer)

Kind: Class

MapData message. Carries grid map data and minX/minY messages to help place it
in 3D space.

##### map: ImgFrame

Kind: Class Variable

##### minX: float

Kind: Class Variable

##### minY: float

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.VppConfig(depthai.Buffer)

Kind: Class

VppConfig message. Carries config for Virtual Projection Pattern algorithm

##### depthai.VppConfig.PatchColoringType

Kind: Class

Members:

  RANDOM : Random patch coloring

  MAXDIST : Color with most distant color

###### MAXDIST: typing.ClassVar[VppConfig.PatchColoringType]

Kind: Class Variable

###### RANDOM: typing.ClassVar[VppConfig.PatchColoringType]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, VppConfig.PatchColoringType]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.VppConfig.InjectionParameters

Kind: Class

###### confidenceThreshold: float

Kind: Class Variable

###### kernelSize: int

Kind: Class Variable

###### morphologyIterations: int

Kind: Class Variable

###### textureThreshold: float

Kind: Class Variable

###### useInjection: bool

Kind: Class Variable

###### useMorphology: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

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

Kind: Method

##### MAXDIST: typing.ClassVar[VppConfig.PatchColoringType]

Kind: Class Variable

##### RANDOM: typing.ClassVar[VppConfig.PatchColoringType]

Kind: Class Variable

##### blending: float

Kind: Class Variable

##### distanceGamma: float

Kind: Class Variable

##### injectionParameters: VppConfig.InjectionParameters

Kind: Class Variable

##### maxFPS: int

Kind: Class Variable

##### maxNumThreads: int

Kind: Class Variable

##### maxPatchSize: int

Kind: Class Variable

##### patchColoringType: VppConfig.PatchColoringType

Kind: Class Variable

##### uniformPatch: bool

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.GateControl(depthai.Buffer)

Kind: Class

##### fps: int

Kind: Class Variable

##### numMessages: int

Kind: Class Variable

##### open: bool

Kind: Class Variable

##### closeGate() -> GateControl: GateControl

Kind: Static Method

##### openGate(numMessages: int, fps: int = -1) -> GateControl: GateControl

Kind: Static Method

##### __init__(self)

Kind: Method

##### getDatatype(self) -> DatatypeEnum: DatatypeEnum

Kind: Method

#### depthai.CoverageData(depthai.Buffer)

Kind: Class

##### coverageAcquired: float

Kind: Class Variable

##### coveragePerCell: dict[CameraBoardSocket, list[list[float]]]

Kind: Class Variable

##### coveragePerCellA: list[list[float]]

Kind: Class Variable

##### coveragePerCellB: list[list[float]]

Kind: Class Variable

##### dataAcquired: float

Kind: Class Variable

##### meanCoverage: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.CalibrationQualityData

Kind: Class

##### depthErrorDifference: list[float]

Kind: Class Variable

##### pairwiseRotationDifference: dict[tuple[CameraBoardSocket, CameraBoardSocket], list[float]]

Kind: Class Variable

##### rotationChange: typing.Annotated[list[float], pybind11_stubgen.typing_ext.FixedSize(3)]

Kind: Class Variable

##### sampsonErrorCurrent: float

Kind: Class Variable

##### sampsonErrorNew: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.CalibrationQuality(depthai.Buffer)

Kind: Class

##### info: str

Kind: Class Variable

##### qualityData: CalibrationQualityData|None

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.CalibrationMetrics(depthai.Buffer)

Kind: Class

##### calibrationConfidence: float

Kind: Class Variable

##### dataConfidence: float

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.DynamicCalibrationResultData

Kind: Class

##### calibrationDifference: CalibrationQualityData

Kind: Class Variable

##### currentCalibration: ...

Kind: Class Variable

##### dataConfidence: float

Kind: Class Variable

##### newCalibration: ...

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.DynamicCalibrationResult(depthai.Buffer)

Kind: Class

##### calibrationData: DynamicCalibrationResultData|None

Kind: Class Variable

##### info: str

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.DynamicCalibrationControl(depthai.Buffer)

Kind: Class

##### depthai.DynamicCalibrationControl.Commands

Kind: Class

###### depthai.DynamicCalibrationControl.Commands.Calibrate

Kind: Class

###### force: bool

Kind: Class Variable

###### keepCameraCenters: bool

Kind: Class Variable

###### __init__(self, force: bool = False, keepCameraCenters: bool = True)

Kind: Method

###### depthai.DynamicCalibrationControl.Commands.ComputeCalibrationMetrics

Kind: Class

###### calibration: ...

Kind: Class Variable

###### __init__(self, calibration: ...)

Kind: Method

###### depthai.DynamicCalibrationControl.Commands.CalibrationQuality

Kind: Class

###### force: bool

Kind: Class Variable

###### __init__(self, force: bool = False)

Kind: Method

###### depthai.DynamicCalibrationControl.Commands.StartCalibration

Kind: Class

###### calibrationPeriod: float

Kind: Class Variable

###### keepCameraCenters: bool

Kind: Class Variable

###### loadImagePeriod: float

Kind: Class Variable

###### __init__(self, loadImagePeriod: float = 0.5, calibrationPeriod: float = 5.0, keepCameraCenters: bool = True)

Kind: Method

###### depthai.DynamicCalibrationControl.Commands.StopCalibration

Kind: Class

###### __init__(self)

Kind: Method

###### depthai.DynamicCalibrationControl.Commands.LoadImage

Kind: Class

###### __init__(self)

Kind: Method

###### depthai.DynamicCalibrationControl.Commands.ApplyCalibration

Kind: Class

###### calibration: ...

Kind: Class Variable

###### flash: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

###### depthai.DynamicCalibrationControl.Commands.ResetData

Kind: Class

###### __init__(self)

Kind: Method

###### depthai.DynamicCalibrationControl.Commands.SetPerformanceMode

Kind: Class

###### performanceMode: DynamicCalibrationControl.PerformanceMode

Kind: Class Variable

###### __init__(self, performanceMode: DynamicCalibrationControl.PerformanceMode)

Kind: Method

##### depthai.DynamicCalibrationControl.PerformanceMode

Kind: Class

Members:

  DEFAULT

  STATIC_SCENERY

  OPTIMIZE_SPEED

  OPTIMIZE_PERFORMANCE

  SKIP_CHECKS

  RELAXED_COVERAGE

###### DEFAULT: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

###### OPTIMIZE_PERFORMANCE: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

###### OPTIMIZE_SPEED: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

###### RELAXED_COVERAGE: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

###### SKIP_CHECKS: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

###### STATIC_SCENERY: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, DynamicCalibrationControl.PerformanceMode]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### DEFAULT: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

##### OPTIMIZE_PERFORMANCE: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

##### OPTIMIZE_SPEED: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

##### RELAXED_COVERAGE: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

##### SKIP_CHECKS: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

##### STATIC_SCENERY: typing.ClassVar[DynamicCalibrationControl.PerformanceMode]

Kind: Class Variable

##### applyCalibration(calibration: ..., flash: bool = False) -> DynamicCalibrationControl: DynamicCalibrationControl

Kind: Static Method

Create a DynamicCalibrationControl with an ApplyCalibration command.

##### calibrate(force: bool = False, keepCameraCenters: bool = True) -> DynamicCalibrationControl: DynamicCalibrationControl

Kind: Static Method

Create a DynamicCalibrationControl with a Calibrate command.

##### calibrationQuality(force: bool = False) -> DynamicCalibrationControl: DynamicCalibrationControl

Kind: Static Method

Create a DynamicCalibrationControl with a CalibrationQuality command.

##### computeCalibrationMetrics(calibration: ...) -> DynamicCalibrationControl: DynamicCalibrationControl

Kind: Static Method

Comute metrics on the given calibration.

##### loadImage() -> DynamicCalibrationControl: DynamicCalibrationControl

Kind: Static Method

Create a DynamicCalibrationControl with a LoadImage command.

##### resetData() -> DynamicCalibrationControl: DynamicCalibrationControl

Kind: Static Method

Create a DynamicCalibrationControl with a ResetData command.

##### setPerformanceMode(mode: DynamicCalibrationControl.PerformanceMode = ...) -> DynamicCalibrationControl: DynamicCalibrationControl

Kind: Static Method

Create a DynamicCalibrationControl with a SetPerformanceMode command.

##### startCalibration(loadImagePeriod: float = 0.5, calibrationPeriod: float = 5.0, keepCameraCenters: bool = True) -> DynamicCalibrationControl: DynamicCalibrationControl

Kind: Static Method

Create a DynamicCalibrationControl with a StartCalibration command.

##### stopCalibration() -> DynamicCalibrationControl: DynamicCalibrationControl

Kind: Static Method

Create a DynamicCalibrationControl with a StopCalibration command.

##### __init__(self)

Kind: Method

#### depthai.AutoCalibrationConfig(depthai.Buffer)

Kind: Class

AutoCalibrationConfig message. Carries configuration for the automatic camera
calibration algorithm. Defines parameters for periodic or one-time recalibration
of the camera sensors.

##### depthai.AutoCalibrationConfig.Mode

Kind: Class

Defines when the auto-calibration process should be triggered.

Members:

  ON_START

  CONTINUOUS

###### CONTINUOUS: typing.ClassVar[AutoCalibrationConfig.Mode]

Kind: Class Variable

###### ON_START: typing.ClassVar[AutoCalibrationConfig.Mode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, AutoCalibrationConfig.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### CONTINUOUS: typing.ClassVar[AutoCalibrationConfig.Mode]

Kind: Class Variable

##### ON_START: typing.ClassVar[AutoCalibrationConfig.Mode]

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

##### calibrationConfidenceThreshold

Kind: Property

Minimum confidence score (0.0 to 1.0) required to apply a new calibration.

##### calibrationConfidenceThreshold.setter(self, arg0: float)

Kind: Method

##### dataConfidenceThreshold

Kind: Property

Minimum quality threshold (0.0 to 1.0) for input features to be used. A value
below 0 selects the default based on the lens model.

##### dataConfidenceThreshold.setter(self, arg0: float)

Kind: Method

##### flashCalibration

Kind: Property

If true, saves successful calibration to non-volatile memory (EEPROM);
otherwise, keeps in RAM only.

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

Kind: Method

##### maxImagesPerRecalibration

Kind: Property

Maximum number of images to collect for one recalibration event.

##### maxImagesPerRecalibration.setter(self, arg0: int)

Kind: Method

##### maxIterations

Kind: Property

Maximum number of optimization iterations per calibration cycle.

##### maxIterations.setter(self, arg0: int)

Kind: Method

##### mode

Kind: Property

Calibration trigger mode (ON_START or CONTINUOUS).

##### mode.setter(self, arg0: AutoCalibrationConfig.Mode)

Kind: Method

##### sleepingTime

Kind: Property

Seconds to sleep between calibration cycles in CONTINUOUS mode.

##### sleepingTime.setter(self, arg0: int)

Kind: Method

##### validationSetSize

Kind: Property

Number of images used for validating the calibration result.

##### validationSetSize.setter(self, arg0: int)

Kind: Method

#### depthai.AutoCalibrationResult(depthai.Buffer)

Kind: Class

##### calibration: ...

Kind: Class Variable

##### calibrationConfidence: float

Kind: Class Variable

##### dataConfidence: float

Kind: Class Variable

##### passed: bool

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.ModelType

Kind: Class

Neural network model type

Members:

  BLOB

  SUPERBLOB

  DLC

  NNARCHIVE

  OTHER

##### BLOB: typing.ClassVar[ModelType]

Kind: Class Variable

##### DLC: typing.ClassVar[ModelType]

Kind: Class Variable

##### NNARCHIVE: typing.ClassVar[ModelType]

Kind: Class Variable

##### OTHER: typing.ClassVar[ModelType]

Kind: Class Variable

##### SUPERBLOB: typing.ClassVar[ModelType]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, ModelType]]

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: int)

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: int)

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.LogMessage

Kind: Class

##### colorRangeEnd: int

Kind: Class Variable

##### colorRangeStart: int

Kind: Class Variable

##### level: LogLevel

Kind: Class Variable

##### nodeIdName: str

Kind: Class Variable

##### payload: str

Kind: Class Variable

##### time: Timestamp

Kind: Class Variable

#### 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__(self, v: str)

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

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

Kind: Method

Convert Version to semver (no build information) string

#### depthai.MessageQueue

Kind: Class

Thread safe queue to send messages between nodes

##### QueueException

Kind: Exception

##### getAny(queues: dict [ str, MessageQueue ]) -> dict [ str, ADatatype ]: dict [ str, ADatatype ]

Kind: Static Method

##### waitAny(queues: list [ MessageQueue ]) -> bool: bool

Kind: Static Method

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

Kind: Method

##### addCallback(self, callback: typing.Callable) -> int: int

Kind: Method

Adds a callback on message received

Parameter ``callback``:
    Callback function with queue name and message pointer

Returns:
    Callback id

##### close(self)

Kind: Method

Closes the queue and unblocks any waiting consumers or producers

##### front(self) -> ADatatype: ADatatype

Kind: Method

Gets first message in the queue.

Returns:
    Message of type T or nullptr if no message available

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

Kind: Method

##### 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 which can either be of type T or nullptr

##### 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

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

Kind: Method

Gets queue current size

Returns:
    Current queue size

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

Kind: Method

Check whether front of the queue has message of type T

Returns:
    True if queue isn't empty and the first element is of type T, false
    otherwise

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

Kind: Method

Check whether queue is closed

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

Kind: Method

Gets whether queue is full

Returns:
    True if queue is full, false otherwise

##### removeCallback(self, callbackId: int) -> bool: bool

Kind: Method

Removes a callback

Parameter ``callbackId``:
    Id of callback to be removed

Returns:
    True if callback was removed, false otherwise

##### send(self, msg: ADatatype)

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: int)

Kind: Method

Sets queue maximum size

Parameter ``maxSize``:
    Specifies maximum number of messages in the queue @note If maxSize is
    smaller than size, queue will not be truncated immediately, only after
    messages are popped

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

Kind: Method

Set the name of the queue

##### tryGet(self) -> ADatatype: ADatatype

Kind: Method

Try to retrieve message T from queue. If message isn't of type T it returns
nullptr

Returns:
    Message of type T 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 which can either be of type T or nullptr

##### trySend(self, msg: ADatatype) -> bool: bool

Kind: Method

Tries sending a message

Parameter ``msg``:
    message to send

#### depthai.OpenVINO

Kind: Class

Support for basic OpenVINO related actions like version identification of neural
network blobs,...

##### 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.OpenVINO.Blob

Kind: Class

OpenVINO Blob

###### __init__(self, arg0: ..., std: ...)

Kind: Method

###### data

Kind: Property

Blob data

###### data.setter(self, arg0: ..., std: ...)

Kind: Method

###### device

Kind: Property

Device for which the blob is compiled for

###### device.setter(self, arg0: OpenVINO.Device)

Kind: Method

###### networkInputs

Kind: Property

Map of input names to additional information

###### networkInputs.setter(self, arg0: dict [ str, TensorInfo ])

Kind: Method

###### networkOutputs

Kind: Property

Map of output names to additional information

###### networkOutputs.setter(self, arg0: dict [ str, TensorInfo ])

Kind: Method

###### numShaves

Kind: Property

Number of shaves the blob was compiled for

###### numShaves.setter(self, arg0: int)

Kind: Method

###### numSlices

Kind: Property

Number of CMX slices the blob was compiled for

###### numSlices.setter(self, arg0: int)

Kind: Method

###### stageCount

Kind: Property

Number of network stages

###### stageCount.setter(self, arg0: int)

Kind: Method

###### version

Kind: Property

OpenVINO version

###### version.setter(self, arg0: OpenVINO.Version)

Kind: Method

##### depthai.OpenVINO.SuperBlob

Kind: Class

A superblob is an efficient way of storing generated blobs for all different
number of shaves.

###### NUMBER_OF_PATCHES: typing.ClassVar[int]

Kind: Constant

###### __init__(self, superblobBytes: ..., std: ...)

Kind: Method

###### getBlobWithNumShaves(self, numShaves: int) -> OpenVINO.Blob: OpenVINO.Blob

Kind: Method

Generate a blob with a specific number of shaves

Parameter ``numShaves:``:
    Number of shaves to generate the blob for. Must be between 1 and
    NUMBER_OF_PATCHES.

Returns:
    dai::OpenVINO::Blob: Blob compiled for the specified number of shaves

##### depthai.OpenVINO.Device

Kind: Class

Members:

  VPU

  VPUX

###### VPU: typing.ClassVar[OpenVINO.Device]

Kind: Class Variable

###### VPUX: typing.ClassVar[OpenVINO.Device]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, OpenVINO.Device]]

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: int)

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: int)

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.NNArchive

Kind: Class

##### __init__(self, archivePath: os.PathLike, compression: NNArchiveEntry.Compression = ...)

Kind: Method

##### getBlob(self) -> OpenVINO.Blob|None: OpenVINO.Blob|None

Kind: Method

Return a SuperVINO::Blob from the archive if getModelType() returns BLOB,
nothing otherwise

Returns:
    std::optional<OpenVINO::Blob>: Model blob

##### getConfig(self) -> nn_archive.v1.Config: nn_archive.v1.Config

Kind: Method

Get NNArchive config.

Template parameter ``T:``:
    Type of config to get

Returns:
    const T&: Config

##### getConfigV1(self) -> nn_archive.v1.Config: nn_archive.v1.Config

Kind: Method

Get NNArchive config.

Template parameter ``T:``:
    Type of config to get

Returns:
    const T&: Config

##### getHeadConfig(self, index: int = 0) -> nn_archive.v1.Head: nn_archive.v1.Head

Kind: Method

Get specific head configuration from NNArchive.

Parameter ``headIndex:``:
    Index of the head to retrieve

Returns:
    dai::nn_archive::v1::Head: Head configuration

##### getInputHeight(self, index: int = 0) -> int|None: int|None

Kind: Method

Get inputHeight of the model

Parameter ``index:``:
    Index of input

Returns:
    int: inputHeight

##### getInputSize(self, index: int = 0) -> tuple [ int, int ]|None: tuple [ int, int ]|None

Kind: Method

Get inputSize of the model

Parameter ``index:``:
    Index of input @note this function is only valid for models with NCHW and
    NHWC input formats

Returns:
    std::vector<std::pair<int, int>>: inputSize

##### getInputWidth(self, index: int = 0) -> int|None: int|None

Kind: Method

Get inputWidth of the model

Parameter ``index:``:
    Index of input

Returns:
    int: inputWidth

##### getModelType(self) -> ModelType: ModelType

Kind: Method

Get type of model contained in NNArchive

Returns:
    model::ModelType: type of model in archive

##### getOtherModelFormat(self) -> typing.Any: typing.Any

Kind: Method

Return a model from the archive if getModelType() returns OTHER or DLC, nothing
otherwise

Returns:
    std::optional<std::vector<uint8_t>>: Model

##### getSuperBlob(self) -> OpenVINO.SuperBlob|None: OpenVINO.SuperBlob|None

Kind: Method

Return a SuperVINO::Blob from the archive if getModelType() returns BLOB,
nothing otherwise

Returns:
    std::optional<OpenVINO::Blob>: Model blob

##### getSupportedPlatforms(self) -> list [ Platform ]: list [ Platform ]

Kind: Method

Get supported platforms

Returns:
    std::vector<dai::Platform>: Supported platforms

#### depthai.NNArchiveOptions

Kind: Class

##### compression: NNArchiveEntry.Compression

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.NNArchiveVersionedConfig

Kind: Class

##### __init__(self, path: os.PathLike, compression: NNArchiveEntry.Compression = ...)

Kind: Method

##### getConfig(self) -> nn_archive.v1.Config: nn_archive.v1.Config

Kind: Method

Get stored config cast to a specific version.

Template parameter ``T:``:
    Config type to cast to.

##### getConfigV1(self) -> nn_archive.v1.Config: nn_archive.v1.Config

Kind: Method

Get stored config cast to a specific version.

Template parameter ``T:``:
    Config type to cast to.

##### getVersion(self) -> NNArchiveConfigVersion: NNArchiveConfigVersion

Kind: Method

Get version of the underlying config.

#### depthai.NNArchiveConfigVersion

Kind: Class

Members:

  V1

##### V1: typing.ClassVar[NNArchiveConfigVersion]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, NNArchiveConfigVersion]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.NNArchiveEntry

Kind: Class

##### depthai.NNArchiveEntry.Compression

Kind: Class

Members:

  AUTO

  RAW_FS

  TAR

  TAR_GZ

  TAR_XZ

###### AUTO: typing.ClassVar[NNArchiveEntry.Compression]

Kind: Class Variable

###### RAW_FS: typing.ClassVar[NNArchiveEntry.Compression]

Kind: Class Variable

###### TAR: typing.ClassVar[NNArchiveEntry.Compression]

Kind: Class Variable

###### TAR_GZ: typing.ClassVar[NNArchiveEntry.Compression]

Kind: Class Variable

###### TAR_XZ: typing.ClassVar[NNArchiveEntry.Compression]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, NNArchiveEntry.Compression]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.NNArchiveEntry.Seek

Kind: Class

Members:

  SET

  CUR

  END

###### CUR: typing.ClassVar[NNArchiveEntry.Seek]

Kind: Class Variable

###### END: typing.ClassVar[NNArchiveEntry.Seek]

Kind: Class Variable

###### SET: typing.ClassVar[NNArchiveEntry.Seek]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, NNArchiveEntry.Seek]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

#### depthai.Capability

Kind: Class

#### depthai.CapabilityRangeUint

Kind: Class

##### discrete(self, arg0: list [ int ])

Kind: Method

##### fixed(self, arg0: int)

Kind: Method

##### minMax(self, arg0: tuple [ int, int ])

Kind: Method

#### depthai.CapabilityRangeUintPair

Kind: Class

##### discrete(self, arg0: list [ tuple [ int, int ] ])

Kind: Method

##### fixed(self, arg0: tuple [ int, int ])

Kind: Method

##### minMax(self, arg0: tuple [ tuple [ int, int ], tuple [ int, int ] ])

Kind: Method

#### depthai.CapabilityRangeFloat

Kind: Class

##### discrete(self, arg0: list [ float ])

Kind: Method

##### fixed(self, arg0: float)

Kind: Method

##### minMax(self, arg0: tuple [ float, float ])

Kind: Method

#### depthai.CapabilityRangeFloatPair

Kind: Class

##### discrete(self, arg0: list [ tuple [ float, float ] ])

Kind: Method

##### fixed(self, arg0: tuple [ float, float ])

Kind: Method

##### minMax(self, arg0: tuple [ tuple [ float, float ], tuple [ float, float ] ])

Kind: Method

#### depthai.ImgFrameCapability(depthai.Capability)

Kind: Class

##### alphaScaling: float|None

Kind: Class Variable

##### enableUndistortion: bool|None

Kind: Class Variable

##### fps: CapabilityRangeFloat

Kind: Class Variable

##### resizeMode: ImgResizeMode

Kind: Class Variable

##### size: CapabilityRangeUintPair

Kind: Class Variable

##### type: ImgFrame.Type|None

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.ImgResizeMode

Kind: Class

Members:

  CROP

  STRETCH

  LETTERBOX

##### CROP: typing.ClassVar[ImgResizeMode]

Kind: Class Variable

##### LETTERBOX: typing.ClassVar[ImgResizeMode]

Kind: Class Variable

##### STRETCH: typing.ClassVar[ImgResizeMode]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, ImgResizeMode]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.Node

Kind: Class

Abstract Node

##### depthai.Node.Input(depthai.MessageQueue)

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### possibleDatatypes: list[Node.DatatypeHierarchy]

Kind: Class Variable

###### __init__(self, parent: Node, name: str = '', group: str = '', blocking: bool = True, queueSize: int = 3, types: list [ Node.DatatypeHierarchy ] = ..., waitForMessage: bool = False)

Kind: Method

###### createInputQueue(self, maxSize: int = 16, blocking: bool = False) -> InputQueue: InputQueue

Kind: Method

Create an shared pointer to an input queue that can be used to send messages to
this input from onhost

Parameter ``maxSize:``:
    Maximum size of the input queue

Parameter ``blocking:``:
    Whether the input queue should block when full

Returns:
    std::shared_ptr<InputQueue>: shared pointer to an input queue

###### getParent(self) -> Node: Node

Kind: Method

###### getPossibleDatatypes(self) -> list [ Node.DatatypeHierarchy ]: list [ Node.DatatypeHierarchy ]

Kind: Method

Get possible datatypes that can be received

###### 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

###### getXLinkBridge(self) -> node.internal.XLinkInBridge: node.internal.XLinkInBridge

Kind: Method

Get XLink bridge associated with this input (only valid for device inputs after
pipeline build)

Returns:
    std::shared_ptr<dai::node::internal::XLinkInBridge>: pointer to the XLink
    bridge or nullptr if not applicable

###### setPossibleDatatypes(self, types: list [ Node.DatatypeHierarchy ])

Kind: Method

###### 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

##### 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### __init__(self, parent: Node, name: str = '', group: str = '', possibleDatatypes: list [ Node.DatatypeHierarchy ] = ...)

Kind: Method

###### 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

###### createOutputQueue(self, maxSize: int = 16, blocking: bool = False) -> MessageQueue: MessageQueue

Kind: Method

Construct and return a shared pointer to an output message queue

Parameter ``maxSize:``:
    Maximum size of the output queue

Parameter ``blocking:``:
    Whether the output queue should block when full

Returns:
    std::shared_ptr<dai::MessageQueue>: shared pointer to an output queue

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

Kind: Method

Get name of the output

###### getParent(self) -> Node: Node

Kind: Method

###### getPossibleDatatypes(self) -> list [ Node.DatatypeHierarchy ]: list [ Node.DatatypeHierarchy ]

Kind: Method

Get possible datatypes that can be sent

###### getXLinkBridge(self) -> node.internal.XLinkOutBridge: node.internal.XLinkOutBridge

Kind: Method

Get XLink bridge associated with this output (only valid for device outputs
after pipeline build)

Returns:
    std::shared_ptr<dai::node::internal::XLinkOutBridge>: pointer to the XLink
    bridge or nullptr if not applicable

###### 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

###### send(self, msg: ADatatype)

Kind: Method

Sends a Message to all connected inputs

Parameter ``msg``:
    Message to send to all connected inputs

###### setPossibleDatatypes(self, types: list [ Node.DatatypeHierarchy ])

Kind: Method

###### trySend(self, msg: ADatatype) -> bool: bool

Kind: Method

Try sending a message to all connected inputs

Parameter ``msg``:
    Message to send to all connected inputs

Returns:
    True if ALL connected inputs got the message, false otherwise

###### unlink(self, input: Node.Input)

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.Connection

Kind: Class

Connection between an Input and Output

###### inputGroup: str

Kind: Class Variable

###### inputId: int

Kind: Class Variable

###### inputName: str

Kind: Class Variable

###### outputGroup: str

Kind: Class Variable

###### outputId: int

Kind: Class Variable

###### outputName: str

Kind: Class Variable

##### 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) -> typing.Iterator [ tuple [ str, str ] ]: typing.Iterator [ tuple [ str, str ] ]

Kind: Method

###### __len__(self: dict [ tuple [ str, str ], Node.Input ]) -> int: int

Kind: Method

###### __setitem__(self, arg0: tuple [ str, str ], arg1: Node.Input)

Kind: Method

###### items(self) -> typing.Iterator [ tuple [ tuple [ str, str ], Node.Input ] ]: typing.Iterator [ tuple [ tuple [ str, str ], Node.Input ] ]

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) -> typing.Iterator [ tuple [ str, str ] ]: typing.Iterator [ tuple [ str, str ] ]

Kind: Method

###### __len__(self: dict [ tuple [ str, str ], Node.Output ]) -> int: int

Kind: Method

###### __setitem__(self, arg0: tuple [ str, str ], arg1: Node.Output)

Kind: Method

###### items(self) -> typing.Iterator [ tuple [ tuple [ str, str ], Node.Output ] ]: typing.Iterator [ tuple [ tuple [ str, str ], Node.Output ] ]

Kind: Method

##### add(self, node: Node)

Kind: Method

Add existing node to nodeMap

##### getAssetManager(self) -> AssetManager: AssetManager

Kind: Method

##### getInputMapRefs(self) -> list [ Node.InputMap ]: list [ Node.InputMap ]

Kind: Method

Retrieves reference to node inputs

##### getInputRefs(self) -> list [ Node.Input ]: list [ Node.Input ]

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

##### getOutputMapRefs(self) -> list [ Node.OutputMap ]: list [ Node.OutputMap ]

Kind: Method

Retrieves reference to node outputs

##### getOutputRefs(self) -> list [ Node.Output ]: list [ Node.Output ]

Kind: Method

##### getOutputs(self) -> list [ Node.Output ]: list [ Node.Output ]

Kind: Method

Retrieves all nodes outputs

##### getParentPipeline(self) -> Pipeline: Pipeline

Kind: Method

##### stopPipeline(self)

Kind: Method

##### id

Kind: Property

Id of node. Assigned after being placed on the pipeline

#### depthai.Properties

Kind: Class

Base Properties structure

#### depthai.InputQueue

Kind: Class

##### send(self, msg: ADatatype)

Kind: Method

Send a message to the connected input

Parameter ``msg:``:
    Message to send

##### trySend(self, msg: ADatatype) -> bool: bool

Kind: Method

Try to send a message to the connected input, without waiting for space in the
queue

Parameter ``msg:``:
    Message to send

Returns:
    True if the message was queued, false if the queue was full

#### depthai.NodeGroup(depthai.Node)

Kind: Class

#### depthai.ThreadedNode(depthai.Node)

Kind: Class

##### blockEvent(self, type: PipelineEvent.Type, source: str) -> BlockPipelineEvent: BlockPipelineEvent

Kind: Method

Creates a scoped event that sends start and end events for a custom block event

Parameter ``type``:
    Type of the event

Parameter ``source``:
    Source name of the event

##### critical(self, arg0: str)

Kind: Method

##### debug(self, arg0: str)

Kind: Method

##### error(self, arg0: str)

Kind: Method

##### getLogLevel(self) -> LogLevel: LogLevel

Kind: Method

Gets the logging severity level for this node.

Returns:
    Logging severity level

##### info(self, arg0: str)

Kind: Method

##### inputBlockEvent(self) -> BlockPipelineEvent: BlockPipelineEvent

Kind: Method

Creates a scoped event that sends start and end events for the getting inputs
state

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

Kind: Method

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

Kind: Method

##### outputBlockEvent(self) -> BlockPipelineEvent: BlockPipelineEvent

Kind: Method

Creates a scoped event that sends start and end events for the sending outputs
state

##### setLogLevel(self, arg0: LogLevel)

Kind: Method

Sets the logging severity level for this node.

Parameter ``level``:
    Logging severity level

##### trace(self, arg0: str)

Kind: Method

##### warn(self, arg0: str)

Kind: Method

##### pipelineEventOutput

Kind: Property

#### depthai.DeviceNode(depthai.ThreadedNode)

Kind: Class

#### depthai.BlockPipelineEvent

Kind: Class

##### __enter__(self) -> BlockPipelineEvent: BlockPipelineEvent

Kind: Method

##### __exit__(self, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any)

Kind: Method

##### cancel(self)

Kind: Method

##### setEndTimestamp(self, timestamp: datetime.timedelta)

Kind: Method

##### setQueueSize(self, size: int)

Kind: Method

#### depthai.DeviceNodeGroup(depthai.DeviceNode)

Kind: Class

#### depthai.ColorCameraProperties

Kind: Class

Specify properties for ColorCamera such as camera ID, ...

##### 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_240X180

  THE_1280X962

  THE_2000X1500

  THE_2028X1520

  THE_2104X1560

  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_1280X962: 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_2000X1500: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_2024X1520: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_2028X1520: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_2104X1560: typing.ClassVar[ColorCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_240X180: 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.ColorCameraProperties.WarpMeshSource

Kind: Class

Warp mesh source

Members:

  AUTO

  NONE

  CALIBRATION

  URI

###### AUTO: typing.ClassVar[ColorCameraProperties.WarpMeshSource]

Kind: Class Variable

###### CALIBRATION: typing.ClassVar[ColorCameraProperties.WarpMeshSource]

Kind: Class Variable

###### NONE: typing.ClassVar[ColorCameraProperties.WarpMeshSource]

Kind: Class Variable

###### URI: typing.ClassVar[ColorCameraProperties.WarpMeshSource]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, ColorCameraProperties.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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### boardSocket: CameraBoardSocket

Kind: Class Variable

##### calibAlpha: float

Kind: Class Variable

##### eventFilter: list[FrameEvent]

Kind: Class Variable

##### fps: float

Kind: Class Variable

##### imageOrientation: CameraImageOrientation

Kind: Class Variable

##### initialControl: CameraControl

Kind: Class Variable

##### isp3aFps: int

Kind: Class Variable

##### ispScale: ...

Kind: Class Variable

##### numFramesPoolIsp: int

Kind: Class Variable

##### numFramesPoolPreview: int

Kind: Class Variable

##### numFramesPoolRaw: int

Kind: Class Variable

##### numFramesPoolStill: int

Kind: Class Variable

##### numFramesPoolVideo: int

Kind: Class Variable

##### previewHeight: int

Kind: Class Variable

##### previewKeepAspectRatio: bool

Kind: Class Variable

##### previewWidth: int

Kind: Class Variable

##### resolution: ColorCameraProperties.SensorResolution

Kind: Class Variable

##### sensorCropX: float

Kind: Class Variable

##### sensorCropY: float

Kind: Class Variable

##### stillHeight: int

Kind: Class Variable

##### stillWidth: int

Kind: Class Variable

##### videoHeight: int

Kind: Class Variable

##### videoWidth: int

Kind: Class Variable

##### warpMeshHeight: int

Kind: Class Variable

##### warpMeshSource: ColorCameraProperties.WarpMeshSource

Kind: Class Variable

##### warpMeshStepHeight: int

Kind: Class Variable

##### warpMeshStepWidth: int

Kind: Class Variable

##### warpMeshUri: str

Kind: Class Variable

##### warpMeshWidth: int

Kind: Class Variable

#### 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_4000X3000

  THE_4224X3136

###### THE_1200_P: typing.ClassVar[MonoCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_4000X3000: typing.ClassVar[MonoCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_400_P: typing.ClassVar[MonoCameraProperties.SensorResolution]

Kind: Class Variable

###### THE_4224X3136: 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### boardSocket: CameraBoardSocket

Kind: Class Variable

##### eventFilter: list[FrameEvent]

Kind: Class Variable

##### fps: float

Kind: Class Variable

##### initialControl: CameraControl

Kind: Class Variable

##### isp3aFps: int

Kind: Class Variable

##### numFramesPool: int

Kind: Class Variable

##### numFramesPoolRaw: int

Kind: Class Variable

##### resolution: MonoCameraProperties.SensorResolution

Kind: Class Variable

#### depthai.StereoDepthProperties

Kind: Class

Specify properties for StereoDepth

##### 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: int|None)

Kind: Method

###### stepHeight

Kind: Property

Distance between mesh points, in the vertical direction

###### stepHeight.setter(self, arg0: int)

Kind: Method

###### stepWidth

Kind: Property

Distance between mesh points, in the horizontal direction

###### stepWidth.setter(self, arg0: int)

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.

.. warning::
    On RVC4 the DEFAULT, DENSITY, and FAST_DENSITY presets can produce
    inaccurate depth in black padded regions, as they prioritize coverage.

See getOptimalNewCameraMatrix from opencv for more details.

##### alphaScaling.setter(self, arg0: float|None)

Kind: Method

##### baseline

Kind: Property

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

##### baseline.setter(self, arg0: float|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. RVC2 only.

##### 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: float|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: int|None)

Kind: Method

##### initialConfig

Kind: Property

Initial stereo config

##### initialConfig.setter(self, arg0: StereoDepthConfig)

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: int)

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. RVC2 only.

##### numPostProcessingMemorySlices.setter(self, arg0: int)

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. RVC2 only.

##### numPostProcessingShaves.setter(self, arg0: int)

Kind: Method

##### outHeight

Kind: Property

Output disparity/depth height. Currently only used when aligning to RGB

##### outHeight.setter(self, arg0: int|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: int|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: int)

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: int|None)

Kind: Method

#### depthai.NeuralNetworkProperties

Kind: Class

Specify properties for NeuralNetwork such as blob path, ...

##### blobSize: int|None

Kind: Class Variable

##### blobUri: str

Kind: Class Variable

##### numFrames: int

Kind: Class Variable

##### numNCEPerThread: int

Kind: Class Variable

##### numThreads: int

Kind: Class Variable

#### 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: int)

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: int)

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### bitrate: int

Kind: Class Variable

##### keyframeFrequency: int

Kind: Class Variable

##### maxBitrate: int

Kind: Class Variable

##### numBFrames: int

Kind: Class Variable

##### numFramesPool: int

Kind: Class Variable

##### outputFrameSize: int

Kind: Class Variable

##### profile: VideoEncoderProperties.Profile

Kind: Class Variable

##### quality: int

Kind: Class Variable

##### rateCtrlMode: VideoEncoderProperties.RateControlMode

Kind: Class Variable

#### depthai.ImageManipProperties

Kind: Class

Specify properties for ImageManip

##### depthai.ImageManipProperties.PerformanceMode

Kind: Class

Members:

  BALANCED

  PERFORMANCE

  LOW_POWER

###### BALANCED: typing.ClassVar[ImageManipProperties.PerformanceMode]

Kind: Class Variable

###### LOW_POWER: typing.ClassVar[ImageManipProperties.PerformanceMode]

Kind: Class Variable

###### PERFORMANCE: typing.ClassVar[ImageManipProperties.PerformanceMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, ImageManipProperties.PerformanceMode]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.ImageManipProperties.Backend

Kind: Class

Members:

  HW

  CPU

  GPU

  AUTO

###### AUTO: typing.ClassVar[ImageManipProperties.Backend]

Kind: Class Variable

###### CPU: typing.ClassVar[ImageManipProperties.Backend]

Kind: Class Variable

###### GPU: typing.ClassVar[ImageManipProperties.Backend]

Kind: Class Variable

###### HW: typing.ClassVar[ImageManipProperties.Backend]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, ImageManipProperties.Backend]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### backend: ImageManipProperties.Backend

Kind: Class Variable

##### initialConfig: ImageManipConfig

Kind: Class Variable

##### maxPoolSize: int

Kind: Class Variable

##### numFramesPool: int

Kind: Class Variable

##### outputFrameSize: int

Kind: Class Variable

##### performanceMode: ImageManipProperties.PerformanceMode

Kind: Class Variable

#### depthai.WarpProperties

Kind: Class

Specify properties for Warp

#### depthai.SPIOutProperties

Kind: Class

Specify properties for SPIOut node

##### busId: int

Kind: Class Variable

##### streamName: str

Kind: Class Variable

#### depthai.SPIInProperties

Kind: Class

Properties for SPIIn node

##### busId: int

Kind: Class Variable

##### maxDataSize: int

Kind: Class Variable

##### numFrames: int

Kind: Class Variable

##### streamName: str

Kind: Class Variable

#### depthai.SystemLoggerProperties

Kind: Class

SystemLoggerProperties structure

##### rateHz: float

Kind: Class Variable

#### 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.SpatialLocationCalculatorProperties

Kind: Class

Specify properties for SpatialLocationCalculator

##### roiConfig: SpatialLocationCalculatorConfig

Kind: Class Variable

#### depthai.SpatialDetectionNetworkProperties

Kind: Class

Specify properties for SpatialDetectionNetwork

##### calculationAlgorithm: SpatialLocationCalculatorAlgorithm

Kind: Class Variable

##### depthThresholds: SpatialLocationCalculatorConfigThresholds

Kind: Class Variable

##### detectedBBScaleFactor: float

Kind: Class Variable

##### stepSize: int

Kind: Class Variable

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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: list [ int ])

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: int)

Kind: Method

##### spatialAssociation

Kind: Property

Whether to use spatial coordinates in association when available.

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

Kind: Method

##### spatialAssociationWeight

Kind: Property

Weight for spatial distance in association cost [0,1].

##### spatialAssociationWeight.setter(self, arg0: float)

Kind: Method

##### spatialDepthAwareScale

Kind: Property

Depth-aware gating scale. Gate grows with depth: gate = base * (1 + scale *
depthMeters).

##### spatialDepthAwareScale.setter(self, arg0: float)

Kind: Method

##### spatialDistanceThreshold

Kind: Property

Base 3D gating threshold in meters used for spatial association.

##### spatialDistanceThreshold.setter(self, arg0: float)

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: float)

Kind: Method

##### trackerType

Kind: Property

Tracking method.

##### trackerType.setter(self, arg0: TrackerType)

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

Raw accelerometer measurement in the sensor-native frame. No IMU extrinsics or
affine calibration are applied. Units are [m/s^2]

@note Prior firmware versions incorrectly delivered frame-aligned data on this
stream (equivalent to what is now ACCELEROMETER_UNCALIBRATED). This stream now
correctly provides the unprocessed sensor output.

  ACCELEROMETER_UNCALIBRATED : DepthAI synthetic accelerometer stream.

Acceleration of the device including gravity, aligned to the DepthAI IMU frame
without the stored affine calibration applied. Units are [m/s^2]

  ACCELEROMETER_CALIBRATED : Section 2.1.1

Acceleration of the device including gravity, aligned to the DepthAI IMU frame
and corrected with the stored affine calibration. Units are [m/s^2]

  ACCELEROMETER : Deprecated: use ACCELEROMETER_CALIBRATED

LINEAR_ACCELERATION : Deprecated: calibration is incorrect for this gravity-stripped output; use ACCELEROMETER_CALIBRATED and
subtract gravity on the host

GRAVITY : Deprecated: calibration is incorrect for this gravity-only output; use ACCELEROMETER_CALIBRATED and estimate gravity on
the host

  GYROSCOPE_RAW : Section 2.1.2

Raw gyroscope measurement in the sensor-native frame. DepthAI does not apply IMU
extrinsics or affine calibration on this stream. Units are [rad/s]

  GYROSCOPE_CALIBRATED : Section 2.1.2

Angular velocity aligned to the DepthAI IMU frame and corrected with the stored
affine calibration. Units are [rad/s]

  GYROSCOPE_UNCALIBRATED : Section 2.1.2

Angular velocity aligned to the DepthAI IMU frame without the stored affine
calibration applied. Units are [rad/s]

  MAGNETOMETER_RAW : Section 2.1.3

Raw magnetometer measurement in the sensor-native frame. DepthAI does not apply
IMU extrinsics on this stream. Units are [uTesla]

  MAGNETOMETER_CALIBRATED : Section 2.1.3

Magnetic field measurement aligned to the DepthAI IMU frame. Units are [uTesla]

  MAGNETOMETER_UNCALIBRATED : Section 2.1.3

Magnetic field measurement aligned to the DepthAI IMU frame 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_CALIBRATED: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### ACCELEROMETER_RAW: typing.ClassVar[IMUSensor]

Kind: Class Variable

##### ACCELEROMETER_UNCALIBRATED: 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.IMUSensorConfig

Kind: Class

##### changeSensitivity: int

Kind: Class Variable

##### reportRate: int

Kind: Class Variable

##### sensitivityEnabled: bool

Kind: Class Variable

##### sensitivityRelative: bool

Kind: Class Variable

##### sensorId: IMUSensor

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.IMUProperties

Kind: Class

##### batchReportThreshold: int

Kind: Class Variable

##### imuSensors: list[IMUSensorConfig]

Kind: Class Variable

##### maxBatchReports: int

Kind: Class Variable

##### enableFirmwareUpdate

Kind: Property

Whether to perform firmware update or not. Default value: false.

##### enableFirmwareUpdate.setter(self, arg0: bool|None)

Kind: Method

#### depthai.EdgeDetectorProperties

Kind: Class

Specify properties for EdgeDetector

##### initialConfig

Kind: Property

Initial edge detector config

##### initialConfig.setter(self, arg0: EdgeDetectorConfig)

Kind: Method

##### numFramesPool

Kind: Property

Num frames in output pool

##### numFramesPool.setter(self, arg0: int)

Kind: Method

##### outputFrameSize

Kind: Property

Maximum output frame size in bytes (eg: 300x300 BGR image -> 300*300*3 bytes)

##### outputFrameSize.setter(self, arg0: int)

Kind: Method

#### depthai.FeatureTrackerProperties

Kind: Class

Specify properties for FeatureTracker

##### initialConfig

Kind: Property

Initial feature tracker config

##### initialConfig.setter(self, arg0: FeatureTrackerConfig)

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: int)

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: int)

Kind: Method

#### depthai.AprilTagProperties

Kind: Class

Specify properties for AprilTag

##### initialConfig: AprilTagConfig

Kind: Class Variable

##### inputConfigSync

Kind: Property

Whether to wait for config at 'inputConfig' IO

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

Kind: Method

##### numThreads

Kind: Property

How many threads to use for AprilTag detection

##### numThreads.setter(self, arg0: int)

Kind: Method

#### depthai.DetectionParserProperties

Kind: Class

Specify properties for DetectionParser

##### parser

Kind: Property

Options for parser

##### parser.setter(self, arg0: DetectionParserOptions)

Kind: Method

#### depthai.SegmentationParserProperties

Kind: Class

Specify properties for SegmentationParser

@property labels Vector of class labels associated with the segmentation mask.
The label at index $i$ in the `labels` vector corresponds to the value $i$-th
channel in the segmentation mask data array.

Parameter ``networkOutputName``:
    Name of the output tensor from the neural network to parse. If empty, the
    first output will be used.

Parameter ``classesInOneLayer``:
    If true, assumes that the segmentation classes are already encoded in a
    single layer as integer values. If false, an argmax operation is performed
    across multiple channels.

Parameter ``backgroundClass``:
    If true, the first class (index 0) is considered as background.

##### backgroundClass: bool

Kind: Class Variable

##### classesInOneLayer: bool

Kind: Class Variable

##### labels: list[str]

Kind: Class Variable

##### networkOutputName: str

Kind: Class Variable

#### depthai.UVCProperties

Kind: Class

Properties for UVC node

##### gpioInit: dict[int, int]

Kind: Class Variable

##### gpioStreamOff: dict[int, int]

Kind: Class Variable

##### gpioStreamOn: dict[int, int]

Kind: Class Variable

#### depthai.ThermalProperties

Kind: Class

Specify properties for Thermal

##### boardSocket

Kind: Property

Which socket will color camera use

##### boardSocket.setter(self, arg0: CameraBoardSocket)

Kind: Method

##### fps

Kind: Property

Camera sensor FPS

##### fps.setter(self, arg0: float)

Kind: Method

##### initialConfig

Kind: Property

Initial Thermal config

##### initialConfig.setter(self, arg0: ThermalConfig)

Kind: Method

##### numFramesPool

Kind: Property

Num frames in output pool

##### numFramesPool.setter(self, arg0: int)

Kind: Method

#### depthai.ToFProperties

Kind: Class

Specify properties for ToF

##### enableUndistortion

Kind: Property

Undistort depth and auxiliary outputs before publishing them.

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

Kind: Method

##### initialConfig

Kind: Property

Initial ToF config

##### initialConfig.setter(self, arg0: ToFConfig)

Kind: Method

##### numFramesPool

Kind: Property

Num frames in output pool

##### numFramesPool.setter(self, arg0: int)

Kind: Method

##### numShaves

Kind: Property

Number of shaves reserved for ToF decoding.

##### numShaves.setter(self, arg0: int|None)

Kind: Method

##### warpHwIds

Kind: Property

Warp HW IDs to use for undistortion, if empty, use auto/default

##### warpHwIds.setter(self, arg0: list [ int ])

Kind: Method

#### depthai.PointCloudProperties

Kind: Class

Specify properties for PointCloud

##### initialConfig: PointCloudConfig

Kind: Class Variable

##### numFramesPool: int

Kind: Class Variable

#### depthai.SyncProperties

Kind: Class

Specify properties for Sync.

##### depthai.SyncProperties.TimestampSource

Kind: Class

Members:

  DEFAULT

  DEVICE

  HOST

  SYSTEM

###### DEFAULT: typing.ClassVar[SyncProperties.TimestampSource]

Kind: Class Variable

###### DEVICE: typing.ClassVar[SyncProperties.TimestampSource]

Kind: Class Variable

###### HOST: typing.ClassVar[SyncProperties.TimestampSource]

Kind: Class Variable

###### SYSTEM: typing.ClassVar[SyncProperties.TimestampSource]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, SyncProperties.TimestampSource]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### processor

Kind: Property

Which processor should execute the node.

##### processor.setter(self, arg0: ProcessorType)

Kind: Method

##### syncAttempts

Kind: Property

The number of syncing attempts before fail (num of replaced messages).

##### syncAttempts.setter(self, arg0: int)

Kind: Method

##### syncThresholdNs

Kind: Property

The maximal interval the messages can be apart in nanoseconds.

##### syncThresholdNs.setter(self, arg0: int)

Kind: Method

##### timestampSource

Kind: Property

Which timestamp to use for synchronization. On device the default is DEVICE, on
host the default is HOST

##### timestampSource.setter(self, arg0: SyncProperties.TimestampSource)

Kind: Method

#### depthai.MessageDemuxProperties

Kind: Class

Specify properties for MessageDemux.

##### processor

Kind: Property

Which processor should execute the node.

##### processor.setter(self, arg0: ProcessorType)

Kind: Method

#### depthai.ImageFiltersProperties

Kind: Class

#### depthai.ToFDepthConfidenceFilterProperties

Kind: Class

#### depthai.ImageFiltersConfig(depthai.Buffer)

Kind: Class

##### __init__(self)

Kind: Method

##### insertFilter(self, params: ...|...|...|...) -> ImageFiltersConfig: ImageFiltersConfig

Kind: Method

Insert filter parameters describing how a new filter should be inserted

Parameter ``params``:
    Parameters of the filter to be inserted

##### setProfilePreset(self, arg0: ...)

Kind: Method

Set preset mode for ImageFiltersConfig.

Parameter ``presetMode``:
    Preset mode for ImageFiltersConfig.

##### updateFilterAtIndex(self, index: int, params: ...|...|...|...) -> ImageFiltersConfig: ImageFiltersConfig

Kind: Method

Insert filter parameters describing how a filter at index index should be
updated

Parameter ``index``:
    Index of the filter to be inserted

Parameter ``params``:
    Parameters of the filter to be inserted

##### filterIndices

Kind: Property

Index of the filter to be applied

##### filterIndices.setter(self, arg0: list [ int ])

Kind: Method

##### filterParams

Kind: Property

Parameters of the filter to be applied

##### filterParams.setter(self, arg0: list [ (...|...|...|...) ])

Kind: Method

#### depthai.ToFDepthConfidenceFilterConfig(depthai.Buffer)

Kind: Class

##### __init__(self)

Kind: Method

##### setProfilePreset(self, arg0: ...)

Kind: Method

Set preset mode for ImageFiltersPresetMode.

Parameter ``presetMode``:
    Preset mode for ImageFiltersPresetMode.

##### confidenceThreshold

Kind: Property

Threshold for the confidence filter

##### confidenceThreshold.setter(self, arg0: float)

Kind: Method

#### depthai.ImageAlignProperties

Kind: Class

Specify properties for ImageAlign

##### initialConfig: ImageAlignConfig

Kind: Class Variable

##### alignHeight

Kind: Property

Optional output height

##### alignHeight.setter(self, arg0: int)

Kind: Method

##### alignWidth

Kind: Property

Optional output width

##### alignWidth.setter(self, arg0: int)

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: int)

Kind: Method

##### numShaves

Kind: Property

Number of shaves reserved.

##### numShaves.setter(self, arg0: int)

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: list [ int ])

Kind: Method

#### depthai.AlignProperties

Kind: Class

Specify properties for Align

##### initialConfig: AlignConfig

Kind: Class Variable

##### numFramesPool

Kind: Property

Num frames in output pool

##### numFramesPool.setter(self, arg0: int)

Kind: Method

#### depthai.RectificationProperties

Kind: Class

##### outputHeight: int|None

Kind: Class Variable

##### outputWidth: int|None

Kind: Class Variable

#### depthai.NeuralDepthProperties

Kind: Class

Specify properties for NeuralDepth

#### depthai.GPUStereoProperties

Kind: Class

##### initialConfig: GPUStereoConfig

Kind: Class Variable

#### depthai.VppProperties

Kind: Class

Specify properties for Vpp node

##### initialConfig

Kind: Property

Initial VPP configuration

##### initialConfig.setter(self, arg0: VppConfig)

Kind: Method

##### numFramesPool

Kind: Property

Number of frames in pool for output frames

##### numFramesPool.setter(self, arg0: int)

Kind: Method

#### depthai.GateProperties

Kind: Class

Specify properties for Gate.

#### depthai.ToFStereoFusionConfig

Kind: Class

##### confidenceThreshold: float

Kind: Class Variable

##### __init__(self)

Kind: Method

##### setConfidenceThreshold(self, threshold: float) -> ToFStereoFusionConfig: ToFStereoFusionConfig

Kind: Method

#### depthai.VioConfig

Kind: Class

##### mapper_bow_num_bits: int

Kind: Class Variable

##### mapper_detection_num_points: int

Kind: Class Variable

##### mapper_frames_to_match_threshold: float

Kind: Class Variable

##### mapper_lm_lambda_max: float

Kind: Class Variable

##### mapper_lm_lambda_min: float

Kind: Class Variable

##### mapper_max_hamming_distance: float

Kind: Class Variable

##### mapper_min_matches: float

Kind: Class Variable

##### mapper_min_track_length: float

Kind: Class Variable

##### mapper_min_triangulation_dist: float

Kind: Class Variable

##### mapper_no_factor_weights: bool

Kind: Class Variable

##### mapper_num_frames_to_match: float

Kind: Class Variable

##### mapper_obs_huber_thresh: float

Kind: Class Variable

##### mapper_obs_std_dev: float

Kind: Class Variable

##### mapper_ransac_threshold: float

Kind: Class Variable

##### mapper_second_best_test_ratio: float

Kind: Class Variable

##### mapper_use_factors: bool

Kind: Class Variable

##### mapper_use_lm: bool

Kind: Class Variable

##### optical_flow_detection_grid_size: int

Kind: Class Variable

##### optical_flow_detection_max_threshold: int

Kind: Class Variable

##### optical_flow_detection_min_threshold: int

Kind: Class Variable

##### optical_flow_detection_nonoverlap: bool

Kind: Class Variable

##### optical_flow_detection_num_points_cell: int

Kind: Class Variable

##### optical_flow_epipolar_error: float

Kind: Class Variable

##### optical_flow_image_safe_radius: float

Kind: Class Variable

##### optical_flow_levels: int

Kind: Class Variable

##### optical_flow_matching_default_depth: float

Kind: Class Variable

##### optical_flow_matching_guess_type: ...

Kind: Class Variable

##### optical_flow_max_iterations: int

Kind: Class Variable

##### optical_flow_max_recovered_dist2: float

Kind: Class Variable

##### optical_flow_pattern: int

Kind: Class Variable

##### optical_flow_recall_all_cams: bool

Kind: Class Variable

##### optical_flow_recall_enable: bool

Kind: Class Variable

##### optical_flow_recall_max_patch_dist: float

Kind: Class Variable

##### optical_flow_recall_max_patch_norms: list[float]

Kind: Class Variable

##### optical_flow_recall_num_points_cell: bool

Kind: Class Variable

##### optical_flow_recall_over_tracking: bool

Kind: Class Variable

##### optical_flow_recall_update_patch_viewpoint: bool

Kind: Class Variable

##### optical_flow_skip_frames: int

Kind: Class Variable

##### optical_flow_type: str

Kind: Class Variable

##### vio_debug: bool

Kind: Class Variable

##### vio_enforce_realtime: bool

Kind: Class Variable

##### vio_extended_logging: bool

Kind: Class Variable

##### vio_fix_long_term_keyframes: bool

Kind: Class Variable

##### vio_init_ba_weight: float

Kind: Class Variable

##### vio_init_bg_weight: float

Kind: Class Variable

##### vio_init_pose_weight: float

Kind: Class Variable

##### vio_kf_marg_criteria: ...

Kind: Class Variable

##### vio_kf_marg_feature_ratio: float

Kind: Class Variable

##### vio_linearization_type: ...

Kind: Class Variable

##### vio_lm_lambda_initial: float

Kind: Class Variable

##### vio_lm_lambda_max: float

Kind: Class Variable

##### vio_lm_lambda_min: float

Kind: Class Variable

##### vio_marg_lost_landmarks: bool

Kind: Class Variable

##### vio_max_iterations: int

Kind: Class Variable

##### vio_max_kfs: int

Kind: Class Variable

##### vio_max_states: int

Kind: Class Variable

##### vio_min_frames_after_kf: int

Kind: Class Variable

##### vio_min_triangulation_dist: float

Kind: Class Variable

##### vio_new_kf_keypoints_thresh: float

Kind: Class Variable

##### vio_obs_huber_thresh: float

Kind: Class Variable

##### vio_obs_std_dev: float

Kind: Class Variable

##### vio_scale_jacobian: bool

Kind: Class Variable

##### vio_sqrt_marg: bool

Kind: Class Variable

##### vio_use_lm: bool

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.DynamicCalibrationProperties

Kind: Class

Specify properties for Dynamic calibration.

#### depthai.AutoCalibrationProperties

Kind: Class

#### depthai.Asset

Kind: Class

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

##### alignment: int

Kind: Class Variable

##### data: numpy.ndarray[numpy.uint8]

Kind: Class Variable

##### __init__(self)

Kind: Method

##### key

Kind: Property

#### depthai.AssetManager

Kind: Class

AssetManager can store assets and serialize

##### __init__(self)

Kind: Method

##### addExisting(self, assets: list [ Asset ])

Kind: Method

Adds all assets in an array to the AssetManager

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

##### get(self, key: str) -> Asset: Asset

Kind: Method

##### getAll(self) -> list [ Asset ]: list [ Asset ]

Kind: Method

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

Kind: Method

Get root path of the asset manager

Returns:
    Root path

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

Kind: Method

Removes asset with key

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

##### set(self, asset: Asset) -> Asset: Asset

Kind: Method

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

Kind: Method

Returns:
    Number of asset stored in the AssetManager

#### depthai.GlobalProperties

Kind: Class

Specify properties which apply for whole pipeline

##### pipelineName: str|None

Kind: Class Variable

##### pipelineVersion: str|None

Kind: Class Variable

#### depthai.DeviceProperties

Kind: Class

Specify properties which apply for a device

##### leonCssFrequencyHz: float

Kind: Class Variable

##### leonMssFrequencyHz: float

Kind: Class Variable

##### __init__(self)

Kind: Method

##### cameraSocketTuningBlobSize

Kind: Property

Socket specific camera tuning blob size in bytes

##### cameraSocketTuningBlobSize.setter(self, arg0: dict [ CameraBoardSocket, int ])

Kind: Method

##### cameraSocketTuningBlobUri

Kind: Property

Socket specific camera tuning blob uri

##### cameraSocketTuningBlobUri.setter(self, arg0: dict [ CameraBoardSocket, str ])

Kind: Method

##### cameraTuningBlobSize

Kind: Property

Camera tuning blob size in bytes

##### cameraTuningBlobSize.setter(self, arg0: int|None)

Kind: Method

##### cameraTuningBlobUri

Kind: Property

Uri which points to camera tuning blob

##### cameraTuningBlobUri.setter(self, arg0: str)

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: int)

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: int)

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: int)

Kind: Method

#### depthai.RecordConfig

Kind: Class

Configuration for recording and replaying messages

##### depthai.RecordConfig.VideoEncoding

Kind: Class

###### bitrate: int

Kind: Class Variable

###### enabled: bool

Kind: Class Variable

###### lossless: bool

Kind: Class Variable

###### profile: VideoEncoderProperties.Profile

Kind: Class Variable

###### quality: int

Kind: Class Variable

###### __init__(self)

Kind: Method

##### compressionLevel: ...

Kind: Class Variable

##### outputDir: os.PathLike

Kind: Class Variable

##### syncCameraOutputs: bool

Kind: Class Variable

##### videoEncoding: RecordConfig.VideoEncoding

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.PipelineStateApi

Kind: Class

##### nodes(self) -> NodesStateApi: NodesStateApi

Kind: Method

#### depthai.NodesStateApi

Kind: Class

pipeline.getState().nodes({nodeId1}).summary() ->
std::unordered_map<std::string, TimingStats>;
pipeline.getState().nodes({nodeId1}).detailed() ->
std::unordered_map<std::string, NodeState>;
pipeline.getState().nodes(nodeId1).detailed() -> NodeState;
pipeline.getState().nodes({nodeId1}).outputs() ->
std::unordered_map<std::string, TimingStats>;
pipeline.getState().nodes({nodeId1}).outputs({outputName1}) ->
std::unordered_map<std::string, TimingStats>;
pipeline.getState().nodes({nodeId1}).outputs(outputName) -> TimingStats;
pipeline.getState().nodes({nodeId1}).events();
pipeline.getState().nodes({nodeId1}).inputs() -> std::unordered_map<std::string,
QueueState>; pipeline.getState().nodes({nodeId1}).inputs({inputName1}) ->
std::unordered_map<std::string, QueueState>;
pipeline.getState().nodes({nodeId1}).inputs(inputName) -> QueueState;
pipeline.getState().nodes({nodeId1}).otherStats() ->
std::unordered_map<std::string, TimingStats>;
pipeline.getState().nodes({nodeId1}).otherStats({statName1}) ->
std::unordered_map<std::string, TimingStats>;
pipeline.getState().nodes({nodeId1}).outputs(statName) -> TimingStats;

##### detailed(self) -> PipelineState: PipelineState

Kind: Method

##### inputs(self) -> dict [ int, dict [ str, NodeState.InputQueueState ] ]: dict [ int, dict [ str, NodeState.InputQueueState ] ]

Kind: Method

##### otherTimings(self) -> dict [ int, dict [ str, NodeState.Timing ] ]: dict [ int, dict [ str, NodeState.Timing ] ]

Kind: Method

##### outputs(self) -> dict [ int, dict [ str, NodeState.OutputQueueState ] ]: dict [ int, dict [ str, NodeState.OutputQueueState ] ]

Kind: Method

##### summary(self) -> PipelineState: PipelineState

Kind: Method

#### depthai.NodeStateApi

Kind: Class

##### detailed(self) -> NodeState: NodeState

Kind: Method

##### inputs(self) -> dict [ str, NodeState.InputQueueState ]: dict [ str, NodeState.InputQueueState ]

Kind: Method

##### otherTimings(self) -> dict [ str, NodeState.Timing ]: dict [ str, NodeState.Timing ]

Kind: Method

##### outputs(self) -> dict [ str, NodeState.OutputQueueState ]: dict [ str, NodeState.OutputQueueState ]

Kind: Method

##### summary(self) -> NodeState: NodeState

Kind: Method

#### depthai.Pipeline

Kind: Class

##### depthai.Pipeline.AutoCalibrationMode

Kind: Class

Members:

  OFF

  ON_START

  CONTINUOUS

###### CONTINUOUS: typing.ClassVar[Pipeline.AutoCalibrationMode]

Kind: Class Variable

###### OFF: typing.ClassVar[Pipeline.AutoCalibrationMode]

Kind: Class Variable

###### ON_START: typing.ClassVar[Pipeline.AutoCalibrationMode]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Pipeline.AutoCalibrationMode]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### __enter__(self) -> Pipeline: Pipeline

Kind: Method

##### __exit__(self, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any)

Kind: Method

##### __init__(self, createImplicitDevice: bool = True)

Kind: Method

##### add(self, arg0: Node) -> Node: Node

Kind: Method

##### build(self)

Kind: Method

##### create(self, arg0: typing.Any, args, kwargs) -> Node: Node

Kind: Method

##### enableHolisticRecord(self, recordConfig: RecordConfig)

Kind: Method

Record and Replay

##### enableHolisticReplay(self, recordingPath: str)

Kind: Method

##### enablePipelineDebugging(self, enable: bool = True)

Kind: Method

Pipeline debugging

##### getAllNodes(self) -> list [ Node ]: list [ Node ]

Kind: Method

Get a vector of all nodes

##### getAssetManager(self) -> AssetManager: AssetManager

Kind: Method

##### getAutoCalibrationMode(self) -> Pipeline.AutoCalibrationMode: Pipeline.AutoCalibrationMode

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

##### getDefaultDevice(self) -> Device: Device

Kind: Method

##### getDefaultDeviceProperties(self) -> DeviceProperties|None: DeviceProperties|None

Kind: Method

Gets a copy of default device properties. If pipeline is in host only mode,
returns host properties, otherwise returns device properties

##### 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(self, arg0: int) -> Node: Node

Kind: Method

Get node with id if it exists, nullptr otherwise

##### getPipelineState(self) -> PipelineStateApi: PipelineStateApi

Kind: Method

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

Kind: Method

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

Kind: Method

##### processTasks(self, waitForTasks: bool = False, timeoutSeconds: float = -1.0)

Kind: Method

##### remove(self, node: Node)

Kind: Method

Removes a node from pipeline

##### run(self)

Kind: Method

##### serializeToJson(self, arg0: bool) -> json: json

Kind: Method

Returns whole pipeline represented as JSON

##### setAutoCalibrationMode(self, mode: Pipeline.AutoCalibrationMode)

Kind: Method

##### 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: os.PathLike)

Kind: Method

##### setDefaultDeviceProperties(self, deviceProperties: DeviceProperties)

Kind: Method

Sets default device properties

##### setSippBufferSize(self, sizeBytes: int)

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: int)

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: int)

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.

##### start(self)

Kind: Method

##### stop(self)

Kind: Method

##### wait(self)

Kind: Method

#### depthai.DeviceInfo

Kind: Class

Describes a connected device

##### deviceId: 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

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

Kind: Method

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

Kind: Method

##### getXLinkDeviceDesc(self) -> DeviceDesc: DeviceDesc

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.XLinkDeviceState

Kind: Class

Members:

  X_LINK_ANY_STATE

  X_LINK_BOOTED

  X_LINK_UNBOOTED

  X_LINK_BOOTLOADER

  X_LINK_FLASH_BOOTED

  X_LINK_BOOTED_NON_EXCLUSIVE

  X_LINK_GATE

  X_LINK_GATE_BOOTED

  X_LINK_GATE_SETUP

##### X_LINK_ANY_STATE: typing.ClassVar[XLinkDeviceState]

Kind: Class Variable

##### X_LINK_BOOTED: typing.ClassVar[XLinkDeviceState]

Kind: Class Variable

##### X_LINK_BOOTED_NON_EXCLUSIVE: 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_GATE: typing.ClassVar[XLinkDeviceState]

Kind: Class Variable

##### X_LINK_GATE_BOOTED: typing.ClassVar[XLinkDeviceState]

Kind: Class Variable

##### X_LINK_GATE_SETUP: 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: int)

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: int)

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_IPC

  X_LINK_TCP_IP

  X_LINK_LOCAL_SHDMEM

  X_LINK_TCP_IP_OR_LOCAL_SHDMEM

  X_LINK_USB_EP

  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_LOCAL_SHDMEM: 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_TCP_IP_OR_LOCAL_SHDMEM: typing.ClassVar[XLinkProtocol]

Kind: Class Variable

##### X_LINK_USB_CDC: typing.ClassVar[XLinkProtocol]

Kind: Class Variable

##### X_LINK_USB_EP: 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.XLinkPlatform

Kind: Class

Members:

  X_LINK_ANY_PLATFORM

  X_LINK_MYRIAD_2

  X_LINK_MYRIAD_X

  X_LINK_RVC3

  X_LINK_RVC4

##### 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

##### X_LINK_RVC3: typing.ClassVar[XLinkPlatform]

Kind: Class Variable

##### X_LINK_RVC4: 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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### 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: int)

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: int)

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, timeoutMs: int = 500) -> list [ DeviceInfo ]: list [ DeviceInfo ]

Kind: Static Method

##### getDeviceById(deviceId: 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__(self, arg0: DeviceInfo, arg1: ..., std: ...)

Kind: Method

#### XLinkError

Kind: Exception

#### XLinkReadError

Kind: Exception

#### XLinkWriteError

Kind: Exception

#### depthai.Platform

Kind: Class

Hardware platform type

Members:

  RVC2 : 

  RVC3 : 

  RVC4 : 

##### RVC2: typing.ClassVar[Platform]

Kind: Class Variable

##### RVC3: typing.ClassVar[Platform]

Kind: Class Variable

##### RVC4: typing.ClassVar[Platform]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, Platform]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.CrashDump

Kind: Class

Base class for platform-specific crash dumps

Crash dumps are serialized as tar files with the following structure: -
crash_dump.tar.gz - metadata.json (basic crash information - depthai specific) -
extra.json (user-defined extra crashdump information) - platform specific
files...

##### crashdumpTimestamp: str

Kind: Class Variable

##### depthaiBootloaderVersion: str

Kind: Class Variable

##### depthaiBuildDatetime: str

Kind: Class Variable

##### depthaiCommitDatetime: str

Kind: Class Variable

##### depthaiCommitHash: str

Kind: Class Variable

##### depthaiDeviceRVC3Version: str

Kind: Class Variable

##### depthaiDeviceRVC4Version: str

Kind: Class Variable

##### depthaiDeviceVersion: str

Kind: Class Variable

##### depthaiVersion: str

Kind: Class Variable

##### depthaiVersionBuildInfo: str

Kind: Class Variable

##### depthaiVersionMajor: str

Kind: Class Variable

##### depthaiVersionMinor: str

Kind: Class Variable

##### depthaiVersionPatch: str

Kind: Class Variable

##### depthaiVersionPreReleaseType: str

Kind: Class Variable

##### depthaiVersionPreReleaseVersion: str

Kind: Class Variable

##### deviceId: str

Kind: Class Variable

##### extra: dict

Kind: Class Variable

##### osPlatform: str

Kind: Class Variable

##### fromBytes(bytes: bytes) -> CrashDump: CrashDump

Kind: Static Method

Deserialize the crash dump from a byte array (bytes in filesystem after calling
toBytes)

Parameter ``bytes``:
    Byte array

Returns:
    Unique pointer to the appropriate CrashDump subclass

##### load(tarPath: os.PathLike) -> CrashDump: CrashDump

Kind: Static Method

Factory method to create a CrashDump from a tar file

Parameter ``tarPath``:
    Path to the tar file

Returns:
    Unique pointer to the CrashDump instance

##### __contains__(self, key: str) -> bool: bool

Kind: Method

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

Kind: Method

##### __getitem__(self, key: str) -> typing.Any: typing.Any

Kind: Method

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

Kind: Method

##### __setitem__(self, key: str, value: typing.Any)

Kind: Method

##### fromTar(self, tarPath: os.PathLike)

Kind: Method

Deserialize the crash dump from a tar file

Parameter ``tarPath``:
    Path to the input tar file

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

Kind: Method

Get the version of the crash dump format

Returns:
    Version string

##### getPlatform(self) -> Platform: Platform

Kind: Method

Identify the platform that this crashdump corresponds to

Returns:
    Platform enum value

##### toBytes(self) -> bytes: bytes

Kind: Method

Serialize the crash dump to a byte array (bytes in filesystem after calling
toTar)

Returns:
    Byte array

##### toTar(self, tarPath: os.PathLike)

Kind: Method

Serialize the crash dump to a tar file

Parameter ``tarPath``:
    Path to the output tar file

#### depthai.CrashDumpRVC2(depthai.CrashDump)

Kind: Class

##### depthai.CrashDumpRVC2.CrashReportCollection

Kind: Class

###### crashReports: list[CrashDumpRVC2.CrashReport]

Kind: Class Variable

###### depthaiCommitHash: str

Kind: Class Variable

###### deviceId: str

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.CrashDumpRVC2.CrashReport

Kind: Class

###### depthai.CrashDumpRVC2.CrashReport.ErrorSourceInfo

Kind: Class

###### depthai.CrashDumpRVC2.CrashReport.ErrorSourceInfo.AssertContext

Kind: Class

###### fileName: str

Kind: Class Variable

###### functionName: str

Kind: Class Variable

###### line: int

Kind: Class Variable

###### __init__(self)

Kind: Method

###### depthai.CrashDumpRVC2.CrashReport.ErrorSourceInfo.TrapContext

Kind: Class

###### trapAddress: int

Kind: Class Variable

###### trapName: str

Kind: Class Variable

###### trapNumber: int

Kind: Class Variable

###### __init__(self)

Kind: Method

###### assertContext: CrashDumpRVC2.CrashReport.ErrorSourceInfo.AssertContext

Kind: Class Variable

###### errorId: int

Kind: Class Variable

###### trapContext: CrashDumpRVC2.CrashReport.ErrorSourceInfo.TrapContext

Kind: Class Variable

###### __init__(self)

Kind: Method

###### depthai.CrashDumpRVC2.CrashReport.ThreadCallstack

Kind: Class

###### depthai.CrashDumpRVC2.CrashReport.ThreadCallstack.CallstackContext

Kind: Class

###### callSite: int

Kind: Class Variable

###### calledTarget: int

Kind: Class Variable

###### context: str

Kind: Class Variable

###### framePointer: int

Kind: Class Variable

###### __init__(self)

Kind: Method

###### callStack: list[CrashDumpRVC2.CrashReport.ThreadCallstack.CallstackContext]

Kind: Class Variable

###### instructionPointer: int

Kind: Class Variable

###### stackBottom: int

Kind: Class Variable

###### stackPointer: int

Kind: Class Variable

###### stackTop: int

Kind: Class Variable

###### threadId: int

Kind: Class Variable

###### threadName: str

Kind: Class Variable

###### threadStatus: str

Kind: Class Variable

###### __init__(self)

Kind: Method

###### crashedThreadId: int

Kind: Class Variable

###### errorSource: str

Kind: Class Variable

###### errorSourceInfo: CrashDumpRVC2.CrashReport.ErrorSourceInfo

Kind: Class Variable

###### processor: ProcessorType

Kind: Class Variable

###### threadCallstack: list[CrashDumpRVC2.CrashReport.ThreadCallstack]

Kind: Class Variable

###### __init__(self)

Kind: Method

###### prints

Kind: Property

Device print/log lines captured around the crash.

###### prints.setter(self, arg0: list [ str ])

Kind: Method

###### statusFlags

Kind: Property

Platform-specific crash/status flags captured with the report.

###### statusFlags.setter(self, arg0: int)

Kind: Method

###### timerRaw

Kind: Property

Raw device timer value captured in the crash report.

###### timerRaw.setter(self, arg0: int)

Kind: Method

###### uptimeNs

Kind: Property

Device uptime in nanoseconds at crash-report capture time.

###### uptimeNs.setter(self, arg0: int)

Kind: Method

##### crashReports: CrashDumpRVC2.CrashReportCollection

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.CrashDumpRVC4(depthai.CrashDump)

Kind: Class

##### data: bytes

Kind: Class Variable

##### filename: str

Kind: Class Variable

##### __init__(self)

Kind: Method

#### depthai.DeviceBase

Kind: Class

##### 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(timeout: datetime.timedelta) -> tuple [ bool, DeviceInfo ]: tuple [ bool, DeviceInfo ]

Kind: Static Method

##### getDeviceById(deviceId: str) -> tuple [ bool, DeviceInfo ]: tuple [ bool, DeviceInfo ]

Kind: Static Method

Finds a device by Device ID. Example: 14442C10D13EABCE00

Parameter ``deviceId``:
    Device ID which uniquely specifies a device

Returns:
    Tuple of bool and DeviceInfo. Bool specifies if device was found. DeviceInfo
    specifies the found device

##### getDeviceByIdOrName(deviceIdOrName: str) -> tuple [ bool, DeviceInfo ]: tuple [ bool, DeviceInfo ]

Kind: Static Method

Resolves a device from an IP address, name, or device ID without connecting to
it.

Parameter ``deviceIdOrName``:
    IP address, name, or device ID of the target device

Returns:
    Tuple of bool and DeviceInfo. Bool specifies if device was found. DeviceInfo
    specifies the found device

##### getEmbeddedDeviceBinary(usb2Mode: bool, version: OpenVINO.Version = ...) -> ...: ...

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

##### isInSetupMode(deviceIdOrName: str) -> bool|None: bool|None

Kind: Static Method

Resolves a device from an IP address, name, or device ID without connecting to
it and returns whether the resolved device is in setup mode.

Parameter ``deviceIdOrName``:
    IP address, name, or device ID of the target device

Returns:
    std::nullopt if the device could not be resolved, otherwise true if the
    resolved device is in X_LINK_GATE_SETUP state and false otherwise

##### performHealthCheck(deviceInfo: DeviceInfo, config: HealthCheckConfig = ...) -> HealthCheckMetrics: HealthCheckMetrics

Kind: Static Method

Performs a device health check.

The function connects to the supplied device, gathers device properties, and
runs a short diagnostic pipeline for the checks enabled in the config.

Parameter ``devInfo``:
    DeviceInfo which specifies which device to check

Parameter ``config``:
    Health-check steps to execute

Returns:
    HealthCheckMetrics with per-check pass/fail status and measured values

##### __enter__(self) -> DeviceBase: DeviceBase

Kind: Method

##### __exit__(self, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any)

Kind: Method

##### __init__(self)

Kind: Method

##### addLogCallback(self, callback: typing.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:`

##### crashDevice(self)

Kind: Method

Crashes the device $.. warning::

ONLY FOR TESTING PURPOSES, it causes an unrecoverable crash on the device

##### factoryResetCBACalibration(self, camSocket: CameraBoardSocket)

Kind: Method

Factory reset EEPROM data of the CBA if factory backup is available.

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

Throws:
    std::runtime_error If factory reset was unsuccessful $.. warning::

Experimental feature. This API might change or be removed in a future release.

##### factoryResetCalibration(self)

Kind: Method

Factory reset EEPROM data if factory backup is available.

Throws:
    std::runtime_error If factory reset was unsuccessful

##### flashCBACalibration(self, calibrationDataHandler: CBACalibrationHandler, camSocket: CameraBoardSocket)

Kind: Method

Stores the Calibration and Device information to the CBA EEPROM

Throws:
    std::runtime_error if failed to flash the calibration

Parameter ``calibrationObj``:
    CBACalibrationHandler object which is loaded with calibration information.

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly) $.. warning::

Experimental feature. This API might change or be removed in a future release.

##### flashCBAEepromClear(self, camSocket: CameraBoardSocket)

Kind: Method

Destructive action, deletes User area EEPROM contents on CBA Requires PROTECTED
permissions

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

Throws:
    std::runtime_error if failed to flash the calibration $.. warning::

Experimental feature. This API might change or be removed in a future release.

Returns:
    True on successful flash, false on failure

##### flashCalibration(self, arg0: CalibrationHandler)

Kind: Method

Stores the Calibration and Device information to the Device EEPROM

Throws:
    std::runtime_error 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_error if failed to flash the calibration

Returns:
    True on successful flash, false on failure

##### flashFactoryCBACalibration(self, calibrationHandler: CBACalibrationHandler, camSocket: CameraBoardSocket)

Kind: Method

Stores the Calibration and Device information to the CBA EEPROM in Factory area
To perform this action, correct env variable must be set

Parameter ``calibrationHandler``:
    CBACalibrationHandler

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

Throws:
    std::runtime_error if failed to flash the calibration $.. warning::

Experimental feature. This API might change or be removed in a future release.

Returns:
    True on successful flash, false on failure

##### flashFactoryCBAEepromClear(self, camSocket: CameraBoardSocket)

Kind: Method

Destructive action, deletes Factory area EEPROM contents on CBA Requires FACTORY
PROTECTED permissions

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

Throws:
    std::runtime_error if failed to flash the calibration $.. warning::

Experimental feature. This API might change or be removed in a future release.

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_error 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_error 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) -> Version|None: 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_error 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

##### 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.

Parameter ``clearCrashDump``:
    Clear the cached crash dump on device after collection

Returns:
    Unique pointer to the CrashDump. Platform-specific crash dump payload may be
    empty if no crash dump is available.

##### getDdrMemoryUsage(self) -> MemoryInfo: MemoryInfo

Kind: Method

Retrieves current DDR memory information from device

Returns:
    Used, remaining and total ddr memory

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

Kind: Method

Get DeviceId of device

Returns:
    DeviceId of connected device

##### 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.

##### getExternalFrameSyncRole(self) -> ExternalFrameSyncRole: ExternalFrameSyncRole

Kind: Method

Gets external frame sync role for the device

Returns:
    Gets external frame sync role

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

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

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

Kind: Method

Gets device OS version if supported by the connected device.

Returns:
    OS version string, for example "1.32.0"

##### getPlatform(self) -> Platform: Platform

Kind: Method

Get the platform of the connected device

Returns:
    Platform Platform enum

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

Kind: Method

Get the platform of the connected device as string

Returns:
    std::string String representation of Platform

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

Kind: Method

Retrieves current Rss memory usage of the device process

Returns:
    Current Rss memory used

##### 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

##### getProperties(self) -> DeviceProperties: DeviceProperties

Kind: Method

Gets current properties set on the device. Some properties might be not
supported by the device, in that case they will have default values.

Returns:
    DeviceProperties struct with current device properties

##### 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. Supported only on RVC2.

##### getStereoPairs(self) -> list [ StereoPair ]: list [ StereoPair ]

Kind: Method

Get stereo pairs based on the device type.

Returns:
    Vector of stereo pairs

##### getSupportedDeviceModels(self) -> list [ DeviceModelZoo ]: list [ DeviceModelZoo ]

Kind: Method

Returns the subset of device zoo models currently available on the device.

Returns:
    Supported device zoo models

##### 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.

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

Kind: Method

Check if the device has crashed

Returns:
    True if the device has crashed (watchdog timeout detected), false otherwise

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

Kind: Method

Checks if a GPU is available on the device.

@note This is only meaningful on RVC4 platforms.

Returns:
    True if supported, false otherwise

##### isCBAEepromAvailable(self, camSocket: CameraBoardSocket) -> bool: bool

Kind: Method

Check if EEPROM is available for a given CBA

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

.. warning::
    Experimental feature. This API might change or be removed in a future
    release.

Returns:
    True if EEPROM is present on board, false otherwise

##### 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

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

Kind: Method

Checks if GPUStereo is supported on the device.

@note This is only meaningful on RVC4 platforms.

Returns:
    True if supported, false otherwise

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

Kind: Method

Checks if Neural Depth is supported on the device

Returns:
    True if supported, false otherwise

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

Kind: Method

Checks if devices pipeline is already running

Returns:
    True if running, false otherwise

##### readCBACalibration(self, camSocket: CameraBoardSocket) -> CBACalibrationHandler: CBACalibrationHandler

Kind: Method

Fetches the EEPROM data from the CBA and loads it into CalibrationHandler object
If no calibration is flashed, it returns default @note This reads EEPROM
contents directly and does not merge calibration data from other sources.

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

.. warning::
    Experimental feature. This API might change or be removed in a future
    release.

Returns:
    The CalibrationHandler object containing the calibration currently flashed
    on CBA EEPROM

##### readCBACalibration2(self, camSocket: CameraBoardSocket) -> CBACalibrationHandler: CBACalibrationHandler

Kind: Method

Fetches the EEPROM data from the CBA and loads it into CalibrationHandler object
@note This reads EEPROM contents directly and does not merge calibration data
from other sources.

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

Throws:
    std::runtime_error if no calibration is flashed $.. warning::

Experimental feature. This API might change or be removed in a future release.

Returns:
    The CalibrationHandler object containing the calibration currently flashed
    on CBA EEPROM

##### readCBACalibrationOrDefault(self, camSocket: CameraBoardSocket) -> CBACalibrationHandler: CBACalibrationHandler

Kind: Method

Fetches the EEPROM data from the CBA and loads it into CalibrationHandler object
If no calibration is flashed, it returns default @note This reads EEPROM
contents directly and does not merge calibration data from other sources.

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

.. warning::
    Experimental feature. This API might change or be removed in a future
    release.

Returns:
    The CalibrationHandler object containing the calibration currently flashed
    on CBA EEPROM

##### 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 @note This reads EEPROM
contents directly and does not merge calibration data from other sources.

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 @note This reads EEPROM contents directly and does not merge calibration
data from other sources.

Throws:
    std::runtime_error 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 @note This reads EEPROM
contents directly and does not merge calibration data from other sources.

Returns:
    The CalibrationHandler object containing the calibration currently flashed
    on device EEPROM

##### readCalibrationRaw(self) -> bytes: bytes

Kind: Method

Fetches the raw EEPROM data from User area

Throws:
    std::runtime_error if any error occurred

Returns:
    Binary dump of User area EEPROM data

##### readCcmEepromRaw(self, socket: CameraBoardSocket, size: int, offset: int = 0) -> bytes: bytes

Kind: Method

Fetches the raw EEPROM data from the specified CCM (compact camera module).
Note: only certain CCMs (e.g. ToF) do have an EEPROM chip on-module

Parameter ``socket``:
    CameraBoardSocket where the CCM is placed

Parameter ``size``:
    Size in bytes to read

Parameter ``offset``:
    Absolute offset in EEPROM memory to read from

Throws:
    std::runtime_exception if any error occurred

Returns:
    Binary dump of EEPROM data

##### readFactoryCBACalibration(self, camSocket: CameraBoardSocket) -> CBACalibrationHandler: CBACalibrationHandler

Kind: Method

Fetches the CBA EEPROM data from Factory area and loads it into
CalibrationHandler object

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

Throws:
    std::runtime_error if no calibration is flashed $.. warning::

Experimental feature. This API might change or be removed in a future release.

Returns:
    The CalibrationHandler object containing the calibration currently flashed
    on CBA EEPROM in Factory Area

##### readFactoryCBACalibrationOrDefault(self, camSocket: CameraBoardSocket) -> CBACalibrationHandler: CBACalibrationHandler

Kind: Method

Fetches the CBA EEPROM data from Factory area and loads it into
CalibrationHandler object If no calibration is flashed, it returns default

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

.. warning::
    Experimental feature. This API might change or be removed in a future
    release.

Returns:
    The CalibrationHandler object containing the calibration currently flashed
    on CBA EEPROM in Factory Area

##### readFactoryCalibration(self) -> CalibrationHandler: CalibrationHandler

Kind: Method

Fetches the EEPROM data from Factory area and loads it into CalibrationHandler
object

Throws:
    std::runtime_error 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) -> bytes: bytes

Kind: Method

Fetches the raw EEPROM data from Factory area

Throws:
    std::runtime_error if any error occurred

Returns:
    Binary dump of Factory area EEPROM data

##### registerCrashdumpCallback(self, callback: typing.Callable [ [ CrashDump ], None ])

Kind: Method

Register a callback that will be called when the device crashes. The callback
receives a shared pointer to the CrashDump, which can be modified before it is
stored. Only one callback can be registered at a time.

Parameter ``callback``:
    Callback to call when a crash dump is collected

##### removeCrashdumpCallback(self)

Kind: Method

Removes the registered crash dump callback

##### removeLogCallback(self, callbackId: int) -> 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, arg0: CalibrationHandler)

Kind: Method

Sets the Calibration at runtime. This is not persistent and will be lost after
device reset.

Throws:
    std::runtime_error if failed to set the calibration

Parameter ``calibrationObj``:
    CalibrationHandler object which is loaded with calibration information.

##### setExternalFrameSyncRole(self, role: ExternalFrameSyncRole) -> tuple [ bool, str ]: tuple [ bool, str ]

Kind: Method

Sets external frame sync role for the device

Parameter ``role``:
    External frame sync role to be set, AUTO_DETECT by default

Returns:
    Tuple of bool and string. Bool specifies if role was set without failures.
    String is the error message describing the failure reason.

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

Kind: Method

##### setExternalStrobeRelativeLimits(self, min: float, max: float) -> tuple [ bool, str ]: tuple [ bool, str ]

Kind: Method

Sets the relative external strobe limits. Limits the strobe duty cycle, between
0 and 1, as a fraction of the whole period. 0 means always off, 1 means always
on. The rising edge of the strobe signal is always synced to end of exposure.
The falling edge of the strobe signal is then limited according to the min and
max values. Default values are 0.005 and 0.995

Parameter ``min``:
    Minimum strobe value

Parameter ``max``:
    Maximum strobe value

Returns:
    Tuple of bool and string. Bool specifies if role was set without failures.
    String is the error message describing the failure reason.

##### setIrFloodLightIntensity(self, intensity: float, mask: int = -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

##### setIrLaserDotProjectorIntensity(self, intensity: float, mask: int = -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

##### setMaxReconnectionAttempts(self, maxAttempts: int, callback: typing.Callable [ [ Device.ReconnectionStatus ], None ] = None)

Kind: Method

Sets max number of automatic reconnection attempts

Parameter ``maxAttempts``:
    Maximum number of reconnection attempts, 0 to disable reconnection

Parameter ``callBack``:
    Callback to be called when reconnection is attempted

##### setProperties(self, properties: DeviceProperties)

Kind: Method

Sets properties for the device.

Parameter ``properties``:
    DeviceProperties struct with properties to set. Only properties which are
    supported by the device and have different values than current ones will be
    applied. Some properties are only applied before starting the pipeline.

##### setSippBufferSize(self, sizeBytes: int)

Kind: Method

Sets the size of the SIPP buffer on the device.

Parameter ``sizeBytes``:
    SIPP buffer size in bytes. Device default is 18 * 1024 bytes

##### setSippDmaBufferSize(self, sizeBytes: int)

Kind: Method

Sets the size of the SIPP DMA buffer on the device.

Parameter ``sizeBytes``:
    SIPP DMA buffer size in bytes. Device default is 16 * 1024 bytes

##### setSystemInformationLoggingRate(self, rateHz: float)

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(self, arg0: datetime.timedelta, arg1: int, arg2: bool)

Kind: Method

##### setXLinkChunkSize(self, sizeBytes: int)

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

##### setXLinkRateLimit(self, maxRateBytesPerSecond: int, burstSize: int = 0, waitUs: int = 0)

Kind: Method

Sets the maximum transmission rate for the XLink connection on device side,
using a simple token bucket algorithm. Useful for bandwidth throttling

Parameter ``maxRateBytesPerSecond``:
    Rate limit in Bytes/second

Parameter ``burstSize``:
    Size in Bytes for how much to attempt to send once, 0 = auto

Parameter ``waitUs``:
    Time in microseconds to wait for replenishing tokens, 0 = auto

##### 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.

##### tryFlashCBACalibration(self, calibrationDataHandler: CBACalibrationHandler, camSocket: CameraBoardSocket) -> bool: bool

Kind: Method

Stores the Calibration and Device information to the CBA EEPROM

Parameter ``calibrationObj``:
    CBACalibrationHandler object which is loaded with calibration information.

Parameter ``camSocket``:
    CameraBoardSocket of the CBA (Camera Board Assembly)

.. warning::
    Experimental feature. This API might change or be removed in a future
    release.

Returns:
    true on successful flash, false on failure

##### tryFlashCalibration(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

##### writeCcmEepromRaw(self, socket: CameraBoardSocket, data: bytes, offset: int = 0)

Kind: Method

Writes the raw EEPROM data from the specified CCM (compact camera module). Note:
only certain CCMs (e.g. ToF) do have an EEPROM chip on-module Requires FACTORY
PROTECTED permissions

Parameter ``socket``:
    CameraBoardSocket where the CCM is placed

Parameter ``data``:
    Data buffer to write

Parameter ``offset``:
    Absolute offset in EEPROM memory to read from

Throws:
    std::runtime_exception if any error occurred

#### 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: LogLevel|None

Kind: Class Variable

###### nonExclusiveMode: bool

Kind: Class Variable

###### outputLogLevel: LogLevel|None

Kind: Class Variable

###### version: OpenVINO.Version

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.Device.ReconnectionStatus

Kind: Class

Members:

  RECONNECT_FAILED

  RECONNECTED

  RECONNECTING

###### RECONNECTED: typing.ClassVar[Device.ReconnectionStatus]

Kind: Class Variable

###### RECONNECTING: typing.ClassVar[Device.ReconnectionStatus]

Kind: Class Variable

###### RECONNECT_FAILED: typing.ClassVar[Device.ReconnectionStatus]

Kind: Class Variable

###### __members__: typing.ClassVar[dict[str, Device.ReconnectionStatus]]

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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### __init__(self)

Kind: Method

#### depthai.HealthCheckConfig

Kind: Class

Configures which device health-check steps should run.

##### checkUsbGeneration: bool

Kind: Class Variable

##### measureBandwidth: bool

Kind: Class Variable

##### powerSupplyCheckDuration: datetime.timedelta

Kind: Class Variable

##### verifyCameraCalibration: bool

Kind: Class Variable

##### verifyCameraFunctionality: bool

Kind: Class Variable

##### verifyImuCalibration: bool

Kind: Class Variable

##### verifyImuFunctionality: bool

Kind: Class Variable

##### verifyPowerSupply: bool

Kind: Class Variable

##### __init__(self, checkUsbGeneration: bool = True, measureBandwidth: bool = True, verifyCameraFunctionality: bool = True, verifyCameraCalibration: bool = True, verifyImuFunctionality: bool = True, verifyImuCalibration: bool = True, verifyPowerSupply: bool = True, powerSupplyCheckDuration: datetime.timedelta = ...)

Kind: Method

#### depthai.HealthCheckIssue

Kind: Class

Health check issue, which contains the details of the issue

##### message: str

Kind: Class Variable

##### stage: HealthCheckIssueStage

Kind: Class Variable

##### type: HealthCheckIssueType

Kind: Class Variable

##### __init__(self, type: HealthCheckIssueType, stage: HealthCheckIssueStage, message: str)

Kind: Method

#### depthai.HealthCheckMetrics

Kind: Class

Device health-check results.

##### bandwidthMbps: float

Kind: Class Variable

##### cameraCalibration: HealthCheckResult

Kind: Class Variable

##### cameraFunctionality: HealthCheckResult

Kind: Class Variable

##### deviceInSetupMode: bool

Kind: Class Variable

##### deviceInUse: bool

Kind: Class Variable

##### imuCalibration: HealthCheckResult

Kind: Class Variable

##### imuFunctionality: HealthCheckResult

Kind: Class Variable

##### issues: list[HealthCheckIssue]

Kind: Class Variable

##### missingUdevRules: bool

Kind: Class Variable

##### powerSupplyFunctionality: HealthCheckResult

Kind: Class Variable

##### usbGeneration: UsbGeneration

Kind: Class Variable

##### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

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

Kind: Method

#### depthai.HealthCheckIssueType

Kind: Class

Health check issue type

Members:

  Warning : 

  Error : 

##### Error: typing.ClassVar[HealthCheckIssueType]

Kind: Class Variable

##### Warning: typing.ClassVar[HealthCheckIssueType]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, HealthCheckIssueType]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.HealthCheckIssueStage

Kind: Class

Health check issue stage

Members:

  Connection : 

  DeviceAvailability : 

  UsbGeneration : 

  Bandwidth : 

  CameraFunctionality : 

  CameraCalibration : 

  ImuFunctionality : 

  ImuCalibration : 

  PowerSupply : 

##### Bandwidth: typing.ClassVar[HealthCheckIssueStage]

Kind: Class Variable

##### CameraCalibration: typing.ClassVar[HealthCheckIssueStage]

Kind: Class Variable

##### CameraFunctionality: typing.ClassVar[HealthCheckIssueStage]

Kind: Class Variable

##### Connection: typing.ClassVar[HealthCheckIssueStage]

Kind: Class Variable

##### DeviceAvailability: typing.ClassVar[HealthCheckIssueStage]

Kind: Class Variable

##### ImuCalibration: typing.ClassVar[HealthCheckIssueStage]

Kind: Class Variable

##### ImuFunctionality: typing.ClassVar[HealthCheckIssueStage]

Kind: Class Variable

##### PowerSupply: typing.ClassVar[HealthCheckIssueStage]

Kind: Class Variable

##### UsbGeneration: typing.ClassVar[HealthCheckIssueStage]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, HealthCheckIssueStage]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.UsbGeneration

Kind: Class

USB generation reported by the device health check.

Members:

  UNKNOWN : 

  USB_1_0 : 

  USB_1_1 : 

  USB_2_0 : 

  USB_3_0 : 

  USB_3_1 : 

##### UNKNOWN: typing.ClassVar[UsbGeneration]

Kind: Class Variable

##### USB_1_0: typing.ClassVar[UsbGeneration]

Kind: Class Variable

##### USB_1_1: typing.ClassVar[UsbGeneration]

Kind: Class Variable

##### USB_2_0: typing.ClassVar[UsbGeneration]

Kind: Class Variable

##### USB_3_0: typing.ClassVar[UsbGeneration]

Kind: Class Variable

##### USB_3_1: typing.ClassVar[UsbGeneration]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, UsbGeneration]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.HealthCheckResult

Kind: Class

Health check result reported by the device health check.

Members:

  NOT_RUN : 

  PASS : 

  FAIL : 

##### FAIL: typing.ClassVar[HealthCheckResult]

Kind: Class Variable

##### NOT_RUN: typing.ClassVar[HealthCheckResult]

Kind: Class Variable

##### PASS: typing.ClassVar[HealthCheckResult]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, HealthCheckResult]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.BoardConfig

Kind: Class

##### depthai.BoardConfig.USB

Kind: Class

USB related config

###### flashBootedPid: int

Kind: Class Variable

###### flashBootedVid: int

Kind: Class Variable

###### manufacturer: str

Kind: Class Variable

###### maxSpeed: UsbSpeed

Kind: Class Variable

###### pid: int

Kind: Class Variable

###### productName: str

Kind: Class Variable

###### vid: int

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.BoardConfig.Network

Kind: Class

Network configuration

###### mtu: int

Kind: Class Variable

###### xlinkTcpNoDelay: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.BoardConfig.GPIO

Kind: Class

GPIO config

###### 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

###### 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: int)

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: int)

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: int)

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: int)

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: int)

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: int)

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: int)

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: int)

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__(self)

Kind: Method

##### depthai.BoardConfig.UART

Kind: Class

UART instance config

###### tmp: int

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.BoardConfig.UVC

Kind: Class

UVC configuration for USB descriptor

###### cameraName: str

Kind: Class Variable

###### enable: bool

Kind: Class Variable

###### frameType: ImgFrame.Type

Kind: Class Variable

###### height: int

Kind: Class Variable

###### width: int

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.BoardConfig.GPIOMap

Kind: Class

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

Kind: Method

Check whether the map is nonempty

###### __contains__(self, arg0: int) -> bool: bool

Kind: Method

###### __delitem__(self, arg0: int)

Kind: Method

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

Kind: Method

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

###### __setitem__(self, arg0: int, 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.KeysView

Kind: Class

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

Kind: Method

###### __iter__(self) -> typing.Iterator: typing.Iterator

Kind: Method

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

Kind: Method

##### depthai.BoardConfig.ValuesView

Kind: Class

###### __iter__(self) -> typing.Iterator: typing.Iterator

Kind: Method

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

Kind: Method

##### depthai.BoardConfig.ItemsView

Kind: Class

###### __iter__(self) -> typing.Iterator: typing.Iterator

Kind: Method

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

Kind: Method

##### depthai.BoardConfig.UARTMap

Kind: Class

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

Kind: Method

Check whether the map is nonempty

###### __contains__(self, arg0: int) -> bool: bool

Kind: Method

###### __delitem__(self, arg0: int)

Kind: Method

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

Kind: Method

###### __init__(self)

Kind: Method

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

Kind: Method

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

Kind: Method

###### __setitem__(self, arg0: int, 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

##### gpio: BoardConfig.GPIOMap

Kind: Class Variable

##### network: BoardConfig.Network

Kind: Class Variable

##### usb: BoardConfig.USB

Kind: Class Variable

##### uvc: BoardConfig.UVC|None

Kind: Class Variable

##### watchdogInitialDelayMs: int|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: int|None)

Kind: Method

##### logVerbosity

Kind: Property

log verbosity

##### logVerbosity.setter(self, arg0: 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: list [ 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

##### watchdogTimeoutMs

Kind: Property

Watchdog config

##### watchdogTimeoutMs.setter(self, arg0: int|None)

Kind: Method

#### depthai.Clock

Kind: Class

##### now() -> datetime.timedelta: datetime.timedelta

Kind: Static Method

#### EepromError

Kind: Exception

#### depthai.DeviceBootloader

Kind: Class

Represents the DepthAI bootloader with the methods to interact with it.

##### 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### 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: int)

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: int)

Kind: Method

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

Kind: Method

###### name

Kind: Property

###### value

Kind: Property

##### depthai.DeviceBootloader.UsbConfig

Kind: Class

###### maxUsbSpeed: int

Kind: Class Variable

###### pid: int

Kind: Class Variable

###### timeoutMs: int

Kind: Class Variable

###### vid: int

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.DeviceBootloader.NetworkConfig

Kind: Class

###### ipv4: int

Kind: Class Variable

###### ipv4Dns: int

Kind: Class Variable

###### ipv4DnsAlt: int

Kind: Class Variable

###### ipv4Gateway: int

Kind: Class Variable

###### ipv4Mask: int

Kind: Class Variable

###### ipv6: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(4)]

Kind: Class Variable

###### ipv6Dns: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(4)]

Kind: Class Variable

###### ipv6DnsAlt: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(4)]

Kind: Class Variable

###### ipv6Gateway: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(4)]

Kind: Class Variable

###### ipv6Prefix: int

Kind: Class Variable

###### mac: typing.Annotated[list[int], pybind11_stubgen.typing_ext.FixedSize(6)]

Kind: Class Variable

###### staticIpv4: bool

Kind: Class Variable

###### staticIpv6: bool

Kind: Class Variable

###### timeoutMs: int

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.ApplicationInfo

Kind: Class

###### applicationName: str

Kind: Class Variable

###### firmwareVersion: str

Kind: Class Variable

###### hasApplication: bool

Kind: Class Variable

###### __init__(self)

Kind: Method

##### depthai.DeviceBootloader.MemoryInfo

Kind: Class

###### available: bool

Kind: Class Variable

###### info: str

Kind: Class Variable

###### size: int

Kind: Class Variable

###### __init__(self)

Kind: Method

##### createDepthaiApplicationPackage(pipeline: Pipeline, pathToCmd: os.PathLike = ..., compress: bool = False, applicationName: str = '', checkChecksum: bool = False) -> ...: ...

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) -> ...: ...

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(path: os.PathLike, pipeline: Pipeline, pathToCmd: os.PathLike = ..., compress: bool = False, applicationName: str = '', checkChecksum: bool = False)

Kind: Static Method

##### __enter__(self) -> DeviceBootloader: DeviceBootloader

Kind: Method

##### __exit__(self, arg0: typing.Any, arg1: typing.Any, arg2: typing.Any)

Kind: Method

##### __init__(self, devInfo: DeviceInfo, allowFlashingBootloader: bool = False)

Kind: Method

##### bootMemory(self, fw: ..., std: ...)

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(self, progressCallback: typing.Callable [ [ float ], None ], pipeline: Pipeline, compress: bool = False, applicationName: str = '', memory: DeviceBootloader.Memory = ..., checkChecksum: bool = False) -> tuple [ bool, str ]: tuple [ bool, str ]

Kind: Method

##### flashBootHeader(self, memory: DeviceBootloader.Memory, frequency: int = -1, location: int = -1, dummyCycles: int = -1, offset: int = -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(self, progressCallback: typing.Callable [ [ float ], None ], path: os.PathLike = '') -> tuple [ bool, str ]: tuple [ bool, str ]

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: os.PathLike, 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(self, memory: DeviceBootloader.Memory, offset: int, data: ..., std: ..., progressCallback: typing.Callable [ [ float ], None ] = None) -> tuple [ bool, str ]: tuple [ bool, str ]

Kind: Method

##### flashDepthaiApplicationPackage(self, progressCallback: typing.Callable [ [ float ], None ], package: ..., std: ..., memory: DeviceBootloader.Memory = ...) -> tuple [ bool, str ]: tuple [ bool, str ]

Kind: Method

##### flashFastBootHeader(self, memory: DeviceBootloader.Memory, frequency: int = -1, location: int = -1, dummyCycles: int = -1, offset: int = -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: int) -> 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: typing.Callable [ [ float ], None ], path: os.PathLike = '') -> 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

##### 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(self, memory: DeviceBootloader.Memory, offset: int, size: int, filename: str, progressCallback: typing.Callable [ [ float ], None ] = None) -> tuple [ bool, str ]: tuple [ bool, str ]

Kind: Method

#### depthai.CalibrationHandler

Kind: Class

##### fromJson(eepromDataJson: json, validateExtrinsics: bool|None = None) -> CalibrationHandler: CalibrationHandler

Kind: Static Method

Construct a new Calibration Handler object from JSON EepromData.

Parameter ``eepromDataJson``:
    EepromData as JSON

Parameter ``validateCalibration``:
    Enable internal check for extrinsics cycling links or dangling references.

##### __init__(self)

Kind: Method

##### eepromToJson(self) -> json: json

Kind: Method

Get JSON representation of calibration data

Returns:
    JSON structure

##### eepromToJsonFile(self, destPath: os.PathLike) -> 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

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

Kind: Method

Get canonical accelerometer calibration matrix [Q|b].

The linear transform Q is dimensionless. The bias column b is stored in SI units
of [m/s^2].

Returns:
    returns 3x4 matrix in the form [[q00, q01, q02, b0], [q10, q11, q12, b1],
    [q20, q21, q22, b2]]

##### getBaselineDistance(self, cam1: CameraBoardSocket = ..., cam2: CameraBoardSocket = ..., useSpecTranslation: bool = True, unit: LengthUnit = ...) -> float: float

Kind: Method

Get the baseline distance between two specified cameras. By default it will get
the baseline between CameraBoardSocket.RIGHT and CameraBoardSocket.LEFT.

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)

Parameter ``unit``:
    Units of the returned baseline distance (default: centimeters)

Returns:
    baseline distance

##### getCameraExtrinsics(self, srcCamera: CameraBoardSocket, dstCamera: CameraBoardSocket, useSpecTranslation: bool = False, unit: LengthUnit = ...) -> 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 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

Parameter ``unit``:
    Units of the returned translation (default: centimeters)

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(self, cameraId: CameraBoardSocket, resizeWidth: int = -1, resizeHeight: int = -1, topLeftPixelId: Point2f = ..., bottomRightPixelId: Point2f = ..., keepAspectRatio: bool = True) -> list [ list [ float ] ]: list [ list [ float ] ]

Kind: Method

##### getCameraRotationMatrix(self, srcCamera: CameraBoardSocket, dstCamera: CameraBoardSocket) -> list [ list [ float ] ]: list [ list [ float ] ]

Kind: Method

Get the Camera rotation matrix 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 rotation
    vector from the SrcCamera

Returns:
    a 3x3 rotation matrix Matrix representation of rotation matrix \f[
    \text{Rotation Matrix} = \left [ \begin{matrix} r_{00} & r_{01} & r_{02}\\
    r_{10} & r_{11} & r_{12}\\ r_{20} & r_{21} & r_{22}\\ \end{matrix} \right ]
    \f]

##### getCameraToImuExtrinsics(self, cameraId: CameraBoardSocket, useSpecTranslation: bool = False, unit: LengthUnit = ...) -> 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

Parameter ``unit``:
    Units of the returned translation (default: centimeters)

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, unit: LengthUnit = ...) -> 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)

Parameter ``unit``:
    Units of the returned translation (default: centimeters)

Returns:
    a translation vector like [x, y, z]

##### getCameraWithLowestId(self) -> CameraBoardSocket: CameraBoardSocket

Kind: Method

Get the lowest camera socket

Returns:
    the lowest camera socket

##### 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,τx,τy] 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.

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

Kind: Method

Get canonical gyroscope calibration matrix [Q|b].

The linear transform Q is dimensionless. The bias column b is stored in SI units
of [rad/s].

Returns:
    returns 3x4 matrix in the form [[q00, q01, q02, b0], [q10, q11, q12, b1],
    [q20, q21, q22, b2]]

##### getHousingCalibration(self, srcCamera: CameraBoardSocket, housingCS: HousingCoordinateSystem, useSpecTranslation: bool = True, unit: LengthUnit = ...) -> list [ list [ float ] ]: list [ list [ float ] ]

Kind: Method

Get the transformation matrix between a camera and a chosen housing coordinate
system. The returned 4x4 homogeneous transformation matrix maps points from the
camera's coordinate system into the specified housing coordinate system.

The transformation consists of a rotation matrix and translation vector
extracted either from the calibration data or from the board design
(specification) data, depending on the `useSpecTranslation` flag.

Parameter ``srcCamera``:
    Camera whose coordinate frame will be treated as the origin.

Parameter ``housingCS``:
    The housing coordinate system to which the camera transformation is
    requested (e.g. VESA_RIGHT, FRONT_COVER_LEFT, etc.).

Parameter ``useSpecTranslation``:
    If true, uses board-design (spec) translation values. If false, uses
    calibrated translation values.

Parameter ``unit``:
    Units of the returned translation (default: centimeters)

Returns:
    A 4x4 homogeneous transformation matrix.

Matrix representation of the transformation: \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]

##### getImuNoiseParameters(self) -> ImuNoiseParameters: ImuNoiseParameters

Kind: Method

Get complete IMU noise parameters.

Accelerometer noise terms are stored in [m/s^2]-based units. Gyroscope noise
terms are stored in [rad/s]-based units.

Returns:
    returns IMU noise parameters

##### getImuParameters(self) -> ImuCalibrationParams: ImuCalibrationParams

Kind: Method

Get full IMU parameter payload.

Accelerometer calibration bias terms are stored in [m/s^2]. Gyroscope
calibration bias terms are stored in [rad/s].

Returns:
    returns IMU parameters containing noise + calibration matrices

##### getImuToCameraExtrinsics(self, cameraId: CameraBoardSocket, useSpecTranslation: bool = False, unit: LengthUnit = ...) -> 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

Parameter ``unit``:
    Units of the returned translation (default: centimeters)

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.

##### getSourceHeight(self, cameraId: CameraBoardSocket) -> int: int

Kind: Method

Get the source height of the camera from the calibration data.

Parameter ``cameraId``:
    Uses the cameraId to identify which camera source height to return

Returns:
    the source height of the camera from the calibration data.

##### getSourceWidth(self, cameraId: CameraBoardSocket) -> int: int

Kind: Method

Get the source width of the camera from the calibration data.

Parameter ``cameraId``:
    Uses the cameraId to identify which camera source width to return

Returns:
    the source width of the camera from the calibration data.

##### 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

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

Kind: Method

Returns true when calibration payload is supported and contains camera
calibration entries.

This check is not presence-only: it returns true only when `eepromData.version
>= 4` (supported by intrinsics-dependent APIs) and `cameraData` is non-empty.

##### hasCameraCalibration(self, cameraId: CameraBoardSocket) -> bool: bool

Kind: Method

Returns true when calibration is supported and contains data for a specific
camera socket.

This is a presence-plus-version-compatibility check. It requires
`hasCalibrationData()` to be true (currently `eepromData.version >= 4`) and a
matching entry for `cameraId` in `cameraData`.

##### setAccelerometerCalibration(self, calibration: list [ list [ float ] ])

Kind: Method

Set canonical accelerometer calibration [Q|b].

Parameter ``calibration``:
    3x4 matrix in the form [[q00, q01, q02, b0], [q10, q11, q12, b1], [q20, q21,
    q22, b2]]

##### setBoardInfo(self, boardName: str, boardRev: str)

Kind: Method

##### setCameraExtrinsics(self, srcCameraId: CameraBoardSocket, destCameraId: CameraBoardSocket, rotationMatrix: list [ list [ float ] ], translation: list [ float ], specTranslation: list [ float ] = [ 0.0, 0.0, 0.0 ])

Kind: Method

Set the Camera Extrinsics object

Translation values are stored in the default CalibrationHandler length unit:
centimeters (cm).

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, in centimeters
    (cm).

Parameter ``specTranslation``:
    Translation between srcCameraId and destCameraId origins from the design, in
    centimeters (cm).

##### setCameraIntrinsics(self, cameraId: CameraBoardSocket, intrinsics: list [ list [ float ] ], frameSize: Size2f)

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: list [ float ])

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: float)

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

##### setGyroscopeCalibration(self, calibration: list [ list [ float ] ])

Kind: Method

Set canonical gyroscope calibration [Q|b].

Parameter ``calibration``:
    3x4 matrix in the form [[q00, q01, q02, b0], [q10, q11, q12, b1], [q20, q21,
    q22, b2]]

##### setImuExtrinsics(self, destCameraId: CameraBoardSocket, rotationMatrix: list [ list [ float ] ], translation: list [ float ], specTranslation: list [ float ] = [ 0.0, 0.0, 0.0 ])

Kind: Method

Set the Imu to Camera Extrinsics object

Translation values are stored in the default CalibrationHandler length unit:
centimeters (cm).

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, in centimeters (cm).

Parameter ``specTranslation``:
    Translation between IMU and destCameraId origins from the design, in
    centimeters (cm).

##### setImuParameters(self, imuParameters: ImuCalibrationParams)

Kind: Method

Set full IMU parameter payload.

Parameter ``params``:
    noise + accelerometer + gyroscope calibration parameters

##### setLensPosition(self, cameraId: CameraBoardSocket, lensPosition: int)

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: list [ list [ float ] ])

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: list [ list [ float ] ])

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)

##### validateCalibrationHandler(self, throwOnError: bool = True)

Kind: Method

Validate Calibration handler properties and how they are set, so there is no: -
Cycling links - Missing links - Dangling connections

Parameter ``throwOnError``:
    Throw runtime error on failture.

#### depthai.CBACalibrationHandler

Kind: Class

CBACalibrationHandler is a single-camera calibration interface for calibration
data read from a CBA EEPROM.

It preserves the underlying EepromData layout, including the cameraData map, but
camera-specific APIs use CameraBoardSocket::CBA as the logical single-camera
data key without requiring the caller to pass it again.

.. warning::
    Experimental feature. This API might change or be removed in a future
    release.

##### fromJson(eepromDataJson: json, validateExtrinsics: bool|None = None) -> CBACalibrationHandler: CBACalibrationHandler

Kind: Static Method

##### __init__(self)

Kind: Method

##### eepromToJson(self) -> json: json

Kind: Method

Get JSON representation of calibration data

Returns:
    JSON structure

##### eepromToJsonFile(self, destPath: os.PathLike) -> 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

##### getCameraIntrinsics(self, resizeWidth: int = -1, resizeHeight: int = -1, topLeftPixelId: Point2f = ..., bottomRightPixelId: Point2f = ..., keepAspectRatio: bool = True) -> list [ list [ float ] ]: list [ list [ float ] ]

Kind: Method

##### getDefaultIntrinsics(self) -> tuple [ list [ list [ float ] ], int, int ]: tuple [ list [ list [ float ] ], int, int ]

Kind: Method

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

Kind: Method

##### getDistortionModel(self) -> CameraModel: CameraModel

Kind: Method

##### getEepromData(self) -> EepromData: EepromData

Kind: Method

Get the Eeprom Data object

Returns:
    EepromData object which contains the raw calibration data

##### getFov(self, useSpec: bool = True) -> float: float

Kind: Method

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

Kind: Method

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

Kind: Method

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

Kind: Method

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

Kind: Method

Returns true when calibration payload is supported and contains camera
calibration entries.

This check is not presence-only: it returns true only when `eepromData.version
>= 4` (supported by intrinsics-dependent APIs) and `cameraData` is non-empty.

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

Kind: Method

##### setCameraIntrinsics(self, intrinsics: list [ list [ float ] ], frameSize: Size2f)

Kind: Method

##### setCameraType(self, cameraModel: CameraModel)

Kind: Method

##### setDistortionCoefficients(self, distortionCoefficients: list [ float ])

Kind: Method

##### setFov(self, hfov: float)

Kind: Method

##### setLensPosition(self, lensPosition: int)

Kind: Method

##### validateCalibrationHandler(self, throwOnError: bool = True)

Kind: Method

Validate Calibration handler properties and how they are set, so there is no: -
Cycling links - Missing links - Dangling connections

Parameter ``throwOnError``:
    Throw runtime error on failture.

#### depthai.NNModelDescription

Kind: Class

##### fromYamlFile(yamlPath: os.PathLike, modelsPath: os.PathLike = '') -> NNModelDescription: NNModelDescription

Kind: Static Method

Initialize NNModelDescription from yaml file If modelName is a relative path
(e.g. ./yolo.yaml), it is used as is. If modelName is a full path (e.g.
/home/user/models/yolo.yaml), it is used as is. If modelName is a model name
(e.g. yolo) or a model yaml file (e.g. yolo.yaml), the function will use
modelsPath if provided or the DEPTHAI_ZOO_MODELS_PATH environment variable and
use a path made by combining the modelsPath and the model name to the yaml file.
For instance, yolo -> ./depthai_models/yolo.yaml (if modelsPath or
DEPTHAI_ZOO_MODELS_PATH are ./depthai_models)

Parameter ``modelName:``:
    model name or yaml file path (string is implicitly converted to Path)

Parameter ``modelsPath:``:
    Path to the models folder, use environment variable DEPTHAI_ZOO_MODELS_PATH
    if not provided

Returns:
    NNModelDescription

##### __init__(self)

Kind: Method

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

Kind: Method

Convert NNModelDescription to string for printing purposes. This can be used for
debugging.

Returns:
    std::string: String representation

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

Kind: Method

Check if the model description is valid (contains all required fields)

Returns:
    bool: True if the model description is valid, false otherwise

##### saveToYamlFile(self, yamlPath: os.PathLike)

Kind: Method

Save NNModelDescription to yaml file

Parameter ``yamlPath:``:
    Path to yaml file

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

Kind: Method

Convert NNModelDescription to string for printing purposes. This can be used for
debugging.

Returns:
    std::string: String representation

##### compressionLevel

Kind: Property

Compression level = OPTIONAL parameter

##### compressionLevel.setter(self, arg0: str)

Kind: Method

##### model

Kind: Property

Model slug = REQUIRED parameter

##### model.setter(self, arg0: str)

Kind: Method

##### modelPrecisionType

Kind: Property

modelPrecisionType = OPTIONAL parameter

##### modelPrecisionType.setter(self, arg0: str)

Kind: Method

##### optimizationLevel

Kind: Property

Optimization level = OPTIONAL parameter

##### optimizationLevel.setter(self, arg0: str)

Kind: Method

##### platform

Kind: Property

Hardware platform - RVC2, RVC3, RVC4, ... = REQUIRED parameter

##### platform.setter(self, arg0: str)

Kind: Method

##### snpeVersion

Kind: Property

SNPE version = OPTIONAL parameter

##### snpeVersion.setter(self, arg0: str)

Kind: Method

#### depthai.SlugComponents

Kind: Class

##### modelRef: str

Kind: Class Variable

##### modelSlug: str

Kind: Class Variable

##### modelVariantSlug: str

Kind: Class Variable

##### teamName: str

Kind: Class Variable

##### split(slug: str) -> SlugComponents: SlugComponents

Kind: Static Method

##### __init__(self)

Kind: Method

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

Kind: Method

#### depthai.RemoteConnection

Kind: Class

##### __init__(self, address: str = '0.0.0.0', webSocketPort: int = 8765, serveFrontend: bool = True, httpPort: int = 8082)

Kind: Method

Constructs a RemoteConnection instance.

Parameter ``address``:
    The address to bind the connection to.

Parameter ``webSocketPort``:
    The port for WebSocket communication.

Parameter ``serveFrontend``:
    Whether to serve a frontend UI.

Parameter ``httpPort``:
    The port for HTTP communication.

##### addTopic(self, topicName: str, output: Node.Output, group: str = '', useVisualizationIfAvailable: bool = True)

Kind: Method

##### registerBinaryService(self, serviceName: str, callback: typing.Any)

Kind: Method

Registers a binary service with a callback function.

Parameter ``serviceName``:
    The name of the service.

Parameter ``callback``:
    The callback function to handle requests.

##### registerPipeline(self, pipeline: Pipeline)

Kind: Method

Registers a pipeline with the remote connection.

Parameter ``pipeline``:
    The pipeline to register.

##### registerService(self, serviceName: str, callback: typing.Callable [ [ json ], json ])

Kind: Method

Registers a service with a callback function.

Parameter ``serviceName``:
    The name of the service.

Parameter ``callback``:
    The callback function to handle requests.

##### removeTopic(self, topicName: str) -> bool: bool

Kind: Method

Removes a topic from the remote connection.

Parameter ``topicName``:
    The name of the topic to remove. @note After removing a topic any messages
    sent to it will cause an exception to be called on the sender, since this
    closes the queue.

Returns:
    True if the topic was successfully removed, false otherwise.

##### waitKey(self, delay: int) -> int: int

Kind: Method

Waits for a key event.

Parameter ``delayMs``:
    The delay in milliseconds to wait for a key press.

Returns:
    The key code of the pressed key.

#### depthai.FileGroup

Kind: Class

##### __init__(self)

Kind: Method

##### addFile(self, fileTag: str, data: str, mimeType: str)

Kind: Method

##### addImageDetectionsPair(self, fileTag: str|None, imgFrame: ImgFrame, imgDetections: ImgDetections)

Kind: Method

#### depthai.SendSnapCallbackStatus

Kind: Class

Members:

  SUCCESS

  FILE_BATCH_PREPARATION_FAILED

  GROUP_CONTAINS_REJECTED_FILES

  FILE_UPLOAD_FAILED

  SEND_EVENT_FAILED

  EVENT_REJECTED

##### EVENT_REJECTED: typing.ClassVar[SendSnapCallbackStatus]

Kind: Class Variable

##### FILE_BATCH_PREPARATION_FAILED: typing.ClassVar[SendSnapCallbackStatus]

Kind: Class Variable

##### FILE_UPLOAD_FAILED: typing.ClassVar[SendSnapCallbackStatus]

Kind: Class Variable

##### GROUP_CONTAINS_REJECTED_FILES: typing.ClassVar[SendSnapCallbackStatus]

Kind: Class Variable

##### SEND_EVENT_FAILED: typing.ClassVar[SendSnapCallbackStatus]

Kind: Class Variable

##### SUCCESS: typing.ClassVar[SendSnapCallbackStatus]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, SendSnapCallbackStatus]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### depthai.SendSnapCallbackResult

Kind: Class

##### __init__(self)

Kind: Method

##### snapHubID

Kind: Property

##### snapLocalID

Kind: Property

##### snapName

Kind: Property

##### snapPayload

Kind: Property

##### snapTimestamp

Kind: Property

##### uploadStatus

Kind: Property

#### depthai.EventsManager

Kind: Class

##### __init__(self, uploadCachedOnStart: bool = False)

Kind: Method

##### sendEvent(self, name: str, tags: list [ str ] = [ ], extras: dict [ str, str ] = {}, associateFiles: list [ str ] = [ ]) -> str|None: str|None

Kind: Method

Send an event to the events service

Parameter ``name``:
    Name of the event

Parameter ``tags``:
    List of tags to send

Parameter ``extras``:
    Extra data to send

Parameter ``associateFiles``:
    List of associate files with ids

Returns:
    LocalID of the sent Event

##### sendSnap(self, name: str, fileGroup: FileGroup = None, tags: list [ str ] = [ ], extras: dict [ str, str ] = {}, successCallback: typing.Callable [ [ SendSnapCallbackResult ], None ] = None, failureCallback: typing.Callable [ [ SendSnapCallbackResult ], None ] = None) -> str|None: str|None

Kind: Method

##### setCacheDir(self, cacheDir: str)

Kind: Method

Set the cache directory for storing cached data. By default, the cache directory
is set to /internal/private

Parameter ``cacheDir``:
    Cache directory

Returns:
    void

##### setCacheIfCannotSend(self, cacheIfCannotUpload: bool)

Kind: Method

Set whether to cache data if it cannot be sent. By default, cacheIfCannotSend is
set to false

Parameter ``cacheIfCannotSend``:
    bool

Returns:
    void

##### setLogResponse(self, logResponse: bool)

Kind: Method

Set whether to log the responses from the server. By default, logResponse is set
to false

Parameter ``logResponse``:
    bool

Returns:
    void

##### setVerifySsl(self, verifySsl: bool)

Kind: Method

Set whether to verify the SSL certificate. By default, verifySsl is set to false

Parameter ``verifySsl``:
    bool

Returns:
    void

##### waitForPendingUploads(self, timeoutMs: int = 0) -> bool: bool

Kind: Method

Wait for pending snaps/events to be processed by the background upload thread

Parameter ``timeoutMs``:
    Timeout in milliseconds. 0 means wait until uploads are finished, connection
    is dropped, or manager is stopped

Returns:
    true if the pending data was uploaded before timeout, false if not - either
    because of timeout, dropped connection, or shutdown

#### depthai.ImageFiltersPresetMode

Kind: Class

Members:

  TOF_LOW_RANGE

  TOF_MID_RANGE

  TOF_HIGH_RANGE

##### TOF_HIGH_RANGE: typing.ClassVar[ImageFiltersPresetMode]

Kind: Class Variable

##### TOF_LOW_RANGE: typing.ClassVar[ImageFiltersPresetMode]

Kind: Class Variable

##### TOF_MID_RANGE: typing.ClassVar[ImageFiltersPresetMode]

Kind: Class Variable

##### __members__: typing.ClassVar[dict[str, ImageFiltersPresetMode]]

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: int)

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: int)

Kind: Method

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

Kind: Method

##### name

Kind: Property

##### value

Kind: Property

#### __init_subclass__(cls)

Kind: Function

#### createSubnode(self, class_, args, kwargs)

Kind: Function

#### downloadModelsFromZoo(path: os.PathLike, cacheDirectory: os.PathLike = '', apiKey: str = '', progressFormat: str = 'none') -> bool: bool

Kind: Function

Helper function allowing one to download all models specified in yaml files in
the given path and store them in the cache directory

Parameter ``path:``:
    Path to the directory containing yaml files

Parameter ``cacheDirectory:``:
    Cache directory where the cached models are stored, default is "". If
    cacheDirectory is set to "", this function checks the DEPTHAI_ZOO_CACHE_PATH
    environment variable and uses that if set, otherwise the default is used
    (see getDefaultCachePath).

Parameter ``apiKey:``:
    API key for the model zoo, default is "". If apiKey is set to "", this
    function checks the DEPTHAI_ZOO_API_KEY environment variable and uses that
    if set. Otherwise, no API key is used.

Parameter ``progressFormat:``:
    Format to use for progress output (possible values: pretty, json, none),
    default is "pretty"

Returns:
    bool: True if all models were downloaded successfully, false otherwise

#### getModelFromZoo(modelDescription: NNModelDescription, useCached: bool = True, cacheDirectory: os.PathLike = '', apiKey: str = '', progressFormat: str = 'none') -> os.PathLike: os.PathLike

Kind: Function

Get model from model zoo

Parameter ``modelDescription:``:
    Model description

Parameter ``useCached:``:
    Use cached model if present, default is true

Parameter ``cacheDirectory:``:
    Cache directory where the cached models are stored, default is "". If
    cacheDirectory is set to "", this function checks the DEPTHAI_ZOO_CACHE_PATH
    environment variable and uses that if set, otherwise the default value is
    used (see getDefaultCachePath).

Parameter ``apiKey:``:
    API key for the model zoo, default is "". If apiKey is set to "", this
    function checks the DEPTHAI_ZOO_API_KEY environment variable and uses that
    if set. Otherwise, no API key is used.

Parameter ``progressFormat:``:
    Format to use for progress output (possible values: pretty, json, none),
    default is "pretty"

Returns:
    std::filesystem::path: Path to the model in cache

#### isDatatypeSubclassOf(arg0: DatatypeEnum, arg1: DatatypeEnum) -> bool: bool

Kind: Function

#### platform2string(arg0: Platform) -> str: str

Kind: Function

Convert Platform enum to string

Parameter ``platform``:
    Platform enum

Returns:
    std::string String representation of Platform

#### readModelType(modelPath: os.PathLike) -> ModelType: ModelType

Kind: Function

Read model type from model path

Parameter ``modelPath``:
    Path to model

Returns:
    ModelType

#### string2platform(arg0: str) -> Platform: Platform

Kind: Function

Convert string to Platform enum

Parameter ``platform``:
    String representation of Platform

Returns:
    Platform Platform enum

#### LINE_LIST: PointsAnnotationType

Kind: Variable

#### LINE_LOOP: PointsAnnotationType

Kind: Variable

#### LINE_STRIP: PointsAnnotationType

Kind: Variable

#### POINTS: PointsAnnotationType

Kind: Variable

#### UNKNOWN: PointsAnnotationType

Kind: Variable

#### 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_BOOTED_NON_EXCLUSIVE: 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_GATE: XLinkDeviceState

Kind: Variable

#### X_LINK_GATE_BOOTED: XLinkDeviceState

Kind: Variable

#### X_LINK_GATE_SETUP: 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_LOCAL_SHDMEM: 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_RVC3: XLinkPlatform

Kind: Variable

#### X_LINK_RVC4: XLinkPlatform

Kind: Variable

#### X_LINK_SUCCESS: XLinkError_t

Kind: Variable

#### X_LINK_TCP_IP: XLinkProtocol

Kind: Variable

#### X_LINK_TCP_IP_OR_LOCAL_SHDMEM: 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_EP: 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_rvc3_version__: str

Kind: Variable

#### __device_rvc4_version__: str

Kind: Variable

#### __device_version__: str

Kind: Variable

#### __version__: str

Kind: Variable
