Giter VIP home page Giter VIP logo

foggycam's Introduction

๐Ÿ“น foggycam

Foggycam logo

Current Release: 2.0 (Analog Artifact - Preview)

A tool to capture Nest video streams locally or to the Azure cloud, even for users without a Nest subscription. The current release is tested on macOS. Windows and Linux adaptations coming soon (minor tweaks required).

NOTE: Audio recording is currently not supported.

How To Configure

Rename _config.json to config.json and specify the following parameters:

Parameter Description
username Nest account username.
password Nest account password.
path Absolute path to local folder where content needs to be stored.

Default is the script path.
frame_rate Frame rate for the generated video.

Default is 24.
threshold Number of images that need to be combined in a video in a single buffer.

Default is 200.
width Image width for the capture image.

Default is 1280.
clear_images Determines whether images are removed after video is produced.

Default is false.
produce_video Determines whether a video is generated after a threshold of captured images is hit.

Default is false.
upload_to_azure Determines whether the final video will be uploaded to Azure Storage.

Default is false.
az_account_name Name of the Azure Storage account.
az_sas_token SAS token for the Azure Storage account. Should have write, list and read permissions.

If you want to generate video, you will need to download ffmpeg and place it in the tools folder, in the script root directory.

Alternatively, if you are on Linux, you can install ffmpeg with the help of the following command:

sudo apt-get install ffmpeg

On macOS, you can install ffmpeg through Homebrew:

brew install ffmpeg

How To Start

Make sure you install the requirements for the project, by cd-ing in the folder with the project, and running:

pip install -r requirements.txt

Run python start.py after you configured the settings above. Exit by pressing Ctrl+C.

Disclaimer

No claims are made in regards to the stability of the application, or its applicability for your purposes. Use at your own risk. Code is licensed under the MIT License. Code can change at any time with no prior notice.

DO NOT USE in critical security/surveillance scenarios.

Troubleshooting

Getting urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]

On macOS, run pip install certifi and then /Applications/Python\ 3.6/Install\ Certificates.command.

foggycam's People

Contributors

dend avatar

Watchers

The Gradrat 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.