real time image processing ?
Mostrar comentarios más antiguos
Hello, I have 3 CCTV cameras which working continuously, instead of saving video, they take snapshot each second and saving in different folders. I mean: camera one save an image for each second in folder A, camera two save image in folder B, camera 3 in folder C. I'd like to use Matlab for real time image processing, just wondering to know how can I read image from each folder contentiously? for offline processing already used this method for each image but its not working now:
srcFiles = dir('C:\New Folder\*.jpg');
for i = 1 : length(srcFiles)
filename = strcat('C:\New Folder\',srcFiles(i).name);
I = imread(filename);
figure, imshow(I);
end
Respuestas (2)
Image Analyst
el 7 de Jul. de 2016
0 votos
You can get the file date/time from dir(). Then sort them to figure out the newest one.
Categorías
Más información sobre MATLAB Support Package for IP Cameras en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!