Repository: flutter
Issue: [Camera][Android]: App crashes if continuously switching between activities.
Labels: c: crash,platform-android,p: camera,package,has reproducible steps,P2,c: fatal crash,found in release: 2.8,found in release: 2.10,team-android,triaged-android

## Description
 When switching between activities if done continuously then app freezes in android. I tried this with camera: ^0.9.4+6 plugin and target sdk version: 31

<details>
<summary>Flutter doctor</summary>

```
[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.18363.1198], locale en-IN)
    • Flutter version 2.8.1 at C:\Flutter2.8.1\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (5 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\User\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 49.0.1
    • Dart plugin version 192.8052
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.55.2)
    • VS Code at C:\Users\User\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
```
</details>

<details>
<summary>Code sample</summary>

```
  CameraController? _controller;
  int _cameraIndex = 0;

  @override
  void dispose() {
    disposeController();
   WidgetsBinding.instance!.removeObserver(this);
    debugPrint("...***...dispose...***...");
    super.dispose();
  }

  @override
  void initState() {
    super.initState();
  WidgetsBinding.instance!.addObserver(this);
    for (var i = 0; i < cameras.length; i++) {
      if (cameras[i].lensDirection == widget.initialDirection) {
        _cameraIndex = i;
      }
    }
    initController();
  }

  @override
  void didChangeAppLifecycleState(AppLifecycleState state) {
    if (_controller == null || !_controller!.value.isInitialized) {
      return;
    }
    if (state == AppLifecycleState.inactive) {
      disposeController();
      debugPrint("...***...dispose...***...");
    } else if (state == AppLifecycleState.resumed) {
      if (_controller != null) {
        initController();
      }
    }
  }

  @override
  Widget build(BuildContext context) {
    return cameraPreview();
  }

  Widget cameraPreview() {
    if (_controller==null || _controller?.value.isInitialized == false) {
      return Container();
    }
    return Container(
      color: Colors.black,
      child: Stack(
        fit: StackFit.expand,
        children: <Widget>[
          CameraPreview(_controller!),
          if (widget.canvasTouchDetector != null)
            widget.canvasTouchDetector!
        ],
      ),
    );
  }

  initController() async{
    if (!mounted) {
      return;
    }
    final CameraController cameraController = CameraController(cameras[0], ResolutionPreset.low, enableAudio: false);
    _controller = cameraController;

    try {
     await cameraController.initialize();
     cameraController.startImageStream(_processCameraImage);
    } on CameraException catch (e) {
      debugPrint("...***...exception...***...");
      debugPrint(e.toString());
    }

    if (mounted) {
      setState(() {});
    }
  }

  disposeController(){
    if (_controller != null) {
      if(_controller!.value.isStreamingImages){
        _controller?.stopImageStream().then((value) {
          _controller?.dispose();
        });
      }else{
        _controller?.dispose();
      }
    }
  }

  _processCameraImage(CameraImage image) {
    WriteBuffer? allBytes = WriteBuffer();
    for (Plane plane in image.planes) {
      allBytes.putUint8List(plane.bytes);
    }
    final bytes = allBytes.done().buffer.asUint8List();
    final Size imageSize = Size(image.width.toDouble(), image.height.toDouble());

    final imageRotation = InputImageRotationMethods.fromRawValue(cameras[_cameraIndex].sensorOrientation) ?? InputImageRotation.Rotation_0deg;
    final inputImageFormat = InputImageFormatMethods.fromRawValue(image.format.raw) ?? InputImageFormat.NV21;

    final planeData = image.planes.map((Plane plane) {
      return InputImagePlaneMetadata(
          bytesPerRow: plane.bytesPerRow,
          height: plane.height,
          width: plane.width);
    }).toList();

    final inputImageData = InputImageData(size: imageSize, imageRotation: imageRotation, inputImageFormat: inputImageFormat, planeData: planeData);
    final inputImage = InputImage.fromBytes(bytes: bytes, inputImageData: inputImageData);
    widget.onImage(inputImage);
  }

```

</details>

<details>
  <summary>Logs</summary>

```
I/CameraManagerGlobal( 4616): Connecting to camera service
W/com.mei.mobile( 4616): type=1400 audit(0.0:102545): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/com.mei.mobile( 4616): type=1400 audit(0.0:102546): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
W/com.mei.mobile( 4616): type=1400 audit(0.0:102548): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/com.mei.mobile( 4616): type=1400 audit(0.0:102549): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/CameraManagerGlobal( 4616): [soar.cts] ignore the status update of camera: 2
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/CameraManagerGlobal( 4616): [soar.cts] ignore the status update of camera: 3
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/CameraManagerGlobal( 4616): ignore the torch status update of camera: 2
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/CameraManagerGlobal( 4616): ignore the torch status update of camera: 3
I/FirebaseApp( 4616): Device unlocked: initializing all Firebase APIs for app [DEFAULT]
D/TransportRuntime.JobInfoScheduler( 4616): Scheduling upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) with jobId=1510089396 in 191335ms(Backend next call timestamp 1642885389370). Attempt 1
D/TransportRuntime.JobInfoScheduler( 4616): Scheduling upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) with jobId=1515070133 in 86400000ms(Backend next call timestamp 0). Attempt 1
W/FlutterJNI( 4616): FlutterJNI.setRefreshRateFPS called more than once
W/FlutterJNI( 4616): FlutterJNI.loadLibrary called more than once
W/FlutterJNI( 4616): FlutterJNI.prefetchDefaultFontManager called more than once
I/ResourceExtractor( 4616): Found extracted resources res_timestamp-18-1642885188413
W/FlutterJNI( 4616): FlutterJNI.init called more than once
I/FLTFireBGExecutor( 4616): Creating background FlutterEngine instance, with args: [--start-paused, --enable-dart-profiling]
D/PathProviderPlugin( 4616): Use TaskQueues.
I/FLTFireMsgService( 4616): FlutterFirebaseMessagingBackgroundService started!
I/flutter ( 4616): Access token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiMDUwMzM0ZDdhM2EwYjAwOWZmMjA4YmZiZTJlNWVkZDliYjIzODg2Y2Y4ZmNhM2Y3ZjE5ZjQ1MzU0ZDc2OWExZWI1YzZhMGYzNjhkNjgyNTAiLCJpYXQiOjE2NDI4ODIyMTYuMzExMDE1LCJuYmYiOjE2NDI4ODIyMTYuMzExMDI0LCJleHAiOjE2NzQ0MTgyMTYuMjIzNDM0LCJzdWIiOiIyOTAiLCJzY29wZXMiOltdfQ.AGYijDwXcLiGyGdzEubmOKGpPVt8FI_-HkuU44X7BmeZrixdilT1K0r2T_doc4OJ-oBCEYH4A3j0R-10YunkqEofUGMxrdgOkKFzAL20ygP1kknp6LcVweZGMFjo2hOPaONPqtZpS66mXEO1nQ40ScldIboPTjLGu5OHP5dOepShBT4r3owYc-nhSfGXpCNHMKuiY8YiOar-mcXN8wBY20RUAthxGu-mVqR2m6f9lM3YXi6WBE5O_MhMnrsQu7nfWcdvYeC1styzgZ72GL-eolhSKpUcJkdUhoJAXqHNKySXN0Xj_V0QAJmUzZdr33Z_yKAi-rX5rHW-Pd8iUjr7wt7ZBxgK5G6DsVnhWDibT-UOQPozJ8ECRp8mVBxn6msid0ChhdAFG25CZjDTFsumFf1oI3kQnPjWARXxFkx5P_5Bn_sOwR53hCjvwM5Uj2qk59Nqz1UnwTQtL7SOG58M9Yh_dlrTaZNKMmG51BwWtqfVL-JkjVom0ZmkKCG4-5qwDJhB-8L9aph9fwRaYWjBOuYPstOZFQdYgJQZ83shsXfseWpuI6ykUeuGse3ftppeZBPr-hFZY5ndMvksPIbHb5Fh-fAvx1Bcusb5gHVQmlXkdIeMq_m9fmMi0cozPZe71rYAptAuUOOtUQcnOUEqixSyPR7j6P-ER3YFVFaNZsY
I/flutter ( 4616): User granted permission
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
W/com.mei.mobile( 4616): type=1400 audit(0.0:102561): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_3( 4616): type=1400 audit(0.0:102562): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
I/Camera  ( 4616): CameraCaptureSession onClosed
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
W/System  ( 4616): A resource failed to call release. 
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
W/com.mei.mobile( 4616): Accessing hidden field Ljava/nio/Buffer;->address:J (light greylist, reflection)
I/Camera  ( 4616): startPreview
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/flutter ( 4616): ...***...dispose...***...
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
I/native  ( 4616): I0123 02:30:09.796701    4981 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:09.797147    4981 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/tflite  ( 4616): Initialized TensorFlow Lite runtime.
I/native  ( 4616): I0123 02:30:09.800546    4981 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:09.804583    4981 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:09.806876    4981 timer.cc:71] PhotoOcrEngine::Init (detector): 9.54599 ms (elapsed)
E/native  ( 4616): E0123 02:30:09.808032    4981 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:09.808376    4981 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:09.808435    4981 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:09.808470    4981 timer.cc:71] LanguageIdMutator: 0.671718 ms (elapsed)
I/native  ( 4616): I0123 02:30:09.808533    4981 timer.cc:71] BeamSearch::Init (mutator): 0.75125 ms (elapsed)
I/native  ( 4616): I0123 02:30:09.809047    4981 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:09.809091    4980 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:09.810146    4980 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
I/native  ( 4616): I0123 02:30:09.810529    4981 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:09.812457    4981 timer.cc:71] PhotoOcrEngine::Init (recognizer): 5.43287 ms (elapsed)
I/native  ( 4616): I0123 02:30:09.812591    4981 timer.cc:71] Init: 15.2858 ms (elapsed)
I/native  ( 4616): I0123 02:30:09.812645    4981 start_ocr_-1856424863_langid.cc:44] StartOcr success
I/native  ( 4616): I0123 02:30:09.820510    4978 scheduler.cc:551] ImageMetadata: 320x240
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
W/CameraDeviceGLT( 4616): type=1400 audit(0.0:102574): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=5397 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-3] cancelBuffer: BufferQueue has been abandoned
I/chatty  ( 4616): uid=12470(com.mei.mobile) Binder:4616_3 identical 1 line
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-3] cancelBuffer: BufferQueue has been abandoned
W/Binder:4616_3( 4616): type=1400 audit(0.0:102577): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
W/Binder:4616_3( 4616): type=1400 audit(0.0:102578): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
W/CameraDeviceGLT( 4616): type=1400 audit(0.0:102591): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=5397 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
I/Camera  ( 4616): CameraCaptureSession onClosed
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
W/System  ( 4616): A resource failed to call release. 
W/System  ( 4616): A resource failed to call release. 
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/native  ( 4616): I0123 02:30:11.442485    5129 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:11.442981    5129 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/native  ( 4616): I0123 02:30:11.446439    5129 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:11.447289    5129 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:11.449205    5129 timer.cc:71] PhotoOcrEngine::Init (detector): 6.01781 ms (elapsed)
I/native  ( 4616): I0123 02:30:11.449354    5130 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:11.449451    5130 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
E/native  ( 4616): E0123 02:30:11.450162    5129 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:11.450361    5129 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:11.450415    5129 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:11.450451    5129 timer.cc:71] LanguageIdMutator: 0.520833 ms (elapsed)
I/native  ( 4616): I0123 02:30:11.450522    5129 timer.cc:71] BeamSearch::Init (mutator): 0.619375 ms (elapsed)
I/native  ( 4616): I0123 02:30:11.451697    5129 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:11.457667    5129 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:11.461697    5129 timer.cc:71] PhotoOcrEngine::Init (recognizer): 12.3071 ms (elapsed)
I/native  ( 4616): I0123 02:30:11.461995    5129 timer.cc:71] Init: 18.8242 ms (elapsed)
I/native  ( 4616): I0123 02:30:11.462053    5129 start_ocr_-1856424863_langid.cc:44] StartOcr success
I/native  ( 4616): I0123 02:30:11.511068    5129 photo_ocr_engine.cc:2285] INTERNAL: 
I/Camera  ( 4616): startPreview
I/flutter ( 4616): ...***...dispose...***...
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
I/Camera  ( 4616): CameraCaptureSession onClosed
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-7] cancelBuffer: BufferQueue has been abandoned
I/chatty  ( 4616): uid=12470(com.mei.mobile) Binder:4616_2 identical 1 line
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-7] cancelBuffer: BufferQueue has been abandoned
W/Binder:4616_2( 4616): type=1400 audit(0.0:102597): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/Binder:4616_2( 4616): type=1400 audit(0.0:102598): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_2( 4616): type=1400 audit(0.0:102599): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
W/com.mei.mobile( 4616): type=1400 audit(0.0:102601): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): CameraCaptureSession onClosed
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/native  ( 4616): I0123 02:30:13.078077    5265 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:13.078358    5265 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/native  ( 4616): I0123 02:30:13.079920    5265 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:13.080419    5265 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:13.081969    5265 timer.cc:71] PhotoOcrEngine::Init (detector): 3.46922 ms (elapsed)
I/native  ( 4616): I0123 02:30:13.082552    5264 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:13.082673    5264 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
E/native  ( 4616): E0123 02:30:13.082827    5265 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:13.082954    5265 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:13.082999    5265 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:13.083036    5265 timer.cc:71] LanguageIdMutator: 0.352396 ms (elapsed)
I/native  ( 4616): I0123 02:30:13.083087    5265 timer.cc:71] BeamSearch::Init (mutator): 0.412812 ms (elapsed)
I/native  ( 4616): I0123 02:30:13.083501    5265 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:13.084586    5265 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:13.096817    5265 timer.cc:71] PhotoOcrEngine::Init (recognizer): 14.6287 ms (elapsed)
I/native  ( 4616): I0123 02:30:13.096993    5265 timer.cc:71] Init: 18.5061 ms (elapsed)
I/native  ( 4616): I0123 02:30:13.097042    5265 start_ocr_-1856424863_langid.cc:44] StartOcr success
I/Camera  ( 4616): startPreview
I/flutter ( 4616): ...***...dispose...***...
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
W/CameraDeviceGLT( 4616): type=1400 audit(0.0:102614): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=5397 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/Camera  ( 4616): closeCaptureSession
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/Camera  ( 4616): refreshPreviewCaptureSession: captureSession not yet initialized, skipping preview capture session refresh.
I/Camera  ( 4616): CameraCaptureSession onClosed
W/Binder:4616_3( 4616): type=1400 audit(0.0:102615): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_3( 4616): type=1400 audit(0.0:102617): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
W/com.mei.mobile( 4616): type=1400 audit(0.0:102619): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_3( 4616): type=1400 audit(0.0:102620): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/native  ( 4616): I0123 02:30:16.133460    5410 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:16.133771    5410 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/native  ( 4616): I0123 02:30:16.145689    5410 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:16.148446    5410 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:16.155032    5410 timer.cc:71] PhotoOcrEngine::Init (detector): 21.1046 ms (elapsed)
E/native  ( 4616): E0123 02:30:16.156181    5410 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:16.156426    5410 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:16.156487    5410 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:16.156525    5410 timer.cc:71] LanguageIdMutator: 0.665781 ms (elapsed)
I/native  ( 4616): I0123 02:30:16.156600    5410 timer.cc:71] BeamSearch::Init (mutator): 0.754218 ms (elapsed)
I/native  ( 4616): I0123 02:30:16.161563    5410 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:16.164680    5410 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:16.165026    5409 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:16.165176    5409 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
I/native  ( 4616): I0123 02:30:16.167206    5410 timer.cc:71] PhotoOcrEngine::Init (recognizer): 11.8941 ms (elapsed)
I/native  ( 4616): I0123 02:30:16.167369    5410 timer.cc:71] Init: 33.4562 ms (elapsed)
I/native  ( 4616): I0123 02:30:16.167421    5410 start_ocr_-1856424863_langid.cc:44] StartOcr success
I/Camera  ( 4616): startPreview
I/flutter ( 4616): ...***...dispose...***...
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
W/System  ( 4616): A resource failed to call release. 
I/chatty  ( 4616): uid=12470(com.mei.mobile) FinalizerDaemon identical 5 lines
W/System  ( 4616): A resource failed to call release. 
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
W/CameraDeviceGLT( 4616): type=1400 audit(0.0:102632): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=5397 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/Camera  ( 4616): closeCaptureSession
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/Camera  ( 4616): refreshPreviewCaptureSession: captureSession not yet initialized, skipping preview capture session refresh.
I/Camera  ( 4616): CameraCaptureSession onClosed
W/Binder:4616_2( 4616): type=1400 audit(0.0:102633): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/Binder:4616_2( 4616): type=1400 audit(0.0:102634): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_2( 4616): type=1400 audit(0.0:102635): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/Binder:4616_2( 4616): type=1400 audit(0.0:102636): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/MessageQueue( 4616): Handler (android.os.Handler) {574fc23} sending message to a Handler on a dead thread
W/MessageQueue( 4616): java.lang.IllegalStateException: Handler (android.os.Handler) {574fc23} sending message to a Handler on a dead thread
W/MessageQueue( 4616): 	at android.os.MessageQueue.enqueueMessage(MessageQueue.java:546)
W/MessageQueue( 4616): 	at android.os.Handler.enqueueMessage(Handler.java:745)
W/MessageQueue( 4616): 	at android.os.Handler.sendMessageAtTime(Handler.java:697)
W/MessageQueue( 4616): 	at android.os.Handler.sendMessageDelayed(Handler.java:667)
W/MessageQueue( 4616): 	at android.os.Handler.post(Handler.java:395)
W/MessageQueue( 4616): 	at android.hardware.camera2.impl.CameraDeviceImpl$CameraHandlerExecutor.execute(CameraDeviceImpl.java:2372)
W/MessageQueue( 4616): 	at android.hardware.camera2.utils.TaskDrainer.postDrained(TaskDrainer.java:202)
W/MessageQueue( 4616): 	at android.hardware.camera2.utils.TaskDrainer.checkIfDrainFinished(TaskDrainer.java:197)
W/MessageQueue( 4616): 	at android.hardware.camera2.utils.TaskDrainer.beginDrain(TaskDrainer.java:185)
W/MessageQueue( 4616): 	at android.hardware.camera2.utils.TaskSingleDrainer.beginDrain(TaskSingleDrainer.java:87)
W/MessageQueue( 4616): 	at android.hardware.camera2.impl.CameraCaptureSessionImpl$AbortDrainListener.onDrained(CameraCaptureSessionImpl.java:917)
W/MessageQueue( 4616): 	at android.hardware.camera2.utils.TaskDrainer.lambda$postDrained$0(TaskDrainer.java:207)
W/MessageQueue( 4616): 	at android.hardware.camera2.utils.-$$Lambda$TaskDrainer$Jb53sDskEXp_qIjiikQeCRx0wJs.run(Unknown Source:2)
W/MessageQueue( 4616): 	at android.os.Handler.handleCallback(Handler.java:873)
W/MessageQueue( 4616): 	at android.os.Handler.dispatchMessage(Handler.java:99)
W/MessageQueue( 4616): 	at android.os.Looper.loop(Looper.java:193)
W/MessageQueue( 4616): 	at android.os.HandlerThread.run(HandlerThread.java:65)
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
I/Camera  ( 4616): CameraCaptureSession onClosed
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/native  ( 4616): I0123 02:30:17.476528    5529 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:17.477050    5529 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/native  ( 4616): I0123 02:30:17.485834    5529 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:17.486918    5529 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:17.490988    5529 timer.cc:71] PhotoOcrEngine::Init (detector): 13.6672 ms (elapsed)
E/native  ( 4616): E0123 02:30:17.492622    5529 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:17.494673    5529 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:17.494750    5529 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:17.494788    5529 timer.cc:71] LanguageIdMutator: 2.98266 ms (elapsed)
I/native  ( 4616): I0123 02:30:17.494862    5529 timer.cc:71] BeamSearch::Init (mutator): 3.07198 ms (elapsed)
I/native  ( 4616): I0123 02:30:17.503625    5529 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:17.504820    5529 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:17.504692    5528 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:17.504959    5528 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
I/native  ( 4616): I0123 02:30:17.509416    5529 timer.cc:71] PhotoOcrEngine::Init (recognizer): 18.1644 ms (elapsed)
I/native  ( 4616): I0123 02:30:17.509674    5529 timer.cc:71] Init: 32.3714 ms (elapsed)
I/native  ( 4616): I0123 02:30:17.509744    5529 start_ocr_-1856424863_langid.cc:44] StartOcr success
I/Camera  ( 4616): startPreview
I/Camera  ( 4616): closeCaptureSession
I/flutter ( 4616): ...***...dispose...***...
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
W/CameraDeviceGLT( 4616): type=1400 audit(0.0:102650): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=5397 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
I/Camera  ( 4616): CameraCaptureSession onClosed
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
D/Camera  ( 4616): Updating builder with feature: FlashFeature
I/Camera  ( 4616): closeCaptureSession
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/Camera  ( 4616): refreshPreviewCaptureSession: captureSession not yet initialized, skipping preview capture session refresh.
I/Camera  ( 4616): CameraCaptureSession onClosed
W/Binder:4616_3( 4616): type=1400 audit(0.0:102651): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_3( 4616): type=1400 audit(0.0:102652): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
W/Binder:4616_3( 4616): type=1400 audit(0.0:102653): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_3( 4616): type=1400 audit(0.0:102654): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
W/CameraDeviceGLT( 4616): type=1400 audit(0.0:102665): avc: denied { read } for name="u:object_r:camera_prop:s0" dev="tmpfs" ino=5397 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
I/Camera  ( 4616): startPreview
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/flutter ( 4616): ...***...dispose...***...
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/Camera  ( 4616): closeCaptureSession
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/Camera  ( 4616): refreshPreviewCaptureSession: captureSession not yet initialized, skipping preview capture session refresh.
I/Camera  ( 4616): CameraCaptureSession onClosed
I/native  ( 4616): I0123 02:30:19.318141    5670 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:19.318459    5670 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/native  ( 4616): I0123 02:30:19.319054    5670 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:19.319450    5670 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:19.320944    5670 timer.cc:71] PhotoOcrEngine::Init (detector): 2.34364 ms (elapsed)
E/native  ( 4616): E0123 02:30:19.321617    5670 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:19.321743    5670 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:19.321783    5670 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:19.321818    5670 timer.cc:71] LanguageIdMutator: 0.333646 ms (elapsed)
I/native  ( 4616): I0123 02:30:19.321865    5670 timer.cc:71] BeamSearch::Init (mutator): 0.389271 ms (elapsed)
I/native  ( 4616): I0123 02:30:19.322921    5670 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:19.323712    5670 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:19.325560    5670 timer.cc:71] PhotoOcrEngine::Init (recognizer): 4.49766 ms (elapsed)
I/native  ( 4616): I0123 02:30:19.325683    5670 timer.cc:71] Init: 7.09938 ms (elapsed)
I/native  ( 4616): I0123 02:30:19.325740    5670 start_ocr_-1856424863_langid.cc:44] StartOcr success
I/native  ( 4616): I0123 02:30:19.327041    5671 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:19.327189    5671 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
I/native  ( 4616): I0123 02:30:19.374568    5671 photo_ocr_engine.cc:2285] INTERNAL: 
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
W/Binder:4616_2( 4616): type=1400 audit(0.0:102674): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
W/Binder:4616_2( 4616): type=1400 audit(0.0:102675): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_2( 4616): type=1400 audit(0.0:102676): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/com.mei.mobile( 4616): type=1400 audit(0.0:102678): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
I/Camera  ( 4616): CameraCaptureSession onClosed
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/native  ( 4616): I0123 02:30:20.421409    5801 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:20.421733    5801 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/native  ( 4616): I0123 02:30:20.422164    5801 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:20.422520    5801 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:20.424654    5801 timer.cc:71] PhotoOcrEngine::Init (detector): 2.78365 ms (elapsed)
E/native  ( 4616): E0123 02:30:20.425642    5801 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:20.425850    5801 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:20.425972    5801 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:20.426009    5801 timer.cc:71] LanguageIdMutator: 0.570989 ms (elapsed)
I/native  ( 4616): I0123 02:30:20.426067    5801 timer.cc:71] BeamSearch::Init (mutator): 0.645 ms (elapsed)
I/native  ( 4616): I0123 02:30:20.437020    5801 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:20.440680    5801 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:20.441138    5802 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:20.441322    5802 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
I/native  ( 4616): I0123 02:30:20.443321    5801 timer.cc:71] PhotoOcrEngine::Init (recognizer): 18.4407 ms (elapsed)
I/native  ( 4616): I0123 02:30:20.443474    5801 timer.cc:71] Init: 21.6179 ms (elapsed)
I/native  ( 4616): I0123 02:30:20.443520    5801 start_ocr_-1856424863_langid.cc:44] StartOcr success
W/System  ( 4616): A resource failed to call release. 
I/chatty  ( 4616): uid=12470(com.mei.mobile) FinalizerDaemon identical 6 lines
W/System  ( 4616): A resource failed to call release. 
I/Camera  ( 4616): close
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/flutter ( 4616): ...***...dispose...***...
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-26] cancelBuffer: BufferQueue has been abandoned
I/chatty  ( 4616): uid=12470(com.mei.mobile) Binder:4616_4 identical 3 lines
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-26] cancelBuffer: BufferQueue has been abandoned
W/Binder:4616_4( 4616): type=1400 audit(0.0:102686): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_4( 4616): type=1400 audit(0.0:102688): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
I/Camera  ( 4616): open | onClosed
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
W/com.mei.mobile( 4616): type=1400 audit(0.0:102690): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): Failed to close event stream
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.plugins.camera.Camera$4.onCancel(Camera.java:1038)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onCancel(EventChannel.java:231)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:199)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger(DartMessenger.java:206)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$6ZD1MYkhaLxyPjtoFDxe45u43DI.run(Unknown Source:12)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.os.Handler.handleCallback(Handler.java:873)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.os.Looper.loop(Looper.java:193)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.app.ActivityThread.main(ActivityThread.java:6762)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at java.lang.reflect.Method.invoke(Native Method)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession

════════ Exception caught by services library ══════════════════════════════════════════════════════
The following PlatformException was thrown while de-activating platform stream on channel plugins.flutter.io/camera/imageStream:
PlatformException(error, Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference, null, null)

When the exception was thrown, this was the stack: 
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
<asynchronous suspension>
#2      EventChannel.receiveBroadcastStream.<anonymous closure> (package:flutter/src/services/platform_channel.dart:518:9)
<asynchronous suspension>
════════════════════════════════════════════════════════════════════════════════════════════════════
I/native  ( 4616): I0123 02:30:21.307317    5905 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:21.307555    5905 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/native  ( 4616): I0123 02:30:21.308097    5905 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:21.308468    5905 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:21.310021    5905 timer.cc:71] PhotoOcrEngine::Init (detector): 2.34906 ms (elapsed)
E/native  ( 4616): E0123 02:30:21.310738    5905 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:21.310853    5905 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:21.310896    5905 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:21.310926    5905 timer.cc:71] LanguageIdMutator: 0.314844 ms (elapsed)
I/native  ( 4616): I0123 02:30:21.310970    5905 timer.cc:71] BeamSearch::Init (mutator): 0.366562 ms (elapsed)
I/native  ( 4616): I0123 02:30:21.311436    5905 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:21.311916    5905 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:21.314709    5905 timer.cc:71] PhotoOcrEngine::Init (recognizer): 4.56625 ms (elapsed)
I/native  ( 4616): I0123 02:30:21.314734    5906 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:21.314836    5906 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
I/native  ( 4616): I0123 02:30:21.314834    5905 timer.cc:71] Init: 7.17448 ms (elapsed)
I/native  ( 4616): I0123 02:30:21.314881    5905 start_ocr_-1856424863_langid.cc:44] StartOcr success
I/native  ( 4616): I0123 02:30:21.356442    5905 photo_ocr_engine.cc:2285] INTERNAL: 
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): closeCaptureSession
I/Camera  ( 4616): CameraCaptureSession onClosed
E/MethodChannel#plugins.flutter.io/camera( 4616): Failed to handle method call
E/MethodChannel#plugins.flutter.io/camera( 4616): java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Surface android.media.ImageReader.getSurface()' on a null object reference
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.plugins.camera.Camera.startPreviewWithImageStream(Camera.java:1026)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.plugins.camera.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:254)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger(DartMessenger.java:206)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$6ZD1MYkhaLxyPjtoFDxe45u43DI.run(Unknown Source:12)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at android.os.Handler.handleCallback(Handler.java:873)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at android.os.Looper.loop(Looper.java:193)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at android.app.ActivityThread.main(ActivityThread.java:6762)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/flutter ( 4616): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: CameraException(error, Attempt to invoke virtual method 'android.view.Surface android.media.ImageReader.getSurface()' on a null object reference)
E/flutter ( 4616): #0      CameraController.startImageStream (package:camera/src/camera_controller.dart:434:7)
E/flutter ( 4616): <asynchronous suspension>
E/flutter ( 4616): 
I/flutter ( 4616): ...***...dispose...***...
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
W/com.mei.mobile( 4616): type=1400 audit(0.0:102702): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
W/Binder:4616_4( 4616): type=1400 audit(0.0:102703): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_4( 4616): type=1400 audit(0.0:102704): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
W/Binder:4616_4( 4616): type=1400 audit(0.0:102705): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_4( 4616): type=1400 audit(0.0:102706): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/native  ( 4616): I0123 02:30:23.794459    5906 photo_ocr_engine.cc:2285] INTERNAL: 
I/Camera  ( 4616): startPreview
I/flutter ( 4616): ...***...dispose...***...
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
W/Binder:4616_4( 4616): type=1400 audit(0.0:102716): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
W/Binder:4616_4( 4616): type=1400 audit(0.0:102717): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_4( 4616): type=1400 audit(0.0:102718): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): closeCaptureSession
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
W/com.mei.mobile( 4616): type=1400 audit(0.0:102720): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
I/RequestQueue( 4616): Repeating capture request set.
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/native  ( 4616): I0123 02:30:25.114179    6144 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:25.114546    6144 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/native  ( 4616): I0123 02:30:25.120535    6144 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:25.121014    6144 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:25.122540    6144 timer.cc:71] PhotoOcrEngine::Init (detector): 5.3026 ms (elapsed)
E/native  ( 4616): E0123 02:30:25.123651    6144 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:25.123844    6144 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:25.123899    6144 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:25.123936    6144 timer.cc:71] LanguageIdMutator: 0.49776 ms (elapsed)
I/native  ( 4616): I0123 02:30:25.124025    6144 timer.cc:71] BeamSearch::Init (mutator): 0.600261 ms (elapsed)
I/native  ( 4616): I0123 02:30:25.126095    6144 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:25.128674    6143 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:25.128895    6143 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
I/native  ( 4616): I0123 02:30:25.129393    6144 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:25.132077    6144 timer.cc:71] PhotoOcrEngine::Init (recognizer): 9.15224 ms (elapsed)
I/native  ( 4616): I0123 02:30:25.132292    6144 timer.cc:71] Init: 15.0697 ms (elapsed)
I/native  ( 4616): I0123 02:30:25.132348    6144 start_ocr_-1856424863_langid.cc:44] StartOcr success
W/System  ( 4616): A resource failed to call release. 
I/chatty  ( 4616): uid=12470(com.mei.mobile) FinalizerDaemon identical 2 lines
W/System  ( 4616): A resource failed to call release. 
W/System  ( 4616): A resource failed to call release. 
I/chatty  ( 4616): uid=12470(com.mei.mobile) FinalizerDaemon identical 1 line
W/System  ( 4616): A resource failed to call release. 
I/Camera  ( 4616): close
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/flutter ( 4616): ...***...dispose...***...
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-35] cancelBuffer: BufferQueue has been abandoned
I/chatty  ( 4616): uid=12470(com.mei.mobile) Binder:4616_4 identical 3 lines
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-35] cancelBuffer: BufferQueue has been abandoned
W/Binder:4616_4( 4616): type=1400 audit(0.0:102733): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_4( 4616): type=1400 audit(0.0:102735): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
I/Camera  ( 4616): open | onClosed
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
W/com.mei.mobile( 4616): type=1400 audit(0.0:102737): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): Failed to close event stream
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.plugins.camera.Camera$4.onCancel(Camera.java:1038)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onCancel(EventChannel.java:231)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:199)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger(DartMessenger.java:206)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$6ZD1MYkhaLxyPjtoFDxe45u43DI.run(Unknown Source:12)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.os.Handler.handleCallback(Handler.java:873)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.os.Looper.loop(Looper.java:193)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.app.ActivityThread.main(ActivityThread.java:6762)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at java.lang.reflect.Method.invoke(Native Method)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240

════════ Exception caught by services library ══════════════════════════════════════════════════════
The following PlatformException was thrown while de-activating platform stream on channel plugins.flutter.io/camera/imageStream:
PlatformException(error, Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference, null, null)

When the exception was thrown, this was the stack: 
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
<asynchronous suspension>
#2      EventChannel.receiveBroadcastStream.<anonymous closure> (package:flutter/src/services/platform_channel.dart:518:9)
<asynchronous suspension>
════════════════════════════════════════════════════════════════════════════════════════════════════
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/native  ( 4616): I0123 02:30:25.984922    6246 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:25.985157    6246 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
I/native  ( 4616): I0123 02:30:25.985599    6246 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:25.985806    6246 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:25.987358    6246 timer.cc:71] PhotoOcrEngine::Init (detector): 2.09031 ms (elapsed)
E/native  ( 4616): E0123 02:30:25.987977    6246 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:25.988110    6246 core_creator.h:71] Error while invoking the NLClassifier API.
E/native  ( 4616): E0123 02:30:25.988155    6246 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:25.988186    6246 timer.cc:71] LanguageIdMutator: 0.332292 ms (elapsed)
I/native  ( 4616): I0123 02:30:25.988230    6246 timer.cc:71] BeamSearch::Init (mutator): 0.383281 ms (elapsed)
I/native  ( 4616): I0123 02:30:25.988651    6246 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:25.989302    6246 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
I/native  ( 4616): I0123 02:30:25.989860    6248 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
I/native  ( 4616): I0123 02:30:25.989969    6248 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
I/native  ( 4616): I0123 02:30:25.992368    6246 timer.cc:71] PhotoOcrEngine::Init (recognizer): 4.91474 ms (elapsed)
I/native  ( 4616): I0123 02:30:25.992499    6246 timer.cc:71] Init: 7.24292 ms (elapsed)
I/native  ( 4616): I0123 02:30:25.992542    6246 start_ocr_-1856424863_langid.cc:44] StartOcr success
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): closeCaptureSession
I/Camera  ( 4616): CameraCaptureSession onClosed
E/MethodChannel#plugins.flutter.io/camera( 4616): Failed to handle method call
E/MethodChannel#plugins.flutter.io/camera( 4616): java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Surface android.media.ImageReader.getSurface()' on a null object reference
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.plugins.camera.Camera.startPreviewWithImageStream(Camera.java:1026)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.plugins.camera.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:254)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger(DartMessenger.java:206)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$6ZD1MYkhaLxyPjtoFDxe45u43DI.run(Unknown Source:12)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at android.os.Handler.handleCallback(Handler.java:873)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at android.os.Looper.loop(Looper.java:193)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at android.app.ActivityThread.main(ActivityThread.java:6762)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/MethodChannel#plugins.flutter.io/camera( 4616): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/flutter ( 4616): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: CameraException(error, Attempt to invoke virtual method 'android.view.Surface android.media.ImageReader.getSurface()' on a null object reference)
E/flutter ( 4616): #0      CameraController.startImageStream (package:camera/src/camera_controller.dart:434:7)
E/flutter ( 4616): <asynchronous suspension>
E/flutter ( 4616): 
I/flutter ( 4616): ...***...dispose...***...
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
W/com.mei.mobile( 4616): type=1400 audit(0.0:102749): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
W/Binder:4616_4( 4616): type=1400 audit(0.0:102750): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_4( 4616): type=1400 audit(0.0:102751): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/Binder:4616_4( 4616): type=1400 audit(0.0:102752): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_4( 4616): type=1400 audit(0.0:102753): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
I/Camera  ( 4616): CameraCaptureSession onClosed
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/native  ( 4616): I0123 02:30:27.404623    6246 photo_ocr_engine.cc:2285] INTERNAL: 
I/Camera  ( 4616): startPreview
I/flutter ( 4616): ...***...dispose...***...
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
W/Binder:4616_2( 4616): type=1400 audit(0.0:102763): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/Binder:4616_2( 4616): type=1400 audit(0.0:102764): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
W/Binder:4616_2( 4616): type=1400 audit(0.0:102765): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): open | onClosed
I/Camera  ( 4616): closeCaptureSession
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): close
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
W/com.mei.mobile( 4616): type=1400 audit(0.0:102767): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
I/CameraManager( 4616): Using legacy camera HAL.
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
I/RequestThread-0( 4616): configureOutputs - set take picture size to 320x240
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CONFIGURING
I/RequestThread-0( 4616): Configure outputs: 2 surfaces configured.
D/Camera  ( 4616): app passed NULL surface
E/libc    ( 4616): Access denied finding property "persist.camera.legacy_perf"
I/CameraDeviceState( 4616): Legacy camera service transitioning to state IDLE
I/Camera  ( 4616): startPreviewWithImageStream
I/Camera  ( 4616): CameraCaptureSession onClosed
I/Camera  ( 4616): CameraCaptureSession onConfigured
I/Camera  ( 4616): Updating builder settings
D/Camera  ( 4616): Updating builder with feature: ExposureLockFeature
D/Camera  ( 4616): Updating builder with feature: ExposurePointFeature
D/Camera  ( 4616): Updating builder with feature: ZoomLevelFeature
D/Camera  ( 4616): Updating builder with feature: AutoFocusFeature
D/Camera  ( 4616): Updating builder with feature: NoiseReductionFeature
I/Camera  ( 4616): updateNoiseReduction | currentSetting: fast
D/Camera  ( 4616): Updating builder with feature: FocusPointFeature
D/Camera  ( 4616): Updating builder with feature: ResolutionFeature
D/Camera  ( 4616): Updating builder with feature: SensorOrientationFeature
D/Camera  ( 4616): Updating builder with feature: FlashFeature
D/Camera  ( 4616): Updating builder with feature: ExposureOffsetFeature
D/Camera  ( 4616): Updating builder with feature: FpsRangeFeature
I/Camera  ( 4616): refreshPreviewCaptureSession
I/RequestQueue( 4616): Repeating capture request set.
W/LegacyRequestMapper( 4616): convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
I/CameraDeviceState( 4616): Legacy camera service transitioning to state CAPTURING
I/DynamiteModule( 4616): Considering local module com.google.mlkit.dynamite.text.latin:10000 and remote module com.google.mlkit.dynamite.text.latin:0
I/DynamiteModule( 4616): Selected local version of com.google.mlkit.dynamite.text.latin
D/TransportRuntime.SQLiteEventStore( 4616): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
D/TransportRuntime.JobInfoScheduler( 4616): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
I/Camera  ( 4616): close
I/Camera  ( 4616): closeCaptureSession
I/RequestQueue( 4616): Repeating capture request cancelled.
I/flutter ( 4616): ...***...dispose...***...
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-44] cancelBuffer: BufferQueue has been abandoned
I/chatty  ( 4616): uid=12470(com.mei.mobile) Binder:4616_4 identical 3 lines
E/BufferQueueProducer( 4616): [SurfaceTexture-1-4616-44] cancelBuffer: BufferQueue has been abandoned
I/native  ( 4616): I0123 02:30:28.851796    6469 start_ocr_-1856424863_langid.cc:35] StartOcr with label: latin_script_tflite
I/native  ( 4616): I0123 02:30:28.852060    6469 jni_helper.cc:122] Loading model config /data/user/0/com.mei.mobile/files/mlkit-ocr-models/rpn_lstm_engine_tflite_latin.bincfg
W/Binder:4616_4( 4616): type=1400 audit(0.0:102780): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
I/native  ( 4616): I0123 02:30:28.852730    6469 common_util.h:35] Resizing Thread Pool: ocr_det_0 to 4
I/native  ( 4616): I0123 02:30:28.853082    6469 tflite_detector_client_base.cc:380] Resizing interpreter pool to 4
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/native  ( 4616): I0123 02:30:28.854566    6469 timer.cc:71] PhotoOcrEngine::Init (detector): 2.37583 ms (elapsed)
E/native  ( 4616): E0123 02:30:28.855418    6469 threadsafe_nl_classifier.cc:55] Could not create classifier: NOT_FOUND: Unable to open file at /data/user/0/com.mei.mobile/files/mlkit-ocr-models/tflite_langid.tflite [tflite::support::TfLiteSupportStatus='100']
E/native  ( 4616): === Source Location Trace: === 
E/native  ( 4616): third_party/tensorflow_lite_support/cc/common.cc:28
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/external_file_handler.cc:65
E/native  ( 4616): third_party/tensorflow_lite_support/cc/task/core/tflite_engine.cc:163
E/native  ( 4616): ./third_party/tensorflow_lite_support/cc/task/core/task_api_factory.h:76
E/native  ( 4616): learning/expander/pod/inference_api/core/l2c_nl_classifier.cc:37
E/native  ( 4616): 
E/native  ( 4616): E0123 02:30:28.855608    6469 core_creator.h:71] Error while invoking the NLClassifier API.
I/native  ( 4616): I0123 02:30:28.855538    6468 mobile_ssd_tflite_client.cc:210] Model initialized: input_size: 442368, output_locations_size: 110484, preprocessing mean value: 127.5, preprocessing std value: 127.5, inference type: 2
E/native  ( 4616): E0123 02:30:28.855651    6469 mobile_langid_v2.cc:46] Initialization of LangID failed.
I/native  ( 4616): I0123 02:30:28.855653    6468 mobile_ssd_calculator.cc:113] Succeeded in initializing SSD ParagraphDetectorTfLiteClient
I/native  ( 4616): I0123 02:30:28.855683    6469 timer.cc:71] LanguageIdMutator: 0.497604 ms (elapsed)
I/native  ( 4616): I0123 02:30:28.855720    6469 timer.cc:71] BeamSearch::Init (mutator): 0.545521 ms (elapsed)
I/native  ( 4616): I0123 02:30:28.856120    6469 common_util.h:35] Resizing Thread Pool: ocr_segm to 4
I/native  ( 4616): I0123 02:30:28.856714    6469 tflite_lstm_client_base.cc:368] Resizing interpreter pool to 4
W/Binder:4616_4( 4616): type=1400 audit(0.0:102782): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
I/native  ( 4616): I0123 02:30:28.858785    6469 timer.cc:71] PhotoOcrEngine::Init (recognizer): 4.06026 ms (elapsed)
I/native  ( 4616): I0123 02:30:28.858941    6469 timer.cc:71] Init: 6.76266 ms (elapsed)
I/native  ( 4616): I0123 02:30:28.859009    6469 start_ocr_-1856424863_langid.cc:44] StartOcr success
I/Camera  ( 4616): open | onClosed
W/Camera  ( 4616): The selected imageFormatGroup is not supported by Android. Defaulting to yuv420
W/com.mei.mobile( 4616): type=1400 audit(0.0:102784): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=5498 scontext=u:r:untrusted_app:s0:c166,c265,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=0
E/libc    ( 4616): Access denied finding property "persist.vendor.camera.privapp.list"
I/CameraManager( 4616): Using legacy camera HAL.
I/native  ( 4616): I0123 02:30:28.921450    6469 photo_ocr_engine.cc:2285] INTERNAL: 
W/System  ( 4616): A resource failed to call release. 
I/chatty  ( 4616): uid=12470(com.mei.mobile) FinalizerDaemon identical 4 lines
W/System  ( 4616): A resource failed to call release. 
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
I/Camera  ( 4616): startPreview
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): Failed to close event stream
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.plugins.camera.Camera$4.onCancel(Camera.java:1038)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onCancel(EventChannel.java:231)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.plugin.common.EventChannel$IncomingStreamRequestHandler.onMessage(EventChannel.java:199)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:178)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$handleMessageFromDart$0$DartMessenger(DartMessenger.java:206)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$6ZD1MYkhaLxyPjtoFDxe45u43DI.run(Unknown Source:12)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.os.Handler.handleCallback(Handler.java:873)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.os.Looper.loop(Looper.java:193)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at android.app.ActivityThread.main(ActivityThread.java:6762)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at java.lang.reflect.Method.invoke(Native Method)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/EventChannel#plugins.flutter.io/camera/imageStream( 4616): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
I/Camera  ( 4616): dispose
I/Camera  ( 4616): close

════════ Exception caught by services library ══════════════════════════════════════════════════════
The following PlatformException was thrown while de-activating platform stream on channel plugins.flutter.io/camera/imageStream:
PlatformException(error, Attempt to invoke virtual method 'void android.media.ImageReader.setOnImageAvailableListener(android.media.ImageReader$OnImageAvailableListener, android.os.Handler)' on a null object reference, null, null)

When the exception was thrown, this was the stack: 
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
<asynchronous suspension>
#2      EventChannel.receiveBroadcastStream.<anonymous closure> (package:flutter/src/services/platform_channel.dart:518:9)
<asynchronous suspension>
════════════════════════════════════════════════════════════════════════════════════════════════════
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist"
E/libc    ( 4616): Access denied finding property "vendor.camera.aux.packagelist2"
E/AndroidRuntime( 4616): FATAL EXCEPTION: CameraBackground
E/AndroidRuntime( 4616): Process: com.mei.mobile, PID: 4616
E/AndroidRuntime( 4616): java.lang.IllegalStateException: CameraDevice was already closed
E/AndroidRuntime( 4616): 	at android.hardware.camera2.impl.CameraDeviceImpl.checkIfCameraClosedOrInError(CameraDeviceImpl.java:2445)
E/AndroidRuntime( 4616): 	at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSessionInternal(CameraDeviceImpl.java:653)
E/AndroidRuntime( 4616): 	at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(CameraDeviceImpl.java:639)
E/AndroidRuntime( 4616): 	at io.flutter.plugins.camera.Camera.createCaptureSessionWithSessionConfig(Camera.java:423)
E/AndroidRuntime( 4616): 	at io.flutter.plugins.camera.Camera.createCaptureSession(Camera.java:409)
E/AndroidRuntime( 4616): 	at io.flutter.plugins.camera.Camera.createCaptureSession(Camera.java:331)
E/AndroidRuntime( 4616): 	at io.flutter.plugins.camera.Camera.startPreview(Camera.java:1021)
E/AndroidRuntime( 4616): 	at io.flutter.plugins.camera.Camera$1.onOpened(Camera.java:266)
E/AndroidRuntime( 4616): 	at android.hardware.camera2.impl.CameraDeviceImpl$1.run(CameraDeviceImpl.java:149)
E/AndroidRuntime( 4616): 	at android.os.Handler.handleCallback(Handler.java:873)
E/AndroidRuntime( 4616): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4616): 	at android.os.Looper.loop(Looper.java:193)
E/AndroidRuntime( 4616): 	at android.os.HandlerThread.run(HandlerThread.java:65)
I/Process ( 4616): Sending signal. PID: 4616 SIG: 9
Lost connection to device.
```
</details>