react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

🐛 Android - Error on taking picture - Precapture timed out after 5 seconds!

Open IvanByRool opened this issue 6 months ago • 21 comments

What's happening?

Hey,

trying to take a picture with latest 3.9.0

Looks like the camera is trying to focus, but can't before timeout.

Therefore the capture crashes.

Reproduceable Code

<Camera
        ref={(_ref: Camera) => {
          setCameraRef(_ref);
        }}
        device={device}
        zoom={device?.neutralZoom}
        photo={true}
        format={format}
        isActive={true}
        enableDepthData={false}
        enableHighQualityPhotos={true}
        enableZoomGesture={false}
        onInitialized={() => {
          setIsCameraReady(true);
        }}
        onError={err => {
          Sentry.captureMessage('camera error on pictures' + err, 'info');
        }}
      />

Relevant log output

Taking photo... Options: {qualityPrioritization=quality, enableAutoStabilization=true, flash=off, enableShutterSound=false}
2024-02-16 17:49:35.249 13778-16387 CameraSession           com.carooltruck.dev                  I  Photo capture 1/3 - capturing 4032x3024 image...
2024-02-16 17:49:35.249 13778-16387 Persistent...ureSession com.carooltruck.dev                  I  Capturing photo...
2024-02-16 17:49:35.249 13778-16387 Persistent...ureSession com.carooltruck.dev                  I  Locking AF/AE/AWB...
2024-02-16 17:49:35.251 13778-16387 Precapture              com.carooltruck.dev                  I  Running precapture sequence... (PrecaptureOptions(modes=[AF, AE, AWB], flash=OFF, pointsOfInterest=[], skipIfPassivelyFocused=true))
2024-02-16 17:49:35.557 13778-16387 Precapture              com.carooltruck.dev                  I  Auto-Flash: Flash is not required for photo capture.
2024-02-16 17:49:35.557 13778-16387 Precapture              com.carooltruck.dev                  I  AF is already focused, skipping...
2024-02-16 17:49:35.913 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:35.913 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:35.952 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:35.952 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:35.994 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:35.994 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.034 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.034 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.079 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.079 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.119 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.119 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.162 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.163 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.203 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.203 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.244 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.244 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.287 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.288 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.329 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.329 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.370 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.370 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:36.413 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.413 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.454 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.454 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.498 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.498 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.537 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.537 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.582 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.582 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.622 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.622 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.663 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.663 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.708 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.709 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.748 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.748 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.789 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.789 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.831 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.831 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.877 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.877 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.916 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.917 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.956 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.956 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:36.998 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:36.999 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.039 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.040 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.082 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.082 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:37.126 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.126 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:37.166 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.166 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.207 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.207 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.248 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.249 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.291 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.291 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.332 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.332 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.374 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.375 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.415 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.415 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.463 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.463 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.504 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.504 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.545 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.546 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.586 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.586 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.627 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.627 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.669 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.669 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.717 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.717 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.755 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.755 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.794 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.794 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.835 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.835 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.881 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.881 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.920 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.920 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:37.962 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:37.962 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.003 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.003 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:38.046 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.046 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:38.087 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.087 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.134 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.134 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:38.172 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.172 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Searching (isCompleted: false)
2024-02-16 17:49:38.212 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.212 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.255 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.255 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.299 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.299 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.338 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.339 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.384 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.384 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.423 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.423 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.467 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.467 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.506 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.506 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.549 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.550 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.591 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.591 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.637 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.638 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.678 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.678 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.716 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.716 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.756 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.757 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.802 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.802 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.840 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.841 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.883 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.884 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.929 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.929 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:38.967 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:38.967 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.008 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.008 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.051 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.051 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.092 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.092 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.136 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.136 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.177 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.177 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.224 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.224 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.259 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.259 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.302 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.302 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.346 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.346 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.386 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.386 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.436 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.436 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.469 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.469 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.510 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.511 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.554 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.554 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.595 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.596 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.639 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.639 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.679 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.680 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.722 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.722 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.763 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.763 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.804 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.804 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.845 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.846 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.888 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.889 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.932 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.932 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:39.971 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:39.971 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.018 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.018 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.056 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.056 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.099 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.100 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.141 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.141 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.182 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.182 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.224 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.224 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.266 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.266 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.308 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.308 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.352 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.352 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.390 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.390 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.437 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.437 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.473 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.473 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.521 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.521 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.558 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AE State: Precapture (isCompleted: false)
2024-02-16 17:49:40.558 13778-16387 CameraCaptureSession    com.carooltruck.dev                  I  AWB State: Converged (isCompleted: true)
2024-02-16 17:49:40.567 13778-16759 CameraCaptureSession    com.carooltruck.dev                  E  Precapture timed out after 5 seconds!
2024-02-16 17:49:40.568 13778-16387 System.err              com.carooltruck.dev                  W  com.mrousavy.camera.core.CaptureTimedOutError: [capture/timed-out] The image capture was aborted because it timed out.
2024-02-16 17:49:40.568 13778-16387 System.err              com.carooltruck.dev                  W  	at com.mrousavy.camera.extensions.CameraCaptureSession_setRepeatingRequestAndWaitForPrecaptureKt$setRepeatingRequestAndWaitForPrecapture$2$1.invokeSuspend(CameraCaptureSession+setRepeatingRequestAndWaitForPrecapture.kt:127)
2024-02-16 17:49:40.568 13778-16387 System.err              com.carooltruck.dev                  W  	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2024-02-16 17:49:40.568 13778-16387 System.err              com.carooltruck.dev                  W  	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
2024-02-16 17:49:40.568 13778-16387 System.err              com.carooltruck.dev                  W  	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
2024-02-16 17:49:40.568 13778-16387 System.err              com.carooltruck.dev                  W  	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
2024-02-16 17:49:40.569 13778-16387 System.err              com.carooltruck.dev                  W  	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
2024-02-16 17:49:40.569 13778-16387 System.err              com.carooltruck.dev                  W  	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

Camera Device

{
  "formats": [],
  "sensorOrientation": "landscape-left",
  "hardwareLevel": "full",
  "maxZoom": 8,
  "minZoom": 1,
  "maxExposure": 20,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": true,
  "isMultiCam": false,
  "minFocusDistance": 10,
  "minExposure": -20,
  "name": "BACK (0)",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device

Samsung SM-G960U1 / Android 10

VisionCamera Version

3.9.0

Can you reproduce this issue in the VisionCamera Example app?

Yes, I can reproduce the same issue in the Example app here

Additional information

IvanByRool avatar Feb 16 '24 16:02 IvanByRool

Does this always happen? Is this phone normally fast with capture in the native Camera app?

It looks like AE is just always on Precapture, not sure if it is adjusting or if we can already shoot a picture there..

mrousavy avatar Feb 16 '24 17:02 mrousavy

It was normal fast with capture with previous versions. it was definitly taking less than 5s to take a picture.

Anything I can do with it to help you debug ? thx

And yes it always happens Unless I'm trying to take twice the same picture, therefore I'm getting

2024-02-16 17:49:43.196 13778-16387 Precapture com.carooltruck.dev I AF is already focused, skipping... 2024-02-16 17:49:43.196 13778-16387 Precapture com.carooltruck.dev I AE is already focused, skipping... 2024-02-16 17:49:43.196 13778-16387 Precapture com.carooltruck.dev I AWB is already focused, skipping... 2024-02-16 17:49:43.536 13778-16387 Precapture com.carooltruck.dev I AF/AE/AWB successfully locked!

No need to re-focus I'm guessing

IvanByRool avatar Feb 16 '24 17:02 IvanByRool

Same behaviour on samsung SM-T545 / Android 11.0 the only devices I own ;)

IvanByRool avatar Feb 16 '24 17:02 IvanByRool

Happens in Pixel 6 (Android 14) too. After switching from 3.8.2 to 3.9.0.

PS: Only the front camera times out [capture/timed-out] The image capture was aborted because it timed out. while trying to capture from preview, the back camera works fine.

dibyendu avatar Feb 18 '24 15:02 dibyendu

Same here, only with the front camera. Tested on the Samsung SM-A536B / Android 14

Dingenis avatar Feb 18 '24 18:02 Dingenis

Same problem with the back camera. Works fine on beta-2.

fsteinhanseskb avatar Feb 19 '24 08:02 fsteinhanseskb

Created a PR, can you try if this fixes the issue for you guys? https://github.com/mrousavy/react-native-vision-camera/pull/2586

mrousavy avatar Feb 19 '24 10:02 mrousavy

According to the Android Developer Documentation on the AE State values, the Precapture state is only a temporary state and should resolve to either Locked or Converged once it finished finding a good AE value.

The way I understood this, is it should never remain in this state, so it is only a temporary state. This makes me wonder, how can a fairly new device (Samsung Galaxy S9, Level: FULL Camera) not find a good exposure value in 5 seconds?

image

mrousavy avatar Feb 19 '24 12:02 mrousavy

hey! for me https://github.com/mrousavy/react-native-vision-camera/pull/2586 did not resolve the issue. Xiaomi Redmi 9T

iliapnmrv avatar Feb 19 '24 12:02 iliapnmrv

hey mrousavy, thanks for taking a look at this so quickly! 🙏 On my Samsung SM-A536B (Android 14) I can no longer reproduce the issue (capture/timed-out), with #2586.

Dingenis avatar Feb 19 '24 12:02 Dingenis

@Dingenis great!

@iliapnmrv how did you test that PR? Can you share the logs with me when trying to take a photo with my PR?

mrousavy avatar Feb 19 '24 12:02 mrousavy

@mrousavy i set branch as a package

"react-native-vision-camera": "https://gitpkg.now.sh/mrousavy/react-native-vision-camera/package?fix/precapture-timeout"

then i simply use camera in my app (scan barcodes, open and close modals) and crash happens here is my sentry issue https://sentry.vibeapp.ru/share/issue/9aa315f0d8114f13bad62ee086b7ee85/

do i do something wrong?

iliapnmrv avatar Feb 19 '24 12:02 iliapnmrv

Well if that actually uses the branch then that should be fine, I never used gitpkg. But I still need the logs, not the stacktrace. Please run it locally (ideally through Android Studio) and post the adb logcat logs here (similar to what @IvanByRool posted in his original issue where I can see the "AE State: ..." logs)

mrousavy avatar Feb 19 '24 12:02 mrousavy

I'm in a meeting today, I'll test this on both devices tonight.

IvanByRool avatar Feb 19 '24 12:02 IvanByRool

Hey,

I've tested, it's "working" but it's too slow when using the flash

In the log below you'll see that it's taking the picture (when using the flash) after the 5s timeout. The first picture on the other hand (without flash) is working fine directly.

Let me know if you need more.

Camera Device

{
  "formats": [],
  "sensorOrientation": "landscape-left",
  "hardwareLevel": "full",
  "maxZoom": 8,
  "minZoom": 1,
  "maxExposure": 20,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": true,
  "isMultiCam": false,
  "minFocusDistance": 10,
  "minExposure": -20,
  "name": "BACK (0)",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device Samsung SM-G960U1 / Android 10

2024-02-19 20:35:58.120 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 1/3 - capturing 4032x3024 image...
2024-02-19 20:35:58.120 20753-28926 Persistent...ureSession com.carooltruck.dev                  I  Capturing photo...
2024-02-19 20:35:58.120 20753-28926 Persistent...ureSession com.carooltruck.dev                  I  Locking AF/AE/AWB...
2024-02-19 20:35:58.121 20753-28926 Precapture              com.carooltruck.dev                  I  Running precapture sequence... (PrecaptureOptions(modes=[AF, AE, AWB], flash=OFF, pointsOfInterest=[], skipIfPassivelyFocused=true, timeoutMs=5000))
2024-02-19 20:35:58.328 20753-28926 Precapture              com.carooltruck.dev                  I  Precapture current states: AF: PassiveFocused, AE: Converged, AWB: Converged
2024-02-19 20:35:58.328 20753-28926 Precapture              com.carooltruck.dev                  I  AF is already focused, skipping...
2024-02-19 20:35:58.328 20753-28926 Precapture              com.carooltruck.dev                  I  AE is already focused, skipping...
2024-02-19 20:35:58.328 20753-28926 Precapture              com.carooltruck.dev                  I  AWB is already focused, skipping...
2024-02-19 20:35:58.600 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: PassiveFocused, AE: Converged, AWB: Converged
2024-02-19 20:35:58.605 20753-28926 Precapture              com.carooltruck.dev                  I  AF/AE/AWB successfully locked!
2024-02-19 20:35:58.605 20753-28926 PhotoCaptureRequest     com.carooltruck.dev                  I  Using CaptureRequest Template PHOTO...
2024-02-19 20:35:58.938 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo Captured!
2024-02-19 20:35:58.938 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo captured! 4032 x 3024
2024-02-19 20:35:58.968 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 2/3 - waiting for image with timestamp 641711024794574 now...
2024-02-19 20:35:58.968 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 3/3 - received 4032 x 3024 image, preparing result...
2024-02-19 20:35:58.972 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully captured 4032 x 3024 photo!
2024-02-19 20:35:59.002 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully saved photo to file! /data/user/0/com.carooltruck.dev/cache/mrousavy5278860813447148588.jpg
2024-02-19 20:35:59.321 20753-28724 System                  com.carooltruck.dev                  W  A resource failed to call close. 
2024-02-19 20:35:59.338 20753-28927 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: CameraCaptureSession #6 has been closed.
2024-02-19 20:35:59.339 20753-28927 Persistent...ureSession com.carooltruck.dev                  I  Session android.hardware.camera2.impl.CameraCaptureSessionImpl@b2c1223 closed!
2024-02-19 20:36:01.120 20753-20753 ViewRootIm...nActivity] com.carooltruck.dev                  I  ViewPostIme pointer 0
2024-02-19 20:36:01.235 20753-20753 ViewRootIm...nActivity] com.carooltruck.dev                  I  ViewPostIme pointer 1
2024-02-19 20:36:01.249 20753-20753 CameraView              com.carooltruck.dev                  D  Finding view 1355...
2024-02-19 20:36:01.250 20753-20753 CameraView              com.carooltruck.dev                  D  Found view 1355!
2024-02-19 20:36:01.250 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Taking photo... Options: {qualityPrioritization=quality, enableAutoStabilization=true, flash=on, enableShutterSound=false}
2024-02-19 20:36:01.251 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 1/3 - capturing 4032x3024 image...
2024-02-19 20:36:01.251 20753-28926 Persistent...ureSession com.carooltruck.dev                  I  Capturing photo...
2024-02-19 20:36:01.251 20753-28926 Persistent...ureSession com.carooltruck.dev                  I  Locking AF/AE/AWB...
2024-02-19 20:36:01.253 20753-28926 Precapture              com.carooltruck.dev                  I  Running precapture sequence... (PrecaptureOptions(modes=[AF, AE, AWB], flash=ON, pointsOfInterest=[], skipIfPassivelyFocused=false, timeoutMs=5000))
2024-02-19 20:36:01.593 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.626 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.663 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.695 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.729 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.762 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.796 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.828 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.864 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.900 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.928 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.960 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.994 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.033 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.065 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.094 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.131 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.166 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.201 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.231 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.262 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.297 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.329 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.365 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.397 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.433 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.465 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.496 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.529 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.565 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.598 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.630 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.662 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.701 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.729 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.765 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.800 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.830 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.863 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.898 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.930 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.963 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.997 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.029 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.061 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.095 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.129 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.165 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.200 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.233 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.265 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.300 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.329 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.361 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.399 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.428 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.464 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.495 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.528 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.564 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.598 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.631 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.663 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.699 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.732 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.761 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.797 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.827 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.864 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.899 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.927 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.962 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.995 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.030 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.060 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.093 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.127 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.167 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.196 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.231 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.262 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.297 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.327 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.361 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.397 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.427 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.467 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.500 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.530 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.561 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.592 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.628 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.660 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.693 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.726 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.760 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.793 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.826 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.861 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.893 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.926 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.960 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.994 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.039 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.066 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.092 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.126 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.160 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.193 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.225 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.269 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.292 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.325 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.359 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.394 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.427 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.459 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.494 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.527 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.569 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.593 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.626 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.658 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.693 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.726 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.760 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.793 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.828 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.861 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.893 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.926 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.963 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.001 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.032 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.061 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.091 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.123 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.162 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.193 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.228 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.262 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.267 20753-29451 CameraCaptureSession    com.carooltruck.dev                  E  Precapture timed out after 5 seconds!
2024-02-19 20:36:06.268 20753-28926 PhotoCaptureRequest     com.carooltruck.dev                  I  Using CaptureRequest Template PHOTO...
2024-02-19 20:36:06.657 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo Captured!
2024-02-19 20:36:06.658 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo captured! 4032 x 3024
2024-02-19 20:36:06.676 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 2/3 - waiting for image with timestamp 641718763159599 now...
2024-02-19 20:36:06.677 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 3/3 - received 4032 x 3024 image, preparing result...
2024-02-19 20:36:06.681 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully captured 4032 x 3024 photo!
2024-02-19 20:36:06.702 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully saved photo to file! /data/user/0/com.carooltruck.dev/cache/mrousavy6760595864451569426.jpg
2024-02-19 20:36:06.943 20753-28724 System                  com.carooltruck.dev                  W  A resource failed to call close. 
2024-02-19 20:36:08.322 20753-28724 System                  com.carooltruck.dev                  W  A resource failed to call close. 
2024-02-19 20:36:08.576 20753-28929 unknown:ReactNative     com.carooltruck.dev                  W  Attempt to set local data for view with unknown tag: -1
2024-02-19 20:36:08.632 20753-20753 SurfaceView             com.carooltruck.dev                  I  onWindowVisibilityChanged(8) false com.mrousavy.camera.core.PreviewView{ec964d6 V.E...... ........ 0,-420-1080,1500} of ViewRootImpl@86fe9b1[MainActivity]
2024-02-19 20:36:08.632 20753-20753 SurfaceView             com.carooltruck.dev                  I  surfaceDestroyed callback.size 2 #2 com.mrousavy.camera.core.PreviewView{ec964d6 V.E...... ........ 0,-420-1080,1500}
2024-02-19 20:36:08.632 20753-20753 CameraSession           com.carooltruck.dev                  I  PreviewView Surface destroyed! Surface(name=null)/@0x68b2e44
2024-02-19 20:36:08.632 20753-20753 CameraSession           com.carooltruck.dev                  I  Destroying Preview Output...
2024-02-19 20:36:08.632 20753-20753 CameraSession           com.carooltruck.dev                  I  configure { ... }: Waiting for lock...
2024-02-19 20:36:08.633 20753-20753 CameraSession           com.carooltruck.dev                  I  configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-02-19 20:36:08.633 20753-20753 CameraSession           com.carooltruck.dev                  I  Destroying previous outputs...
2024-02-19 20:36:08.633 20753-20753 SurfaceOutput           com.carooltruck.dev                  I  Closing 4032x3024 PHOTO ImageReader..
2024-02-19 20:36:08.633 20753-20753 CameraView              com.carooltruck.dev                  I  invokeOnStopped()
2024-02-19 20:36:08.635 20753-20753 CameraSession           com.carooltruck.dev                  I  Creating outputs for Camera #0...
2024-02-19 20:36:08.638 20753-20753 CameraSession           com.carooltruck.dev                  I  Adding 4032x3024 Photo Output in JPEG...
2024-02-19 20:36:08.638 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  --> setOutputs([PHOTO (4032x3024 in JPEG)])
2024-02-19 20:36:08.820 20753-20753 CameraSession           com.carooltruck.dev                  I  Successfully configured Session with 1 outputs for Camera #0!
2024-02-19 20:36:08.820 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  --> setRepeatingRequest(...)
2024-02-19 20:36:08.820 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  --> setIsActive(false)
2024-02-19 20:36:08.820 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  Configure() with isActive: false, ID: 0, device: android.hardware.camera2.impl.CameraDeviceImpl@81ea99d, session: null
2024-02-19 20:36:08.821 20753-20753 Persistent...ureSession com.carooltruck.dev                  I  Creating new session...
2024-02-19 20:36:08.821 20753-28728 CameraManagerGlobal     com.carooltruck.dev                  I  Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.carooltruck.dev API Level 2
2024-02-19 20:36:08.823 20753-20753 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: Creating Capture Session #9... (Hardware Level: 3 | Outputs: [PHOTO (4032x3024 in JPEG)])
2024-02-19 20:36:08.823 20753-20753 CreateCaptureSession    com.carooltruck.dev                  I  Using new API (>=28)
2024-02-19 20:36:09.004 20753-28927 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: Successfully created CameraCaptureSession #9!
2024-02-19 20:36:09.005 20753-28927 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: CameraCaptureSession #8 has been closed.
2024-02-19 20:36:09.005 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  Stopping repeating request...
2024-02-19 20:36:09.005 20753-28927 Persistent...ureSession com.carooltruck.dev                  I  Session android.hardware.camera2.impl.CameraCaptureSessionImpl@c6d41d3 closed!
2024-02-19 20:36:09.005 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  Configure() done! isActive: false, ID: 0, device: android.hardware.camera2.impl.CameraDeviceImpl@81ea99d, session: android.hardware.camera2.impl.CameraCaptureSessionImpl@380e068
2024-02-19 20:36:09.005 20753-20753 CameraSession           com.carooltruck.dev                  I  configure { ... }: Completed CameraSession Configuration! (isActive: true, isRunning: false)
2024-02-19 20:36:09.005 20753-20753 CameraSession           com.carooltruck.dev                  I  Preview Output destroyed!
2024-02-19 20:36:09.005 20753-20753 SurfaceView             com.carooltruck.dev                  I  remove() com.mrousavy.camera.core.PreviewView{ec964d6 V.E...... ........ 0,-420-1080,1500} Surface(name=SurfaceView - com.carooltruck.dev/com.carooltruck.MainActivity@ec964d6@0)/@0xaaf6c81
2024-02-19 20:36:09.006 20753-20753 CameraView              com.carooltruck.dev                  I  Updating CameraSession...
2024-02-19 20:36:09.007 20753-20753 CameraSession           com.carooltruck.dev                  I  Closing CameraSession...
2024-02-19 20:36:09.007 20753-28926 CameraSession           com.carooltruck.dev                  I  configure { ... }: Waiting for lock...
2024-02-19 20:36:09.007 20753-28926 CameraSession           com.carooltruck.dev                  I  CameraSession is already destroyed. Skipping configure { ... }
2024-02-19 20:36:09.007 20753-20753 CameraSession           com.carooltruck.dev                  I  Destroying session..
2024-02-19 20:36:09.187 20753-28732 CameraManagerGlobal     com.carooltruck.dev                  I  postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-19 20:36:09.187 20753-20753 SurfaceOutput           com.carooltruck.dev                  I  Closing 4032x3024 PHOTO ImageReader..
2024-02-19 20:36:09.188 20753-28732 CameraManagerGlobal     com.carooltruck.dev                  I  Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.carooltruck.dev API Level 2
2024-02-19 20:36:09.188 20753-20753 CameraSession           com.carooltruck.dev                  I  CameraSession closed!
2024-02-19 20:36:09.188 20753-28929 CameraDevices           com.carooltruck.dev                  I  Camera #0 is now available.

IvanByRool avatar Feb 19 '24 19:02 IvanByRool

why tf is that phone not leaving the Precapture state???

mrousavy avatar Feb 20 '24 07:02 mrousavy

If it helps, on SM-T545 / Android 11.0

Same behavior

Taking photo... Options: {qualityPrioritization=quality, enableAutoStabilization=true, flash=off, enableShutterSound=false}
2024-02-20 09:56:16.177 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo capture 1/3 - capturing 4128x3096 image...
2024-02-20 09:56:16.178 22127-25818 Persistent...ureSession com.carooltruck.dev                  I  Capturing photo...
2024-02-20 09:56:16.178 22127-25818 Persistent...ureSession com.carooltruck.dev                  I  Locking AF/AE/AWB...
2024-02-20 09:56:16.180 22127-25818 Precapture              com.carooltruck.dev                  I  Running precapture sequence... (PrecaptureOptions(modes=[AF, AE, AWB], flash=OFF, pointsOfInterest=[], skipIfPassivelyFocused=true, timeoutMs=5000))
2024-02-20 09:56:16.464 22127-25818 Precapture              com.carooltruck.dev                  I  Precapture current states: AF: PassiveFocused, AE: Converged, AWB: Converged
2024-02-20 09:56:16.464 22127-25818 Precapture              com.carooltruck.dev                  I  AF is already focused, skipping...
2024-02-20 09:56:16.464 22127-25818 Precapture              com.carooltruck.dev                  I  AE is already focused, skipping...
2024-02-20 09:56:16.464 22127-25818 Precapture              com.carooltruck.dev                  I  AWB is already focused, skipping...
2024-02-20 09:56:16.784 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: PassiveFocused, AE: Converged, AWB: Converged
2024-02-20 09:56:16.786 22127-25818 Precapture              com.carooltruck.dev                  I  AF/AE/AWB successfully locked!
2024-02-20 09:56:16.786 22127-25818 PhotoCaptureRequest     com.carooltruck.dev                  I  Using CaptureRequest Template PHOTO...
2024-02-20 09:56:17.192 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo Captured!
2024-02-20 09:56:17.192 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo captured! 4128 x 3096
2024-02-20 09:56:17.203 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo capture 2/3 - waiting for image with timestamp 2075721113417426 now...
2024-02-20 09:56:17.204 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo capture 3/3 - received 4128 x 3096 image, preparing result...
2024-02-20 09:56:17.213 22127-25818 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully captured 4128 x 3096 photo!
2024-02-20 09:56:17.239 22127-25818 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully saved photo to file! /data/user/0/com.carooltruck.dev/cache/mrousavy8816217373587776219.jpg
2024-02-20 09:56:17.314 22127-25822 ReactNativeJS           com.carooltruck.dev                  I  { url: '/configuration/customers/carool/configurations',
                                                                                                      method: 'GET',
                                                                                                      headers: { 'Content-Type': 'application/json' } }
2024-02-20 09:56:17.696 22127-25264 System                  com.carooltruck.dev                  W  A resource failed to call close. 
2024-02-20 09:56:18.233 22127-25262 carooltruck.de          com.carooltruck.dev                  I  NativeAlloc concurrent copying GC freed 12397(781KB) AllocSpace objects, 2(40KB) LOS objects, 49% free, 12MB/25MB, paused 125us total 107.089ms
2024-02-20 09:56:18.251 22127-25820 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: CameraCaptureSession #6 has been closed.
2024-02-20 09:56:18.251 22127-25820 Persistent...ureSession com.carooltruck.dev                  I  Session android.hardware.camera2.impl.CameraCaptureSessionImpl@4ecb1b0 closed!
2024-02-20 09:56:20.780 22127-22127 Choreographer           com.carooltruck.dev                  W  Frame time is 0.040035 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
2024-02-20 09:56:21.080 22127-22127 ViewRootIm...nActivity] com.carooltruck.dev                  I  ViewPostIme pointer 0
2024-02-20 09:56:21.207 22127-22127 ViewRootIm...nActivity] com.carooltruck.dev                  I  ViewPostIme pointer 1
2024-02-20 09:56:21.231 22127-22127 CameraView              com.carooltruck.dev                  D  Finding view 1575...
2024-02-20 09:56:21.231 22127-22127 CameraView              com.carooltruck.dev                  D  Found view 1575!
2024-02-20 09:56:21.232 22127-25818 CameraView.takePhoto    com.carooltruck.dev                  I  Taking photo... Options: {qualityPrioritization=quality, enableAutoStabilization=true, flash=on, enableShutterSound=false}
2024-02-20 09:56:21.232 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo capture 1/3 - capturing 4128x3096 image...
2024-02-20 09:56:21.232 22127-25818 Persistent...ureSession com.carooltruck.dev                  I  Capturing photo...
2024-02-20 09:56:21.232 22127-25818 Persistent...ureSession com.carooltruck.dev                  I  Locking AF/AE/AWB...
2024-02-20 09:56:21.233 22127-25818 Precapture              com.carooltruck.dev                  I  Running precapture sequence... (PrecaptureOptions(modes=[AF, AE, AWB], flash=ON, pointsOfInterest=[], skipIfPassivelyFocused=false, timeoutMs=5000))
2024-02-20 09:56:21.658 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:21.695 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:21.738 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:21.776 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:21.820 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Searching
2024-02-20 09:56:21.849 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Searching
2024-02-20 09:56:21.884 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-20 09:56:21.916 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:21.951 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:21.983 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.016 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.050 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.082 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.116 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.151 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.182 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.215 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.250 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.284 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.316 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.350 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.383 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.417 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.452 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Searching
2024-02-20 09:56:22.482 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Searching
2024-02-20 09:56:22.517 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.551 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.582 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.616 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.648 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.682 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.715 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.749 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.783 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.816 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.849 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.883 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.916 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.949 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:22.986 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.017 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.050 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.082 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.116 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.148 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.183 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.217 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.248 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.283 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.316 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.349 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.382 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.416 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.451 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.483 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.516 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.549 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.585 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.616 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.649 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.683 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.715 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.750 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.782 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.817 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.849 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.883 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.916 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.950 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:23.983 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.016 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.050 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.082 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.117 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.149 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.184 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.215 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.249 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.283 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.316 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.350 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.384 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.417 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.449 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.482 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.516 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.549 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.583 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.616 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.652 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.683 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.717 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.750 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.784 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.818 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.851 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.886 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.916 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.951 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:24.984 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.017 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.050 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.082 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.121 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.152 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.182 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.217 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.251 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.283 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.318 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.349 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.387 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.418 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.449 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.483 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.519 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.549 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.583 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.618 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.650 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.682 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.718 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.749 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.784 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.818 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.850 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.884 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.915 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.949 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-20 09:56:25.984 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:26.021 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:26.049 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:26.084 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:26.117 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:26.153 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:26.184 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:26.220 22127-25818 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-20 09:56:26.242 22127-2710  CameraCaptureSession    com.carooltruck.dev                  E  Precapture timed out after 5 seconds!
2024-02-20 09:56:26.243 22127-25818 PhotoCaptureRequest     com.carooltruck.dev                  I  Using CaptureRequest Template PHOTO...
2024-02-20 09:56:26.731 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo Captured!
2024-02-20 09:56:26.732 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo captured! 4128 x 3096
2024-02-20 09:56:26.740 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo capture 2/3 - waiting for image with timestamp 2075730658434613 now...
2024-02-20 09:56:26.741 22127-25818 CameraSession           com.carooltruck.dev                  I  Photo capture 3/3 - received 4128 x 3096 image, preparing result...
2024-02-20 09:56:26.743 22127-25818 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully captured 4128 x 3096 photo!
2024-02-20 09:56:26.764 22127-25818 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully saved photo to file! /data/user/0/com.carooltruck.dev/cache/mrousavy4477787017508745630.jpg
2024-02-20 09:56:27.728 22127-25264 System                  com.carooltruck.dev                  W  A resource failed to call close. 
2024-02-20 09:56:29.491 22127-25264 System                  com.carooltruck.dev                  W  A resource failed to call close. 
2024-02-20 09:56:29.852 22127-25823 unknown:ReactNative     com.carooltruck.dev                  W  Attempt to set local data for view with unknown tag: -1
2024-02-20 09:56:29.853 22127-25823 unknown:ReactNative     com.carooltruck.dev                  W  Attempt to set local data for view with unknown tag: -1
2024-02-20 09:56:29.954 22127-22127 SurfaceView             com.carooltruck.dev                  I  onWindowVisibilityChanged(8) false com.mrousavy.camera.core.PreviewView{2d80fd4 V.E...... ........ 0,-466-1200,1667} of ViewRootImpl@2eafd77[MainActivity]
2024-02-20 09:56:29.956 22127-22127 SurfaceView             com.carooltruck.dev                  I  surfaceDestroyed callback.size 2 #2 com.mrousavy.camera.core.PreviewView{2d80fd4 V.E...... ........ 0,-466-1200,1667}
2024-02-20 09:56:29.956 22127-22127 CameraSession           com.carooltruck.dev                  I  PreviewView Surface destroyed! Surface(name=null)/@0xd905540
2024-02-20 09:56:29.956 22127-22127 CameraSession           com.carooltruck.dev                  I  Destroying Preview Output...
2024-02-20 09:56:29.956 22127-22127 CameraSession           com.carooltruck.dev                  I  configure { ... }: Waiting for lock...
2024-02-20 09:56:29.956 22127-22127 CameraSession           com.carooltruck.dev                  I  configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-02-20 09:56:29.957 22127-22127 CameraSession           com.carooltruck.dev                  I  Destroying previous outputs...
2024-02-20 09:56:29.957 22127-22127 SurfaceOutput           com.carooltruck.dev                  I  Closing 4128x3096 PHOTO ImageReader..
2024-02-20 09:56:29.957 22127-22127 CameraView              com.carooltruck.dev                  I  invokeOnStopped()
2024-02-20 09:56:29.959 22127-22127 CameraSession           com.carooltruck.dev                  I  Creating outputs for Camera #0...
2024-02-20 09:56:29.964 22127-22127 CameraSession           com.carooltruck.dev                  I  Adding 4128x3096 Photo Output in JPEG...
2024-02-20 09:56:29.964 22127-22127 Persistent...ureSession com.carooltruck.dev                  D  --> setOutputs([PHOTO (4128x3096 in JPEG)])
2024-02-20 09:56:30.181 22127-25653 CameraManagerGlobal     com.carooltruck.dev                  I  Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.carooltruck.dev API Level 2
2024-02-20 09:56:30.182 22127-22127 CameraSession           com.carooltruck.dev                  I  Successfully configured Session with 1 outputs for Camera #0!
2024-02-20 09:56:30.182 22127-22127 Persistent...ureSession com.carooltruck.dev                  D  --> setRepeatingRequest(...)
2024-02-20 09:56:30.182 22127-22127 Persistent...ureSession com.carooltruck.dev                  D  --> setIsActive(false)
2024-02-20 09:56:30.182 22127-22127 Persistent...ureSession com.carooltruck.dev                  D  Configure() with isActive: false, ID: 0, device: android.hardware.camera2.impl.CameraDeviceImpl@6e0e26e, session: null
2024-02-20 09:56:30.183 22127-22127 Persistent...ureSession com.carooltruck.dev                  I  Creating new session...
2024-02-20 09:56:30.187 22127-22127 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: Creating Capture Session #9... (Hardware Level: 3 | Outputs: [PHOTO (4128x3096 in JPEG)])
2024-02-20 09:56:30.187 22127-22127 CreateCaptureSession    com.carooltruck.dev                  I  Using new API (>=28)
2024-02-20 09:56:30.529 22127-25266 BpBinder                com.carooltruck.dev                  I  onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
2024-02-20 09:56:30.530 22127-2554  carooltruck.de          com.carooltruck.dev                  W  Long monitor contention with owner main (22127) at boolean android.hardware.camera2.impl.CameraDeviceImpl.configureStreamsChecked(android.hardware.camera2.params.InputConfiguration, java.util.List, int, android.hardware.camera2.CaptureRequest)(CameraDeviceImpl.java:514) waiters=0 in void android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onResultReceived(android.hardware.camera2.impl.CameraMetadataNative, android.hardware.camera2.impl.CaptureResultExtras, android.hardware.camera2.impl.PhysicalCaptureResultInfo[]) for 342ms
2024-02-20 09:56:30.533 22127-25820 carooltruck.de          com.carooltruck.dev                  W  Long monitor contention with owner main (22127) at boolean android.hardware.camera2.impl.CameraDeviceImpl.configureStreamsChecked(android.hardware.camera2.params.InputConfiguration, java.util.List, int, android.hardware.camera2.CaptureRequest)(CameraDeviceImpl.java:514) waiters=1 in void android.hardware.camera2.impl.CameraDeviceImpl$4.run() for 345ms
2024-02-20 09:56:30.533 22127-25820 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: Successfully created CameraCaptureSession #9!
2024-02-20 09:56:30.533 22127-22127 Persistent...ureSession com.carooltruck.dev                  D  Stopping repeating request...
2024-02-20 09:56:30.534 22127-22127 Persistent...ureSession com.carooltruck.dev                  D  Configure() done! isActive: false, ID: 0, device: android.hardware.camera2.impl.CameraDeviceImpl@6e0e26e, session: android.hardware.camera2.impl.CameraCaptureSessionImpl@cf96812
2024-02-20 09:56:30.534 22127-22127 CameraSession           com.carooltruck.dev                  I  configure { ... }: Completed CameraSession Configuration! (isActive: true, isRunning: false)
2024-02-20 09:56:30.534 22127-22127 CameraSession           com.carooltruck.dev                  I  Preview Output destroyed!
2024-02-20 09:56:30.534 22127-22127 CameraView              com.carooltruck.dev                  I  Updating CameraSession...
2024-02-20 09:56:30.535 22127-22127 CameraSession           com.carooltruck.dev                  I  Closing CameraSession...
2024-02-20 09:56:30.535 22127-22127 CameraSession           com.carooltruck.dev                  I  Destroying session..

IvanByRool avatar Feb 20 '24 09:02 IvanByRool

Hey,

I've tested, it's "working" but it's too slow when using the flash

In the log below you'll see that it's taking the picture (when using the flash) after the 5s timeout. The first picture on the other hand (without flash) is working fine directly.

Let me know if you need more.

Camera Device

{
  "formats": [],
  "sensorOrientation": "landscape-left",
  "hardwareLevel": "full",
  "maxZoom": 8,
  "minZoom": 1,
  "maxExposure": 20,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": true,
  "isMultiCam": false,
  "minFocusDistance": 10,
  "minExposure": -20,
  "name": "BACK (0)",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device Samsung SM-G960U1 / Android 10

2024-02-19 20:35:58.120 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 1/3 - capturing 4032x3024 image...
2024-02-19 20:35:58.120 20753-28926 Persistent...ureSession com.carooltruck.dev                  I  Capturing photo...
2024-02-19 20:35:58.120 20753-28926 Persistent...ureSession com.carooltruck.dev                  I  Locking AF/AE/AWB...
2024-02-19 20:35:58.121 20753-28926 Precapture              com.carooltruck.dev                  I  Running precapture sequence... (PrecaptureOptions(modes=[AF, AE, AWB], flash=OFF, pointsOfInterest=[], skipIfPassivelyFocused=true, timeoutMs=5000))
2024-02-19 20:35:58.328 20753-28926 Precapture              com.carooltruck.dev                  I  Precapture current states: AF: PassiveFocused, AE: Converged, AWB: Converged
2024-02-19 20:35:58.328 20753-28926 Precapture              com.carooltruck.dev                  I  AF is already focused, skipping...
2024-02-19 20:35:58.328 20753-28926 Precapture              com.carooltruck.dev                  I  AE is already focused, skipping...
2024-02-19 20:35:58.328 20753-28926 Precapture              com.carooltruck.dev                  I  AWB is already focused, skipping...
2024-02-19 20:35:58.600 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: PassiveFocused, AE: Converged, AWB: Converged
2024-02-19 20:35:58.605 20753-28926 Precapture              com.carooltruck.dev                  I  AF/AE/AWB successfully locked!
2024-02-19 20:35:58.605 20753-28926 PhotoCaptureRequest     com.carooltruck.dev                  I  Using CaptureRequest Template PHOTO...
2024-02-19 20:35:58.938 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo Captured!
2024-02-19 20:35:58.938 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo captured! 4032 x 3024
2024-02-19 20:35:58.968 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 2/3 - waiting for image with timestamp 641711024794574 now...
2024-02-19 20:35:58.968 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 3/3 - received 4032 x 3024 image, preparing result...
2024-02-19 20:35:58.972 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully captured 4032 x 3024 photo!
2024-02-19 20:35:59.002 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully saved photo to file! /data/user/0/com.carooltruck.dev/cache/mrousavy5278860813447148588.jpg
2024-02-19 20:35:59.321 20753-28724 System                  com.carooltruck.dev                  W  A resource failed to call close. 
2024-02-19 20:35:59.338 20753-28927 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: CameraCaptureSession #6 has been closed.
2024-02-19 20:35:59.339 20753-28927 Persistent...ureSession com.carooltruck.dev                  I  Session android.hardware.camera2.impl.CameraCaptureSessionImpl@b2c1223 closed!
2024-02-19 20:36:01.120 20753-20753 ViewRootIm...nActivity] com.carooltruck.dev                  I  ViewPostIme pointer 0
2024-02-19 20:36:01.235 20753-20753 ViewRootIm...nActivity] com.carooltruck.dev                  I  ViewPostIme pointer 1
2024-02-19 20:36:01.249 20753-20753 CameraView              com.carooltruck.dev                  D  Finding view 1355...
2024-02-19 20:36:01.250 20753-20753 CameraView              com.carooltruck.dev                  D  Found view 1355!
2024-02-19 20:36:01.250 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Taking photo... Options: {qualityPrioritization=quality, enableAutoStabilization=true, flash=on, enableShutterSound=false}
2024-02-19 20:36:01.251 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 1/3 - capturing 4032x3024 image...
2024-02-19 20:36:01.251 20753-28926 Persistent...ureSession com.carooltruck.dev                  I  Capturing photo...
2024-02-19 20:36:01.251 20753-28926 Persistent...ureSession com.carooltruck.dev                  I  Locking AF/AE/AWB...
2024-02-19 20:36:01.253 20753-28926 Precapture              com.carooltruck.dev                  I  Running precapture sequence... (PrecaptureOptions(modes=[AF, AE, AWB], flash=ON, pointsOfInterest=[], skipIfPassivelyFocused=false, timeoutMs=5000))
2024-02-19 20:36:01.593 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.626 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.663 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.695 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.729 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.762 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.796 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.828 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.864 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.900 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.928 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.960 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:01.994 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.033 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.065 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.094 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.131 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.166 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.201 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.231 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.262 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.297 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.329 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.365 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.397 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.433 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.465 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.496 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.529 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.565 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.598 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.630 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.662 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.701 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.729 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.765 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.800 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.830 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.863 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.898 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.930 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.963 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:02.997 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.029 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.061 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.095 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.129 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.165 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.200 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.233 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.265 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.300 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.329 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.361 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.399 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.428 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.464 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.495 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.528 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.564 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.598 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.631 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.663 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.699 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.732 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.761 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.797 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.827 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.864 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.899 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.927 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.962 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:03.995 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.030 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.060 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.093 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.127 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.167 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.196 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.231 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.262 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.297 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.327 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.361 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.397 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.427 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.467 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.500 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.530 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.561 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.592 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.628 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.660 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.693 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.726 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.760 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.793 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.826 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.861 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.893 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.926 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.960 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:04.994 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.039 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.066 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.092 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.126 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.160 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.193 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.225 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.269 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.292 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.325 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.359 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.394 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.427 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.459 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.494 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.527 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.569 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.593 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.626 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.658 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.693 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.726 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.760 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.793 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.828 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.861 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.893 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.926 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:05.963 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.001 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.032 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.061 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.091 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.123 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.162 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.193 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.228 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.262 20753-28926 CameraCaptureSession    com.carooltruck.dev                  I  Precapture state: AF: Focused, AE: Precapture, AWB: Converged
2024-02-19 20:36:06.267 20753-29451 CameraCaptureSession    com.carooltruck.dev                  E  Precapture timed out after 5 seconds!
2024-02-19 20:36:06.268 20753-28926 PhotoCaptureRequest     com.carooltruck.dev                  I  Using CaptureRequest Template PHOTO...
2024-02-19 20:36:06.657 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo Captured!
2024-02-19 20:36:06.658 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo captured! 4032 x 3024
2024-02-19 20:36:06.676 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 2/3 - waiting for image with timestamp 641718763159599 now...
2024-02-19 20:36:06.677 20753-28926 CameraSession           com.carooltruck.dev                  I  Photo capture 3/3 - received 4032 x 3024 image, preparing result...
2024-02-19 20:36:06.681 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully captured 4032 x 3024 photo!
2024-02-19 20:36:06.702 20753-28926 CameraView.takePhoto    com.carooltruck.dev                  I  Successfully saved photo to file! /data/user/0/com.carooltruck.dev/cache/mrousavy6760595864451569426.jpg
2024-02-19 20:36:06.943 20753-28724 System                  com.carooltruck.dev                  W  A resource failed to call close. 
2024-02-19 20:36:08.322 20753-28724 System                  com.carooltruck.dev                  W  A resource failed to call close. 
2024-02-19 20:36:08.576 20753-28929 unknown:ReactNative     com.carooltruck.dev                  W  Attempt to set local data for view with unknown tag: -1
2024-02-19 20:36:08.632 20753-20753 SurfaceView             com.carooltruck.dev                  I  onWindowVisibilityChanged(8) false com.mrousavy.camera.core.PreviewView{ec964d6 V.E...... ........ 0,-420-1080,1500} of ViewRootImpl@86fe9b1[MainActivity]
2024-02-19 20:36:08.632 20753-20753 SurfaceView             com.carooltruck.dev                  I  surfaceDestroyed callback.size 2 #2 com.mrousavy.camera.core.PreviewView{ec964d6 V.E...... ........ 0,-420-1080,1500}
2024-02-19 20:36:08.632 20753-20753 CameraSession           com.carooltruck.dev                  I  PreviewView Surface destroyed! Surface(name=null)/@0x68b2e44
2024-02-19 20:36:08.632 20753-20753 CameraSession           com.carooltruck.dev                  I  Destroying Preview Output...
2024-02-19 20:36:08.632 20753-20753 CameraSession           com.carooltruck.dev                  I  configure { ... }: Waiting for lock...
2024-02-19 20:36:08.633 20753-20753 CameraSession           com.carooltruck.dev                  I  configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
2024-02-19 20:36:08.633 20753-20753 CameraSession           com.carooltruck.dev                  I  Destroying previous outputs...
2024-02-19 20:36:08.633 20753-20753 SurfaceOutput           com.carooltruck.dev                  I  Closing 4032x3024 PHOTO ImageReader..
2024-02-19 20:36:08.633 20753-20753 CameraView              com.carooltruck.dev                  I  invokeOnStopped()
2024-02-19 20:36:08.635 20753-20753 CameraSession           com.carooltruck.dev                  I  Creating outputs for Camera #0...
2024-02-19 20:36:08.638 20753-20753 CameraSession           com.carooltruck.dev                  I  Adding 4032x3024 Photo Output in JPEG...
2024-02-19 20:36:08.638 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  --> setOutputs([PHOTO (4032x3024 in JPEG)])
2024-02-19 20:36:08.820 20753-20753 CameraSession           com.carooltruck.dev                  I  Successfully configured Session with 1 outputs for Camera #0!
2024-02-19 20:36:08.820 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  --> setRepeatingRequest(...)
2024-02-19 20:36:08.820 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  --> setIsActive(false)
2024-02-19 20:36:08.820 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  Configure() with isActive: false, ID: 0, device: android.hardware.camera2.impl.CameraDeviceImpl@81ea99d, session: null
2024-02-19 20:36:08.821 20753-20753 Persistent...ureSession com.carooltruck.dev                  I  Creating new session...
2024-02-19 20:36:08.821 20753-28728 CameraManagerGlobal     com.carooltruck.dev                  I  Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.carooltruck.dev API Level 2
2024-02-19 20:36:08.823 20753-20753 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: Creating Capture Session #9... (Hardware Level: 3 | Outputs: [PHOTO (4032x3024 in JPEG)])
2024-02-19 20:36:08.823 20753-20753 CreateCaptureSession    com.carooltruck.dev                  I  Using new API (>=28)
2024-02-19 20:36:09.004 20753-28927 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: Successfully created CameraCaptureSession #9!
2024-02-19 20:36:09.005 20753-28927 CreateCaptureSession    com.carooltruck.dev                  I  Camera #0: CameraCaptureSession #8 has been closed.
2024-02-19 20:36:09.005 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  Stopping repeating request...
2024-02-19 20:36:09.005 20753-28927 Persistent...ureSession com.carooltruck.dev                  I  Session android.hardware.camera2.impl.CameraCaptureSessionImpl@c6d41d3 closed!
2024-02-19 20:36:09.005 20753-20753 Persistent...ureSession com.carooltruck.dev                  D  Configure() done! isActive: false, ID: 0, device: android.hardware.camera2.impl.CameraDeviceImpl@81ea99d, session: android.hardware.camera2.impl.CameraCaptureSessionImpl@380e068
2024-02-19 20:36:09.005 20753-20753 CameraSession           com.carooltruck.dev                  I  configure { ... }: Completed CameraSession Configuration! (isActive: true, isRunning: false)
2024-02-19 20:36:09.005 20753-20753 CameraSession           com.carooltruck.dev                  I  Preview Output destroyed!
2024-02-19 20:36:09.005 20753-20753 SurfaceView             com.carooltruck.dev                  I  remove() com.mrousavy.camera.core.PreviewView{ec964d6 V.E...... ........ 0,-420-1080,1500} Surface(name=SurfaceView - com.carooltruck.dev/com.carooltruck.MainActivity@ec964d6@0)/@0xaaf6c81
2024-02-19 20:36:09.006 20753-20753 CameraView              com.carooltruck.dev                  I  Updating CameraSession...
2024-02-19 20:36:09.007 20753-20753 CameraSession           com.carooltruck.dev                  I  Closing CameraSession...
2024-02-19 20:36:09.007 20753-28926 CameraSession           com.carooltruck.dev                  I  configure { ... }: Waiting for lock...
2024-02-19 20:36:09.007 20753-28926 CameraSession           com.carooltruck.dev                  I  CameraSession is already destroyed. Skipping configure { ... }
2024-02-19 20:36:09.007 20753-20753 CameraSession           com.carooltruck.dev                  I  Destroying session..
2024-02-19 20:36:09.187 20753-28732 CameraManagerGlobal     com.carooltruck.dev                  I  postSingleUpdate device: camera id 0 status STATUS_PRESENT
2024-02-19 20:36:09.187 20753-20753 SurfaceOutput           com.carooltruck.dev                  I  Closing 4032x3024 PHOTO ImageReader..
2024-02-19 20:36:09.188 20753-28732 CameraManagerGlobal     com.carooltruck.dev                  I  Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.carooltruck.dev API Level 2
2024-02-19 20:36:09.188 20753-20753 CameraSession           com.carooltruck.dev                  I  CameraSession closed!
2024-02-19 20:36:09.188 20753-28929 CameraDevices           com.carooltruck.dev                  I  Camera #0 is now available.

Just integrated the fix branch. I'm experiencing the same, also without flash. Logs are looking the same. Device: Samsung Galaxy S21 FE 5G. Thank you for your support.

fsteinhanseskb avatar Feb 20 '24 10:02 fsteinhanseskb

Hi, I get a similar issue since upgrading to 3.9.0 to fix a preview stretch (not resolved, might open an issue for this).

The logs are very similar

[capture/timed-out: [capture/timed-out] The image capture was aborted because it timed out.]
02-20 11:49:38.141 10988 11328 I CameraSession: configure { ... }: Waiting for lock...
02-20 11:49:38.141 10988 11329 I CameraManager: Camera #1: Opened!
02-20 11:49:38.141  1370  1587 W BatteryUsageReport: Warning: when report...
02-20 11:49:38.143 10988 11328 I CameraSession: configure { ... }: Waiting for lock...
02-20 11:49:38.144 10988 11328 I PersistentCameraCaptureSession: Creating new session...
02-20 11:49:38.147 10988 11328 I CreateCaptureSession: Camera #1: Creating Capture Session #1... (Hardware Level: 0 | Outputs: [PHOTO (2592x1944 in JPEG)])
02-20 11:49:38.148 10988 11328 I CreateCaptureSession: Using new API (>=28)
02-20 11:49:38.155   638   693 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
02-20 11:49:38.155   638   693 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 1]
02-20 11:49:38.156   617 11506 I chatty  : uid=1047(cameraserver) [email protected] expire 108 lines
02-20 11:49:38.157   617 11534 I chatty  : uid=1047(cameraserver) [email protected] expire 6 lines
02-20 11:49:38.165 10988 11329 I CreateCaptureSession: Camera #1: Successfully created CameraCaptureSession #1!
02-20 11:49:38.166   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:38.166 10988 11328 D PersistentCameraCaptureSession: Stopping repeating request...
02-20 11:49:38.167 10988 11328 D PersistentCameraCaptureSession: Configure() done! isActive: false, ID: 1, device: android.hardware.camera2.impl.CameraDeviceImpl@62c2cf9, session: android.hardware.camera2.impl.CameraCaptureSessionImpl@819343e
02-20 11:49:38.167 10988 11328 I CameraSession: configure { ... }: Completed CameraSession Configuration! (isActive: false, isRunning: false)
02-20 11:49:38.167 10988 11328 I CameraView: invokeOnInitialized()
02-20 11:49:38.169 10988 11328 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=false, sidePropsChanged=false, isActiveChanged=true)
02-20 11:49:38.169 10988 11328 D PersistentCameraCaptureSession: --> setIsActive(false)
02-20 11:49:38.170 10988 11328 D PersistentCameraCaptureSession: Configure() with isActive: false, ID: 1, device: android.hardware.camera2.impl.CameraDeviceImpl@62c2cf9, session: android.hardware.camera2.impl.CameraCaptureSessionImpl@819343e
02-20 11:49:38.171 10988 11328 D PersistentCameraCaptureSession: Stopping repeating request...
02-20 11:49:38.171 10988 11328 D PersistentCameraCaptureSession: Configure() done! isActive: false, ID: 1, device: android.hardware.camera2.impl.CameraDeviceImpl@62c2cf9, session: android.hardware.camera2.impl.CameraCaptureSessionImpl@819343e
02-20 11:49:38.172 10988 11328 I CameraSession: configure { ... }: Completed CameraSession Configuration! (isActive: true, isRunning: false)
02-20 11:49:38.172 10988 11328 I CameraSession: configure { ... }: Updating CameraSession Configuration... Difference(deviceChanged=false, outputsChanged=true, sidePropsChanged=true, isActiveChanged=true)
02-20 11:49:38.173 10988 11328 I CameraSession: Destroying previous outputs...
02-20 11:49:38.173 10988 11328 I SurfaceOutput: Closing 2592x1944 PHOTO ImageReader..
02-20 11:49:38.174 10988 11328 I CameraSession: Creating outputs for Camera #1...
02-20 11:49:38.181 10988 11328 I CameraSession: Adding 2592x1944 Photo Output in JPEG...
02-20 11:49:38.186 10988 11328 I CameraSession: Adding 1024x768 Preview Output...
02-20 11:49:38.187 10988 10988 I PreviewView: Input Orientation changed: LANDSCAPE_LEFT -> LANDSCAPE_RIGHT
02-20 11:49:38.188 10988 10988 I SurfaceHolder: Resizing SurfaceHolder to 1024 x 768...
02-20 11:49:38.191 10988 10988 I PreviewView: Surface Size changed: 800x1216 -> 1024x768
02-20 11:49:38.192 10988 10988 I CameraSession: PreviewView Surface updated! Surface(name=null)/@0x2dca543 1024 x 768
02-20 11:49:38.192 10988 10988 I SurfaceHolder: Resized SurfaceHolder to 1024 x 768!
02-20 11:49:38.195 10988 11328 D PersistentCameraCaptureSession: --> setOutputs([PHOTO (2592x1944 in JPEG), PREVIEW (1024 x 768)])
02-20 11:49:38.195 10988 11328 I CameraSession: Successfully configured Session with 2 outputs for Camera #1!
02-20 11:49:38.196 10988 11328 D PersistentCameraCaptureSession: --> setRepeatingRequest(...)
02-20 11:49:38.196 10988 11328 D PersistentCameraCaptureSession: --> setIsActive(true)
02-20 11:49:38.196 10988 11328 D PersistentCameraCaptureSession: Configure() with isActive: true, ID: 1, device: android.hardware.camera2.impl.CameraDeviceImpl@62c2cf9, session: null
02-20 11:49:38.197 10988 11328 I PersistentCameraCaptureSession: Creating new session...
02-20 11:49:38.199 10988 11328 I CreateCaptureSession: Camera #1: Creating Capture Session #2... (Hardware Level: 0 | Outputs: [PHOTO (2592x1944 in JPEG), PREVIEW (1024 x 768)])
02-20 11:49:38.200 10988 11328 I CreateCaptureSession: Using new API (>=28)
02-20 11:49:38.200 10988 11329 I CreateCaptureSession: Camera #1: CameraCaptureSession #1 has been closed.
02-20 11:49:38.200 10988 11329 I PersistentCameraCaptureSession: Session android.hardware.camera2.impl.CameraCaptureSessionImpl@819343e closed!
02-20 11:49:38.204   638   693 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
02-20 11:49:38.204   638   693 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 1]
02-20 11:49:38.210   457   457 I hwservicemanager: getTransport: Cannot find entry [email protected]::IServicetracker/default in either framework or device manifest.
02-20 11:49:38.227   617 11538 I chatty  : uid=1047(cameraserver) [email protected] expire 6 lines
02-20 11:49:38.232 10988 11329 I CreateCaptureSession: Camera #1: Successfully created CameraCaptureSession #2!
02-20 11:49:38.233 10988 10988 D CameraView: Finding view 429...
02-20 11:49:38.233 10988 11328 D PersistentCameraCaptureSession: Updating repeating request...
02-20 11:49:38.233 10988 10988 D CameraView: Found view 429!
02-20 11:49:38.235   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:38.243 10988 11328 D PersistentCameraCaptureSession: Configure() done! isActive: true, ID: 1, device: android.hardware.camera2.impl.CameraDeviceImpl@62c2cf9, session: android.hardware.camera2.impl.CameraCaptureSessionImpl@e70564a
02-20 11:49:38.243 10988 11328 I CameraSession: configure { ... }: Completed CameraSession Configuration! (isActive: true, isRunning: true)
02-20 11:49:38.243 10988 11328 I CameraView: invokeOnStarted()
02-20 11:49:38.246   638   693 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
02-20 11:49:38.246   638   693 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 1]
02-20 11:49:38.247 10988 11328 I CameraView.takePhoto: Taking photo... Options: {}
02-20 11:49:38.248 10988 11328 I CameraSession: Photo capture 1/3 - capturing 2592x1944 image...
02-20 11:49:38.248 10988 11328 I PersistentCameraCaptureSession: Capturing photo...
02-20 11:49:38.249 10988 11328 I PersistentCameraCaptureSession: Locking AF/AE/AWB...
02-20 11:49:38.255 10988 11328 I Precapture: Running precapture sequence... (PrecaptureOptions(modes=[AF, AE, AWB], flash=OFF, pointsOfInterest=[], skipIfPassivelyFocused=true))
02-20 11:49:38.267   617 11522 I chatty  : uid=1047(cameraserver) [email protected] expire 2 lines
02-20 11:49:38.267   617  1447 I chatty  : uid=1047(cameraserver) CAM_imgTh expire 11 lines
02-20 11:49:38.270   617 11523 I chatty  : uid=1047(cameraserver) [email protected] expire 4 lines
02-20 11:49:38.276   617 11553 I chatty  : uid=1047(cameraserver) [email protected] expire 24 lines
02-20 11:49:38.280   617 11506 I chatty  : uid=1047(cameraserver) [email protected] expire 19 lines
02-20 11:49:38.280   617 11514 I chatty  : uid=1047(cameraserver) [email protected] expire 7 lines
02-20 11:49:38.286   617 11524 I chatty  : uid=1047(cameraserver) [email protected] expire 3 lines
02-20 11:49:38.293   617 11516 I chatty  : uid=1047(cameraserver) [email protected] expire 2 lines
02-20 11:49:38.315   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:38.323   617 11552 I chatty  : uid=1047(cameraserver) [email protected] expire 109 lines
02-20 11:49:38.326   617 11507 I chatty  : uid=1047(cameraserver) [email protected] expire 34 lines
02-20 11:49:38.327   617 11523 I chatty  : uid=1047(cameraserver) [email protected] expire 3 lines
02-20 11:49:38.357   617 11517 I chatty  : uid=1047(cameraserver) [email protected] expire 1 line
02-20 11:49:38.406   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:38.424   617 11546 I chatty  : uid=1047(cameraserver) [email protected] expire 2 lines
02-20 11:49:38.470 10988 11328 I Precapture: Auto-Flash: Flash is not required for photo capture.
02-20 11:49:38.495   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:38.576   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:38.591   634 22647 I chatty  : uid=1010 [email protected] identical 58 lines
02-20 11:49:38.591   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:38.675   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:38.730 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:38.730 10988 11328 I CameraCaptureSession: AE State: Searching (isCompleted: false)
02-20 11:49:38.730 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:38.736  6384 11399 E memtrack: Couldn't load memtrack module
02-20 11:49:38.736  6384 11399 W android.os.Debug: failed to get memory consumption info: -1
02-20 11:49:38.767 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:38.767 10988 11328 I CameraCaptureSession: AE State: Searching (isCompleted: false)
02-20 11:49:38.767 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:38.785   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:38.802 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:38.802 10988 11328 I CameraCaptureSession: AE State: Searching (isCompleted: false)
02-20 11:49:38.802 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:38.835 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:38.835 10988 11328 I CameraCaptureSession: AE State: Searching (isCompleted: false)
02-20 11:49:38.835 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:38.868 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:38.868 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:38.868 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:38.906 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:38.906 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:38.906 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:38.940 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:38.940 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:38.940 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:38.966 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:38.966 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:38.966 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.001 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.002 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.002 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.007   634 22647 E WifiHAL : Invalid data received from driver
02-20 11:49:39.035 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.036 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.036 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.069 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.070 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.070 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.101 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.101 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.101 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.134 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.135 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.135 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.170 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.170 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.170 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.201 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.201 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.201 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.234 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.234 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.234 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.271 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.271 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.271 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.301 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.301 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.301 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)
02-20 11:49:39.333 10988 11328 I CameraCaptureSession: AF State: Inactive (isCompleted: false)
02-20 11:49:39.333 10988 11328 I CameraCaptureSession: AE State: Converged (isCompleted: true)
02-20 11:49:39.334 10988 11328 I CameraCaptureSession: AWB State: Converged (isCompleted: true)

Device is a CrossCall Core-T4 running android 10

theopomies avatar Feb 20 '24 10:02 theopomies

Hey! In case you still need logs. I focused and then tried to leave the screen a few seconds later. Samsung S9 Android 10

02-20 18:36:14.884  8666  8741 I CameraSession: configure { ... }: Completed CameraSession Configuration! (isActive: true, isRunning: true)
02-20 18:36:14.884  8666  8741 I CameraView: invokeOnStarted()
02-20 18:36:15.105  8666  8743 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_ACTIVE for client com.ticketscloud.scanner API Level 2
02-20 18:36:15.154  8666  8893 W tscloud.scanne: Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
02-20 18:36:15.156  8666  8893 W tscloud.scanne: Accessing hidden method Lsun/misc/Unsafe;->getInt(Ljava/lang/Object;J)I (greylist, linking, allowed)
02-20 18:36:15.161  8666  8893 I tflite  : Replacing 43 out of 43 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 1 partitions for the whole graph.
02-20 18:36:15.163  8666  8893 I tflite  : Replacing 42 out of 47 node(s) with delegate (TfLiteXNNPackDelegate) node, yielding 11 partitions for the whole graph.
02-20 18:36:15.165  8666  8893 I native  : I0000 00:00:1708443375.165279    8893 oned_decoder_client.cc:695] barhopper::deep_learning::OnedDecoderClient is created successfully.
02-20 18:36:15.176  8666  8893 W tscloud.scanne: Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
02-20 18:36:16.419  8666  8914 W tscloud.scanne: Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
02-20 18:36:17.217  8666  8893 W tscloud.scanne: Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
02-20 18:36:18.887  8666  8666 I ViewRootImpl@f65fc1c[MainActivity]: ViewPostIme pointer 0
02-20 18:36:18.919  8666  8666 I ViewRootImpl@f65fc1c[MainActivity]: ViewPostIme pointer 1
02-20 18:36:18.920  8666  8666 W unknown:ReactNative: Can't cancel already finished gesture. Is a child View trying to start a gesture from an UP/CANCEL event?
02-20 18:36:18.927  8666  8666 D CameraView: Finding view 649...
02-20 18:36:18.927  8666  8666 D CameraView: Found view 649!
02-20 18:36:18.928  8666  8741 I ROTATE  : Point(129, 270) -> PointF(0.35833332, 0.421875) -> LANDSCAPE_LEFT -> 1701.0, 1940.3999
02-20 18:36:18.928  8666  8741 I PreviewView: Converted layer point Point(129, 270) to camera point Point(1701, 1940)! (LANDSCAPE_LEFT, 4032x3024 -> 360x640)
02-20 18:36:18.928  8666  8741 I PersistentCameraCaptureSession: Focusing to Point(1701, 1940)...
02-20 18:36:18.931  8666  8741 I Precapture: Running precapture sequence... (PrecaptureOptions(modes=[AF, AE], flash=OFF, pointsOfInterest=[Point(1701, 1940)], skipIfPassivelyFocused=false, timeoutMs=3000))
02-20 18:36:19.539  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:19.599  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:19.669  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:19.739  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:19.802  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Searching
02-20 18:36:19.874  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Searching
02-20 18:36:19.941  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:20.005  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:20.073  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Searching
02-20 18:36:20.143  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Searching
02-20 18:36:20.208  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:20.276  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:20.344  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Searching
02-20 18:36:20.410  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Searching
02-20 18:36:20.478  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:20.500  8666  8898 W tscloud.scanne: Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
02-20 18:36:20.543  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:20.605  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:20.607  8666  8666 I ViewRootImpl@f65fc1c[MainActivity]: ViewPostIme key 0
02-20 18:36:20.658  8666  8666 I ViewRootImpl@f65fc1c[MainActivity]: ViewPostIme key 1
02-20 18:36:20.669  8666  8741 I CameraCaptureSession: Precapture state: AF: Scanning, AE: Precapture, AWB: Converged
02-20 18:36:20.680  8666  8914 W tscloud.scanne: Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
02-20 18:36:20.715  8666  8666 I CameraSession: Closing CameraSession...
02-20 18:36:20.716  8666  8666 I CameraSession: Destroying session..
02-20 18:36:21.068  8666  8743 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_IDLE for client com.ticketscloud.scanner API Level 2
02-20 18:36:21.380  8666  8666 I SurfaceOutput: Closing BarcodeScanner..
02-20 18:36:21.381  8666  8743 I CameraManagerGlobal: postSingleUpdate device: camera id 0 status STATUS_PRESENT
02-20 18:36:21.383  8666  8743 I CameraManagerGlobal: Camera 0 facing CAMERA_FACING_BACK state now CAMERA_STATE_CLOSED for client com.ticketscloud.scanner API Level 2
02-20 18:36:21.383  8666  8666 I CameraView: invokeOnStopped()
02-20 18:36:21.386  8666  8666 I CameraSession: CameraSession closed!
02-20 18:36:21.393  8666  8745 I CameraDevices: Camera #0 is now available.
02-20 18:36:21.402  8666  8865 D TransportRuntime.SQLiteEventStore: Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
02-20 18:36:21.409  8666  8865 D TransportRuntime.JobInfoScheduler: Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
02-20 18:36:21.434  8666  8666 I ViewRootImpl@f65fc1c[MainActivity]: Relayout returned: old=(0,0,1440,2960) new=(0,0,1440,2960) req=(1440,2960)0 dur=6 res=0x1 s={true 545222975488} ch=false
02-20 18:36:21.470  8666  8870 I OpenGLRenderer: doUpdatePositionAsync is called and callVoidMethod
02-20 18:36:21.471  8666  8666 I SurfaceView: onWindowVisibilityChanged(8) false com.mrousavy.camera.core.PreviewView{a40b9b5 V.E...... ........ 0,-84-1440,2476} of ViewRootImpl@f65fc1c[MainActivity]
02-20 18:36:21.472  8666  8666 I SurfaceView: surfaceDestroyed callback.size 2 #2 com.mrousavy.camera.core.PreviewView{a40b9b5 V.E...... ........ 0,-84-1440,2476}
02-20 18:36:21.472  8666  8666 I CameraSession: PreviewView Surface destroyed! Surface(name=null)/@0x4b57820
02-20 18:36:21.472  8666  8666 I CameraSession: Destroying Preview Output...
02-20 18:36:21.472  8666  8666 I CameraSession: configure { ... }: Waiting for lock...
02-20 18:36:21.473  8666  8666 I CameraSession: CameraSession is already destroyed. Skipping configure { ... }
02-20 18:36:21.473  8666  8666 I CameraSession: Preview Output destroyed!
02-20 18:36:21.473  8666  8666 I SurfaceView: remove() com.mrousavy.camera.core.PreviewView{a40b9b5 V.E...... ........ 0,-84-1440,2476} Surface(name=SurfaceView - com.ticketscloud.scanner/com.ticketscloud.scanner.MainActivity@a40b9b5@0)/@0x465d562
02-20 18:36:21.474  8666  8666 I CameraView: Updating CameraSession...
02-20 18:36:21.474  8666  8741 I CameraSession: configure { ... }: Waiting for lock...
02-20 18:36:21.475  8666  8741 I CameraSession: CameraSession is already destroyed. Skipping configure { ... }
02-20 18:36:21.948  8666  8990 E CameraCaptureSession: Precapture timed out after 3 seconds!
02-20 18:36:21.964  8666  8990 E CameraCaptureSession: Error resetting session repeating request..
02-20 18:36:21.964  8666  8990 E CameraCaptureSession: java.lang.IllegalStateException: CameraDevice was already closed
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2550)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at android.hardware.camera2.impl.CameraDeviceImpl.submitCaptureRequest(CameraDeviceImpl.java:1069)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at android.hardware.camera2.impl.CameraDeviceImpl.setRepeatingRequest(CameraDeviceImpl.java:1127)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at android.hardware.camera2.impl.CameraCaptureSessionImpl.setRepeatingRequest(CameraCaptureSessionImpl.java:297)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at com.mrousavy.camera.extensions.CameraCaptureSession_setRepeatingRequestAndWaitForPrecaptureKt$setRepeatingRequestAndWaitForPrecapture$2$1.invokeSuspend(CameraCaptureSession+setRepeatingRequestAndWaitForPrecapture.kt:130)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
02-20 18:36:21.964  8666  8990 E CameraCaptureSession:  at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
02-20 18:36:22.467  8666  8686 I tscloud.scanne: Compiler allocated 4218KB to compile void android.view.ViewRootImpl.performTraversals()
--------- beginning of crash
02-20 18:36:22.559  8666  8741 E AndroidRuntime: FATAL EXCEPTION: mrousavy/VisionCamera.main
02-20 18:36:22.559  8666  8741 E AndroidRuntime: Process: com.ticketscloud.scanner, PID: 8666
02-20 18:36:22.559  8666  8741 E AndroidRuntime: com.mrousavy.camera.core.CaptureTimedOutError: [capture/timed-out] The image capture was aborted because it timed out.
02-20 18:36:22.559  8666  8741 E AndroidRuntime:        at com.mrousavy.camera.extensions.CameraCaptureSession_setRepeatingRequestAndWaitForPrecaptureKt$setRepeatingRequestAndWaitForPrecapture$2$1.invokeSuspend(CameraCaptureSession+setRepeatingRequestAndWaitForPrecapture.kt:128)
02-20 18:36:22.559  8666  8741 E AndroidRuntime:        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
02-20 18:36:22.559  8666  8741 E AndroidRuntime:        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
02-20 18:36:22.559  8666  8741 E AndroidRuntime:        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
02-20 18:36:22.559  8666  8741 E AndroidRuntime:        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
02-20 18:36:22.559  8666  8741 E AndroidRuntime:        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
02-20 18:36:22.559  8666  8741 E AndroidRuntime:        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
02-20 18:36:22.559  8666  8741 E AndroidRuntime:        Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@9ca8947, mrousavy/VisionCamera.main]

iliapnmrv avatar Feb 20 '24 15:02 iliapnmrv

Whoops yea it is not entirely fixed, only for some phones. The problem still exists because some other phones simply stay in Precapture state instead of doing something. No one knows why, according to the Android developer docs that should not happen.

I'm reading androidx/CameraX source code as we speak to figure out how they did it.

mrousavy avatar Feb 20 '24 17:02 mrousavy

This error occurred and was fixed by this PR on an AVD emulator on windows, Pixel 7 api 33 if it's any help.

Thank you for the PR.

missivaeak avatar Feb 21 '24 22:02 missivaeak

hey mrousavy, thanks for taking a look at this so quickly! 🙏 On my Samsung SM-A536B (Android 14) I can no longer reproduce the issue (capture/timed-out), with #2586.

which version of react-native-vision-camera you used

vishpatil1999 avatar Feb 28 '24 08:02 vishpatil1999

hey @vishpatil1999, I didn't use a specific version, I used the fix/precapture-timeout branch to test if it would solve the problem. This branch is merged into main but there is no version yet that incoperates this fix.

Dingenis avatar Feb 28 '24 08:02 Dingenis

hey @vishpatil1999, I didn't use a specific version, I used the fix/precapture-timeout branch to test if it would solve the problem. This branch is merged into main but there is no version yet that incoperates this fix.

can you please explain how to use this branch in react native project

vishpatil1999 avatar Feb 28 '24 08:02 vishpatil1999

@vishpatil1999 This is a bit off topic for this issue and I wouldn't recommend using it in production, I would advise you to wait for the fix to be released. But you can do it in multiple ways if you really want to, for example one of @iliapnmrv earlier comments shows one way. Another one would be cloning the project, checking out the fix branch, building the project and then including it locally in your project.

Dingenis avatar Feb 28 '24 13:02 Dingenis

@vishpatil1999 this comment may help you https://github.com/mrousavy/react-native-vision-camera/issues/2577#issuecomment-1952390114

iliapnmrv avatar Feb 28 '24 18:02 iliapnmrv

this is what solved it for me photoData = await cameraRef.current?.takePhoto({ enableShutterSound: true, flash: 'off', qualityPrioritization: Platform.OS === 'android' ? 'speed' : 'quality', });

GodwinChibyk avatar Feb 29 '24 11:02 GodwinChibyk

Yea good point - if you set qualityPrioritization to speed, I will skip the entire AF/AE/AWB precapture sequence and instead just capture as fast as possible. This avoids all the precapture/timeout errors.

mrousavy avatar Feb 29 '24 13:02 mrousavy

Also happens on OnePlus Nord, Android 12. Happens only with flash enabled, qualityPrioritization option doesn't solve the issue

serybva avatar Feb 29 '24 14:02 serybva