Ability to get video stream in UI

Is it possible to get the video stream at the browser level so that
I can do face recognition and OCR on the video feed?

You can take a look to some posts:

Also, latest Chrome version has a more efficient way to manipulate video data: