Skip to content

Latest commit

 

History

History

rpi-camera-client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Maven Central

Java client for RPi Camera

This is Java client HTTP REST API SDK for RPi Camera.

Use, Compile and Install

  • Use official published artefacts, or ...
  • Clone this git repository.
  • Run gradle clean build test publishToMavenLocal to install this jar locally.
  • Use maven or gradle dependency below.

use with maven

<dependency>
    <groupId>one.microproject.rpi</groupId>
    <artifactId>rpi-camera-client</artifactId>
    <version>1.6.2</version>
</dependency>

use with gradle

implementation 'one.microproject.rpi:rpi-camera-client:1.6.2'

use in your java code

See also this code example.

CameraClient cameraClient = CameraClientBuilder.builder()
    .baseUrl("https://localhost:8090")
    .withCredentials("client-001", "secret")
    .build();
cameraClient.getSystemInfo();
cameraClient.captureImage();