How to automatically crop a frame of a video in simulink

2 次查看(过去 30 天)
Hi everyone! I am working to crop lanes from frames of a video in simulink.I have used selector block to define my region of interest. But as the location of lanes will vary in every frame so do I have to define my region of interest in each and every frame by varying the parameters of selector block.Is there any way to define my ROI automatically.Any help???

回答(1 个)

Ryan G
Ryan G 2012-9-4
You can go through a demo like this that detects lanes and use that to find your ROI if you have a similar problem.


Help CenterFile Exchange 中查找有关 Computer Vision with Simulink 的更多信息


Community Treasure Hunt

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

Start Hunting!

Translated by