Code covered by the BSD License  

Highlights from
Aztec barcode reader

image thumbnail

Aztec barcode reader

by

 

This program can read Aztec barcode from video or pictures. It is partial in Dutch

B=ladenframe(fnr, name)
function B=ladenframe(fnr, name)

%laden van een video frame

readerobj = mmreader(name);
% numf=readerobj.NumberOfFrames;
% dur=readerobj.Duration;
% frate=readerobj.Framerate;
vidFrames = read(readerobj, fnr);  %hier kun je een video frame selecteren 120
M(1).cdata = vidFrames(:,:,:,1);
B=(M(1).cdata);


% code voor meer frames

% for k=1:2
%     M(k).cdata = vidFrames(:,:,:,k);
%     M(k).colormap = [];
% end

%afspelen 2 keer
% hf = figure;
% set(hf, 'position', [150 150 readerobj.Width*1.3 readerobj.Height*1.3])
% movie(M,20);

Contact us