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)
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
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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!