Skip to main content

API for IoT Module contains functions to be used for implementing a API for a camera module

Project description

API for IoT Module

https://img.shields.io/pypi/v/api_for_iot_module.svg https://img.shields.io/travis/ChezzyBoi/api_for_iot_module.svg Documentation Status

API for IoT Module contains functions to be used for implementing a API for a camera module

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


Download files

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

Files for api-for-iot-module, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size api_for_iot_module-1.0.1-py2.py3-none-any.whl (7.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size api_for_iot_module-1.0.1.tar.gz (11.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page