Take the image from canvas via javascript. Run insert query to save the image name to db. Save image to a folder. Watch my file upload videos for more help
Thanks a lot! but i want to save captured image in hard disk on capture image event eg. in c drive or any path so what i have to do?? and i am working in django.
but i want that on capture button event image will get saved in any location eg. in c drive or Desktop directory. Basically my project is to compare 2 faces in 2 images, first image is present in database but second i have to read from camera, so what i have to do? I do not want user to see image as downloaded just it get saved.
@@CodeFlix12 I think I have solved it. The thing is that I'm working this on Django, so I run the script for a specific IP. When I go to that IP on my navigator to see my web site, I am not able to open the camera; the thing is that my project will be public so I needed to test it working on all devices whoe can connect to my web site. But first, I need a httpS connection to be secure and be able to access to device's camera. I think the solution is when I get the domain, it will be secure and will be able to access to the camera of every device connected.
@@CodeFlix12 pro I know how to send image to database but I want when user take a capture this capture download at the server and name send to dB how can I do this
Brother i have written the code very precisely and slowly in the video. I request you to watch the full video and you will get the code . If it still doesn't work then ping me on the mail I will send you for sure ❤️
@@CodeFlix12 Hi bro, i took a look at the video however, the option is only for choosing a image from our computer. what if i want to use the image that is capture like in this video and upload it?
*Change the following:* video:{ width: 1280, height: 720 } *to:* video:{ width: 1280, height: 720, facingMode: "environment" } *Note:* M is capital in facingMode property.
There can be 2 possible reasons : 1. Either you have disabled javascript, in that case the browser won't ask you for the permission to allow web cam 2. The allow button or webcam won't be functioning correctly on you device. Please check that once. Other wise try the code with the link in the description
Brother I just checked the code and it's working completely fine for me. Maybe you might have missed some bits and pieces. If it still doesn't work, Mail me, i will have a look into it. Thanks❤️
thank you so much it is worked perfectly 🥰
It is possible that capture the image without streaming the video
Yea bro thank u. My friends have call me "computer expert"😂
Great 👍
You saved my life bro!! Thanks a lot..cheers!
Happy that it helped!
where I will get code of above video?? his website is not working so not able to get code of it.....please help me....
I tried it and it worked. This is amazing. great tutorial
♥️♥️
can u send me the source code ?
Check my website
@@CodeFlix12 wesbite link pls
Codeflixchannel.com
Great Job!!!!
❤️❤️
Thank youuuuu this is very good without the needs of webcam.js nice
❤️❤️
why its not asking me fr microphone I had done the same code as it is?
Possibly you have js blocking or you already have given it? Please also check microphone button
how can i unblock the js
@@CodeFlix12
It works successfully .. thank you so much 😊😊😊
My web cam is opening and it can record video .. but i am unable to capture image. Any solution???
Just check the javascript for the click Action. Check by putting consoles
@@CodeFlix12 I am having the same problem.
@@CodeFlix12 on console i had -> Uncaught TypeError: Cannot read property 'addEventListener' of null at webcam.html(my file name is webcam.html)
Check syntax near event listener , you might be missing something there
so can I use a chrome laptop for this
Is it need to download/install JavaScript first?
No nothing
Excellent!!
❤️❤️
How can i save it in my phpmyadmin database with php ...
can u provide guidelines for this ....
Take the image from canvas via javascript. Run insert query to save the image name to db. Save image to a folder. Watch my file upload videos for more help
Can we change webcam?
Yes
What if i want to record video?
I mean this is for picture but i want to record video and show live on my site.
How it is possible?
I have less idea about that sir but it should be possible with modern api's
I want to do this, plus one more button for submit. So when I press submit I want to send the canvas image to server side. How to do ?
I have a video on store image to MySQL. Please watch and follow it
How can I see ur video total adds only in it
What?
I have written the same code as you did, but it only open webcam and reflect sound but my capturing button is not working.
Please check for the browser webcam permissions
@@CodeFlix12this don't look easy
Can you help me add a timer on the camera? i can show you my javascript code for the timer
Is the code in working condition or not?
@@CodeFlix12 it is in working condition
@@jlm000 can you Please share the code with timer...Please Sir!!
@@garvtambi5786 what's your email?
@@jlm000 garvtambi05@gmail.com
Btwn Thank you very much Sir 😊
okay this is something quirky, my guy 💯❤
Getting inspired from you ❤️
weird flex but OK 😂🙏
Happens😂
@@harrnish 😂😂😂
can u help me to correct the below code
Thanks a lot! but i want to save captured image in hard disk on capture image event eg. in c drive or any path so what i have to do?? and i am working in django.
Just get the image using its tag, grab it and give an anchor tag on it. See one of my videos on how to download a file. Download it that way!
but i want that on capture button event image will get saved in any location eg. in c drive or Desktop directory. Basically my project is to compare 2 faces in 2 images, first image is present in database but second i have to read from camera, so what i have to do? I do not want user to see image as downloaded just it get saved.
@@shaikheajajuddin8317 Aoa Bro Have Done it ??
How can i store this img in my mongodb
You store path and not the image
hey sir. wheres the link of the code? actually its hard to find it in description.
You will have to follow the video sir
how can i automatically get a rgb image from a webcam as a input ?
Can you explain more?
how do I save the captured image to the project folder?
Use js
Or use my download files using php video and integrate it here
When I run this code in non localhost, other devices (neither mine) can access to camera, do you know why this happens or how can I do it?
I did not get it, what do you mean by other devices can access camera
@@CodeFlix12 I think I have solved it. The thing is that I'm working this on Django, so I run the script for a specific IP. When I go to that IP on my navigator to see my web site, I am not able to open the camera; the thing is that my project will be public so I needed to test it working on all devices whoe can connect to my web site.
But first, I need a httpS connection to be secure and be able to access to device's camera. I think the solution is when I get the domain, it will be secure and will be able to access to the camera of every device connected.
Yep and you will need an ssl certificate to get that https connection
@@CodeFlix12 that's right, thx man
Sir capture image ko file me kese save kre
Use js
how can I download taken webcam capture to the server and after that send his name to the database?
Just put it in anchor tag with type download to download
@@CodeFlix12 it's will download at user device not the server !
I have a video on how to send image to db
@@CodeFlix12 pro I know how to send image to database but I want when user take a capture this capture download at the server and name send to dB how can I do this
Oh ok
Great!!
Thanks🙌
capturing photo using wink of eye it is possible ? please help me .
I have to try that mam
Can you share code for this?
Brother i have written the code very precisely and slowly in the video. I request you to watch the full video and you will get the code . If it still doesn't work then ping me on the mail I will send you for sure ❤️
did you know how to make save botton?
Have a video to download images
@@CodeFlix12 oh I can do it but how can i save and Forward a picture to server.
Yes you can
pz give your git hub link or source code link for help. i try to make this but i can't
In description
I have problem with .getContext :( TypeError: Cannot read property 'getContext' of null ps: i'm doing in react
There must be problem in syntax above
what to do for browsers in mobile??
Brother this is only for webcam and not the front facing camera
It will work in android mobile using chrome browser.
Hello Bro, Can we access Scanner machine using javascript ?
What kind of scanner machine?
Great
Thanks ❤️
Hi bro, do you know how can i send the captured image to my server/ other python file and process the image?
I have a video to send file to db
@@CodeFlix12 Hi bro, i took a look at the video however, the option is only for choosing a image from our computer. what if i want to use the image that is capture like in this video and upload it?
You need to see download file using php video, and upload it by downloading
Everything is fine but when i click on capture button it does not captured.I don't understand why it doesn't capture a image!
Javascript is not working, look in the console for errors
can insert the code
What?
need the code in the video
You will have to follow the video
This is working in my device but not working in another device. what should I do?
What is that another device?
@@CodeFlix12 does it work in mobile camera if I'm in mobile view?
If you have access to yes
Nice :D
Thanks❤️
Hi, somebody knows how to use the phone's back camera?
www.digitalocean.com/community/tutorials/front-and-rear-camera-access-with-javascripts-getusermedia Perhaps this could help?
*Change the following:*
video:{
width: 1280, height: 720
}
*to:*
video:{
width: 1280, height: 720, facingMode: "environment"
}
*Note:* M is capital in facingMode property.
The web browser doesn't show me any video. Why should it be?
There can be 2 possible reasons :
1. Either you have disabled javascript, in that case the browser won't ask you for the permission to allow web cam
2. The allow button or webcam won't be functioning correctly on you device. Please check that once.
Other wise try the code with the link in the description
Laravel can not support this video
how to close webcam after image cpature
It does not cover this functionality
I want to save this picture in a folder, how to do that
Save it after capturing from the canvas
CodeFlix but how to do taht
I have a video to download files, maybe just download it
Hey, can you please let me know how we can save the captured image into database?
Thank You.
So take the image via javascript and then look at one of my videos on how to upload a file/image to database. Thanks
Same question
How can we save this image to any location in pc?
Can you please share the link of your video of how to save image to location
I have a video on that sir
can you also place the link to download the code
It is already in the description
No it's not there
It is
can you please put this code on github
It is on Dropbox
How can i access my embedded camera(another device)?
It can be if you give browser permission
the span#ErrorMsg is where ???
If error occurs it will be displayed
Turno off the camera?
Yes
i see no source code in description !!!
Then you have to follow the video sir
bro i writing the code but not working can you please send me
Brother I just checked the code and it's working completely fine for me. Maybe you might have missed some bits and pieces. If it still doesn't work, Mail me, i will have a look into it. Thanks❤️
source code sir?
Check my website for source code
Great Video Bro,
I have a question
Do you know how can I take 5 photos and put it in 5 canvas at the same time?
I would appreciate you answer!!
Don't know about that at the moment. Sorry sir!
It would be better if you had given the source code;
can you give this Source code.
Please follow the video
code?
Just follow video pls :)
@@CodeFlix12 bro
my video cant appear
Webcam access might be denied
@@CodeFlix12 how do i fix that
Turn on the webcam in computer and enable it
Then when you run the code, a popup will ask you to allow it or not as I have shown in my video
@@CodeFlix12 thank you
can you please share the coding. Thank you
Please follow the video, sorry
Sir Kindly Share How to Took image with Javascript and move into the folder ! Thanks in Advance
You will have to use PHP sir
@@CodeFlix12 can you please Review my code i really need help ??
@@CodeFlix12 I'm a PHP developer but i don't know how to took image data from canvas with javascript
Ya sure
Nice.
But there is no css contents and still some elements have css class y
Brother I have used classes and ID's in the JavaScript portion please watch the whole video. This video does not require any css
Oh my my
Thanks❤️
Great video bro! do you know how to capture 15 photos after a countdown?
No sir
source code
Follow the video please
No give the source code or just copy paste in description and I will sub to your channel
please upload source code
Please check my website for source code
:O > I would like to plug in the USB from my camocam and view.
😂😂
dude he said " you can use it to see who visits you site" like wtf are you crazy ? creep
Sorry sir I didn't mention that
Cool, brother!
Thank you so much!❤️