[英]Sony ToFAR: How to change the default front ToF camera resolution to 640x480
I am developing with ToFAR, recently released by sony.我正在使用索尼最近发布的 ToFAR 进行开发。 https://developer.sony.com/us/develop/tof-ar/download
https://developer.sony.com/us/develop/tof-ar/download
I would like to change the default setting for the resolution of the ToF front camera at startup.我想在启动时更改 ToF 前置摄像头分辨率的默认设置。 I have tried several things and have yet to solve the problem.
我已经尝试了几件事,但还没有解决问题。
The default front camera resolution is 640x360, but I want to change it to 640x480.默认前置摄像头分辨率为640x360,但我想将其更改为640x480。
What I have tried我试过的
"defaultDepthResolutionWidth": "640",
"defaultDepthResolutionWidth": "640",
"defaultDepthResolutionHeight": "480" // default is 360"defaultDepthResolutionHeight": "480" // 默认为 360
enter image description here在此处输入图像描述
enter image description here在此处输入图像描述
Thank you谢谢
Thank you for your inquiry about ToF AR.感谢您咨询 ToF AR。
The current version of ToF AR does not support the default configuration change of the front camera. ToF AR当前版本不支持前置摄像头默认配置更改。
Set ToFARTofManager.autoStart to false, specify the desired Configuration with ToFARTofManager.StartStream(CameraConfigurationProperty,Voolean)from the script, and start Stream.将 ToFARTofManager.autoStart 设置为 false,从脚本中使用 ToFARTofManager.StartStream(CameraConfigurationProperty,Voolean) 指定所需的配置,然后启动 Stream。
For details, please refer to the ToF AR reference.有关详细信息,请参阅 ToF AR 参考。
https://developer.sony.com/develop/tof-ar/development-guides/reference-api-en/reference/api/TofAr.V0.Tof.TofArTofManager.html#TofAr_V0_Tof_TofArTofManager_autoStart https://developer.sony.com/develop/tof-ar/development-guides/reference-api-en/reference/api/TofAr.V0.Tof.TofArTofManager.html#TofAr_V0_Tof_TofArTofManager_autoStart
https://developer.sony.com/develop/tof-ar/development-guides/reference-api-en/reference/api/TofAr.V0.Tof.TofArTofManager.html#TofAr_V0_Tof_TofArTofManager_StartStream_TofAr_V0_Tof_CameraConfigurationProperty_System_Boolean _ https://developer.sony.com/develop/tof-ar/development-guides/reference-api-en/reference/api/TofAr.V0.Tof.TofArTofManager.html#TofAr_V0_Tof_TofArTofManager_StartStream_TofAr_V0_Tof_CameraConfigurationProperty_System_Boolean_
Yours truly,敬上,
ToF AR support Team ToF AR支持团队
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.