I very much enjoyed this tutorial. The first step is to learn basic HTML. The next step is to do machine learning. Thank you for the clear explanations! :)
hey can u please tell me what to write instead of 0 in videocapture while deploying and wanted to get the access of any remote user camera i mean to say how we can access camera after deployment of this app please help
At the output at 30:00, it puts an error as no attribute of video in videoCamera, I checked correctly every words, still it shows the same, please help
Same issue here Manthan. Iv already tried updating all installs and that didnt work. Iv posted on stack overflow and on pythons Discord to see if anyone can help. There is a good chance this stuff doesnt work in the latest versions of python.
hello sir, I am getting this error when I try to open the camera on the website(output at 30:38 minutes in the video) [ WARN:0] global C:\Users unneradmin\AppData\Local\Temp\pip-req-build-1hfhc_rd\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback please help?
Nice Video Tutorial. I am trying to upload a video using CV2 VideoCapture but it is not working with the same code. Alternatively, I tried to upload images as well, which is also not working. Can you please suggest something?
Hey I got a question: I have an error in my main.py where it says: line 13, in gen yield (b'--frame ' TypeError: can't concat method to bytes do you know a fix?
@@Lavah i have problem this code just work in local server and when i have camere on in server ...i runned this code in server that not have camera ...when i take request from clinet it not work and i can see camera ...the project not have error???
Hi, Mishab i found your video really helpful and i need help with the age and gender detection project, whatever in this video will detect upto face only within the frame but won't give any output after clicking image, but after detection how it will work for age and gender detection also and will give output accordingly. Please do help me through this.
Hi, you are looing into something like heroku or pythonanywhere? I am working on a side project where I need to do this shortly. Will post it in the near future. hope that helps. But in the meantime let me know if heroku or pythonanywhere helps.
hi mohammad i have probem when i taake this project to web server ... the error is :??? File "C:\Users\mohammad\PycharmProjects\pythonProject2\main.py", line 11, in gen frame = camera.get_frame() File "C:\Users\mohammad\PycharmProjects\pythonProject2\camera.py", line 13, in get_frame gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY) cv2.error: OpenCV(4.5.3) C:\Users unneradmin\AppData\Local\Temp\pip-req-build-sn_xpupm\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'
I very much enjoyed this tutorial. The first step is to learn basic HTML. The next step is to do machine learning. Thank you for the clear explanations! :)
hey can u please tell me what to write instead of 0 in videocapture while deploying and wanted to get the access of any remote user camera
i mean to say how we can access camera after deployment of this app please help
This is the reason I'm here, did you find the solution? it seems that webopencv could work but I have not tried it yet
I have been facing the same problem for more than a week...😢
if you get to know of any solution please let me know
@@46_aiml_elhanraza59 Even I'm caught up with the same problem 😶, if you found a solution please let me know 😥🙏🏻
At the output at 30:00, it puts an error as no attribute of video in videoCamera, I checked correctly every words, still it shows the same, please help
Same issue here Manthan. Iv already tried updating all installs and that didnt work. Iv posted on stack overflow and on pythons Discord to see if anyone can help. There is a good chance this stuff doesnt work in the latest versions of python.
Hi Mohammed, Can you share the references for practice purpose
Hi, yeah. I couldn't upload it on GitHub yet. But will do it over the weekend 🙂
please, how to make a software with opencv applications and sell it to a custumer?
Excellent tutorial!!!, But if you deploy the scripts on a remote server you can not use the webcam from remote user, is there some solution please??
Thank you very much.
Genuinely great tutorial, thank you!
hello sir,
I am getting this error when I try to open the camera on the website(output at 30:38 minutes in the video)
[ WARN:0] global C:\Users
unneradmin\AppData\Local\Temp\pip-req-build-1hfhc_rd\opencv\modules\videoio\src\cap_msmf.cpp (438) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
please help?
what are the option to deploy this project online
is it optimal to do frame by frame?
are you have any Audio Signal Processing project example pleaaaaase
We can't open camera outside localhost right?
this is problem ! i have problem too...
same issue here, can you discover how to fix it?
I have been facing the same problem for more than a week...😢
if you get to know of any solution please let me know
Nice Video Tutorial. I am trying to upload a video using CV2 VideoCapture but it is not working with the same code. Alternatively, I tried to upload images as well, which is also not working. Can you please suggest something?
after deploy project i cant reach the webcam with cv2.VideoCapture(0), do you know how can i fix it?
I have been facing the same problem for more than a week...😢
if you get to know of any solution please let me know
Excellent tutorial very helpful
how can host on heroku
Great contents.Thanks for sharing bro 👍👌
Hey I got a question:
I have an error in my main.py where it says:
line 13, in gen
yield (b'--frame
'
TypeError: can't concat method to bytes
do you know a fix?
Nvm this fixed it for some reason:
def gen(camera):
while True:
frame = camera.get_frame()
yield (b'--frame
'
b'Content-Type: image/jpeg
' + frame + b'
')
Glad it worked. Sorry for the late response, been away
@@Lavah i have problem this code just work in local server and when i have camere on in server ...i runned this code in server that not have camera ...when i take request from clinet it not work and i can see camera ...the project not have error???
Hi, Mishab i found your video really helpful and i need help with the age and gender detection project, whatever in this video will detect upto face only within the frame but won't give any output after clicking image, but after detection how it will work for age and gender detection also and will give output accordingly. Please do help me through this.
Can you deploy this and make a toturials on it plesse
Hi, you are looing into something like heroku or pythonanywhere? I am working on a side project where I need to do this shortly. Will post it in the near future. hope that helps. But in the meantime let me know if heroku or pythonanywhere helps.
@@19daredevill yes both platform would work. Or if you can use Awz that would be much awesome
@@19daredevill Could you tell about Procfile and requirements?
I've tried uploading on Heroku but it doesn't open the camera...
Hi I tried to deploy on heroku but I'm getting application error
@@bharathreddy2805 Hi, I recently made a video on heroku deployment. Hope it helps you. ruclips.net/video/sQzNCOkQ9us/видео.html
Video on how to deploy a Flask website to Heroku
ruclips.net/video/sQzNCOkQ9us/видео.html
hi mohammad i have probem when i taake this project to web server ...
the error is :???
File "C:\Users\mohammad\PycharmProjects\pythonProject2\main.py", line 11, in gen
frame = camera.get_frame()
File "C:\Users\mohammad\PycharmProjects\pythonProject2\camera.py", line 13, in get_frame
gray=cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY)
cv2.error: OpenCV(4.5.3) C:\Users
unneradmin\AppData\Local\Temp\pip-req-build-sn_xpupm\opencv\modules\imgproc\src\color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cv::cvtColor'