I am really very proud about you since I was searching many explanation nothing is clear but your demonstration made my code successful and very cleanly understood the concept. Thank you so much
i'm getting some error after writting the code please help descriptor 'detectMultiScale' for 'cv2.CascadeClassifier' objects doesn't apply to a 'numpy.ndarray' object
Well I hav a challenge for you....do exactly the same you did in the video above, but 1) add a centerpoint and 2) have a tracking optical flow line starting from that centerpoint of the bounding box....is it possible???
Your variable name should be "frame" not gray. frame = cv2.cvtColor(frame, 0) detections = cascade_classifier.detectMultiScale(frame,scaleFactor=1.3,minNeighbors=5)
can you tell me how to do like this with python: detect an image on an application and if the image is not there search for the image again and if it's there then do something.
you need to download the haarcascade_frontalface_default.xml from the opencv github: github.com/opencv/opencv/tree/master/data/haarcascades and add it to the folder where you run your python script
please guide me what is the solution of this; OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-wwma2wne\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
you prolly dont give a shit but if you're bored like me atm then you can watch all of the latest series on InstaFlixxer. Been streaming with my gf for the last few weeks :)
I am really very proud about you since I was searching many explanation nothing is clear but your demonstration made my code successful and very cleanly understood the concept. Thank you so much
i'm getting some error after writting the code
please help
descriptor 'detectMultiScale' for 'cv2.CascadeClassifier' objects doesn't apply to a 'numpy.ndarray' object
My code runs without any errors but the video capture frame is constantly showing as 'not responding'. Could you help me out with that please?
In the cap.read() function it is giving me an exception : " unknown C++ exception from OpenCV code"...
Please help
Well I hav a challenge for you....do exactly the same you did in the video above, but 1) add a centerpoint and 2) have a tracking optical flow line starting from that centerpoint of the bounding box....is it possible???
Please give me ideas for Mini project 3rd year CSE
I'm also😄
Emotions detection
Contact me
Wtf I am in first year and watching this video
@@indiahacker2949
How
iam getting an error saying gray is not defined how to resolve it??
Your variable name should be "frame" not gray.
frame = cv2.cvtColor(frame, 0)
detections = cascade_classifier.detectMultiScale(frame,scaleFactor=1.3,minNeighbors=5)
@@CodeHeroku okay thanks
@@sagarpatil-wp9jx Hii
Interesting for novice like me. Great video
Thanks Prasad! You are the best :)
Thanku so much sir
how to used in weapon detection same as face detection please kindly define and which cascade classifier library used both work as well
sure do!!! nice detection technique !!
can you tell me how to do like this with python:
detect an image on an application and if the image is not there search for the image again
and if it's there then do something.
Google drive link doesnt work
How to rectify !_src. empty() in function cvtColor error
How to calculate accuracy and loss functions by using the face recognition library?
cap = cv2.VideoCapture(0)
AttributeError: module 'cv2' has no attribute 'VideoCapture'
help me fix this error please
Import moviepy
need help. i'm not able to run code as webcam open for sometime and sudden crashed.
After writing whole code I am getting error as (Assertion failed)! empty().please help
Error is showing in the line detections= cascade_classifier.detectMultiScale(frame,1.3,5)...and my webcam is nit opening 😕pls help
Yup same things happening with me
same issue
@@salmanahmed9056 faces=face_cascade.detectMultiScale(gray,1.1,4)
Try this value and let me knw if this works fine for u
U didnt define gray
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
There is no sentence/code like that in that file
See from your eyes
Add this to the program for no errors
Ok thank you
Everyone is getting error
Pls help me.....it is showing error in the detections=cascade_clasifier.detectMultiScale(frame, 1.3, 5)
And showing cv2.error:opencv(4.4.0)
you need to download the haarcascade_frontalface_default.xml from the opencv github: github.com/opencv/opencv/tree/master/data/haarcascades
and add it to the folder where you run your python script
How can i save the detected face once if the same face detected again
Thank you!
please guide me what is the solution of this;
OpenCV(4.4.0) C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-wwma2wne\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
update your opencv
pip install opencv-python==4.4.0.44
or use this version
pip install opencv-python==4.4.0.42 it is stable version
@@tahaqureshi7293 THANKS BRO NOW IT COME WITH NEW ERROR WITH GRAY LINE CODE CAN YOU CLEARIFY IT?
@@salmanahmed9056 import numpy as np
import cv2
cap = cv2.VideoCapture(0)
while(cap.isOpened()): # check !
# capture frame-by-frame
ret, frame = cap.read()
if ret: # check ! (some webcam's need a "warmup")
# our operation on frame come here
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
# Display the resulting frame
cv2.imshow('frame', gray)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
# When everything is done release the capture
cap.release()
cv2.destroyAllWindows()
GREAT WORK
you prolly dont give a shit but if you're bored like me atm then you can watch all of the latest series on InstaFlixxer. Been streaming with my gf for the last few weeks :)
@Jaxtyn Crew Yup, been watching on InstaFlixxer for months myself :)
Can you please tell me which editor are you using
Sublime Text Editor
that was great thanks
sir, is this code work in jupyter notebook?
I am getting an error overload resolution failed
5:03 bhaiya aap to mere teacher ki traha bol rhe ho
error: OpenCV(4.8.0) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
Interesting...
How to improve face detection in raspi?
thnak you again
how to fix cv2 error?
same dought
pip3 install python-opencv
Sir how to fix break error.
hello play provide haarcascade to how detect a group of people in a pic
do it without haar cascade...use any other algo
it's not working on vs code sir
Well its working tho. But the AI not detect my face *BUT* detect my eyes XD
which editor you have used
With gui this project please 🙏
Sir, pls sir ,can u add emotion recognition in this plz sir ,i understand this far better than other videos
@code heroku bhai plz isko further extend karona emotion detection per plz bhai
Nice video, but i have this error coming up, NameError: name 'gray' is not defined. Thanks in Advance if someone solves this problem :)
gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
Declare like this
shit every one is getting error
Nice
Wow
how to close webcam
You can press q on the opened window
Konasi language use ki hai aur konasa editor
python
vs code
It throws nameError : name “gray” is not defined.
gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
@@anupamdungdung9417 Thanks bro
👍🏿👍🏿👍🏿👍🏿👍🏿
Wrong code.. u have errors in code.
yes there is an empty source code error showing after compilation
@@atharvagupta8144 download cascaded file.