schmich / instascan

HTML5 QR code scanner using your webcam
https://schmich.github.io/instascan/
MIT License
2.97k stars 868 forks source link

How to retrieve the actual media rendered size? #254

Open pradeepngupta opened 4 years ago

pradeepngupta commented 4 years ago

There is difference in size of rendered video and one that is considered by the canvas. I need the same to account for scaling factor as i am creating the overlay on top of the video.

But it seems there is no api given to retrieve the rendered video size.