Raspberry Pi Pet Detector Camera Using Python, TensorFlow, and Twilio

preview_player
Показать описание
I used TensorFlow and a Raspberry Pi to create a pet detector camera that watches the door and texts me when my cat wants to be let inside! This video explains how the code works, so you can use it as an example for your own object detection application.

---- Links mentioned in video ----

Music: Broke For Free - Something Elated
Рекомендации по теме
Комментарии
Автор

I'm imagining a horror story where you are sitting on your couch with your dog and your cat and suddenly you receive a text that your pet wants inside.

RarePupper
Автор

Great video! Many technical videos are unnecessarily long, and this one was just the right length!

antonzolotov
Автор

Hah! This is one of the cooler more interesting/practical ideas for object detection that I've seen.

mattizzle
Автор

Thank you for creating these great videos. I am new to all this, but have now implemented a security camera and your code was just perfect and got me 98% in the right direction. I took out some parts of code after learning by trial and error exactly how your python script worked (lots of testing on the cats at first in fact!). I added a second confidence trigger by reading all detected items into an array and simply looked for the coco text descriptions with a specific score threshold and list them to another terminal window. I found that at lower scores the frame drawing was slowing down a bit the PI, and the text listing helped the testing as well. So essentially I decoupled the trigger at which frames are drawn and the detection trigger takes place. I also found the coco v1 ppn 300x300 model from the zoo seemed to work better. After adding GPIO for a test trigger LED, an IFFFT trigger and a trigger to my Pushover alerts account and a trigger to announce an spoken alarm on my Sonos, I have mounted it outside and it seems to be working really well at about 1.3 FPS average. I had to tweak out some background noise once it was positioned (a plant stand it occasionally thinks is human! ) by setting the confidence trigger to 70% and I also added a time limit for getting a set of frames with a positive hit. Once again, very many thanks for sharing your expert knowledge! No way could I have done this otherwise. I also need to now thank Jishi for his excellent Sonos API code which I have sitting on a separate PI.

markt
Автор

This is so useful for my final year project. thank you sir!

amrmzkr
Автор

Thanks for sharing this project! One question, it is possible to do the same with a camera night vision? Or we need to make son adjustment to the code? You know, sometimes they return home late at night.

NesbyBone
Автор

Really cool. I will be trying for my raccoon detection project.

julienpierre
Автор

Hi, thats amazing i never see case recognition before. that is what Object recognition evolution like

Tekergul
Автор

Thank you for making this. I wanted my final project for a class to be a human detector in empty room, this will help a lot. Thanks!

zainahmed
Автор

Thank you so much for this tutorial, I got the coral accelerator and was planning to use it to monitor my dog, this tutorial is great will post when I succeed

santaoct
Автор

Good day. Wow what an amazing series and exactly what I have been looking for. Just a question. Would if be possible to have a camera feed from a secondary raspberry pi and have the image fed in via UDP?

MrSiciro
Автор

I really like your videos, you are doing a great job, keep it up!

janekatsumi
Автор

Hi. for the part of the code where you generate a dot on the centre of the object. How can I make it to that if it detects 2 or more objects it draws a dot on all bounding boxes? Because I noticed it only draws a dot on 1 object

dominic
Автор

Hi edje, did you used some method to detector and counter the pet?

krizkyfitria
Автор

How can I print out the detected objects on to the console? Please guide me on this! Thankyou for this amazing tutorial @Edje Electronics

shreevlogs
Автор

Do i have to train with many classes so that it will not say that it detects the cat even if it does not? Coz i only trained with one class

reynardnalla
Автор

Hi, I have problems running the Pets detection program with the TFLite tutorial you made. Do they work together without any changes?

estebanfranco
Автор

ValueError: NodeDef mentions attr 'Truncate' not in Op<name=Cast; signature=x:SrcT -> y:DstT; attr=SrcT:type; attr=DstT:type>; NodeDef: ToFloat_3 = Cast[DstT=DT_FLOAT, SrcT=DT_UINT8, (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.).
help me please

ctmbhqk
Автор

is it easy to incorporate deeplabcut to get notified if my dog is pooping?

davidbeiler
Автор

sir, , , regarding the previous comment on GPIO, , , can we use a set of hardware's along with your concept.if it is possible where to add the hardware program in the main program of can we us tensor flow lite instead of tensor flow for improved performance, , , , how to replace twilio with telegram give any suggestions sir as im in desperate of finding the result)

balajis