jhuckaby / webcamjs

HTML5 Webcam Image Capture Library with Flash Fallback
MIT License
2.5k stars 1.11k forks source link

saving the continuous image into the local #238

Open murali7313 opened 7 years ago

positlabs commented 7 years ago

We will need more than just a title... what is your goal? What have you tried?

danielecacone commented 7 years ago

I've done this with the code:

                    myRec = setInterval(myRecrd, 1000);  //every second

                    function myRecrd(){
                        Webcam.snap( function(data_uri) {
                                Webcam.upload( data_uri, 'myPhpSaveScript.php', function(code, text) {
                                    console.log('done');
                            } );
                        });
BetaStacks commented 6 years ago

@danielecacone what do you put in the php file?