Custom hook for using the camera.
The parameters for using the camera.
A function that can be called to capture a new photo.
Function to capture a new photo.
A Promise that resolves with the captured photo.
Custom hook for using the camera.