Canon sdk java framework

Canon sdk implementation of bindings

License

License

MIT
GroupId

GroupId

org.blackdread
ArtifactId

ArtifactId

camera-framework
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

Canon sdk java framework
Canon sdk implementation of bindings
Project URL

Project URL

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

Download camera-framework

How to add to project

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

Dependencies

compile (7)

Group / Artifact Type Version
net.java.dev.jna : jna jar 5.2.0
net.java.dev.jna : jna-platform jar 5.2.0
org.blackdread : camera-binding jar 1.2.0
com.google.guava : guava jar 27.1-jre
org.apache.commons : commons-lang3 jar 3.8.1
org.slf4j : slf4j-api jar 1.7.26
ch.qos.logback : logback-classic Optional jar 1.2.3

test (5)

Group / Artifact Type Version
org.mockito : mockito-core jar 2.25.1
org.mockito : mockito-junit-jupiter jar 2.25.1
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