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

本页目录

  • 如何放置
  • 输入和输出
  • 功能示例
  • 配置
  • 参考

NeuralAssistedStereo

Supported on:RVC4
NeuralAssistedStereo 是一个复合节点,它结合了 NeuralDepthStereoDepth,使用神经辅助纹理生成融合的深度输出。有关更多信息,请参阅 Neural Assisted Stereo 博客文章

如何放置

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
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)
enum

enum