Skip to content

shivan/camera_proxy

 
 

Repository files navigation

Camera Proxy

Camera Proxy is a Python webserver which can display a video stream from the reolink argus 2 camera over http.

Dependencies

pip install av
pip install flask
pip install pillow

Usage

Create a settings.json with one or more camera entries:

{
    "cameras": [
        {
            "name": "camera1",
            "deviceSid": "12345678910ABC5D",
            "username": "admin",
            "password": "password",
            "backupImage": "../public/images/klingel.jpg"
        }
    ]
}

Just run the main.py from the root directory:

python src/main.py

Access is then possible through:

Type url
single image http://localhost:8000/api/v1/cameras/camera1
jpeg stream http://localhost:8000/api/v1/cameras/camera1/stream

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 78.2%
  • Lua 20.8%
  • Other 1.0%