StereoComponent =============== :class:`StereoComponent ` abstracts `StereoDepth `__ node, its configuration, filtering (eg. `WLS filter `__), and disparity/depth viewing. Usage ##### .. code-block:: python from depthai_sdk import OakCamera with OakCamera() as oak: # Create stereo component, initialize left/right MonoCamera nodes for 800P and 60FPS stereo = oak.create_stereo('800p', fps=60) # Visualize normalized and colorized disparity stream oak.visualize(stereo.out.depth) # Start the pipeline, continuously poll oak.start(blocking=True) Component outputs ################# - :attr:`main ` - Default output. Uses :attr:`depth `. - :attr:`disparity ` - Streams `StereoDepth's `__ disparity frames to the host. When visualized, these get normalized and colorized. Produces :ref:`DepthPacket`. - :attr:`depth ` - Streams `StereoDepth's `__ depth frames to the host. When visualized, depth gets converted to disparity (for nicer visualization), normalized and colorized. Produces :ref:`DepthPacket`. - :attr:`rectified_left ` - Streams `StereoDepth's `__ rectified left frames to the host. - :attr:`rectified_right ` - Streams `StereoDepth's `__ rectified right frames to the host. - :attr:`encoded ` - Provides an encoded version of :attr:`disparity ` stream. Reference ######### .. autoclass:: depthai_sdk.components.StereoComponent :members: :undoc-members: