FREE License Plate Recognition with Home Assistant

  Рет қаралды 55,130

Everything Smart Home

Everything Smart Home

3 жыл бұрын

License Plate Recognition with Home Assistant has been something I could never get to work properly, until now! We take a look at how to run number or license plate recognition for free and integrate it with Home Assistant, so that you can build automations and routines around it.
Deepstack Object Detection:
• Object detection with ...
Deepstack for Home Assistant Github (Thanks Robin!):
github.com/robmarkcole/HASS-p...
List of regions:
docs.platerecognizer.com/?pyth...
If you'd like to support me and future projects:
Patreon:
/ everythingsmarthome
Buy Me a Coffee:
www.buymeacoffee.com/EverySma...
Written Article:
everythingsmarthome.co.uk
EVERYWHERE YOU CAN FIND ME:
Everything Smart Home Community Discord:
/ discord
Twitter: / everysmarthome (@EverySmartHome)
Instagram: / everythingsmarthome
Facebook: / everythingsmarthomeoff...
#homeassistant #smarthome
________________________
Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!

Пікірлер: 128
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Have you got any plans to integrate this into your automations?!
@058Jacko
@058Jacko 3 жыл бұрын
I have a bigger plan for this! Message me 👍
@VanNguyen-ls2wq
@VanNguyen-ls2wq 3 жыл бұрын
May I ask you? Why did the Camera recognize the license plate number, by Image Processing, instead of the installation method, because I am working on a project project related to this part, thank you very much.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Sorry I don't understand the question?
@davidheron1505
@davidheron1505 2 жыл бұрын
ESH, 5 months ago you advised 058Jacko that you have bigger plans for this. Are you in a position to expand?
@easthulk99
@easthulk99 3 жыл бұрын
I have not started with the object detection project as your last 2 week video... and now you have this video.... you are amazing. Hats off to you
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Haha hopefully you can get this working too! 😅
@nicolasraby2967
@nicolasraby2967 3 жыл бұрын
Instantly subscribed with notifications! Been looking for videos like these especially with home assistant in the UK. Top man look forward to seeing more!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks Nicolas, I very much appreciate it, means a lot!
@nicolasraby2967
@nicolasraby2967 3 жыл бұрын
@@EverythingSmartHome just watched all your videos, your on your way to 50k my friend 👍
@johnwinchester1971
@johnwinchester1971 2 жыл бұрын
Hi there, super helpful video, thanks for taking the time to produce this! I found that in the configuration.yaml it was necessary to use "always_save_latest_file" instead of "always_save_latest_jpg" hopefully that can help others!
@firmbutton6485
@firmbutton6485 Жыл бұрын
I used OpenALPR on a rpi some years back, it was for opening a gate and worked well after tweaking for uk plates. It is worth revisiting it mate.
@nielslangkilde9255
@nielslangkilde9255 3 жыл бұрын
Again a GREAT video tutorial - Setting it up as of now.. Man your awesome..
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thank you sir, appreciate you commenting!
@mas921
@mas921 3 жыл бұрын
now THIS is an awesome home automation idea!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thank you!
@KonradWalsh
@KonradWalsh 3 жыл бұрын
Great find and good simple instructions. I will use it as a concrete car has returned home to compliment person tracking
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
That's a good idea, let me know how it goes!
@MrBongobanger
@MrBongobanger 3 жыл бұрын
Thanks for your video! Good info, good pace.. Subscribed!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks Leon!!
@BrandonEngstrom
@BrandonEngstrom 2 жыл бұрын
Do you have a link for the written article? The link here doesn’t get there, and I cannot find it in your website. Thanks
@petelens9114
@petelens9114 3 жыл бұрын
incredibly useful info, thank you for all your content
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks Pete! Appreciate it!
@brokenarrow-hh5xg
@brokenarrow-hh5xg 3 жыл бұрын
I have Blue Iris installed on an external machine. I have the Blue Iris HACS integration installed and use MQTT to get motion alerts from Blue Iris. I have Deepstack running in a container on my Jetson Nano for object detection within Blue Iris. Can this plate recognition be setup within Home Assistant to use the Blue Iris cameras? Thanks! I love the Tech Tutorial Tuesdays!
@pcnz
@pcnz 2 жыл бұрын
Thanks for the video. Planning to use this with a driveway camera/video doorbell with lock control (Dahua VTO) to trigger an electric driveway gate to open.
@EverythingSmartHome
@EverythingSmartHome 2 жыл бұрын
Nice, that sounds like fun!
@narutoscarletXxx
@narutoscarletXxx 3 жыл бұрын
Nice Video! Just wondering how do I get the motion detection flag from motionEye? Can't seem to find an answer to this :(
@RConradBane
@RConradBane 2 жыл бұрын
Is there an end-to-end solution (whether open source or proprietary) that can analyze your routines and behaviors, then automatically tune the environment to your presence. For example, when it detects your license plate and your smart device connects to the network, it opens the garage and unlocks the main door. If you're by yourself, it turns on lights, environmental controls, etc. according to your routine...i.e., "After Work" turn on the local news and stream the audio to whatever room you're in...or "After Work" fill the bathtub with water that's a certain temp and stream relaxing music. Also, is it possible if the system could query the user if they want those automations to run? Or, have we not gotten there yet at the prosumer level?
@dsellars
@dsellars Жыл бұрын
This is a great video, was able to get it working however when cars reverse out of my garage it picks up the motion and there is no number plate in the shot so it doesn't take the picture on the number plate in the screenshot. Any way around this, possibly maybe adding a delay of a few seconds somwhere? Would like to create an input boolean to show if car is in garage or not.
@mice3d
@mice3d 3 жыл бұрын
Woo-hoo I got a mention, can't wait to give this a try! Thank you mutch appreciated. I've trialed some deepstack on my pc but want to get a Jetson to go with the my HA nuc, would the Xavier NX be an option? Or is it a completely different beast to the nano?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
The Xavier should work I think but you should do some more research, I haven't test it at all!
@mice3d
@mice3d 3 жыл бұрын
Not much info available I'll keep looking maybe Nvidia can send you one to trial with all the great work you are doing 😊
@BauerPowerTech
@BauerPowerTech 3 жыл бұрын
very cool video! Thanks for sharing!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks for watching!
@Lezcarr
@Lezcarr Жыл бұрын
Hi, have you checked out Blue iris that has an LMPR that works better than this intergration, and does intergrate with home assistant but would love to see a video from you that would show how to use white listed plates as sensor
@TexSweden
@TexSweden 3 жыл бұрын
great idea and project!
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thank you!
@nicolasberg57
@nicolasberg57 Жыл бұрын
HI, very usefull video, everything works fine and I get the attributes populated when a car is detected. My question is , "how can I access the attribute "plate" from this entity to do a "if plate="xxXXXX" then trigger gate open ? Thx
@tomar5e115
@tomar5e115 3 жыл бұрын
Eh, in the cloud
@gcd-vlog
@gcd-vlog Жыл бұрын
Excuse me Sir, when I try plate regconition from a rtsp camera stream, the server can not recognize, although I still saw the image received when I call the service. But when I use local JPG image as your tutorial then the server give result number plate. Maybe it relates to stream license of the software
@skynethell
@skynethell Жыл бұрын
Does it matter wqhat platform I use for my camera? I use blue iris and am not sure if it'll work or not.
@davestringer4866
@davestringer4866 Жыл бұрын
got HA running on a PI 4 with reolink 520a is there any way to control an output on the pi
@Jack-rw9zl
@Jack-rw9zl 2 жыл бұрын
Cant seem to get the git link to work on home assistant. Keeps returning an error that its an invalid addon
@jamiehiggs5389
@jamiehiggs5389 Ай бұрын
Hopeing you might still monitor this. Mine set up all good however when the service calls nothing happens shows that I still have the full 2500 count and the website dosent show any uploads either any ideas?
@058Jacko
@058Jacko 3 жыл бұрын
Nice easy video. Does it only pull them values? Could it also pull the make & model?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks as always! No make and model on this version unfortunately!
@VanNguyen-ls2wq
@VanNguyen-ls2wq 3 жыл бұрын
May I ask you? Why did the Camera recognize the license plate number, by Image Processing, instead of the installation method, because I am working on a project project related to this part, thank you very much.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Hello, sorry I don't understand the question?
@SpookyLurker
@SpookyLurker 3 жыл бұрын
@@EverythingSmartHome Sounds like he's asking how the plate characters were recognized.
@trusky77
@trusky77 3 жыл бұрын
Thank you very much for the video. It works great for me, but I don't know how to use license plate recognition. I want when image plate recognicer finds 1111-BBB to open a door for me. I don't know how I should put the trigger in HA. Thanks!!
@knightriderfan1
@knightriderfan1 2 жыл бұрын
did you find this out?
@trusky77
@trusky77 2 жыл бұрын
@@knightriderfan1 Si, siguiente video lo tienes.
@TheDiverJim
@TheDiverJim 3 жыл бұрын
I wish I could figure out my blink cameras better integrated. I’d love this
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
You can do it Jim! 🤞
@TheDiverJim
@TheDiverJim 3 жыл бұрын
@@EverythingSmartHome if I do, I’ll hit you up to make a video with my findings to help the rest of the community
@058Jacko
@058Jacko 2 жыл бұрын
Revisited this after working on one of my projects. Is there another method I could use to recognise there's a number plate in the camera feed, take a snapshot and use that image for the processing? Something like the object detection
@EverythingSmartHome
@EverythingSmartHome 2 жыл бұрын
I haven't found anything reliable yet other than this one that is free unfortunately
@058Jacko
@058Jacko 2 жыл бұрын
@@EverythingSmartHome thanks. I'm trying DOODs to recognise the car, then that will trigger the reg check.
@bencoleman42
@bencoleman42 11 ай бұрын
@@EverythingSmartHome its a year on so sorry ... but plugging this in with frigate might be a good combo. Waiting for my Coral to test this idea...
@Lezcarr
@Lezcarr 3 жыл бұрын
HI I have followed this video as this would be very useful for my farm gate, I have installed and have running motion eye, but I am not getting motion sensor in developer tools, it shows the camera, wonder if you can shed some light on it, I have the tocken, plus this friendly_name: Farm Entrance entity_picture: /api/camera_proxy/camera.farm_entrance?token=dfgfgghghghyh supported_features: 0 Thats all
@beniffland7310
@beniffland7310 29 күн бұрын
The api provides a free stream option. Could this be used?
@Jacho28
@Jacho28 2 жыл бұрын
Try using a jetson nano for an aditional computing by the A.I.
@hybrispsycho1
@hybrispsycho1 3 жыл бұрын
great video and easy instructions however i am getting mixed results ive had 3 different number plates reported and went from sedan to big truck (vauxhall corsa)
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks! That's strange, how is the positioning of your camera?
@hybrispsycho1
@hybrispsycho1 3 жыл бұрын
@@EverythingSmartHome near enough straight on,may be a camera quality issue but hard to tell as i only got it working just before dark when the night vision kicked in and the plates dont show up well in nv. It didnt register it at all going through agentdvr as it dropped in quality so much between agent and HA you cant read the numberplate even in video feed in HA even though you can on the main stream i had to add main stream in config.yaml to get a clearer image and thats what i got the different results from. gonna tinker with it tomorrow, may have to change it from fluent to 1080p to get it to work correctly
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Let me know in the server how it goes, interested!
@LoopsFroott
@LoopsFroott 2 жыл бұрын
Ok so everything is set up. But you left the most important part out. How do I open my gate when a certain plate is read?
@woocashdy4972
@woocashdy4972 2 жыл бұрын
Hey - how to use the plate that has been read to some simple automation? E.g. If it has detected license plate XYZ 123456 open gate. Would you be so kind to explain it? P.S. Liked and subscribed to the channel! :) awesome job
@EverythingSmartHome
@EverythingSmartHome 2 жыл бұрын
Thanks! Have a look at the template video!
@jamesahkiam9435
@jamesahkiam9435 3 жыл бұрын
can you give an example on how i can extract the plate number attribute and make it a sensor.
@jamesahkiam9435
@jamesahkiam9435 3 жыл бұрын
Thanks for the template video. Got it working after a day of trial and error.. 😀
@jeroenbrouwers3976
@jeroenbrouwers3976 3 жыл бұрын
@@jamesahkiam9435 can you tell me how? I tried the sensor template from the GitHub link, but as soon as I change the plate number in mine I get a error
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Everything you need is in the template video!
@jameshendry3571
@jameshendry3571 Жыл бұрын
James - did you create a sensor for each vehicle or single sensor that puts multiple plates into a single sensor? I've only configured it for a single vehicle as it very unlikely that I'd have more than 1 recognisable plate in my driveway. But interested out of curosity "{{ state_attr('image_processing.platerecognizer_frontdrive_cam', 'vehicles')[0].plate }}"
@SpookyLurker
@SpookyLurker 3 жыл бұрын
I'm not keen on using external services for recognition - if cameras I'm using detect something, I would rather it not be seen outside my network.
@mariyahsumayya5562
@mariyahsumayya5562 9 ай бұрын
How can I send the license plate numbers in notifications to Telegram or Email.
@psilan1
@psilan1 7 ай бұрын
How do you create a fake camera entity with a static image?
@drgnyt7487
@drgnyt7487 2 жыл бұрын
Is there anyway I can see what a car looks like just from the licence plate??
@EverythingSmartHome
@EverythingSmartHome 2 жыл бұрын
I'm not sure what you mean sorry?
@miguelgarcia-vg1fh
@miguelgarcia-vg1fh 3 жыл бұрын
Make a video on smart plugs like sonoff s31
@BR.
@BR. 3 жыл бұрын
Nice tutorial! Subscribed :) How do I make motionEye give me a motion detection flag?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks! It's been a while since I looked at motioneye, I just know you can do it. I think it involved using a webhook - there are tutorials on it if you do a quick search, they don't take long
@johnadams1976
@johnadams1976 7 күн бұрын
pausing video at 'doesn't run locally' !! Local only here! ;-)
@JohnSmith-jz6qv
@JohnSmith-jz6qv 3 жыл бұрын
Has anyone got an Annke camera (I91BF) working with this?
@mindiakhechumashvili5453
@mindiakhechumashvili5453 3 жыл бұрын
How to use -plate data? e.g. to automate garage door.
@Pabz2030
@Pabz2030 Жыл бұрын
AL/NPR On a $100 rolling shutter, crappy sensor, CCTV camera with a cheap lens. Good luck making it be anything more than a curiosity/experiment
@lelandclayton5462
@lelandclayton5462 3 жыл бұрын
I am hanging my head in shame on this one. I do CCTV for a living and using a standard Camera for LPR use is a bad idea. Getting plate info is the easy part. The hard part is conditions such as Rain, Overcast, Night or direct Sunlight. A typical IR based Camera will wash out instantly from the Tail Lights and dunno about other places but in the States a plate is reflective and the IR will bounce back and you'll only see white. If you really want a LPR you have to pony up the cash. I would recommend the Hikvision DS-2CD4A26FWD-IZHS/P. It's a Low Light 2MP Bullet Camera that is designed for LPR use. Toss in a 128GB Micro SDCard and also setup FTP Server and find a way to get HA to pull the info from either of those two ways and you'll be golden.
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Of course, that goes without saying. This is a good alternative for something free that you can use with your existing setup. Everything is always going to come down to your exact environment
@tseawell90
@tseawell90 3 жыл бұрын
hanging your head in shame? Please stop taking yourself so seriously.
@lelandclayton5462
@lelandclayton5462 3 жыл бұрын
Yea, I'm hanging my head in shame when people use the wrong equipment for a application such as a cheap Indoor/Outdoor Camera and think they can get amazing results as an LPR. Maybe I should of quoted "Face Palm!" instead. I take my job and hobby seriously.
@mrxmry3264
@mrxmry3264 3 жыл бұрын
If there was a reliable local solution I'd think about it. But this is not an option because it's in the cloud.
@tseawell90
@tseawell90 3 жыл бұрын
Honestly is it really that big of an issue?
@mrxmry3264
@mrxmry3264 3 жыл бұрын
@@tseawell90 I guess that depends on how seriously you take security.
@tseawell90
@tseawell90 3 жыл бұрын
@@mrxmry3264 I understand that but I don't think most home assistant projects require an extreme level of security. Most people seem fine with using ring cloud services etc.
@mrxmry3264
@mrxmry3264 3 жыл бұрын
@@tseawell90 I'm not most people.
@tr1ggerh1pp1e
@tr1ggerh1pp1e Жыл бұрын
@@tseawell90 honestly, it could be. Especially if the site happens to be outside internet connectivity, just like the one i'm dealing with....
@AKKJ420
@AKKJ420 2 жыл бұрын
No cloud thanks
@TwanJaarsveld1
@TwanJaarsveld1 3 жыл бұрын
Does anyone else have trouble with starting HACS?
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
What do you mean sorry?
@TwanJaarsveld1
@TwanJaarsveld1 3 жыл бұрын
@@EverythingSmartHome HACS is installed only it won't start, so I can't use it
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
I don't understand what you mean by start? HACS isn't a service you start
@TwanJaarsveld1
@TwanJaarsveld1 3 жыл бұрын
@@EverythingSmartHome sorry I meant can't open the HACS plugin store
@MattTube
@MattTube 2 жыл бұрын
Single? lol
@giorgosiotis1557
@giorgosiotis1557 3 жыл бұрын
he video is very innovative but why are you in a hurry to pronounce it. Thank you
@EverythingSmartHome
@EverythingSmartHome 3 жыл бұрын
Thanks! I'm not a very confident speaker I guess! 😅
@augusto_lisboa
@augusto_lisboa 2 жыл бұрын
⚠️ Security breach warning ⚠️ Using license plate recognition is A BIG SECURITY RISK alone, someone with a portable printer and a sheet of paper can "bypass" your first security measure...
@EverythingSmartHome
@EverythingSmartHome 2 жыл бұрын
Yep literally mentioned that
@BradPhillips
@BradPhillips 2 жыл бұрын
A lot of people that use Home Assistant are either paranoid or government spies. That rock in your garden poses a 1,000X higher security risk to your home than using a license plate recognition software to open your garage doors. Especially if you write the automation correctly.
@sarelpieterse3545
@sarelpieterse3545 2 жыл бұрын
I want to use this for my neighbourhood watch. We have 9 Camera's and want to form our own database of residents at un-godly hours. Would the stream service on platerecognizer.com work as well?
@MrNickRout
@MrNickRout Жыл бұрын
Man that's creepy.
Object detection with ANY camera in Home Assistant - Tensorflow and DOODS
15:34
Everything Smart Home
Рет қаралды 123 М.
Black Magic 🪄 by Petkit Pura Max #cat #cats
00:38
Sonyakisa8 TT
Рет қаралды 24 МЛН
ONE MORE SUBSCRIBER FOR 6 MILLION!
00:38
Horror Skunx
Рет қаралды 14 МЛН
Extremely Useful NFC Home Automation Ideas!
10:09
Smart Home Solver
Рет қаралды 780 М.
License Plate Detection Demo Using Raspberry Pi Camera
52:14
Data Slayer
Рет қаралды 73 М.
This Smart Home Company Attacked Open Source..
10:16
Everything Smart Home
Рет қаралды 87 М.
EVEN MORE Free Local Object Detection with Home Assistant - Frigate Install
42:10
Everything Smart Home
Рет қаралды 188 М.
The BEST Self-Hosted CCTV Solution With AI Object Detection?
26:16
Jim's Garage
Рет қаралды 68 М.
4 EASY Presence Detection Setups in Home Assistant
11:29
Everything Smart Home
Рет қаралды 146 М.
Fixing The WORST Thing About My 3D Printer With Home Assistant
20:38
Everything Smart Home
Рет қаралды 57 М.
I put this in EVERY room! Smart room detection 😲
5:13
Reed's Smart Home
Рет қаралды 298 М.
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 332 М.
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Рет қаралды 4,7 МЛН
iphone fold ? #spongebob #spongebobsquarepants
0:15
Si pamer 😏
Рет қаралды 248 М.
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,6 МЛН