A Smarter Magic Mirror - Raspberry Pi Face Recognition and Doppler Radar Motion Detection

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024

Комментарии • 61

  • @atomic14
    @atomic14  Год назад +1

    You can subscribe to the atomic14 newsletter so you never miss out! atomic14.substack.com/
    There's also the monthly Maker News - full of interesting titbits and videos: makernews.substack.com/
    If you'd like to help support the channel and help me buy more nonsense - I have a Patreon page: www.patreon.com/atomic14
    And if you're shopping on AliExpress or Amazon then if you click on these links I will get a little bit of affiliate money:
    Aliexpress - s.click.aliexpress.com/e/_Ac05mF
    Amazon - www.amazon.com/?tag=atomic14-20

  • @tahunus3148
    @tahunus3148 Год назад +5

    As always, a great video! Thanks @atomic14!. I've been playing with the "Person Sensor" from "Useful Sensors", an inexpensive (under $10) device with a camera that using TinyML, detects (human) faces and also does face recognition. So it can be used for motion, human and face recognition! It talks I2C to an MCU with the inference results so the face data remains in the device (good for privacy).

    • @atomic14
      @atomic14  Год назад

      That looks very interesting - I'll have to get my hands on one.

  • @gearscodeandfire
    @gearscodeandfire Год назад +1

    this is an absolutely wonderful video and it’s summarizes recent technological advancements on movement/person/face recognition for the DIY maker community perfectly in an easily understood way, bravo!

  • @Dazza_Doo
    @Dazza_Doo Год назад +3

    6:21 On a side note, Drone workshop uploaded *Simple ESP32-CAM Object Detection* in which there was a free service to Edge Impulse, that allowed Machine learning to recognize your face and upload the finial app / extensions into popular boards/platforms. They have trained model for Faces already, however you can upload your face (Mutiple times) to allow the ML to learn You :D Thought it was a neat idea, as I wanted to try and make a Face scanner, trained only to me. They also train from Sensor data, and Audio sources as well - a voice activation or recognition is also trainable to YOU. Also note, the times for Face recognition was about 141ms on a Esp32
    Therefore, I suggest you try a ESP32-Camera board or similar and have that trigger the Magic Mirror to turn ON after a Positive, you probably don't even need the Radar Board to trigger the next step. Powering the ESP32 or similar just for this function is going to be an Energy budget of pittance

  • @MiggyManMike
    @MiggyManMike Год назад +4

    So one of the plus points of the ld2410's is that they are *hugely* configurable when it comes to detection sensitivity and the configuration is done in distance bands so you could configure one so that it essentially only triggers when you're directly in front of it but also RCWL-0516 units are known to clash with wifi and have been seen to generate false positives.

    • @atomic14
      @atomic14  Год назад

      Definitely. The RCWL-0516 is definitely on the cheap and cheerful end of the spectrum. Only for use if you're willing to put up with the downsides and don't need fantastic reliability.

  • @sygad1
    @sygad1 10 месяцев назад

    1st video i've seen of yours and instantly sub'd, I REALLY want you to succeed in making a smart mirror with fast person detection response times, i've been wanting this for years. Looking forward to seeing this develop.

    • @atomic14
      @atomic14  10 месяцев назад

      Thanks for the sub!

  • @HATipsByLarry
    @HATipsByLarry Год назад +1

    i'm using LD2410C presence sensors and the big advantage to them is you can configure it as far as sensitive and max still/movement detection as in less then 0.75 meters. This should help with your detection slowdown as it is very quick in responding to changes.

    • @sblowes
      @sblowes 10 месяцев назад

      Maybe the biggest advantage to the presence sensor would be the ability to use a smart mirror in a bathroom. Granted, you lose face recognition, but I don’t think many people would be comfortable with a camera in their bathroom mirror, no matter how smart it is.

  • @zenmaster24
    @zenmaster24 9 месяцев назад +4

    is the code available anywhere?

  • @kamilk
    @kamilk Год назад +1

    Great one! Should be a standard feature of modern computer and TV screens.

    • @atomic14
      @atomic14  Год назад +1

      Agreed, anything that doesn't have a super low power mode when not in use is just costing you money. It's understandable with old stuff, but with the technology and knowledge we have available now there's no excuse.

  • @ei23de
    @ei23de Год назад

    I also tried the microwave radar outdoors some years ago, but i also got some issues there.
    Triggers way to often...
    Your "hybrid" approach is very clever!
    Thanks for sharing

    • @atomic14
      @atomic14  Год назад

      Thanks - it was quite fun to try and get it all to work together. It's kind of working well, but could definitely use some fine tuning.

  • @gearscodeandfire
    @gearscodeandfire Год назад +1

    Great vid- so glad I discovered you

  • @jonathanr4242
    @jonathanr4242 Год назад

    Love the Doppler radar motion sensor. I've had difficulties with the PIR sensor for outdoor use in bright sunlight.

    • @atomic14
      @atomic14  Год назад +1

      It's amazing that such a simple thing can work so well.

  • @jesseanderson4476
    @jesseanderson4476 9 месяцев назад

    Mate that was brilliant and has inspired me to make my own

  • @kemoxplus
    @kemoxplus Год назад

    it looks so good, thanks for all the information

  • @bastijoho
    @bastijoho Год назад

    Amazing Chris! Should you ever decide to get it "ready for production" I'd buy one immediately.

    • @atomic14
      @atomic14  Год назад +1

      It's a long way from production - held together with bits of electrical tape at the moment... I think the only reason everything doesn't fall out of it is the fact that it's up against the wall :)

    • @miketony2069
      @miketony2069 Год назад

      ​@atomic14 lol "cheap and cheerful" a polite way of saying crap (or rubbish as those across the pond would say) 😂

  • @David_11111
    @David_11111 Год назад +1

    yay

  • @ozjohnno
    @ozjohnno 8 месяцев назад

    Keep on going, Love ya work.....

  • @ei23de
    @ei23de Год назад

    There are also very tiny alternatives to the PIR sensor you showed, you almost can hide them anywhere. They also work behind thin PLA, so if you have a 3D-Printer, you really can hide them nicely.

    • @atomic14
      @atomic14  Год назад

      I'll have to get some of those - could be very interesting.

  • @AzaB2C
    @AzaB2C Год назад

    Neat project! Lots of great info. Cheers!

    • @atomic14
      @atomic14  Год назад

      Thanks! It was fun digging into the different options. I was surprised how well they worked on the Pi Zero - it is pushing it pretty hard.

    • @AzaB2C
      @AzaB2C Год назад

      @@atomic14 you've raised my appreciation/expectations about what's possible with Pi Zero 2, thank you for that! I appreciate your approach to measuring and tuning energy consumption.
      Ideally Pi would have a sleep and/or fast hibernate mode, maybe then through interrupt activation, or, some other external low ampage PIR activated Mcu (e.g. ESP8266, ESP32) could activate Pi. Would be neat to see current be as minimal as possible during Idle time. That would help enable broader set of battery based applications.
      Am assuming most people are not standing in front of the mirror most of the day, so optimal power usage is worth pursuing :-)
      Maybe there's limits on how many services/features can be stopped/disabled on a Pi Zero, and, something like STM32 or something else powerful enough to run OpenCV, but with deep sleep mode support, would be needed?
      Anyway, cheers for your informative thought provoking videos!

    • @atomic14
      @atomic14  Год назад

      It's probably not really the right device for this kind of thing. As you say an STM32 or ESP32 might be more suitable as they have support for deep sleep modes. Reading around the Pi Zero can be got down to around 80mA so that's not too bad.

  • @composeexpose8009
    @composeexpose8009 9 месяцев назад

    Hi! Would it be possible have the Raspberry Pi adjust the exposure so that the face is always properly exposed? If so, any idea how I can achieve this? Thank you!

  • @oelsardine9422
    @oelsardine9422 3 месяца назад

    How do you turn off the screen? How do you make the pi cut video output through code?

  • @SinanAkkoyun
    @SinanAkkoyun Год назад

    Seems like the big flashes do not occur because of the floor but because of the dynamic exposure, everytime you walk in front of the window, but that's just a guess

    • @atomic14
      @atomic14  Год назад +1

      Could be - though our floor is pretty wobbly…

  • @kevincranfield2471
    @kevincranfield2471 8 месяцев назад

    How do you wire up a raspberry pi and Doppler pcb boards new and trying to gather info for a project

  • @Sparky400
    @Sparky400 10 месяцев назад

    Why are you using milliamps and not watts?

  • @RubenKelevra
    @RubenKelevra Год назад

    Can't you cut the power to the screen? Maybe not beeing in standby lets it wake up quicker?

  • @raminmohammadi6407
    @raminmohammadi6407 6 месяцев назад

    Can make it with arduino and it says hello "name" in character lcd?
    I want make this plz help

  • @rogerorchard2317
    @rogerorchard2317 Год назад

    I current working on radar. Are over night tests when is running in a cupboard the AC is off, and no lights are on. so no air move, it see about 50 new objects every 60mS.
    but is 70GHxz radar, we think is dust that is always in the air, triggering the object detection.

    • @atomic14
      @atomic14  Год назад

      Interesting. Is there any way to change the sensitivity of the receiver?

    • @rogerorchard2317
      @rogerorchard2317 Год назад +1

      @@atomic14 The old system which I think was 40GHz the wrong sort of fog blinded it, as was mult/div of the wavelength. The new one scan over about 20 GHz, and it should filter out anything that is not picked up in all the freq but it a bit harder than that so they are still working on the filters

  • @drfonz
    @drfonz Год назад +1

    @atomic14, did you think about scratching the silver off where the camera is (small round patch) to improve performance in the dark? The camera's lense should look a little bit like a mobile phone's punch hole 😅

    • @atomic14
      @atomic14  Год назад

      I did :) The problem is the construction is a little bit ad-hoc - it's held together with bits of tape and cardboard so its hard to get anything really lined up properly.

    • @drfonz
      @drfonz Год назад +1

      @@atomic14 always the challenge with prototypes. I feel your pain 😅

  • @Shadoweee
    @Shadoweee Год назад

    How about offloading the task of detection and such to a server? I assume You've got something running, maybe a NAS - it would be much faster the recognise the face and send proper commands to the Pi.

    • @atomic14
      @atomic14  Год назад +1

      That was my backup plan if I couldn’t get the pi zero fast enough. I’ve got a full pi running my ad blocker.

  • @Dazza_Doo
    @Dazza_Doo Год назад

    The Cheap board you are using isn't in compliance with FCC regulations, but they do work. Basically, great for fun but wouldn't be approved for production. Love the Videos

  • @Leo99929
    @Leo99929 Год назад

    could you turn off the backlight to the screen and stop producing frames for it to show, to save power? Work out whether it's power off state is all white pixels or all black, and get the Pi to hold that frame with no backlight. Then you don't need to wait for the screen electronics to boot but you still get a decent chonk of the power savings?

    • @atomic14
      @atomic14  Год назад

      That’s not a bad idea! I’ll have to dig into the display card and see how it works.

  • @raymondmichael4987
    @raymondmichael4987 10 месяцев назад

    Hello.
    Anyone can some help me to get the datasheet of this LCD L-280A75-C it has 17 pin. Been scratching my head for several weeks now with no luck 😢

  • @BillYovino
    @BillYovino Год назад

    I'm building a Magic Mirror on a Pi 4B but would prefer to use a Zero W. Everything I've seen says that you can't currently run MM on a Zero due to an "Electron"(?) limitation. Do you have a way around this?

    • @atomic14
      @atomic14  Год назад +1

      My magic mirror software is home grown so my experience might not be very relevant. I'm just running a simple website with chrome running in kiosk mode on the Pi Zero W.

  • @piconano
    @piconano Год назад

    Does it work on Dracula?

  • @wimwiddershins
    @wimwiddershins Год назад

    Blipple, splinge, pnonk, frumgumple, smadge.
    ("Funny" comment left.)

  • @mrbillypop
    @mrbillypop 10 месяцев назад

    A funny comment