Technical discussion about Matlab and issues related to Digital Signal Processing.
|
Hi every body, I have a camera which runs on windows and use it for clicking photos.It is a logitech quickcam express (usb). I want matlab to control it in such a way as to click the photos through matlab itself without using the software directly. There must be a way of doing it and am unable to find out how. can you please help me as this is very essential in my project on face recognition. This will enable me to dirctly store photos in a file in matlab and matlab can then be used to process them. Thanks in anticipation, Naveen. |
|
|
|
Hi, what makes you think that there must be a way of controlling a camera through Matlab? Matlab doesn't have the capabilities of a standard programming language regarding control of HW/peripherals. You can store files in Matlab anyway and process them. If I am wrong, I would be interested to know the way to do that. I am aware of the possibility of using Simulink to control an external system, but I guess that's not what you want. Regards. Juan. ----- Original Message ----- From: "m.naveen " <> To: <> Sent: 09 September 2000 09:40 Subject: [matlab] executing a windows program from matlab > > Hi every body, > > I have a camera which runs on windows and use it for clicking > photos.It is a logitech quickcam express (usb). I want matlab to > control it in such a way as to click the photos through matlab itself > without using the software directly. There must be a way of doing it > and am unable to find out how. can you please help me as this is very > essential in my project on face recognition. This will enable me to > dirctly store photos in a file in matlab and matlab can then be used > to process them. > > Thanks in anticipation, > > Naveen. > > To Join: > > To Post: > > To Leave: > > Archives: http://www.egroups.com/group/matlab > > More DSP-Related Groups: http://www.dsprelated.com _________________________________________________________ ">http://mail.yahoo.com |
|
Hello Juan, There is a way of controlling camera through matlab. There are two commands: 1)' ! ' command which invokes the underlying operating system 2) dos( ) command to execute a dos program. I was trying both of them but was not successful as there was some problem in a particular dll file which matlab needs to execute it. In fact I found out that the dll file is same for both matlab and Windows and realised that the one on Matlab must be corrupted as the camera runs perfectly in Windows. When I change this file I am now able to control the camera through matlab itself. Do you know that you can even incorporate excel spread sheet or any other office document by a command called activexcontrol. matlab is a powerful tool and has very less limitations. Thanks and regards, Naveen. ----- Original Message ----- From: Juan <> To: <> Sent: Sunday, September 10, 2000 12:08 AM Subject: Re: [matlab] executing a windows program from matlab > > Hi, > > what makes you think that there must be a way of controlling a camera > through Matlab? > Matlab doesn't have the capabilities of a standard programming > language regarding control of HW/peripherals. > You can store files in Matlab anyway and process them. > If I am wrong, I would be interested to know the way to do that. > > I am aware of the possibility of using Simulink to control an external > system, but I guess that's not what you want. > > Regards. > Juan. > > ----- Original Message ----- > From: "m.naveen " <> > To: <> > Sent: 09 September 2000 09:40 > Subject: [matlab] executing a windows program from matlab > > > > Hi every body, > > > > I have a camera which runs on windows and use it for clicking > > photos.It is a logitech quickcam express (usb). I want matlab to > > control it in such a way as to click the photos through matlab itself > > without using the software directly. There must be a way of doing it > > and am unable to find out how. can you please help me as this is very > > essential in my project on face recognition. This will enable me to > > dirctly store photos in a file in matlab and matlab can then be used > > to process them. > > > > Thanks in anticipation, > > > > Naveen. > > > > > > > > To Join: > > > > To Post: > > > > To Leave: > > > > Archives: http://www.egroups.com/group/matlab > > > > More DSP-Related Groups: http://www.dsprelated.com > _________________________________________________________ > ">http://mail.yahoo.com > > To Join: > > To Post: > > To Leave: > > Archives: http://www.egroups.com/group/matlab > > More DSP-Related Groups: http://www.dsprelated.com |