Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Is WebcamTexture the same resolution as GUITexture?

$
0
0
I've followed the examples of using a WebCamTexture to stream my webcam to a Rectangular Game Object.

I'm also using GUI.Box to highlight areas of the WebCamTexture that I'd like to process in OpenCV.

However, it seems like the pixel coordinates of the WebCamTexture are slightly different than the pixel coordinates of the GUI box.

Is there a way to make the resolution of the GUI texture the same as the WebCamTexture?

Thanks.
-Tony

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>