Software Archive
Read-only legacy content
17061 Discussions

simple c# hello world sample?

Vlad_C_
Beginner
956 Views

Hello, I have been looking for hours for a simple hello world c# example. All I want to do is have a depth stream shown. All of the other sample applications are so complicated it would take hours to strip them out of all the unneeded code. 

I followed this tutorial to start an application from scratch but compiling it is giving me 25 errors. 

https://software.intel.com/en-us/articles/using-the-intel-realsense-sdk-to-create-hello-world-project

Why is there no simple hello world demo in the samples?!

0 Kudos
5 Replies
Colleen_C_Intel
Employee
956 Views

Stay tuned. One's in the works, waiting for clearance......

0 Kudos
Vlad_C_
Beginner
956 Views

Colleen Culbertson (Intel) wrote:

Stay tuned. One's in the works, waiting for clearance......

Thanks for the reply.

I  have managed to get the demo code working but only from color stream.

I am struggling in getting the raw depth value out of the depth stream and converting that to a bitmap.

  sample.color.AcquireAccess(PXCMImage.Access.ACCESS_READ, PXCMImage.PixelFormat.PIXEL_FORMAT_RGB24, out colorData);
  colorBitmap = colorData.ToBitmap(0, sample.color.info.width, sample.color.info.height);

0 Kudos
Vlad_C_
Beginner
956 Views

Still pulling my hair over this issue. Can someone please tell me how to extract x,y,z data from depth coordinates?
As a beginner the SDK documentation is so convoluted its impossible to make any sense out of it. The sample code included are just snippets and include variables that are not defined in the sample code.

What I am looking for is probably done in a few lines of code, but I cant find anything that I can use to help me get to this point. 

0 Kudos
Vidyasagar_MSC
Innovator
956 Views

Hope this documentation will help you or guide you in the right direction

 https://software.intel.com/en-us/taxonomy/term/20803

0 Kudos
AndreCarlucci
Beginner
956 Views
0 Kudos
Reply