当计算机的摄像头具有640x480的分辨率而电话的分辨率为480x640时,如何使用图像处理方法
if you just want the dimensions of the video, the videoWidth and videoHeight properties of the HTML video element allow querying that.
https://webrtc.github.io/samples/src/content/getusermedia/canvas/ shows an example including how to draw the current video content onto a canvas element.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.