Items with no label
3338 ディスカッション

Has anyone tried using align in the C# examples? It works for a few frames and crashes with timeout. Define an Align object in the initialization and change the WaitForFrames() to be alignDepth.Process(pipeline.WaitForFrames())

BDavi10
ビギナー
2,937件の閲覧回数
 
0 件の賞賛
2 返答(返信)
MartyG
名誉コントリビューター III
1,662件の閲覧回数

A few people in the past have had crash problems with Align using C# in RealSense SDK 2.0. The most recent case was a month ago.

 

https://github.com/IntelRealSense/librealsense/issues/2734

BDavi10
ビギナー
1,662件の閲覧回数

I posted this at the other post on Align. Not sure if you saw it.

 

The support for aligning depth and color under C# is broken. It works fine in C++. If you got something working with C#, consider yourself lucky. I have tried several different ways with 415, 435, and 435i cameras. The minimalist approach to recreate the problem: just put an Align object in any of the C# examples and change the WaitForFrames() in the main loop to be align_to.Process(pipeline.WaitForFrames()). Don't even bother trying to use the frames. It will explode memory use and then time out.

Here is my hardware configuration (the newest one):

Using device 0, an Intel RealSense D435I

Serial number: 838212072924

Firmware version: 05.10.03.00

I downloaded and rebuilt the latest librealsense this morning to make sure this isn't an old problem. I configured librealsense with C# bindings and OpenCV. Defaults everywhere else.

I would like to stick with C# so I would appreciate it a lot if this can be fixed.

Bob Davies

BTW: there are some other easily-avoided problems:

  1. why does librealsense only work in 64-bit? It probably should work in 32-bit as well. I don't mind but I was stumped when I first tried a 32-bit application.
  2. the OpenCV examples will not compile with the latest version of OpenCV. Simple changes. I can give them to you if you need.

 

返信