Software Archive
Read-only legacy content
17061 Discussions

Performance

Jovian
Beginner
1,488 Views

Hi,

I am getting 15fps when I run most of the samples and when I use the face detection in my Unity project. When trying the capture viewer it seems depth and IR streams run at ~55fps while any colour stream runs at 15fps, no matter how small I set the resolution.

Anyone else experience this? I never have any trouble with the old cameras and sdks.

Intel Core i5-4670k CPU @ 3.4GHz, 8GB RAM, 64 bit, x64-based processor, GeForce GTX 760

Thanks,

 

Matty

 

0 Kudos
8 Replies
Xusheng_L_Intel
Employee
1,488 Views

You have pretty good machine. Have you tried our face sample @C:\Program Files (x86)\Intel\RSSDK\bin\win32? Please let me know if you still get low FPS with this sample. Thanks!

0 Kudos
Jovian
Beginner
1,488 Views

face_tracking.exe and face_tracking.cs.exe both win32 and x64 run at 15-16 frames per second.

emotion_viewer.exe is the same as above but hands_viewer.exe is much more inconsistent, sometimes hitting 55fps then dropping to around 35-40.

I will keep working on the presumption this is not normal. I will also try a few things today, re-installing and turning off Anti-virus and trying it on my ultrabook. If you can think of anything else please let me know, thanks.

Matty

0 Kudos
Jovian
Beginner
1,488 Views

Fixed it. I turned off my Norton Antivirus and everything is running as it should be, much more impressive results too, good job Real Sense people :)

Strange thing is that I turned Norton back on and it's still working great, not going to complain about that though ;)

0 Kudos
Jovian
Beginner
1,488 Views

It's started happening again and turning anti-virus off is no longer helping. I suppose it could have been a coincidence before and it worked for an unrelated reason, I'm unsure at this point. I will try a few other things :( 

If it turns out to be a possible hardware fault, is there a procedure in place for getting a replacement? Although I will try it on another computer before I start thinking about hardware issues.

 

 

 

0 Kudos
Davy_L_
Beginner
1,488 Views

I think I'm having the same issue. Everything runs at around 15fps. My system: i7-4770 @3.40 GHz, GTX660.

What's strange is that the CPU load never even reaches 5%, with no single core over 50%. When running inside Unity, disabling the Tracking Action script at runtime immediately lets the FPS go to 60.

At the current performance it's practically impossible to develop anything as it also seems to affect detection/tracking performance.

0 Kudos
Colleen_C_Intel
Employee
1,488 Views

@DavyL- within Unity, make sure your AcquireFrame setting isn't slowing you down. It should be AcquireFrame (false,0) since in Unity, it is a blocking call which locks the frame rate to RS and is used to wait until any frame data is available. 
See https://software.intel.com/en-us/blogs/2014/12/06/tips-and-tricks-to-use-unity-with-the-intel-realsense-sdk-2014

0 Kudos
Davy_L_
Beginner
1,488 Views

@ColleenC: Thanks!

That solved it for me, but I had to change it in the RSUnityToolkit source itself:

SenseToolkitManager.cs: 576 From:

_sts = SenseManager.AcquireFrame(true, 100);

To:

_sts = SenseManager.AcquireFrame(false, 0);

 

0 Kudos
Jovian
Beginner
1,488 Views

This looks promising but I can't compile SenseToolkitManager.cs

private List<Func<Void>> DisposeFunctions = new List<Func<Void>>();

I get "System.Void cannot be used from C#" How can I fix this? I have tried targeting other NET frameworks but does not help. I am mainly a C++ programmer so I am not familiar with these errors. Thanks.  


 

0 Kudos
Reply