此页面由 AI 自动翻译。查看英文原版
最后更新

本页目录

  • 性能
  • 如何放置
  • 输入和输出
  • 功能示例
  • 配置
  • 参考
Claude CodeCodexCursor
Luxonis 智能体工具包为你常用的编程智能体加载 Luxonis 上下文与技能,更快地基于 OAK 开发应用。
安装工具包

NeuralAssistedStereo

最后更新
Supported on:RVC4
NeuralAssistedStereo 是一个复合节点,它结合了 NeuralDepth 和 StereoDepth,使用神经辅助纹理生成融合的深度输出。更多信息请参阅 神经辅助立体视觉博客文章。

性能

有关详细的 FPS 和延迟基准,请参阅 深度概述 – 神经辅助立体视觉性能。

如何放置

Python

Python
1pipeline = dai.Pipeline()
2
3nas = pipeline.create(dai.node.NeuralAssistedStereo)
4nas.build(left_output, right_output, neuralModel=dai.DeviceModelZoo.NEURAL_DEPTH_NANO)

C++

C++
1dai::Pipeline pipeline;
2
3auto nas = pipeline.create<dai::node::NeuralAssistedStereo>();
4nas->build(*leftOutput, *rightOutput, dai::DeviceModelZoo.NEURAL_DEPTH_NANO);

输入和输出

功能示例

配置

使用 NeuralAssistedStereo,您可以配置使用的神经网络模型。请参阅 模型。 默认模型是 NEURAL_DEPTH_NANO。使用其他模型是一个实验性功能,仍在测试中,因此可能会出现一些意外行为。

参考

class

dai::node::NeuralAssistedStereo

#include NeuralAssistedStereo.hpp
using
Input = Node::Input
using
Output = Node::Output
variable
Subnode< node::Rectification > rectification
variable
Subnode< node::NeuralDepth > neuralDepth
variable
variable
Subnode< node::StereoDepth > stereoDepth
variable
Input & left
variable
Input & right
variable
Output & rectifiedLeft
variable
Output & rectifiedRight
variable
Output & vppLeft
variable
Output & vppRight
variable
Output & neuralDisparity
variable
Output & neuralConfidence
variable
Input & inputVppConfig
variable
Input & inputStereoConfig
variable
Input & inputNeuralConfig
variable
Output & depth
variable
Output & disparity
function
~NeuralAssistedStereo()
function
NeuralAssistedStereo(const std::shared_ptr< Device > & device)
function
std::shared_ptr< NeuralAssistedStereo > build(Output & leftInput, Output & rightInput, DeviceModelZoo neuralModel, bool rectifyImages)