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

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

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

Пікірлер: 80
@electromigue
@electromigue 2 ай бұрын
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 2 ай бұрын
thnx a lot =)
@dawidw.6016
@dawidw.6016 2 ай бұрын
He is teaching already
@FBHearty
@FBHearty 2 ай бұрын
You're definitively my favorite channel !
@AllAboutAI
@AllAboutAI 2 ай бұрын
thnx a lot :D
@scriptoriumscribe
@scriptoriumscribe 2 ай бұрын
wonderful job! i'm going to copy this and tweak it to hunt for ufos!
@AllAboutAI
@AllAboutAI 2 ай бұрын
haha cool :P
@Ricking0
@Ricking0 2 ай бұрын
minimalist wonderpiece, thanks for making this video
@nateb.1276
@nateb.1276 2 ай бұрын
super cool video. this is basically what the startup Groundlight is doing.
@HyperUpscale
@HyperUpscale 2 ай бұрын
Great video! 🔥
@AllAboutAI
@AllAboutAI 2 ай бұрын
thnx for tuning in =)
@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!
@dankoyy42
@dankoyy42 2 ай бұрын
you are amazing bro
@RoombaMaster2020
@RoombaMaster2020 2 ай бұрын
Thanks!
@nerual_dreming
@nerual_dreming 2 ай бұрын
Bro, it's so amazing engineer skills, u'r NEURAL VIKING!
@AllAboutAI
@AllAboutAI 2 ай бұрын
thnx a lot, appericiate it =)
@enesgul2970
@enesgul2970 2 ай бұрын
Harika fikirlerle videolar üretiyorsun.
@MilMike
@MilMike 2 ай бұрын
person of interest vibes ;)
@ereheryeht
@ereheryeht 2 ай бұрын
Brother you got some skeeeeelzzz
@craigrichards5472
@craigrichards5472 2 ай бұрын
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 2 ай бұрын
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.
@AlvinEvangelista
@AlvinEvangelista 2 ай бұрын
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 2 ай бұрын
thnx mate =) if not to sure about that, havent tested
@Ricking0
@Ricking0 2 ай бұрын
Yes, check out Home Assistant and Frigate, I believe that is one way
@wildfotoz
@wildfotoz 2 ай бұрын
Love the mountains in the background. Looks like you live in a beautiful place!
@AllAboutAI
@AllAboutAI 2 ай бұрын
yeah its cold, but nice =)
@widgetman
@widgetman 2 ай бұрын
Insane! Immediate subscribe
@test12382
@test12382 2 ай бұрын
Alright I can't take it anymore - ILL JOIN THE MEMBERSHIP
@AllAboutAI
@AllAboutAI 2 ай бұрын
welcome :D
@IamAshishChauhan
@IamAshishChauhan 2 ай бұрын
Would love your vlogs if you are going to do it in future. ☺️🙂
@AllAboutAI
@AllAboutAI 2 ай бұрын
i might do that :P
@IamAshishChauhan
@IamAshishChauhan 2 ай бұрын
@@AllAboutAI looking forward :)
@user-ei3fw5ct3s
@user-ei3fw5ct3s 2 ай бұрын
good stuff !
@AllAboutAI
@AllAboutAI 2 ай бұрын
Tnx:)
@nevildev
@nevildev 2 ай бұрын
Boiling water test was awesome!
@AllAboutAI
@AllAboutAI 2 ай бұрын
thnx :D
@Professorfungi
@Professorfungi 2 ай бұрын
🎯 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
@wurstelei1356
@wurstelei1356 2 ай бұрын
Isn't LM Studio sadly closed source? Anyway good video, thumbs up.
@lbf5984
@lbf5984 2 ай бұрын
Hoping this can be used with zoneminder as well?
@FamilyManMoving
@FamilyManMoving 2 ай бұрын
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.
@akkitty22
@akkitty22 2 ай бұрын
Minimum requirements to run moondream is 6GB VRAM, correct? Sadly can't be run on low end machines yet.
@AllAboutAI
@AllAboutAI 2 ай бұрын
that might be correct, havent looked it up
@fullcrum2089
@fullcrum2089 2 ай бұрын
You can run using only CPU using llamacpp, but will be very slow and you need RAM that could fit the model.
@hilmiterzi3847
@hilmiterzi3847 2 ай бұрын
Be honest, was the hardest part of this video the UI introduction part?
@micbab-vg2mu
@micbab-vg2mu 2 ай бұрын
nice:)
@AllAboutAI
@AllAboutAI 2 ай бұрын
thnx mate =)
@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
@jekkleegrace
@jekkleegrace 2 ай бұрын
👓🔭
@ForTheEraOfLove
@ForTheEraOfLove 2 ай бұрын
Who knew the Orwellian future would be initiated by our own hands
@Melvin420x12
@Melvin420x12 2 ай бұрын
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 2 ай бұрын
sucky sucky long time
@rocket-mx6bh
@rocket-mx6bh Күн бұрын
is mistral even necessary in this structure?
@MrJoaopaulofurtado
@MrJoaopaulofurtado 2 ай бұрын
How much to host this in a vps?
@AllAboutAI
@AllAboutAI 2 ай бұрын
hmm, not sure
@hmoodhsjss7075
@hmoodhsjss7075 2 ай бұрын
the URL discord invitation doesn't work
@AllAboutAI
@AllAboutAI 2 ай бұрын
hmm, ill check asap
@hmoodhsjss7075
@hmoodhsjss7075 2 ай бұрын
@@AllAboutAI ty, i just tried it and it still doesnt work, the invitation is expired or i dont have permission to join
@John-ki9fu
@John-ki9fu 2 ай бұрын
reolink already does all this cool tho
@Ricking0
@Ricking0 2 ай бұрын
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.
@pastuh
@pastuh 2 ай бұрын
TLDR: Easy, but you should become a paid member.
@Mephmt
@Mephmt 2 ай бұрын
I am a paid member yet do not have access to the github. Suggestions?
@AllAboutAI
@AllAboutAI 2 ай бұрын
just send me a mail or join discord =)
@yoagcur
@yoagcur 2 ай бұрын
That literally wasn't a cool video. Glad there was no twist at the end with the phone falling into the pot
@Michaela427
@Michaela427 2 ай бұрын
American are fed up with this treasonous administration I feel sympathy and empathy for our country low income people are suffering to survive, I appreciate Elizabeth ! Imagine investing $1000 and receiving $10,450 in 3days.
@TearsWendy
@TearsWendy 2 ай бұрын
How did you do it? Do explain please 😯 My family have been into series of sufferings lately
@Michaela427
@Michaela427 2 ай бұрын
Really feel your pain,when I was even almost down my God sent to me Elizabeth Ann Larson Trading services to me and changed the game automatically
@Michaela427
@Michaela427 2 ай бұрын
There is her line 👎🏿
@Michaela427
@Michaela427 2 ай бұрын
🇺🇲+130
@Michaela427
@Michaela427 2 ай бұрын
1355
@user-rn7cp8mr6p
@user-rn7cp8mr6p 2 ай бұрын
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
I Analyzed My Finance With Local LLMs
17:51
Thu Vu data analytics
Рет қаралды 359 М.
КИРПИЧ ОБ ГОЛОВУ #shorts
00:24
Паша Осадчий
Рет қаралды 6 МЛН
ONE MORE SUBSCRIBER FOR 4 MILLION!
00:28
Horror Skunx
Рет қаралды 59 МЛН
【獨生子的日常】让小奶猫也体验一把鬼打墙#小奶喵 #铲屎官的乐趣
00:12
“獨生子的日常”YouTube官方頻道
Рет қаралды 79 МЛН
New AI Video That Does Everything!
10:36
Theoretically Media
Рет қаралды 48 М.
LLaMA 3 Tested!! Yes, It’s REALLY That GREAT
15:02
Matthew Berman
Рет қаралды 185 М.
100% Local Tiny AI Vision Language Model (1.6B) - Very Impressive!!
15:05
How I Made AI Assistants Do My Work For Me: CrewAI
19:21
Maya Akim
Рет қаралды 632 М.
6 Must-Have Security Gadgets That Fit in Your Pocket
9:03
All Things Secured
Рет қаралды 1,6 МЛН
Run Your Own LLM Locally: LLaMa, Mistral & More
6:55
NeuralNine
Рет қаралды 41 М.
The AI Cybersecurity future is here
26:42
David Bombal
Рет қаралды 143 М.
Build Anything with Llama 3 Agents, Here’s How
12:23
David Ondrej
Рет қаралды 73 М.
Which Phone Unlock Code Will You Choose? 🤔️
0:12
Game9bit
Рет қаралды 6 МЛН
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Рет қаралды 2,3 МЛН
КУПИЛ SAMSUNG GALAXY S24 ULTRA ЗА 88000 РУБЛЕЙ!
27:29
The PA042 SAMSUNG S24 Ultra phone cage turns your phone into a pro camera!
0:24