Embed camera for taking picture in a dash app?

Hi all. I made a dash app where the user uploads an image and gets a prediction. Is there any way to add a functionality for embeding a camera and taking a picture to be used an an input for the dash app? Thanks all.