简体   繁体   English

Gphoto2捕获和下载

[英]Gphoto2 capture and download

I'm using gphoto2 capture image and download but it takes 3 or 4 second ı want it takes only 1 second is it possible? 我正在使用gphoto2捕获图像并下载,但是需要3或4秒钟ı想只用1秒钟吗? Can anyone help me please? 谁能帮我吗? This is my code: time gphoto2 --capture-image-and-download --stdout > /dev/null 这是我的代码:time gphoto2 --capture-image-and-download --stdout> / dev / null

real 0m3.584s user 0m0.136s sys 0m0.072s 真正的0m3.584s用户0m0.136s sys 0m0.072s

I build a photobooth with a Raspberry Pi 3 and a Canon 600D DSLR. 我用Raspberry Pi 3和佳能600D DSLR建立了一个照相亭。 I use the same command and display the image after all. 我使用相同的命令并显示图像。 It takes about 7 seconds and is always an issue for costumers, because they want it to be very fast. 这大约需要7秒钟,对于客户来说,这始终是一个问题,因为他们希望它非常快。 The only solution i know is to use a camera attached directly to the graphic unit of the Raspberry and not via USB, wich does not work with a DSLR. 我知道的唯一解决方案是使用直接连接到Raspberry图形单元的摄像头,而不是通过USB,这对DSLR不起作用。 That is the fastest way. 那是最快的方法。 But therefore you have lower image quality. 但是因此您的图像质量较低。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM