How to use webcam in php Part 2

  Рет қаралды 16,524

vivekmoyal

vivekmoyal

Күн бұрын

Пікірлер: 79
@hackorcheats6129
@hackorcheats6129 3 жыл бұрын
Thanks for share with me your knowlegde!
@zararamzan9658
@zararamzan9658 5 жыл бұрын
10 days are left for submitting my project plz help if u can...? i hope u understand
@younes9745
@younes9745 4 жыл бұрын
hello sir i need some help im trying to do the same thing but i need to be able to to set an interval example (i set the start time 2PM and its gonna take picture every 5secs for 10mins and save them to a path i can change anytime)
@MrPamidipati
@MrPamidipati 6 жыл бұрын
can you please help me to retrieve the picture from the database also
@ArmanKhan-qr5hs
@ArmanKhan-qr5hs 4 жыл бұрын
Nyc sir Can you help sir how can record video using webcam
@judithrantho6157
@judithrantho6157 7 жыл бұрын
i removed the "px" next to width number and length number now i dont have errors anymore.i thank you much dear ,Lol last question.Now My system captures a picture then save it to a folder,i want my thumbnail script run it self automatically with new pictures,and how will it get the new name image hence onthe codes we have to type the name of the image manually. i have (e.g) "snapshot.php"=captures a picture and "snapshot_save.php"=saves taken pictures into a folder.I then decided to put thumbnail codes on "snapshot_save.php" and created a thumbnail file.NB NOW WHEN I TAKE A NEW PICTURE AND SAVE IT,The original picture get saved in its folder and THUMBNAILs ARE BLANK INTHE THUMBNAIL FILE. i need a solution. Show less REPLY
@princepatel447
@princepatel447 7 жыл бұрын
Thanks for the tutorial it helped a lot. but i want to send the captured image to my email as an attachment instead of database. please help asap...
@vivekmoyalvd
@vivekmoyalvd 7 жыл бұрын
+Prince Patel you have to change the code when i am saving it to database that time you have to put you code for email attachment
@nunovargassantos6307
@nunovargassantos6307 6 жыл бұрын
Hello Vivekmoyal, Thanks for your tutorial. I'm using it on an application I developed that works on a local server, but I'm having problems when using android or Safari (can't access the camera). Do you know how I can solve the problem? Thank you very much
@vivekmoyalvd
@vivekmoyalvd 6 жыл бұрын
If you are using the webserver than you have to use https
@nunovargassantos6307
@nunovargassantos6307 6 жыл бұрын
Thank you for the fast reply. The problem is on the browser, that is, with firefox I don't have problems, but with safari and chrome I can't access the camera (in the same tablet or computer). I still din't try on Windows systems...
@vivekmoyalvd
@vivekmoyalvd 6 жыл бұрын
No idea about the tablets but in windows its working perfectly in almost ervery browser.
@lucasmaker7375
@lucasmaker7375 4 жыл бұрын
Hello, excelent content!. Could you help me ? When i start the page i get this on chrome console: JpegCamera is not defined Thanks!
@vivekmoyalvd
@vivekmoyalvd 4 жыл бұрын
Its just a notice due to the session variable
@williamsammut5251
@williamsammut5251 6 жыл бұрын
Hello Vivekmoyal, Thanks a lot for your tutorial. I have managed to create webcam but when I am trying to save to local host I get the error " Upload failed with status 500 " Any ideas why please ??
@vivekmoyalvd
@vivekmoyalvd 6 жыл бұрын
+William Sammut might b your htacess is creating problem. Because i never heard of 500 error in this webcam script
@kalpeshpatil5308
@kalpeshpatil5308 4 жыл бұрын
hey can you help me adding this webcam feature to my system
@vivekmoyalvd
@vivekmoyalvd 4 жыл бұрын
Send me your details at vivekmoyal28@gmail.com
@judithrantho6157
@judithrantho6157 7 жыл бұрын
hello thank you for the good tutorial. I have created a web camera using php that saves pictures, now my problem is that the pictures are big so they take time to be uploaded.how can i resize the pictures with the webcam ? resize the picture before it can be saved inthe folder? please help
@vivekmoyalvd
@vivekmoyalvd 7 жыл бұрын
You can use the php code for resizing the image. You have to do that after saving the image and resize it and again save it it will be done in just seconds. This is the simplest and easiest way to do that
@judithrantho6157
@judithrantho6157 7 жыл бұрын
thank you for your reply, Above are my codes .I dont know how to do it hence i am new in php. Cant you provide me with the codes to resize the picture and save it ?Thank you in advance
@vivekmoyalvd
@vivekmoyalvd 7 жыл бұрын
Here is the link for resizing the image www.vivekmoyal.in/create-thumbnail-image-dynamically-using-php/
@judithrantho6157
@judithrantho6157 7 жыл бұрын
i thank you,i got the link now im getting this errors below i have tried to center line 16 and 19 for you to see them Notice: A non well formed numeric value encountered in D:\xampp\htdocs\1\convert.php on line 16 Notice: A non well formed numeric value encountered in D:\xampp\htdocs\1\convert.php on line 16 Notice: A non well formed numeric value encountered in D:\xampp\htdocs\1\convert.php on line 19 Notice: A non well formed numeric value encountered in D:\xampp\htdocs\1\convert.php on line 19 below are my code
@vivekmoyalvd
@vivekmoyalvd 7 жыл бұрын
+judith Rantho thesw all are notices so you can ignore them right now but also correct them later
@diagknowstech
@diagknowstech 5 жыл бұрын
i cant see the image and i am getting an error ERROR: Failed to write data to webcamImage/20191212214525.jpg, check permissions what should i do
@vivekmoyalvd
@vivekmoyalvd 5 жыл бұрын
Please check my blog post over it it will solve your issue
@meryammimouni4645
@meryammimouni4645 6 жыл бұрын
hey, thanks a lot very good but how can I get back to the video after each capture please ??
@vivekmoyalvd
@vivekmoyalvd 6 жыл бұрын
You can add this line after the var js=$.parseJSON(response); this.discard();
@mrnaldo
@mrnaldo 6 жыл бұрын
Thank you! I'm also with this same doubt, I can not get back to the video after each capture, did you?
@mrnaldo
@mrnaldo 6 жыл бұрын
on file should I put this line?
@vivekmoyalvd
@vivekmoyalvd 6 жыл бұрын
You have to put this line in the script where you are showing your camera
@mrnaldo
@mrnaldo 6 жыл бұрын
I'll try, thanks man!
@zararamzan9658
@zararamzan9658 5 жыл бұрын
HI sir can u share me the link of images similarities code in php...???
@vivekmoyalvd
@vivekmoyalvd 5 жыл бұрын
Didnt get your point . Please elaborate more
@RMs414
@RMs414 5 жыл бұрын
ERROR: Failed to write data to webcamImage/20190516200556.jpg, check permissions this error appeared while clicking on take screenshot button
@vivekmoyalvd
@vivekmoyalvd 5 жыл бұрын
It is due to the folder permission
@RMs414
@RMs414 5 жыл бұрын
@@vivekmoyalvd how can we fix this? plz guide
@vivekmoyalvd
@vivekmoyalvd 5 жыл бұрын
Its related to permission to the folder... When you upload it to server chances are you will not get this error
@ashvinpatidar8338
@ashvinpatidar8338 5 жыл бұрын
i am facing same error And also folder permission apply.... Image blank generate in webcamImage folder
@vivekmoyalvd
@vivekmoyalvd 5 жыл бұрын
@@ashvinpatidar8338 please check that you are getti g proper extension of the image
@RMs414
@RMs414 5 жыл бұрын
its support only microsoft edge not chrome and firefox. ???
@vivekmoyalvd
@vivekmoyalvd 5 жыл бұрын
After my code you can see it in all the browser
@RMs414
@RMs414 5 жыл бұрын
@@vivekmoyalvd yup i saw. But in my side only MS edge can do. Neither firefox nor chrome.
@RMs414
@RMs414 5 жыл бұрын
@@vivekmoyalvd thank sir. i will wait. if possible then elaborate the issues in the video.
@vivekmoyalvd
@vivekmoyalvd 5 жыл бұрын
@@RMs414 Please use this in your jpeg_camera.js -> line no 321. Just replace the whole success function with the below code success = function(stream) { that._remove_message(); if (window.URL) { that.video.src = URL.createObjectURL(stream); } else { that.video.src = stream; } that._block_element_access(); return that._wait_for_video_ready(); };
@RMs414
@RMs414 5 жыл бұрын
@@vivekmoyalvd thanx alot sir i will try and tell you later.
@khangviet7042
@khangviet7042 4 жыл бұрын
wow
@photoinshot1355
@photoinshot1355 3 жыл бұрын
Outdated code not working for 2021,save you time
@hariprasadreddy2665
@hariprasadreddy2665 3 жыл бұрын
sir send me source code link
@vivekmoyalvd
@vivekmoyalvd 3 жыл бұрын
Source code is added or you can find it over github under my name
@MrPamidipati
@MrPamidipati 6 жыл бұрын
can you please help me to retrieve the picture from the database also
@vivekmoyalvd
@vivekmoyalvd 6 жыл бұрын
You can use my another video for reteriving the data from the database - kzbin.info/www/bejne/nnOtY3umq5iro6s
How to use webcam in php Part  1
16:47
vivekmoyal
Рет қаралды 47 М.
Take Photos With Your Webcam In Your Browser
16:53
Codecourse
Рет қаралды 70 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Capturing and Saving User Audio or Video with JavaScript
19:18
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 109 М.
Google Maps in PHP without API Key - By Coordinates & By Address
7:18
Cron Job in PHP on Localhost in Windows | Scheduler in PHP
17:41
How to upload image in PHP - Create Dynamic Slider in PHP Part 1
33:56
How to use reCAPTCHA in PHP
10:02
vivekmoyal
Рет қаралды 4,9 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН