You can use the camera feature in Scratch to capture a photo. Here’s how you can do it step-by-step
View this project in Scratch
Scratch