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.4.tar.gz (15.3 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for pibooth-stillimage-camera-0.1.4.tar.gz
Algorithm Hash digest
SHA256 ee2f4b215aac49d23b7f3fdca3d011538b1552eb1cb59c863e18722b1043d553
MD5 cb081bf0bc09b21d1e939625cdff4538
BLAKE2b-256 a14e0425891510d15290670ea1e256822433a14f74c7e343d0af7169995eb5c8

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