100% Local AI Surveillance System - Moondream 1.6B / Python / Mistral 7B

  Рет қаралды 13,944

All About AI

All About AI

Күн бұрын

100% Local AI Surveillance System - Moondream 1.6B / Python / Mistral 7B
👊 Become a member and get access to GitHub:
/ allaboutai
📧 Join the newsletter:
www.allabtai.com/newsletter/
🌐 My website:
www.allabtai.com
In this video i create a project where I use the moondream tiny vision model and a live stream to detect different objects / persons and send a e-mail alert with the video clip attatched. Python Automation
GH Moondream:
github.com/vikhyat/moondream
00:00 Local AI Surveillance System Intro
00:44 Flowchart
01:48 Python Code
05:24 How to Setup IP Webcam
05:51 FIRE Test
08:10 BOILING WATER Test
09:49 Conclusion

Пікірлер: 67
@electromigue
@electromigue 3 ай бұрын
bro, start teaching this kind of stuff to young people in your area and you will become the town hero. I'm not a coder and with Python it is still possible to understand what's happening in the program. Love your vids & your creativity.
@AllAboutAI
@AllAboutAI 3 ай бұрын
thnx a lot =)
@dawidw.6016
@dawidw.6016 2 ай бұрын
He is teaching already
@bovjer
@bovjer Ай бұрын
Great videos as always mate! I'm subscribing and liking as much as I can. Btw what kind of camera are you using for surveillance? Do you think something like the ESP32 cams or something similar like the ones running on a raspberry pi can be used for this? I do have a beefy GPU, but my budget for camera equipment is in the toilet. Just wondering. Keep up the great work buddy!
@FBHearty
@FBHearty 3 ай бұрын
You're definitively my favorite channel !
@AllAboutAI
@AllAboutAI 3 ай бұрын
thnx a lot :D
@scriptoriumscribe
@scriptoriumscribe 3 ай бұрын
wonderful job! i'm going to copy this and tweak it to hunt for ufos!
@AllAboutAI
@AllAboutAI 3 ай бұрын
haha cool :P
@nateb.1276
@nateb.1276 3 ай бұрын
super cool video. this is basically what the startup Groundlight is doing.
@Ricking0
@Ricking0 3 ай бұрын
minimalist wonderpiece, thanks for making this video
@wildfotoz
@wildfotoz 3 ай бұрын
Love the mountains in the background. Looks like you live in a beautiful place!
@AllAboutAI
@AllAboutAI 3 ай бұрын
yeah its cold, but nice =)
@HyperUpscale
@HyperUpscale 3 ай бұрын
Great video! 🔥
@AllAboutAI
@AllAboutAI 3 ай бұрын
thnx for tuning in =)
@nevildev
@nevildev 3 ай бұрын
Boiling water test was awesome!
@AllAboutAI
@AllAboutAI 3 ай бұрын
thnx :D
@RoombaMaster2020
@RoombaMaster2020 3 ай бұрын
Thanks!
@dankoyy42
@dankoyy42 2 ай бұрын
you are amazing bro
@nerual_dreming
@nerual_dreming 3 ай бұрын
Bro, it's so amazing engineer skills, u'r NEURAL VIKING!
@AllAboutAI
@AllAboutAI 3 ай бұрын
thnx a lot, appericiate it =)
@Tsardoz
@Tsardoz 9 күн бұрын
Moondream reduces images to 440x440 pixel squares so no point in high res images. It will letterbox them too. If you want to see small objects you might want to break up the images into overlapping tiles.
@MilMike
@MilMike 3 ай бұрын
person of interest vibes ;)
@enesgul2970
@enesgul2970 3 ай бұрын
Harika fikirlerle videolar üretiyorsun.
@AlvinEvangelista
@AlvinEvangelista 3 ай бұрын
I've been watching your content for a while, very good and very useful information. You covered something I wanted to know for a long time. Just wondering if open source has software that allows for vehicle license plate recognition and face recognition as well.
@AllAboutAI
@AllAboutAI 3 ай бұрын
thnx mate =) if not to sure about that, havent tested
@Ricking0
@Ricking0 3 ай бұрын
Yes, check out Home Assistant and Frigate, I believe that is one way
@ereheryeht
@ereheryeht 3 ай бұрын
Brother you got some skeeeeelzzz
@craigrichards5472
@craigrichards5472 3 ай бұрын
Love the surveillance app, how would you go about detecting if it was not a family member? I think that would be a terrific extension. Amazing mate
@jackford3069
@jackford3069 3 ай бұрын
You'd probably have to have a few images of yourself and your family members and train the model to recognise them. Training also may not even be required here, not too sure as I haven't played around with it myself.
@widgetman
@widgetman 3 ай бұрын
Insane! Immediate subscribe
@test12382
@test12382 3 ай бұрын
Alright I can't take it anymore - ILL JOIN THE MEMBERSHIP
@AllAboutAI
@AllAboutAI 3 ай бұрын
welcome :D
@user-ei3fw5ct3s
@user-ei3fw5ct3s 3 ай бұрын
good stuff !
@AllAboutAI
@AllAboutAI 3 ай бұрын
Tnx:)
@IamAshishChauhan
@IamAshishChauhan 3 ай бұрын
Would love your vlogs if you are going to do it in future. ☺️🙂
@AllAboutAI
@AllAboutAI 3 ай бұрын
i might do that :P
@IamAshishChauhan
@IamAshishChauhan 3 ай бұрын
@@AllAboutAI looking forward :)
@wurstelei1356
@wurstelei1356 3 ай бұрын
Isn't LM Studio sadly closed source? Anyway good video, thumbs up.
@micbab-vg2mu
@micbab-vg2mu 3 ай бұрын
nice:)
@AllAboutAI
@AllAboutAI 3 ай бұрын
thnx mate =)
@akkitty22
@akkitty22 3 ай бұрын
Minimum requirements to run moondream is 6GB VRAM, correct? Sadly can't be run on low end machines yet.
@AllAboutAI
@AllAboutAI 3 ай бұрын
that might be correct, havent looked it up
@fullcrum2089
@fullcrum2089 3 ай бұрын
You can run using only CPU using llamacpp, but will be very slow and you need RAM that could fit the model.
@lokeshart3340
@lokeshart3340 Ай бұрын
😅 sir i have a request can u make a video on it like I want to create a virtual assistant with vision so I want to use Llava multimodal . When I start the app then it starts storing frames from webcam and a certain interval then I speak to assistant and when I stop speaking the frames will be stored in a folder and last 60 frames will be stored then after detecting that I am not talking it will take all these 60 frames and stack upon each other and make a one image for convenient then this one image containing all last 60 frames in one image will be sent to the modal along with STT as a prompt and then we will get our response from the modal and speak it using TTS. So I am making a vision virtual assistant that uses webcam ☺️😀 this is my idea can u make it? Pls ❤️☺️🙏❤️
@lokeshart3340
@lokeshart3340 Ай бұрын
Like gemini demo real life
@lbf5984
@lbf5984 3 ай бұрын
Hoping this can be used with zoneminder as well?
@FamilyManMoving
@FamilyManMoving 3 ай бұрын
Zoneminder captures in motion JPEG - basically a series of JPG files that are replayed like a flip-file card deck to create video. So in theory it will work with moondream if you can feed the images to it in order. You'll probably need to code for MJPEG. I gave up zoneminder because it's sooo far behind others, and it's management and performance over time get worse. I had two sites running it with between 2-8 cameras each. It did a good enough job to put some burglars in jail (two events) and held up in court - or at least the perps plead out after seeing the video (which I converted to H.264). But it's not H.264, which has far surpassed anything else. Most cameras do not output HD-quality MJPEG, so using ZM requires either lower resolution images, or a heavy transcode/rip on the server as the HD feed comes in (CPU hog at scale). So it rips the video into thousands of photo frames. Each of those is an inode on the disk, and you'll find yourself tuning them (and the OS) to get it all to hold together. The chain of daemons to capture, rip, "eventify" and store will add up cycles. It is not an efficient design or system. I liked it and ran it for a few years, but I never stopped looking for something else. Eventually I found and tested a few. Take a look at FreeNAS; that is my current selection. It's pretty cheap compared to your labor. But as always, YMMV. Enjoy.
@hilmiterzi3847
@hilmiterzi3847 3 ай бұрын
Be honest, was the hardest part of this video the UI introduction part?
@Professorfungi
@Professorfungi 3 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 🌐 *Introduction to Local AI Surveillance System* - System demonstration of capturing video and sending email attachments. - Brief overview of the system components and flowchart. - Explanation of the IP webcam setup for live streaming. 01:49 🤖 *Mistral 7B and MoonDream 1 Ty Functions* - Introduction to Mistral 7B function for security logs. - Overview of MoonDream 1 Ty Vision model function. - Configuration of video capture settings. 03:39 📧 *Email Function and Main System Loop* - Explanation of the email sending function using the Mailgun API. - Main loop of the system for continuous monitoring. - Conditional statements based on person detection and email sending. 05:16 🔥 *Testing for Fire Detection* - Switching the system's prompt to detect fire. - Live test for identifying a fire in the video stream. - Evaluation of the email confirmation for successful detection. 07:56 💦 *Testing for Boiling Water Detection* - Setting up the system to detect boiling water. - Live test for identifying boiling water in the video stream. - Verification of the security log and email confirmation. 09:54 🎉 *Project Conclusion and Invitation* - Recap of the project, its ease of setup, and successful tests. - Invitation to access the project via a link in the description. - Closing remarks and gratitude for viewers tuning in. Made with HARPA AI
@ForTheEraOfLove
@ForTheEraOfLove 3 ай бұрын
Who knew the Orwellian future would be initiated by our own hands
@Melvin420x12
@Melvin420x12 3 ай бұрын
Interesting take, perhaps it's our only weapon against an actual Orwellian future. If the power is decentralized and into the hands of the people, no centralized organization is viable enough to grow big enough in surveillance.
@CustomDabber360
@CustomDabber360 3 ай бұрын
sucky sucky long time
@jekkleegrace
@jekkleegrace 3 ай бұрын
👓🔭
@rocket-mx6bh
@rocket-mx6bh 15 күн бұрын
is mistral even necessary in this structure?
@John-ki9fu
@John-ki9fu 3 ай бұрын
reolink already does all this cool tho
@Ricking0
@Ricking0 3 ай бұрын
sure but mostly person or dog AI detection, this is very customizable and you control the logic, while with reolink god knows where the logic takes place, I can think of 1000 use cases for this.
@MrJoaopaulofurtado
@MrJoaopaulofurtado 3 ай бұрын
How much to host this in a vps?
@AllAboutAI
@AllAboutAI 3 ай бұрын
hmm, not sure
@hmoodhsjss7075
@hmoodhsjss7075 3 ай бұрын
the URL discord invitation doesn't work
@AllAboutAI
@AllAboutAI 3 ай бұрын
hmm, ill check asap
@hmoodhsjss7075
@hmoodhsjss7075 3 ай бұрын
@@AllAboutAI ty, i just tried it and it still doesnt work, the invitation is expired or i dont have permission to join
@pastuh
@pastuh 3 ай бұрын
TLDR: Easy, but you should become a paid member.
@Mephmt
@Mephmt 3 ай бұрын
I am a paid member yet do not have access to the github. Suggestions?
@AllAboutAI
@AllAboutAI 3 ай бұрын
just send me a mail or join discord =)
@yoagcur
@yoagcur 3 ай бұрын
That literally wasn't a cool video. Glad there was no twist at the end with the phone falling into the pot
@user-rn7cp8mr6p
@user-rn7cp8mr6p 3 ай бұрын
So you have to turn pc on all the time to make it work? That's BS
NVIDIA AI Developer Contest - Speech to Image TensorRT - GTC 2024
6:46
26 Incredible Use Cases for the New GPT-4o
21:58
The AI Advantage
Рет қаралды 225 М.
О, сосисочки! (Или корейская уличная еда?)
00:32
Кушать Хочу
Рет қаралды 5 МЛН
Мы играли всей семьей
00:27
Даша Боровик
Рет қаралды 5 МЛН
Publish an ASP.NET Core web API to cloud azure API with Visual Studio by Said WAHID - MDS Talks
MDS : Moroccan Data Scientists Community
Рет қаралды 28
New AI Video That Does Everything!
10:36
Theoretically Media
Рет қаралды 48 М.
I Analyzed My Finance With Local LLMs
17:51
Thu Vu data analytics
Рет қаралды 375 М.
This VLM can be your MultiModal AI with less than 6GB Memory!!!
10:50
The AI Cybersecurity future is here
26:42
David Bombal
Рет қаралды 145 М.
Smart Second Brain for Obsidian(Free & Offline)
16:43
Prakash Joshi Pax
Рет қаралды 8 М.
AI Engineer Beginner Project 1: Agentic Behavior (Full Code)
19:43
wyłącznik
0:50
Panele Fotowoltaiczne
Рет қаралды 8 МЛН
How Neuralink Works 🧠
0:28
Zack D. Films
Рет қаралды 29 МЛН
Apple Event - May 7
38:32
Apple
Рет қаралды 6 МЛН
СЛОМАЛСЯ ПК ЗА 2000$🤬
0:59
Корнеич
Рет қаралды 2,4 МЛН
APPLE УБИЛА ЕГО - iMac 27 5K
19:34
ЗЕ МАККЕРС
Рет қаралды 98 М.