Code Monkey home page Code Monkey logo

Comments (12)

jhuckaby avatar jhuckaby commented on May 22, 2024

I've never heard of Pause() before. This is a brand new library. Did I remove it? Where did you see it? What would you like it to do? You can effectively pause the webcam by taking a snapshot, calling Webcam.reset() and placing your captured image where the webcam DIV used to be.

from webcamjs.

whimsicaldreamer avatar whimsicaldreamer commented on May 22, 2024

I tried what you said. It worked. But now what if I dont like the snapped image and want to take a resnap in the same webcam DIV without reloading the page? Resetting the library and attaching the cam div creates another div

from webcamjs.

whimsicaldreamer avatar whimsicaldreamer commented on May 22, 2024

@jhuckaby is there a way to the above thing?

from webcamjs.

adamjbradley avatar adamjbradley commented on May 22, 2024

Do you have a JSFiddle showing the behavior?
On 09/07/2014 1:55 AM, "whimsicaldreamer" [email protected] wrote:

@jhuckaby https://github.com/jhuckaby is there a way to the above thing?


Reply to this email directly or view it on GitHub
https://github.com/jhuckaby/webcamjs/issues/12#issuecomment-48359181.

from webcamjs.

whimsicaldreamer avatar whimsicaldreamer commented on May 22, 2024

Currently NO. But I have been testing it on local server(WAMP). If you require I will send you the files.

from webcamjs.

adamjbradley avatar adamjbradley commented on May 22, 2024

Please create a JSFiddle, in my experience, that's the most reliable way to
get a result!

Sincerely,
Adam

| Identity Concepts
| im: [email protected]
| skype: adam_j_bradley
| “I’d put my money on the sun and solar energy. What a source of power! I
hope we don’t have to wait till oil and coal run out before we tackle
that.” [ Thomas Alva Edison ]

On Wed, Jul 9, 2014 at 1:29 PM, whimsicaldreamer [email protected]
wrote:

Currently NO. But I have been testing it on local server(WAMP). If you
require I will send you the files.


Reply to this email directly or view it on GitHub
https://github.com/jhuckaby/webcamjs/issues/12#issuecomment-48426185.

from webcamjs.

whimsicaldreamer avatar whimsicaldreamer commented on May 22, 2024

Issue solved :)
I created a new function in the index file which solved my problem and your problem too( hope so :) )

from webcamjs.

whimsicaldreamer avatar whimsicaldreamer commented on May 22, 2024

But there still exist a tiny problem. The live camera preview and the captured image are not the same size. (Not using dest_width and dest_height)
I will create the JSFiddle soon.

from webcamjs.

whimsicaldreamer avatar whimsicaldreamer commented on May 22, 2024

@adamjbradley i have mailed you the files. Take a look at them.

from webcamjs.

jhuckaby avatar jhuckaby commented on May 22, 2024

Hey guys, this has been implemented. WebcamJS now supports freeze() and unfreeze() which should work as expected.

Live Demo: http://pixlcore.com/demos/webcamjs/demos/preview.html

from webcamjs.

adamjbradley avatar adamjbradley commented on May 22, 2024

Super! Thank you. Will test in the next couple of days.

from webcamjs.

andrej2704 avatar andrej2704 commented on May 22, 2024

here is I created jsfiddle from the demo https://jsfiddle.net/ebv2m3jc/ just in case

from webcamjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.