You can call the APIs provided by the CameraPicker module to select a camera to take photos or record videos. The API calls do not require any camera permission.
The development of the Camera Picker for atomic services is the same as that for applications. For details, see Camera Picker.