GithubHelp home page GithubHelp logo

odianosen25 / camera-process-app Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 20.54 MB

AppDaemon App used to process RTSP or USB Video from Cameras, for security purposes

License: GNU General Public License v3.0

Python 100.00%

camera-process-app's Introduction

Camera-Process-App

AppDaemon App used to process RTSP or USB Video from Cameras, for security purposes

This is a WORK IN PROGRESS

When using automation hubs like Home Assistant (HA), and there is the need to integrate a RTSP stream, it is usually not possible to do it without an external software like motionEye. This app is designed to give users the ability to process RTSP cameras right within AppDaemon, without the need of using such external softwares. When it detects motion or objects, the data is forwarded to a MQTT topic camera/<location>. The advantage of using this above softwares like motionEye are as follows:

  • Compared to MotionEye, this app uses way less resources to function
  • Once complete, this app will have way more features than the likes of MotionEye (please see below)
  • The app allow for better flexibility, and integration with Home Assistant

Example Configuration below

hallway_camera:
  module: camera_process_app
  class: CameraProcessApp
  camera_url: rtsp://freja.hiof.no:1935/rtplive/definst/hessdalen03.stream
  height: 1080 # default 720
  width: 1920 # default 1280
  frames_per_second: 25 # default 20
  location: Hallway
  detect_objects: True

When the app is setup and all running, the MJPEG can be accessed using the following url http://ADIP:ADPORT/app/<camera_app_name>. This app uses the internal port number of AD, so there is no need of making use of multiple ports on the PC its running.

The app also processes object detection using the Caffee Model, but this will be upgraded to use the Yolo dataset over time, for more accurate object detection. The object detection will only be processed, when it detects motion only.

TODO

  • Stream over MJPEG
  • Process motion detection
  • Object detection using the opencv caffee model
  • Use Yolo instead of Caffee for object detection
  • Add options to limit what objects to focus on
  • Add Facial Recognition
  • Add Object Tracking

camera-process-app's People

Contributors

odianosen25 avatar

Stargazers

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