Import the task from here.
With this task you'll be able to
If you want to assign this to the Bixby button, use the bxActions app.
- open the camera app
- take a photo
- back out of the camera app
Note: on your specific device the camera app might have the button at different coordinates, so change the AutoInput action in the task to the right coordinates for your device.