Page 1 of 1

Canon digital camera remote control on Raspberry pi 2

Posted: Wed Nov 18, 2015 10:29 am
by ehsan_canon
Hi folks;

In order to make real-time object detection on the field, I purchased Raspberry pi 2, however, so far I couldn't capture any image or video from my Canon digital camera via Raspberry pi 2.
As a newbie in Raspbian OS, I understand that "gphoto2" does this job, and interestingly the following command detects my camera:
$ gphoto2 --auto-detect

All of the python commands shared on the internet, results in an error of setup.py . (such as this website: https://pythonhosted.org/canon-remote/)
My question is, since I need to conduct the object detection mission on OpenCV, via the command "VideoCapture cap(0)", what should I do for remotely controlling the camera.
Specifications:
Camera: Canon Powershot SX100 IS
OS: RASPBIAN JESSIE
I appreciate your time for responding me with whatever information you may know.

Re: Canon digital camera remote control on Raspberry pi 2

Posted: Wed Dec 02, 2015 3:04 pm
by ehsan_canon
Hi back. I did not realize you replied me. I was expecting an email.

I am using OpenCV on a C programming basis. I compile and execute a c code via libgphoto2 command :
$ gcc -lgphoto2 -o file file.c
[Ref: http://sepharads.blogspot.co.uk/2011/11 ... using.html ]
I can take pictures now however I have not been able to capture real-time videos.

Re: Canon digital camera remote control on Raspberry pi 2

Posted: Thu Dec 03, 2015 2:03 pm
by ehsan_canon
I am using latest OpenCV which is supposed to be Opencv 3

Re: Canon digital camera remote control on Raspberry pi 2

Posted: Thu Dec 03, 2015 3:58 pm
by DougieLawson
ehsan_canon wrote:Hi back. I did not realize you replied me. I was expecting an email.
You only get an email if you subscribe to (aka watch) your topic.
viewtopic.php?uid=73731&f=28&t=126288&w ... h=d98ae7b4
Or that "WATCH" button down there VVVV