Can you please give a trick that how can we reduce the lag !! Because when I try tu run Tensorflow models it runs and it also detects it but it's very laggy ? If their is a way please tell OR it's okay.
hlo bro , its very useful, i did this but after running code my camera screen is not poping up like u . I don't what is the problem . help me to sort this out
I keep getting an error with the detectMultiScale function: error: OpenCV(4.3.0) C:\projects\opencv-python\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale' Is there some code I need to modify? Here's my Python code causing the error: face = face_cascade.detectMultiScale( gray, # Frame image scaleFactor=1.1, # How much image size is reduced at each image scale minNeighbors=5) Thanks for any help!
Bro I'm getting an error in the line gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY) cv2.error:OpenCv(4.3.0) and showing the color path .cpp:182:error:(-215:Assertion failed) like this😔 Help me to solve this error😊
I found an alternative but it is not perfect as it does not read a video but take sequentials photos from your phone instead. Much faster. Hope it will help import cv2 import requests import numpy as np url = "192.168.1.21:8080/shot.jpg" while True: img_resp = requests.get(url) img_arr = np.array(bytearray(img_resp.content), dtype=np.uint8) img = cv2.imdecode(img_arr, -1) cv2.imshow('AndroidCam', img) if cv2.waitKey(1) == 27: break
Awesome bro😍😍😍😍😍
I used Droidcam and didn't have to change the face recognition code .....
Worked without any problem👍🏼👍🏼
Can you explain how did you use Droidcam
I couldn’t read it from my python file
@@tahmidislam9646 I just worked without changing anything
Great concept bro 👍..... keep doing like this project!!
Thanx man
@@Iknowpython sir, can u please share the source code for this project?
Hello sir
Can u provide ur mail address., I have one project, can u do that
@@Iknowpython
Can you please give a trick that how can we reduce the lag !! Because when I try tu run Tensorflow models it runs and it also detects it but it's very laggy ? If their is a way please tell OR it's okay.
Nice video man, it was what i needed, thanks
Thanks for the Video.... It will help me a lot in COMPUTER VISION
Really helpful and easy to understand... please continue...
Thanx man
thanks a lot man! crisp and to the point
welcome buddy
Thanks a lot, sir, after trying out many different methods, this one actually worked!!
hlo bro , its very useful, i did this but after running code my camera screen is not poping up like u . I don't what is the problem . help me to sort this out
He definitely knows python!!
My webcam sometimes Not responding how can i solve the problem. but the cam working good.the recognition is strucked sometimes. please help
I bought a useless oak-d-lite camera, a made in America piece of garbage for my robotics project. Now I think approach will save me.
I want to use flask as backend for Android app face detection attendance system
I keep getting an error with the detectMultiScale function:
error: OpenCV(4.3.0) C:\projects\opencv-python\opencv\modules\objdetect\src\cascadedetect.cpp:1689: error: (-215:Assertion failed) !empty() in function 'cv::CascadeClassifier::detectMultiScale'
Is there some code I need to modify?
Here's my Python code causing the error:
face = face_cascade.detectMultiScale(
gray, # Frame image
scaleFactor=1.1, # How much image size is reduced at each image scale
minNeighbors=5)
Thanks for any help!
I got the same problem. It was because I had not downloaded the file 'haarcascade_frontalface_default.xml'. Hope it will help!
Thanks bro i am finding for this typ of vdo
Thanx man
if this works, you are the goat
it worked, but my internet is trash, so it cant be connected simulteonsly (how tf you write simmoueiwqkdstly)
Can we use this for live video conferencing?
it is working bro.But the screen fits the whole window.how to make it into smaller window ??? pls help me out
insert this line below check,frame
frame=cv2.resize(frame,(0,0),fx=0.5,fy=0.5)
The image from the phone camera shown on my GUII is enlarge. Please guide me on how to fix it
See Video preferences and set the video resolution to a smaller format (example 640x480)
insert this line below check,frame
frame = cv2.resize(frame,(0,0),fx=0.5,fy=0.5)
Thanks for your support.
@@ThaoNguyen-up1or Anytime..!
@@wolverine87833 I am getting an error, video.open(address) video is not defined 🤔🤔
Thank you so much, it's very easy to implement
Thanx man
Good proyect! It inspired my a lot!!
Glad to hear it!
Bro I'm getting an error in the line gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY)
cv2.error:OpenCv(4.3.0) and showing the color path .cpp:182:error:(-215:Assertion failed) like this😔
Help me to solve this error😊
I found an alternative but it is not perfect as it does not read a video but take sequentials photos from your phone instead. Much faster.
Hope it will help
import cv2
import requests
import numpy as np
url = "192.168.1.21:8080/shot.jpg"
while True:
img_resp = requests.get(url)
img_arr = np.array(bytearray(img_resp.content), dtype=np.uint8)
img = cv2.imdecode(img_arr, -1)
cv2.imshow('AndroidCam', img)
if cv2.waitKey(1) == 27:
break
same here not workin
Thanks for explanation ... but I want to ask "CAN WE DO THE SAME PROCESS WITHOUT USING IPWEBCAM" ??
Remove the "OK" from this video and it will be 4 minutes long.
Share this video with people number of times i said "ok" or drink twice 😂😂
Is there a way to use Browser rendered instead of Javascript render
is this app in iphone or something like that app ?
-215:Assertion failed) !empty() in function cv::CascadeClassifier detectMultiScale
Thank you so much!!!!
What if you have iPhone
Great solutions best regard
What bout for iPhone 📲
It has a very low fps rate.
How can we improve the framerate.?
frame rate depends on various factors buddy like your internet speed, camera quality (decrease quality to get better fps)
Luv yu bro..tq yu..❣️
Step by step coding kakre btaeye
The streaming is laggy and delay. Anyone can help me out?
Thaks crack, God bless you!
yeah you are right !
Please Help me:
for x,y,w,h in face:
^
SyntaxError: invalid syntax
try making it a tuple, like this:
for (x, y, w, h) in face:
the best feature is you can change video quality
Yuppp
i filed
there is issue
IndentationError: unexpected indent
Anyone else... Heard the wired " Ohkie" every min
I know thats my annoying habit 😅😅😅
thank you bro :D
How to get the code bro
Nice video. Keep going
Thanx
will it also work in iphone?
If there is an app that can like this one on ios than definitely it will work
@@Iknowpython sir can I ask a stackoverflow question to you? It is so important, please...
Sure man ask if i know the solution I will surely help
@@Iknowpython It is the last thing that stucks my project...
@@Iknowpython I am sending link but my comment dissapears. Did you see my link?
pls share the code
Nice video 👍
Thanks BOSS
What is in the xml file??
it is for face detection
thanks bro
Okay
XD
thx
You should hide your IP address 🤦🏼♂️
Hey man btw what can you do with this public ip untill and unless we are connected on the same network just asking for knowledge 😊😊
wooot rainy season lololol
Thnks bro