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.
Metadata
Release files for api-for-iot-module 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| api_for_iot_module-1.0.1.tar.gz | 11.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| api_for_iot_module-1.0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 19.0 kB
Release files / api_for_iot_module-1.0.1.tar.gz
| Download URL | api_for_iot_module-1.0.1.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f6c8fed1433473d06648161f0cc040e7000d581d5e7bd72bc16c5d4064f561a
|
|
BLAKE2b-256 checksum How to use checksums |
488b2b02e6d7b0be95f07c86d926379aca95e428a9a0320e64e0704dc7ecd269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Release files / api_for_iot_module-1.0.1-py2.py3-none-any.whl
| Download URL | api_for_iot_module-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
daa79d0e2738a0ad5a4fc9e4a65772c6f474ab0e365e8c91cbc56c71cbe1c0af
|
|
BLAKE2b-256 checksum How to use checksums |
5f00078f67260efd8227b6c87851411d17aa85ee67cd648db35c57ff8c4392b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
|
Security for api-for-iot-module 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.