Code Monkey home page Code Monkey logo

remote-picam-viewer's Introduction

Remote-PiCam-Viewer

View and control a Raspberry Pi Camera mounted on a Waveshare pan/tilt HAT!

A picture of the Remote PiCam Viewer in action viewing a potted plant.

Installation

  1. Make sure you have Python 3.9 installed, as TkZero needs 3.9.
  2. Follow the instruction on setting up a Raspberry Pi in the Remote-PiCam repo.
  3. git clone this repo and cd into it.
  4. Optional: Create a virtual environment with python -m venv .venv (python3 instead on Linux and macOS) and activate the virtual environment with ".venv/Scripts/activate.bat" (.venv/Scripts/activate.ps1 in Windows Powershell and source .venv/bin/activate on Linux and macOS)
  5. Install dependencies with pip install -r requirements.txt. (pip3 on Linux and macOS) You can find the list of dependencies in the requirements.txt file.

Usage

Run main.py to start the program. For instructions on how to use the program, view the HELPME.md file.

Configuration

When you first run the script, a settings.json file should generate:

{
    "camera": {
        "name": "picam",
        "port": 7896
    },
    "gui": {
        "dark_mode": false,
        "queue": {
            "check": 50,
            "size": 32
        }
    }
}

camera.name and camera.port should match in the PiCam settings, otherwise the software won't discover it (name is not correct) or it will stay connecting forever and get stuck. (port is not correct)

gui.dark_mode sets whether to use dark mode or not. (Thanks @rdbende for the Sun Valley theme!)

gui.queue.check is how many milliseconds in between every queue check for an image. gui.queue.size is the image buffer size, low values can cause stuttering in bad network conditions, high values will use more memory and cause noticeable delay.

remote-picam-viewer's People

Contributors

unsignedarduino avatar

Stargazers

 avatar

Watchers

 avatar  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.