Log in or register to post comments

[Solved] Webcam Texture Resolution

February 27, 2018 - 3:41am #1

Hello,

I'm using CameraDevice to get the image from the Webcam and make to CV on it. My problem is the resolution which is 480p but my Webcam is 1080p. Is there a way change the resolution of the camera?

PS: I know that the resolution will be different once i build the project but i need a better resolution on Unity Editor to make my test.

Thank you.

Webcam Texture Resolution

February 28, 2018 - 8:06am #5

I assumed the XML was in the unity project but, it's in the Unity installation. Work great, thank you.

btw the path for windows is C:\Program Files\Unity\Editor\Data\PlaybackEngines\VuforiaSupport for standard installation.

Webcam Texture Resolution

February 28, 2018 - 7:27am #4

Have you tried editing the webcam profiles XML?  This will effect resoltuion of the webcam in the Unity editor.  On mac it's located /Applications/Unity/PlaybackEngines/VuforiaReources.  I assume it's in a similar place on Windows.  

As far as resoltuion on device, Camera Device Mode is all you got.  For iOS we should see a bump to 1080p soon with a Vuforia update since ARKit now supports it.



 

Webcam Texture Resolution

February 28, 2018 - 12:16am #3

Thx but it's only working on build and you get a resolution of 720p (my phone could do better). It doesn't make any difference in Unity Editor.

Webcam Texture Resolution

February 27, 2018 - 4:30am #2

I'm not 100% sure, but maybe changing "Camera Device Mode" to "MODE_OPTIMIZE_QUALITY" in the Vuforia settings will do the trick?

Log in or register to post comments