Canon sdk java bindings

Bindings of C header files in java of EDSDK

License

License

MIT
GroupId

GroupId

org.blackdread
ArtifactId

ArtifactId

camera-binding
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

Canon sdk java bindings
Bindings of C header files in java of EDSDK
Project URL

Project URL

https://github.com/Blackdread/canon-sdk-java

Download camera-binding

How to add to project

<!-- https://jarcasting.com/artifacts/org.blackdread/camera-binding/ -->
<dependency>
    <groupId>org.blackdread</groupId>
    <artifactId>camera-binding</artifactId>
    <version>1.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.blackdread/camera-binding/
implementation 'org.blackdread:camera-binding:1.2.0'
// https://jarcasting.com/artifacts/org.blackdread/camera-binding/
implementation ("org.blackdread:camera-binding:1.2.0")
'org.blackdread:camera-binding:jar:1.2.0'
<dependency org="org.blackdread" name="camera-binding" rev="1.2.0">
  <artifact name="camera-binding" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.blackdread', module='camera-binding', version='1.2.0')
)
libraryDependencies += "org.blackdread" % "camera-binding" % "1.2.0"
[org.blackdread/camera-binding "1.2.0"]

Dependencies

compile (4)

Group / Artifact Type Version
net.java.dev.jna : jna jar 5.2.0
net.java.dev.jna : jna-platform jar 5.2.0
org.slf4j : slf4j-api jar 1.7.26
ch.qos.logback : logback-classic Optional jar 1.2.3

test (3)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.4.1
org.junit.jupiter : junit-jupiter-params jar 5.4.1
org.junit.jupiter : junit-jupiter-engine jar 5.4.1

Project Modules

There are no modules declared in this project.

Build Status Coverage Status Maven Central Github Workflow StackShare

Canon EOS SDK (EDSDK)

Canon EOS SDK in java (EDSDK).

Latest headers used to create bindings are with EDSDK 13.10.0 (version released on February 23rd 2019)

See Bindings README for more detailed information of that module

See Framework README for more detailed information of that module, important design is explained about Threads and events.

Project motives

Project intend to give access to Canon EOS Digital Software Development Kit EDSDK in Java.

Features are:

  • Take and download pictures
  • Set parameters like Aperture, ISO Speed, etc
  • Use live view
  • Control multiple cameras
  • Simple extendable recorder implementation

Support for MAC OSX is not intended for now, but only few changes in implementation should be required to make it work. Only changes in library loader class should be needed.

Both 64 bit and 32 bit versions are supported.

Java versions

Minimum Java 8 is required. Works with JDK 8/11/14+

Maven dependency

To control camera, use the framework:

<dependency>
    <groupId>org.blackdread</groupId>
    <artifactId>camera-framework</artifactId>
    <version>put version here</version>
</dependency>

If you only want bindings then just change artifact to "camera-binding" but framework should be what you should use as it gives commands, etc.

Usage

See package "org.blackdread.cameraframework.demo" in test folder (here).

Support project

To help me to maintain and add more features, you can be a sponsor.

Company support and sponsor

For companies that desire support, help, or even sponsor, etc feel to contact me (Follow this link).

Commercial technical support and services are possible.

Design note

Any collection/map return type should be considered as immutable, even if implementation does not use ImmutableList/Set/etc. If collection/map is mutable, it will be clearly specified in javadoc, otherwise implementation is free to change to immutable collections anytime.

How to contribute pull requests

Do a pull request. Explain your changes, reasons, write tests.

Get EDSDK library from Canon

Analysis with sonar

sonar-quality-gate sonar-coverage sonar-bugs sonar-vulnerabilities sonar-code-lines

Previous project

It starts from scratch due to older project that is not maintained (and some design could be changed).

Links

Previous project that allowed to communicate with Canon EDSDK with java

Software example using this Framework/SDK

Example 1

Versions

Version
1.2.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.0.2
0.0.1