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

2 views (last 30 days)
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

Accepted Answer

Florian Morsch
Florian Morsch on 29 Jun 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).

More Answers (0)

Categories

Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!