i want to process real time video in matlab using mac system,actually my project is real time object detection and tracking,
1 次查看(过去 30 天)
显示 更早的评论
i want to process real time video in matlab using mac system,actually my project is real time object detection and tracking, but i am not able to process the real time video as the error comes Multiple image acquisition objects cannot access the same device simultaneously.some times time out error comes ,can any one help me and give me the initial lines of code on mac machine.the code is below clear all; close all; %object detection and tracking vidobj = videoinput('macvideo',1,'YCbCr422_1280x720'); image = get(vidobj);
preview(vidobj) ; im=getsnapshot(vidobj); imshow('im'); error:Multiple image acquisition objects cannot access the same device simultaneously.
2 个评论
David Tarkowski
2013-1-31
Can you format your code so that it is easier to read?
When do you get the error? I'm guessing that it does not happen the first time that you run the code, but it isn't clear exactly what you are doing here.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!