ehsan_canon
Posts: 15
Joined: Wed Nov 18, 2015 9:59 am

Canon digital camera remote control on Raspberry pi 2

Wed Nov 18, 2015 10:29 am

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.

ehsan_canon
Posts: 15
Joined: Wed Nov 18, 2015 9:59 am

Re: Canon digital camera remote control on Raspberry pi 2

Wed Dec 02, 2015 3:04 pm

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.

ehsan_canon
Posts: 15
Joined: Wed Nov 18, 2015 9:59 am

Re: Canon digital camera remote control on Raspberry pi 2

Thu Dec 03, 2015 2:03 pm

I am using latest OpenCV which is supposed to be Opencv 3

User avatar
DougieLawson
Posts: 39303
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Canon digital camera remote control on Raspberry pi 2

Thu Dec 03, 2015 3:58 pm

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
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”