Open WebCam and capture image with C # in ASP.NET WebForms

0

Alright? I am developing a student registration system and need to open the computer webcam to take a picture of the student and link in their register, I would like to know how you can perform this action using C # in ASP.NET WebForm. Right now, thank you!

    
asked by anonymous 22.08.2018 / 13:48

1 answer

0

You can simply use an input file with the capture attribute, if the device is available and the access is freed by the user the capture will be done by it, otherwise it will open the dialog for selecting the file in the local

<input type="file" accept="image/*" capture>
    
22.08.2018 / 15:33