We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Would it be possible to add elements from prerecorded video on certain fields over live web footage for example overlaying all moving objects with prerecorded footage? and what would be the best way to aproach this problem?
Answers
Do you have the live streaming part already? I ask for my own curiosity.
Check this: https://github.com/processing/p5.js/wiki/Positioning-your-canvas
Kf
I have been experimenting with video effects on live and prerecorded video.
The sketch below does not completely answer your question, but it uses a live video feed from my laptop's webcam (Mac Book Pro), processes each frame and then renders it on the screen.
The biggest downside is that the frame capture rate from the live video feed is not very high.
BTW: Left-click the mouse to switch between the video effects. ;)
@Niels
Try this instead:
Kf
@kfrajer Thanks! That should improve performance as it doesn't have to copy the entire frame every time through draw(). =D>