필터 지우기
필터 지우기

How do i go about doing real-time measurement of the width of an object from an image continuously from a video input using image processing?

조회 수: 3 (최근 30일)
I will be using a camera to constantly feed a stream of live video of a black tape. I will need to continuously measure the width of the tape(which may vary) as it unrolls, detect and log these changes for a simulink based controller.

답변 (1개)

Saeid
Saeid 2018년 12월 10일
Hi,
First you need to slice your video to solitary frames:
VideoData = VideoReader(Video Path);
NFrames = VideoData.NumberOfFrames;
for i=1:NFrames
CurrentFrame = read(VideoData, i);
% here you do your measurments on each frame
end;
And the measurment of the object really depends on the nature of your object and imaging condition.

카테고리

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