image thumbnail

Traffic Warning Sign Recognition Matlab Code

by

 

07 Jan 2013 (Updated )

Traffic Warning Sign Recognition Matlab Code using matlab demo from the matlab 7.5 in video processc

main
function main
readerobj = mmreader('stoprd.avi');
vidFrames = read(readerobj);
%get number of frames
numFrames = get(readerobj, 'numberOfFrames');
%figure(1)
implay(vidFrames)
for k = 1 : numFrames-1
mov(k).cdata = vidFrames(:,:,:,k);
mov(k).colormap = [];
mov(k).cdata=blobAnalysis(mov(k).cdata);
vidFrames(:,:,:,k)=mov(k).cdata;
%imwrite(mov(k).cdata, strcat('output\frame-',imagename));
end
implay(vidFrames);

Contact us