MATLAB Answers

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

5 ビュー (過去 30 日間)
JAI PRAKASH
JAI PRAKASH 2018 年 6 月 28 日
回答済み: Florian Morsch 2018 年 6 月 29 日
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

採用された回答

Florian Morsch
Florian Morsch 2018 年 6 月 29 日
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).

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by