Got the render loop working and we can now draw on the embed tag. I also have a solid idea on how to manipulate the data pixel by pixel so opn cv shouldnt be too bad