USB SCP overflow
I saw the solution to my question on this site, but I don't understand it, so can you explain it easily?
When you first turn on the laptop and run it, it works well, but after about an hour, you get an error and it doesn't work.
-
Basically, the USB port cannot keep up with processing the volume of data that is arriving at it. One reason this may occur is because the processing of the computer is slowing down, which could occur because the computer's memory is being increasingly used up over time. This is called a "memory leak".
If memory is not correctly released for re-use by a program then the amount of available memory becomes lower and lower as time progresses, until the program no longer has sufficient resources to run properly, and becomes unstable or crashes and exits.
You can tell if you are experiencing a memory leak by monitoring the computer's memory usage over time and observe whether the available memory is going down further and further.
-
My next suggestion would be to monitor the temperature of the camera over time to ensure that it is not becoming too hot. You can monitor the camera circuit board (ASIC) and the Projector temperatures in the "Controls" section of the Viewer's options side-panel. If the camera becomes excessively hot, a simple touch of the camera's casing may confirm this.
I would expect the ASIC operating temperature to be around 28 to 32 degrees when starting the camera from a cold state. If the ASIC temperature becomes over 42 degrees C then technical problems may start manifesting.
Factors that can make camera temperature rise can include (a) environmental factors such as weather heating the casing, (b) using multiple camera streams simultaneously, and (c) a glitch on the USB port or a bad USB cable.
-
I note that your camera is being detected as being on a USB 2 connection instead of USB 3 (which is indicated by the 2.1 beside the camera's name at the top of the options side-panel). RealSense cameras have more limited capabilities on USB 2 due to the reduced USB bandwidth on such connections, as described by the link below.
https://www.intelrealsense.com/usb2-support-for-intel-realsense-technology/
Sometimes a camera may be plugged into a USB 3 port (which enables access to the camera's full capabilities) but the camera is mis-identified as being on a USB 2 connection. Can you confirm please that the camera is plugged into a USB 3 port on your laptop?
-
You should use a USB 3 cable with a USB 3 port if you want USB 3 performance, yes. Otherwise a USB3-supporting device connected to a USB 3 port with a USB 2 cable will likely be limited to USB 2 speed.
https://www.howtogeek.com/222400/do-usb-3.0-connections-require-usb-3.0-cables/
-
The link below describes where to find it. But it was used with the 2016 version of the RealSense SDK for Windows, not the current RealSense SDK 2.0 (librealsense).
https://github.com/IntelRealSense/librealsense/issues/3398
If you are using librealsense, the link below should be more useful for setting up your own project and linking dependencies:
https://github.com/IntelRealSense/librealsense/issues/4277
It describes how you can find a prop file at the folder location C:\Program Files (x86)\Intel RealSense SDK 2.0\intel.realsense.props
-
Whenever "pxc" is involved, it usually refers to the old 2016 SDK and not the modern one. They are completely incompatible with each other, unfortunately and have totally different programming languages and files. You must be using the modern RealSense SDK 2.0, as you showed an image of the RealSense Viewer program earlier that is only in SDK 2.0,
-
I hope that the link will be useful for getting started with opening RealSense SDK 2.0 example projects in Visual Studio.
The Unity page for SDK 2.0 is here:
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/unity
-
There are a lot of example programs at the link below:
https://github.com/IntelRealSense/librealsense/tree/master/examples
If you are on Windows and have installed the RealSense SDK 2.0 software, you can find a lot of the examples in a pre-made form that can be run right away by double-leftclicking on them. They are located in this SDK folder location:
C: > Program Files (x86) > Intel RealSense SDK 2.0 > Tools
Hand tracking examples are hard to find. As an introduction to the subject, you could start off with the free 30 day trial version of Cubemos Skeleton Tracking SDK. It is a very good introduction to body tracking.
https://www.intelrealsense.com/skeleton-tracking/
For hand tracking and gesture recognition, the commercial software Nuitrack SDK also has a trial version. Instead of a 30 day trial, it limits use to 3 minutes at a time. It may therefore be a good option if you need to use the program for more than 30 days. It also has an affordable subscription rate of $7.99 a month for the full time-unrestricted version.
If you would like to learn advanced hand and body tracking with RealSense, Intel has a free tutorial video on the subject here:
-
Are you trying to import into your Unity project the RealSense Unity package for the RealSense SDK 2.0 please?
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/unity
-
If you need to integrate RealSense hand gesture recognition into Unity then the commercial program Nuitrack SDK is likely to be your best option. It has a subscription fee of $7.99 a month or $39.99 a year but has a free trial version where it can be used for up to three minutes at a time.
Nuitrack's accompanying free example pack on the Unity Asset Store has a gesture recognition tutorial project called Interactive Multi-Touch Gallery
https://assetstore.unity.com/packages/templates/packs/nuitrack-skeleton-tracking-127675
-
The Cubemos Skeleton Tracking SDK can also be integrated with Unity and has a 30 day free trial and "body gesture" recognition. As far as I know it does not have hand gesture recognition though.
Please sign in to leave a comment.
Comments
30 comments