depthai-core icon indicating copy to clipboard operation
depthai-core copied to clipboard

[BUG] Pipeline crash when undistorting color image using Camera Node

Open borongyuan opened this issue 7 months ago • 0 comments

Check if issue already exists

  • I mentioned it in #948 but now it becomes more serious

Describe the bug When doing various computer vision tasks, I undistort all camera images, no matter what their FOV is. StereoDepth Node performs undistortion and rectification on stereo images. For color image, I have been using Generic Camera Node, as suggested by @saching13 in https://github.com/introlab/rtabmap_ros/issues/1045. When using depthai-core v2.24, the Camera Node will automatically undistort image with a wide FOV, but for image with a standard FOV, I need to setMeshSource(dai::CameraProperties::WarpMeshSource::CALIBRATION) manually. The bug is that when the StereoDepth alignment is set to dai::CameraBoardSocket::CAM_A and the output of the Camera Node is connected to any neural network, the pipeline will crash. [19443010A106A22E00] [1.5] [1.444] [system] [critical] Fatal error. Please report to developers. Log: 'ImgPreproc' '562' This has previously only affected one of the features I was working on, and I've been waiting for it to be fixed. But when I upgraded to depthai-core v2.26, it was not only unfixed, but became more serious! Now even without using NeuralNetwork Node, the pipeline will crash as long as undistortion is enabled in Camera Node and the alignment of StereoNode is set to dai::CameraBoardSocket::CAM_A. [1844301091AD870E00] [1.3] [1.248] [system] [critical] Fatal error. Please report to developers. Log: 'ImgPreproc' '582' I really don't understand how you guys create more and more bugs and make them more and more serious.

borongyuan avatar Jul 04 '24 05:07 borongyuan