Yolo v3 Image Object Recognition Domoticz Integration (Guide)

Moderator: leecollings

Post Reply
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Yolo v3 Image Object Recognition Domoticz Integration (Guide)

Post by ben53252642 »

Hey folks,

I've written a couple of scripts for integrating Yolo v3 darknet with Domoticz. In my opinion the possibilities are nothing short of astonishing.

In my example YouTube video below you can see a set of blinds that automatically open when a cat was detected in the image.

https://youtu.be/Eu6wnnxGHRw

https://github.com/ben423423n32j14e/yolo2domoticz

predictions.jpg
predictions.jpg (246.14 KiB) Viewed 1779 times

There is a cool YouTube video on the Yolo site that shows the object recognition capabilities: https://pjreddie.com/darknet/yolo/

Please keep in mind that this is meant only for very advanced Linux users, also you will need a Nvidia Cuda compatible GPU with at least 4gb of memory if you plan to use the default Yolov3 608, if you buy a card with 2gb memory you will need to run an inferior recognition resolution Yolov3 416. The Nvidia GPU does not need to be on the same machine that runs Domoticz.
Last edited by ben53252642 on Wednesday 22 January 2020 22:13, edited 2 times in total.
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
steppi
Posts: 41
Joined: Saturday 30 January 2016 0:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Yolov3 Image Object Recognition Domoticz Integration (Guide)

Post by steppi »

Hello! Great job ... I installed it and it works fine .. But it would be nice if you could add a push notification function in case of detection of a person / cat / dog .. etc ... Can you do it? For example via Telegram?
kimot
Posts: 104
Joined: Saturday 25 November 2017 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: Yolov3 Image Object Recognition Domoticz Integration (Guide)

Post by kimot »

Hello! Great job ... I installed it and it works fine .. But it would be nice if you could add a push notification function in case of detection of a person / cat / dog .. etc ... Can you do it? For example via Telegram?
And why?
This script activate a switch in Domoticz when person or dog or cat is detected.
And you can set notification for this switch easily in switch edit menu.
2020-01-22-210608_1920x1080_scrot.png
2020-01-22-210608_1920x1080_scrot.png (151.69 KiB) Viewed 870 times
RPi2 Domoticz v 4.10717
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests