Software Archive
Read-only legacy content
17061 Discussions

How to achieve IR Rawstream data at 200 FPS via SDK in C#

Dollaporn_A_1
Beginner
339 Views

I use SR300 camera model. I try to get IR Rawstream data at 200 FPS via SDK in C#. In SDK, I can access only Y16 640*480*30 or Y16 640*480*60. However, I found that librealsense has a capability to achieve Y16 640*480*200. How can I get this information? Do you have any suggestion about the solution?

 

Thank you for your kindness

0 Kudos
2 Replies
Johannes_V_
New Contributor I
339 Views

How fast is your current implementation? Can you give code where you measure this?

0 Kudos
Dollaporn_A_1
Beginner
339 Views

Thank you for your reply. Johannes.

Now, I use 60FPS that I use SDK of realsense (DF_Rawstreams.cs).

The code that it provides:

public Timer()
        {
            QueryPerformanceFrequency(out freq);
            fps = 0;
            QueryPerformanceCounter(out last);
        }

        public void Tick(string text)
        {
            long now;
            QueryPerformanceCounter(out now);
            fps++;
            if (now - last > freq) // update every second
            {
                last = now;
                EventHandler<UpdateStatusEventArgs> handler=UpdateStatus;
                if (handler!=null) handler(this, new UpdateStatusEventArgs(text+" FPS=" + fps));
                fps = 0;
            }
        }

 

Thank you for helping me

0 Kudos
Reply