pub async fn capture_image(&self) -> Result<Value, Error> {
        const TAG: &str = "CameraFactoryFacade::capture_image";
        let svc = self.init_check(TAG).await?;
        match svc.capture_image().await? {
            Ok(r) => Ok(to_value(CaptureImageResult { image_data: r.0, image_info: r.1 })?),
            Err(_) => Ok(to_value(Sl4fCameraFactoryError::Streaming)?),
        }
    }
/// Instructs the device to save a frame from the stream, and send it back to the host.
///
/// Takes no arguments.
// TODO(42847): Implement scp functionality.
Instructs the device to save a frame from the stream, and send it back to the host.
Takes no arguments.
Instructs the device to save a frame from the stream and send it back to the host . Takes no arguments .
pub async fn capture_image(&self) -> Result<Value, Error> {
        const TAG: &str = "CameraFactoryFacade::capture_image";
        let svc = self.init_check(TAG).await?;
        match svc.capture_image().await? {
            Ok(r) => Ok(to_value(CaptureImageResult { image_data: r.0, image_info: r.1 })?),
            Err(_) => Ok(to_value(Sl4fCameraFactoryError::Streaming)?),
        }
    }
pub async fn capture_image ( & self ) -> Result < Value , Error > { const TAG : & str = " " ; let svc = self . init_check ( TAG ) . await ? ; match svc . capture_image ( ) . await ? { Ok ( r ) => Ok ( to_value ( CaptureImageResult { image_data : r . 0 , image_info : r . 1 } ) ? ) , Err ( _ ) => Ok ( to_value ( Sl4fCameraFactoryError :: Streaming ) ? ) , } }
Instructs the device to save a frame from the stream, and send it back to the host.
Instructs the device to save a frame from the stream and send it back to the host .
&self