Code Monkey home page Code Monkey logo

spicam_old's Introduction

spicam: Simple Pi Cam

A bare-bones Raspberry Pi security camera application with motion detection, video clip and snapshot capture, and email notification support.

ARCHIVED

The spicam repo was renamed spicam_old and archived when Broadcom changed the proprietary GPU code, effectively preventing much of what we were doing via MMAL. So much for the Pi Foundation constantly rah-rah-ing about open source, eh? While this would have been a very fun project to complete and use, I gave up on this angle. The new spicam will simply monitor modern Amcrest IP cameras (specifically) for event notifications and route the relevant clips to safe storage on a NAS. Not nearly as interesting, but it was probably inevitable that onboard processing would become this cheap and commonplace.

Original README:

⚠️ Currently depends on a pre-release (v0.7) MMALSharp library using locally-built DLLs.
⚠️ Very alpha-quality code, don't bother using it yet...

Features

  • Configurable motion detection (MMALSharp wiki)
  • h.264 video clips of motion detection events
  • JPEG snapshots at the start of motion detection
  • Email notifications with optional snapshot attachments
  • Optional motion detection mask
  • Coming soon: Streaming video (disables motion detection)
  • Coming soon: Streaming motion analysis (high-stress, Pi 4 suggested)

Requirements

  • .NET Core 3.1 runtime

Recommendations

  • Local unsecured SMTP port 25 relay to a secure mail server
  • Ramdisk for temporary local video buffering and storage
  • External storage (HDD, SDD, NAS) for video and snapshot storage

TODO List

  • Implement non-motion-detection switches / features
  • Document app configuration (appsettings.json)
  • Document setup of requirements and mail relay
  • Document usage as systemd service and provide scripts
  • Add rolling-file logging
  • Transcode to MP4 when moving h.264 to external storage

spicam_old's People

Contributors

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