Click here to Skip to main content
15,894,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,
I want to program a digital camera connected to a PC running a linux based OS to take pictures at regular intervals, the code being either in C or shell scripting.
but i am not able to go about this problem as the camera when connected to PC using USB cable, shows only mass storage option.
please help me
Posted
Comments
DaveAuld 6-Feb-12 15:57pm    
The camera will need to provide a suitable sdk and/or functionality that allows this to be done. What make and model of camera are you using? (update your question with this information)
Member 8625663 6-Feb-12 22:54pm    
I am using a Sony dsc camera
The objective is to program the camera connected to pc to take pictures automatically after certain regular intervals
Mohibur Rashid 6-Feb-12 18:10pm    
did you mount the mass storage ?
Albert Holguin 6-Feb-12 22:46pm    
What does that have to do with being able to take pictures with it?
Mohibur Rashid 6-Feb-12 22:57pm    
Shoot, I read wrong. He want to operate camera from computer. in this case mounting is not the issue.

I thought he want to check his camera if there is new picture or not

1 solution

Well, you may be able to use WIA...
http://msdn.microsoft.com/en-us/library/windows/desktop/ms630368%28v=vs.85%29.aspx[^]

Depends on whether your hardware supports it.

Search google for more info.... or search within CP:
WebCam Fast Image Capture Service using WIA[^]

[edit]
Misread the question, turns out OP asked about Linux not Windows.

Have you looked at gphoto and libgphoto?
http://www.gnu.org/software/gphoto/[^]
http://gphoto.sourceforge.net/[^]
[/edit]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900