How to perform Geometric Transformations on live images i.e., on video ?

2 visualizzazioni (ultimi 30 giorni)
Hey
I have developed a matlab script which performs some combinations of geometric transformations like imresize, imwarp,etc.
Its input is one RGB image(800x450). Output is also one RGB image(800x450).
How can perform these transformations on a live video stream. The video coming is from lets say IP camera or usb webcam, etc..
Thanks

Risposta accettata

Florian Morsch
Florian Morsch il 29 Giu 2018
Create a camera object.
Create a video player object.
Take snapshots in a loop and process them, then step through the processed images with the video player.
If you want to use a webcam you can install the MATLAB support package for webcams ( https://de.mathworks.com/matlabcentral/fileexchange/45182-matlab-support-package-for-usb-webcams)
Note: You can do a video stream processing, but most likely not real time (depends on how fast your code is).

Più risposte (0)

Categorie

Scopri di più su Computer Vision Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by