function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Diwan AkashDiwan Akash 

Capture images using the web cam

Hi,

 

I am developing an application in which on one of the pages i am going to capture an Image/picture using the Web Camera attached to the computer. I don't know how to do this can you please help me with this.

 

Thanks,

Akash Diwan

sfdcfoxsfdcfox
You'll need something like Flash or HTML5 to accomplish your goal. There is no native 'image capture' function in Visualforce.
kreshokresho

There is an excellent blog post how to do it using html5: http://davidwalsh.name/browser-camera

 

Using flash or other plugins is not recommended nowadays, unless your target audience still uses ancient browsers like IE6.

 

Regards,

Kresimir

Apex Editor LS - free alternative to Force.com apex editor.
Give kudos (click blue star under my icon) if this was useful

Dhanik L SahniDhanik L Sahni
You can check https://salesforcecodex.com/2019/09/capture-image-using-webcam-in-lightning-component/ for this.

Thank You,
Dhanik