Skip to main content

Dummy camera for pibooth, producing still images for testing

Project description

pibooth-stillimage-camera

pibooth-stillimage-camera is a plugin for the pibooth application.

It provides a fake camera 'capturing' still images with a dummy text 'Still image for tests' writen in a customizable color, and background color.

It has no use in a real booth scenario, but this way anyone can test the app, even whithout having an actual camera attached!

This project was mostly a first try at cracking at pibooth using a plugin, so as to see how easy it is to interact with it, and try to provide feedback on the general structure of the project. It also actually enables testing of all the other parts without much work!

Install

This plugin is published on Pypi, so you can use: $ pip3 install pibooth-stillimage-camera

Otherwise, as per other pibooth plugins, you can clone this repository, and add /path/to/pibooth_stillimage_camera.py to [GENERAL] plugins list in pibooth.cfg.

Configuration

You need to set debug = True in [GENERAL] for the plugin to kick in.

Optional colors customization (and occasional eye bleed):

[CAMERA]
  dummy_background = blue
  dummy_foreground = yellow

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pibooth-stillimage-camera-0.1.3.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file pibooth-stillimage-camera-0.1.3.tar.gz.

File metadata

File hashes

Hashes for pibooth-stillimage-camera-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d54839df52c9250a1bc272ed5221d44fbd70e545c3ec44b61d0421951a16d299
MD5 0a1d9c36ff1784f14115685a88ee5286
BLAKE2b-256 2e7388fee4ce94094b34bed6a9ab9286a457b0304fca8d9f51ede8b06ab7652e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page