Skip to content

clems71/picon-rest-api

Repository files navigation

Picon REST API

Control the PICON hat from a comfy REST API.

Build

make

This will build both the desktop (server) version and the RPI version for ARM processors (server-arm), from your desktop machine (for more performance). You could also build it from your raspberry-pi, but it's longer... :)

Use

On desktop with a 'fake' hat:

./server

On RPI with the real PICON hat:

USE_PICON=yes ./server-arm

Camera stream

We also expose the raw H264 stream from the camera on the /camera endpoint of the API.

mplayer -fps 200 -demuxer h264es ffmpeg://http://raspberrypi.local:8080/camera

About

Control the PICON hat from a REST API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published