- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. I would like to use SR300 on Unity and Processing at 60 fps.
However, at 720p, it couldn't capture any images on both.
Then, I face the same problem mentioned on the following post:
Furthermore, when I used Capture.list() with the video library of processing, there is not 720p and 60 fps just like above-mentioned post.
The result of Capture.list() is like following:
>22:name=Intel(R) RealSense(TM) Camera SR300 Virtual Driver,size=960x540,fps=60
>23:name=Intel(R) RealSense(TM) Camera SR300 Virtual Driver,size=1280x720,fps=30
>24:name=Intel(R) RealSense(TM) Camera SR300 Virtual Driver,size=1920x1080,fps=30
Is there a SR300 which can't obtain images at 720p and 60 fps or are there any requirements?
Best regards
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This may be useful to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your quick reply!
However the problem was not solved.
What I did are the following:
1. change the unity settings and add "Application.targetFrameRate = 60" with an empty GameObject.
2. confirm the driver of SR300 is the latest
3. confirm the USB driver of my laptop is the latest
The spec of my laptop:
XPS13 MLK 9360
7th Gen i7-7560U
16GB LPDDR3
SSD 512GB
Windows 10 Pro
What else can I do?
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can I please confirm that you turned the VSync option in Unity off, as described in the link provided above?. targetFrameRate apparently does not work if VSync is turned on.
Another approach to a targetFrameRate script in an empty GameObject that somebody used was to set it to -1 instead of 60. They claimed that doing so completely removed frame-rate capping in Unity.
Application.targetFrameRate = -1;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply.
>Can I please confirm that you turned the VSync option in Unity off, as described in the link provided above?
I set the VSync like the following picture.
Then, the GameObject in this picture attached the script has "Application.targetFrameRate = -1;" in its Awake().
However, SR300 couldn't obtain no image if the parameter was set at 720p and 60 fps.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I managed to find a further discussion on the RealSense forums about this subject by searching for 1280x720 instead of 720p. Somebody else had the same problem in May 2017 with not being able to achieve 60 fps in 720p mode with Unity. Intel support staff member Yermi investigated and could not get 720p mode to work either.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page