Giter Site home page Giter Site logo

pisentry-camerasoftware's Introduction

PiSentry Camera Software

Table of Contents

  1. Run the software
  2. Technologies
  3. License

Run the software

1. Set correct URLs

Because the software interacts with other PiSentry projects (the backend API and the media server), you might want to check their URLs in urls.py and adapt them if necessary.

2. Set correct configuration values

The file config.json contains the default configuration of the camera. It is important to set your own values for the existing settings for the project to work properly.

4. Run the software

  1. If you are using a virtual environment, activate it by executing source /<path_to_your_venv>/bin/activate.
  2. If not already done, install the necessary dependencies with pip install -r requirements.txt.
    Picamera2 is not listed in the requirements.txt file as it is managed via apt and should already be installed as it comes pre-installed in all Raspberry Pi OS images as of mid-September 2022.
    This project uses Picamera2 v0.3.12. If you need to update your package, you can do it with sudo apt install -y python3-picamera2.
    If you encounter a system without Picamera2 pre-installed, please see the installation process in the Picamera2 manual.
  3. Then, go to the root of the project and run the main file: python main.py and voilà !

Technologies

The software consists of two parts:

The main libraries used are :

  • OpenCV - for object detection, image processing, etc.
  • NumPy - for image processing
  • Requests - for fetching/sending data from/to the backend API
  • Uvicorn - for serving the API

License

This project is licensed under the MIT License

pisentry-camerasoftware's People

Contributors

d-roduit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.