从USB连接的数码相机拍摄照片 [英] taking pictures from USB connected digital camera
本文介绍了从USB连接的数码相机拍摄照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想对连接到运行基于Linux的OS的PC的数码相机进行编程,以便以固定的间隔拍摄照片,代码使用C或Shell脚本编写.
但是我无法解决此问题,因为使用USB电缆将相机连接到PC时,相机仅显示大容量存储选项.
请帮助我
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
推荐答案
好吧,您也许可以使用WIA ...
http://msdn.microsoft.com/zh-我们/library/windows/desktop/ms630368%28v=vs.85%29.aspx [使用WIA的WebCam快速图像捕获服务 [ ^ ]
[edit]
误解了问题,原来OP被问到有关Linux而不是Windows的问题.
你看过gphoto和libgphoto了吗?
http://www.gnu.org/software/gphoto/ [ http://gphoto.sourceforge.net/ [ ^ ]
[/edit]
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]
这篇关于从USB连接的数码相机拍摄照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文