Change D435i frame size/resolution with Unity asset
Hi,
I fail to increase the image width and heigth in the RsDevice script provided with the Unity wrapper. I have tried to modify the public parameters and also the color RsVideoStreamRequest in the RsDevice script but a timout or an exception is always thrown.
It is working fine in the standalone Intel RealSense Viewer, i try to set the same profiles like 1280x720@15fps but nothing except the default 640x480@30fps ever worked in Unity.
Thank you for your help !
-
Hi Puechjg May I confirm please if you are changing the resolution before you click the 'play' triangle to run the program, since it is not possible to change the resolution after the program has started running.
If you are able to change the settings, could you try setting the FPS to '6' when using 1280x720 resolution. This will help to confirm whether or not the camera is being mis-detected as being on a USB 2 connection instead of USB 3 in Unity, since the supported resolution / FPS modes will be more limited when the camera is in USB 2 mode.
-
Thank you very much for your clear and instant answer. It works with 1280x720@6fps so it fits the requirements of my application.
Is there a documentation with all allowed resolution/fps profiles for differents USB standards ? Our clients can have any setup so it will help us to reach the best performance.
I thank you again for your help ! -
You are very welcome!
Pages 70-77 of the current edition of the data sheet document for the 400 Series cameras list all supported resolution and FPS combinations on USB 2 and USB 3 for particular 400 Series models
https://dev.intelrealsense.com/docs/intel-realsense-d400-series-product-family-datasheet
Please sign in to leave a comment.
Comments
4 comments