API for IoT Module contains functions to be used for implementing a API for a camera module
Project description
API for IoT Module
API for IoT Module contains functions to be used for implementing a API for a camera module
Free software: MIT license
Documentation: https://api-for-iot-module.readthedocs.io.
Run
Start virtual environment python3 -m venv venv . venv/bin/activate export FLASK_APP=app.py
Features
The API has features to capture both video and still images from the raspberry pi camera and makes use of picamera methods to do so. The way that this API formats its data is by sending non-image data in the form of JSON objects, while image and video frames are send as JPEG binary objects.
- The API has methods to change various camera settings, which include the following:
Frame rate
Brightness
Contrast
Saturatioin
Sharpness
Exposure mode
Image effect (such as denoise, negative, cartoon and many other effects)
The API also have a motion detection function, where it compares the data of successive frames in the form of a numpy array and gives a alert when there are signficant changes between frames.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-08-12)
First release on TestPyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for api_for_iot_module-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daa79d0e2738a0ad5a4fc9e4a65772c6f474ab0e365e8c91cbc56c71cbe1c0af |
|
MD5 | 969cb0b4a4bc665c3cdff782c5834a16 |
|
BLAKE2b-256 | 5f00078f67260efd8227b6c87851411d17aa85ee67cd648db35c57ff8c4392b7 |