Programmers do not want dollars. We just have to have Python. π₯
30 traces of Python code is more than enough to develop a safety digicam with superior burglar detection tactics.
This is gonna be super-fun this New 12 months. Preserve that cash you received to obtain the safety digital camera and code your own for absolutely free in just 30 traces of Python. Nobody can even make out. How intelligent you are! π
It can be super-basic, tremendous-fun, tremendous-outrageous. Let us get commenced. π€π»
Whole code:
If you deal with any coding relevant challenges or anything at all, just sign up for our Discord server and we are waiting around for you:
Credit rating for this video clip goes to a ProgrammingKnowledge video ( Minhaj, Mujahid, Sufi, Shajedul and the entire Programming Hero family.
Particular many thanks to Grandma’s GrandKids.
#python #hack #opencv #securitycamera #surveillance #digital camera # #computervision #automate #motiondetection #movementtrack #imageprocessing #pythonhack #free #programming #enjoyable #task
WHAT IS THE Video ABOUT?
Save your protection upkeep revenue by just constructing your have in just 30 strains. π₯
Your siblings will be fearful to steal nearly anything from your place. π
Learn OpenCV, computer vision, motion detection, monitoring motion, impression processing and so a great deal additional. ππ»
By the way, what are you heading to do with all of that cash? π€π
Now, if you are new to the programming entire world and will not know what to do, go test out our app and establish your possess recreation promptly although learning.
Android Application:
Iphone Variation:
Video clip TIMESTAMPS
Have to go call your unique one particular in some time? We have an understanding of your agony. Timestamp might assist.
00:28 – Grandma rocks
00:51 – Task commences
01:50 – Most important code begins
—
Initial Move
01:50 to 07:00 – Acquiring started out with pc vision in 7 strains
01:58 – OpenCV bundle put in
—
Second Step
07:10 to 21:10 – Detecting unique objects (movement detection)
—
Remaining And Entertaining Phase
21:11 to 28:00 – Building some sound (doing the job with burglar alarm)
—
26:26 – Last Consequence (Increase!)
Check OUT
Wanna turn out to be a entire world class programmer? Here are 10 venture strategies for you to rapidly develop into that:
Enjoyed THE Video?
Conserve your self β from Grandma β she’ll spy whenever you chat with your crush and convert off the WiFi if you really don’t click on the Like button and also turn the Subscribe button from red to white.
If you like and subscribe to this interesting video clip, she’ll bring a new video in just a couple times.
OUR SOCIAL MEDIA
Check out us on Fb:
Peep us on Instagram:
Fly with us on Twitter:
Board with us on Pinterest:
Really don’t share this with your pals. They will know your top secret. π
We’re often with you. If you facial area any coding linked concerns or everything, just join our server and we are ready for you:
π―π―π―π―π―π₯π₯π₯π₯π₯π₯π₯π₯!!!
100K+ Grandkids π
Our fresh hot grandma π΅π» got 100K+ grandkids.
Let's join our all night Grand Grandma party.
Let's party ππ₯³π
(if you are not subscribed yet, subscribe now to join the party π₯π₯)
that wav file is not playable
You need to change your audio input to the microphone in front of you, as your audio sounds like it's being recorded from far away in the room. There's a lot of reverb which makes it a little more difficult to hear you.
Hi programming hero I am getting one problem while running the code the problem is it is showing me RuntimeError: failed to beep
Programming hero plz Help me so i can make a cam plz see the screen shot and tell me what is the problem plz.
ModuleNotFoundError: No module named 'cv2' I am having this error
sir its not working please help it shows terminating async callback plz help
Awesome π
import cv2
import winsound
cam = cv2.VideoCapture(0)
while cam.isOpened():
ret, frame1 = cam.read()
ret, frame2 = cam.read()
diff = cv2.absdiff(frame1, frame2)
gray = cv2.cvtColor(diff, cv2.COLOR_RGB2GRAY)
blur = cv2.GaussianBlur(gray, (5,5,), 0)
_, thresh = cv2.threshold(blur, 20, 255, cv2.THRESH_BINARY)
dilated = cv2.dilate(thresh, None, iterations=3)
contours, _ = cv2.findContours(dilated, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
# cv2.drawContours(frame1, contours, -1, (0, 255, 0), 2)
for c in contours:
if cv2.contourArea(c) < 5000:
continue
x, y, w, h = cv2.boundingRect(c)
cv2.rectangle(frame1, (x, y), (x+w, y+h), (0, 255, 0), 2)
winsound.PlaySound('alert.wav', winsound.SND_ASYNC)
if cv2.waitKey(1) == ord('q'):
break
cv2.imshow('Camera', frame1)
terminal:
pip install cv2
Love the way you explain things. Very beginner friendly. Thank you
Bro can you explain face recognition with their name program with explains video too
We any way require a camera to program
i think gramma has biit him on his lip there is a red ball
make it in bangle language .
Sir , Bring video on android development using Kivy.
from which country are you?
[ WARN:0] global C:UsersrunneradminAppDataLocalTemppip-req-build-m8us58q4opencvmodulesvideoiosrccap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
can you help me in this
please make a video on how to make an android app like that of your "programming hero app"
Bro in my python code alert sound is not coming but windows error sound is coming please help me
line 11 is not comming
module not working
Sir, can you make a video to teach us how to add these project to github or heroku and create apps