Skip to content

Files

Latest commit

29f8972 · Apr 3, 2022

History

History

rpi-camera-client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 5, 2021
Jan 30, 2021
Aug 3, 2021
Apr 3, 2022
Jan 30, 2021

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();