Commit graph

5 commits

Author SHA1 Message Date
Romain Bazile 20398bfbab Imager: add proper image gain settings and disable them in the ui 2021-09-06 18:43:07 +02:00
Romain Bazile 7be689b8d9 Raspimjpeg: build based on da4b2c6d54e21bedf812f9bf31236cff2078f2e6 from https://github.com/PlanktonPlanet/userland 2021-09-06 18:41:13 +02:00
Romain Bazile cf2f15594d python: better imaging management of the raspimjpeg process 2020-12-16 13:11:35 +01:00
Romain Bazile 05dc317095 imager: add support for white balance 2020-11-24 17:31:11 +01:00
Romain Bazile f27c9823a1 Integration of raspimjpeg
The source code of the modified version of raspimjpeg used by the PlanktoScope is hosted [here](https://github.com/PlanktonPlanet/userland/tree/master/host_applications/linux/apps/raspicam).

We moved away from picamera to improve the stability of the system. This commit should closes the elusive #51 and #54.

After a lot of tests, it was clear that even a forked version of picamera was not going to solve our problem while also improving on our capturing speed.

The modified version of RaspiMJPEG does that.
RaspiMJPEG streams the image flux to /dev/shm/mjpeg/cam.jpg . This is passively reloaded by the streaming server (still written in python).

RaspiMJPEG is controlled through a special file called a Pipe which is used to send it commands.
The list is available [here](https://github.com/PlanktonPlanet/userland/tree/master/host_applications/linux/apps/raspicam/Config.md).

The raspimjpeg binary is distributed directly in this repository, in the folder `scripts/raspimjpeg/bin/`.
2020-11-16 17:53:23 +01:00