Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Taking photo using webcam ...

Community Beginner ,
May 30, 2019 May 30, 2019

Not specific to CF, maybe Javascript or Jquery ... looked everywhere on google and found nothing.

So I am on a web site the other day and in addition to being able to upload your government issued photo id, you could also say cheese and

have your built in laptop web cam take your photo.

How do you do that?  What library tool?

TOPICS
Advanced techniques
941
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 01, 2019 Jun 01, 2019

Google for software to control webcam.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 20, 2019 Jun 20, 2019

You can do this in modern browsers using HTML5 getUserMedia() functionality.  No plugins or external libraries required.  Create a hidden input field on a standard HTML form and then direct the image capture javascript to populate the field with the image data.

Check out Capturing Audio & Video in HTML5 - HTML5 Rocks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 27, 2019 Jun 27, 2019
LATEST

Thanks. When I revisit that part of the application, I will defo give this a try!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources