Skip to content

laszewsk/canon-r7-ccapi

Repository files navigation

canon-r7-ccapi

This library is not just for the R7 but supports all Cannon cameras on which CCAPI is supported.

The problem

Many people noticed that the regular EOS Utility program has issues on M1/M2 Macs. This happens only via WiFi. The USB connection works fine. However, we like to be able to access the Cannon cameras via WiFi read-on. Furthermore, not all features are supported on Android apps interfacing with the canon camera so this is unfortunately yet not an option. I use it to control focus bracketing from a computer.

Please note this only works for the models as documented at

This includes:

  • EOS R6 Mark II, EOS R7, EOS R10, EOS R3, EOS M50 Mark II, EOS R5, EOS R6, EOS 850D, EOS-1D X Mark III, EOS M200, EOS 90D, EOS M6 Mark II, PowerShot G5 X Mark II, PowerShot G7 X Mark III, EOS 250D, EOS RP, PowerShot SX70 HS

Note that you need to likely update your firmware. Firmware update is rather simple on the Canon cameras, you download it, put it on your SD card, select firmware update then wait patiently when done. Make sure you have a fully charged battery. Do not power down during firmware upgrade. Read the canon instructions for this.

The solution

The method chosen here uses the official CCAPI that relies on a REST service calls in the network shared between the camera and the computer. The following features are available:

  • Elementary Python library to control many of the camera features
  • Elementary GUI interface to run the program from a GUI
  • Ability to run the GUI on Linux, macOS, Windows 10, Windows 11
  • Expandable
  • Demonstration on how to use the library in jupyter notebooks so you can create easily interactive workflows.

For example, With this GUI it is possible to conduct focus bracketing remotely. Many features of the camera can be controlled remotely.

As the program uses CCAPI it can be likely used for other cameras also. Make sure your camera is compatible.

For the R7 you find the firmware on the Cannon Web page at

You will als have to sign up for the Cannon developers community and download the CCAPI extension for te camera and install it.

... once I have time I write about it here ...

Install

$ git clone https://github.com/laszewsk/canon-r7-ccapi.git
$ cd canon-r7-ccapi
$ pip install -e .
$ export CANON_IP=<Your canon camera ip address>
$ make

Those will install and run the program using a GUI.

Future:

The following is not yet supported and tested

pip install conon-r7-ccapi
cms crc

GUI Interface

The program also provides a minimal GUI interface that could be enhanced with additional features. It serves also as an example on how to use the API.

The GUI has three tabs: Preview, General, Focusbracketing

A Preview will apear when the "Preview from Camera" is pressed. In General you can set most parameters controlling the camera. In Focus bracketing you can set some parameters to control focus bracketing.

Additional menu items are available in the sidebar, such as listing the content of the SD Cards and so on.

Here are the screenshots of the three Tab windows.

Preview

Figure 1: Screenshot of the preview tab.

General

Figure 2: Screenshot of the General tab.

Focusbracketing

Figure 3: Screenshot of the focus bracketing tab.

API

The python API developed is simple and its elementary python use is documented in the following Jupyter notebook.

Notebook

The
Jupyter notebook is available from Github. For the notebook we use a different GUI that is based in ipywidgets. It is also documented in medium.com.

Using Jupyter allows one to write simple interactive workflows for manipulating images.

Plan

  • manual
  • documentation of the API
  • writing an article for a hacker magazine/web site
  • showcasing the macro stand
  • evaluate integration with WeMacro

Other Links

enfuse

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages