i want to process real time video in matlab using mac system,actually my project is real time object detection and tracking,
3 views (last 30 days)
Show older comments
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 Comments
David Tarkowski
on 31 Jan 2013
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.
Image Analyst
on 31 Jan 2013
Answers (0)
See Also
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!