YOLO / live object detection with events controlled by Domoticz

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
User avatar
Teknor
Posts: 30
Joined: Monday 08 February 2016 13:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.48
Location: Norway
Contact:

YOLO / live object detection with events controlled by Domoticz

Post by Teknor »

Hi all - I want to share some thoughts with you.

YOLO is an open source object identification software which works on live stream video. You can see plenty of demo videos on Youtube.

https://github.com/pjreddie/darknet/wik ... -Detection

Image

It would be awesome to integrate YOLO with controller functionality for object detection in Domoticz, when you i.e. can set up different alerts or rules based on what kind of objects that are identified in the video stream from a webcam/surveillance cam (car, boat, wild animal, dog, cat, persons). Functionality for counting different objects types passing the video strem per time unit etc.

This will take DIY survailance to a new level :!:

Image

This is beyond my development skills, but would very much like to hear you experts' opinions and thoughts about this. :D
Spoiler: show
https://pjreddie.com/darknet/yolo/

Real-Time Detection on a Webcam

Running YOLO on test data isn't very interesting if you can't see the result. Instead of running it on a bunch of images let's run it on the input from a webcam!

To run this demo you will need to compile Darknet with CUDA and OpenCV. Then run the command:

./darknet detector demo cfg/coco.data cfg/yolo.cfg yolo.weights
YOLO will display the current FPS and predicted classes as well as the image with bounding boxes drawn on top of it.

You will need a webcam connected to the computer that OpenCV can connect to or it won't work. If you have multiple webcams connected and want to select which one to use you can pass the flag -c <num> to pick (OpenCV uses webcam 0 by default).
Raspberry Pi 3 | EasyESP NodeMCU v3 | RFXTRX433e | Mysensors NRF24L01 | MotionEYE | PikrellCam
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest