image processing to video processing
1 回表示 (過去 30 日間)
古いコメントを表示
hello everyone, I am dealing with image processing. I have written short simple code that can detect some regions in an area.
But how can i make the same code suitable for video processing?
Instead of working with jpg ( imread(asdf.jpg) ), i want to take a video about 30 sec. The size of video will be 320x240 or 480x640. Then i want to apply my code on this video? Do i need computer vision toolbox?
Am i supposed to do something like that?
Thanks in advance.
0 件のコメント
採用された回答
Image Analyst
2012 年 8 月 1 日
You don't need the computer vision toolbox necessarily - it depends on what you want to do. If your program runs now without using any of the CV toolbox functions then you don't need it. Just take your video and extract frames from it with VideoReader() and read(), and do your process. You can post process your video read back in from a video file. Depending on what your algorithm does, you may not be able to do it in real time on streaming video. For example, if your algorithm takes 1 second to do, then you can't take snapshots out of a live video stream at 30 frames per second and get them done in 1/30th of a second, because it takes 1 second of course.
2 件のコメント
Image Analyst
2012 年 8 月 1 日
I figured it was MATLAB code, but when you asked if you needed the CV (Computer Vision) Toolbox, I just thought I'd give my opinion. By the way, I consider any toolbox code MATLAB code, even though you don't. (You didn't think I meant OpenCV rather than MATLAB's CVT, did you?) Anyway, sure, go ahead. I have several video analysis apps. Just do it and see.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!