mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
7.64k stars 1.11k forks source link

🐛 Incorrect Barcode Scanning Results for CODE-128 #3156

Open wellhenrique opened 3 months ago

wellhenrique commented 3 months ago

What's happening?

When using react-native-vision-camera to scan a CODE-128 barcode on an Android device held in a portrait orientation, the scanned values are returned incorrectly. For example, a barcode with the value 11111111111111111111111.... is incorrectly recognized as 11134231111122313111111... This issue does not occur when the device is held landscape mode. This behavior has been consistently reproduced on multiple Android devices. Does anyone have any idea what might be causing this problem?

Reproduceable Code

My example project: https://github.com/wellhenrique/issue-react-native-vision-camera
Barcode used in testing: https://github.com/wellhenrique/issue-react-native-vision-camera/blob/main/barcode.jpg
Website where the barcode was generated: https://barcode.tec-it.com/en/?data=11111111111111111111111111111111111111111111

Relevant log output

08-26 11:38:28.394  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
08-26 11:38:28.394  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
08-26 11:38:28.395  1069  8015 D vendor.qti.bluetooth@1.0-wake_lock: Acquire wakelock is acquired 
08-26 11:38:28.395  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
08-26 11:38:28.396  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.414  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.419  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449356475439
08-26 11:38:28.429  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.448  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.448  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.451  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449389876439
08-26 11:38:28.464  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.465  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
08-26 11:38:28.465  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
08-26 11:38:28.481  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.483  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449423277439
08-26 11:38:28.497  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.516  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.518  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449456677439
08-26 11:38:28.528  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
08-26 11:38:28.528  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
08-26 11:38:28.528  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
08-26 11:38:28.548  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.551  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.557  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449490087439
08-26 11:38:28.564  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.569  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
08-26 11:38:28.569  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
08-26 11:38:28.583  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.586  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449523484439
08-26 11:38:28.597  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.622  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.627  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449556897439
08-26 11:38:28.648  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.655  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.658  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449590295439
08-26 11:38:28.665  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.686  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.690  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449623685439
08-26 11:38:28.697  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.717  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.719  1069  7942 D vendor.qti.bluetooth@1.0-wake_lock: Release wakelock is released 
08-26 11:38:28.722  3532  4235 I BistoHotwordHelper: (REDACTED) getHotwordActive::active query: %s, watch: %s, devices connected: %s
08-26 11:38:28.724  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449657083439
08-26 11:38:28.731  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.752  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.757  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449690504439
08-26 11:38:28.765  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.784  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.788  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449723886439
08-26 11:38:28.797  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.820  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.824  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449757299439
08-26 11:38:28.832  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.850  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.853  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449790689439
08-26 11:38:28.883  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.883  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.889  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449824089439
08-26 11:38:28.899  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.918 17784 19004 I ReactNativeJS: 'SCANED VALUE: ', '11111125011111252525252511111125261125111125'
08-26 11:38:28.919  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.922  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449857490439
08-26 11:38:28.931  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.951  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.962  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449890891439
08-26 11:38:28.965  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:28.984 17784 19004 I ReactNativeJS: 'SCANED VALUE: ', '11111125112525011111111111112525011101251125'
08-26 11:38:28.986  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:28.988  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449924292439
08-26 11:38:28.998  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.018  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.023  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449957694439
08-26 11:38:29.032  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.049  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.051  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.057  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4449991094439
08-26 11:38:29.066  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.067 17784 19004 I ReactNativeJS: 'SCANED VALUE: ', '11111111111111111111111111111111111111111111'
08-26 11:38:29.082  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.085  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450024495439
08-26 11:38:29.099  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.116  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.120  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.125  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450057897439
08-26 11:38:29.133  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.135 17784 19172 I CameraView: invokeOnAverageFpsChanged(0.0)
08-26 11:38:29.152  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.159  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450091298439
08-26 11:38:29.165  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.186  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.189  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
08-26 11:38:29.190  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
08-26 11:38:29.190  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450124709439
08-26 11:38:29.191  1069  8015 D vendor.qti.bluetooth@1.0-wake_lock: Acquire wakelock is acquired 
08-26 11:38:29.191  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
08-26 11:38:29.199  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.219  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.226  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450158099439
08-26 11:38:29.231  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
08-26 11:38:29.231  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
08-26 11:38:29.232  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.250  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.254  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450191501439
08-26 11:38:29.262  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
08-26 11:38:29.262  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
08-26 11:38:29.262  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
08-26 11:38:29.266  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.283  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.285  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450224901439
08-26 11:38:29.300  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.302  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
08-26 11:38:29.302  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
08-26 11:38:29.321  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.324  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450258302439
08-26 11:38:29.350  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.350  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.359  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450291702439
08-26 11:38:29.366  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.383  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.386  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450325104439
08-26 11:38:29.418  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.418  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.420  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450358504439
08-26 11:38:29.434  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.452  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.453  1069  7942 D vendor.qti.bluetooth@1.0-wake_lock: Release wakelock is released 
08-26 11:38:29.457  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450391923439
08-26 11:38:29.467  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.485  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.490  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450425309439
08-26 11:38:29.501  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.518  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.524  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450458708439
08-26 11:38:29.533  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.551  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.554  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450492109439
08-26 11:38:29.567  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.584  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.591  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450525510439
08-26 11:38:29.601  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.617  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.619  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450558911439
08-26 11:38:29.634  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.654  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.659  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450592312439
08-26 11:38:29.668  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.687  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.689  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450625921439
08-26 11:38:29.701  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.719  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.725  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450659119439
08-26 11:38:29.735  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.752  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.760  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450692515439
08-26 11:38:29.768  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.786  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.791  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450725917439
08-26 11:38:29.802  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.819  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.822  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450759317439
08-26 11:38:29.822 17784 19004 I ReactNativeJS: 'SCANED VALUE: ', '11323211565611110132112805111111111111115656'
08-26 11:38:29.835  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.853  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.863  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450792720439
08-26 11:38:29.869  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.873  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
08-26 11:38:29.873  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
08-26 11:38:29.874  1069  8015 D vendor.qti.bluetooth@1.0-wake_lock: Acquire wakelock is acquired 
08-26 11:38:29.874  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
08-26 11:38:29.886  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.891  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.895  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450826120439
08-26 11:38:29.901  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.915  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
08-26 11:38:29.915  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
08-26 11:38:29.922  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.924  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450859523439
08-26 11:38:29.935  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.943  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
08-26 11:38:29.943  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
08-26 11:38:29.943  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
08-26 11:38:29.954  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.958  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450892922439
08-26 11:38:29.968  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:29.986  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
08-26 11:38:29.986  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
08-26 11:38:29.987  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:29.992  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450926321439
08-26 11:38:30.003  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.020  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.022  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450959728439
08-26 11:38:30.035  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.053  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.061  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4450993124439
08-26 11:38:30.069  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.088  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.091  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451026525439
08-26 11:38:30.102  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.118  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.124  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451059928439
08-26 11:38:30.135 17784 19172 I CameraView: invokeOnAverageFpsChanged(0.0)
08-26 11:38:30.136  1069  7942 D vendor.qti.bluetooth@1.0-wake_lock: Release wakelock is released 
08-26 11:38:30.136  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.154  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.160  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451093333439
08-26 11:38:30.169  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.185  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.191  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451126728439
08-26 11:38:30.203  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.220  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.222  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451160130439
08-26 11:38:30.236  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.252  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.255  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451193530439
08-26 11:38:30.270  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.287  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.296  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451226932439
08-26 11:38:30.303  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.320  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.322  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451260333439
08-26 11:38:30.353  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.354  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.362  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451293734439
08-26 11:38:30.371  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.372 17784 19004 I ReactNativeJS: 'SCANED VALUE: ', '11251111561111281125111111111111111132111125'
08-26 11:38:30.385  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.387  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451327174439
08-26 11:38:30.404  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.420  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.431  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451360534439
08-26 11:38:30.436  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.453  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.455  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451393934439
08-26 11:38:30.470  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.487  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.491  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451427336439
08-26 11:38:30.503  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.519  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.522  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451460737439
08-26 11:38:30.536  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.552  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.555  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451494139439
08-26 11:38:30.570  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.583  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
08-26 11:38:30.583  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
08-26 11:38:30.585  1069  8015 D vendor.qti.bluetooth@1.0-wake_lock: Acquire wakelock is acquired 
08-26 11:38:30.585  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
08-26 11:38:30.588  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.592  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451527579439
08-26 11:38:30.604  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.619  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.619  1070 19186 E mm-camera: <ISP   ><ERROR> 507: sce_found_boundaries: sce_found_boundaries: Error: less than two intersections 0
08-26 11:38:30.625  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
08-26 11:38:30.625  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
08-26 11:38:30.630  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451560940439
08-26 11:38:30.637  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.652  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.654  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451594342439
08-26 11:38:30.670  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.673  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
08-26 11:38:30.673  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
08-26 11:38:30.673  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
08-26 11:38:30.689  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.692  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451627742439
08-26 11:38:30.705  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.714  1069  8015 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
08-26 11:38:30.714  1069  8015 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
08-26 11:38:30.726  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.729  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451661143439
08-26 11:38:30.737  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.754  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.757  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451694546439
08-26 11:38:30.772  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.789  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.796  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451727945439
08-26 11:38:30.804  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.825  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.829  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451761353439
08-26 11:38:30.838  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.857  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.859  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451794748439
08-26 11:38:30.864  1069  7942 D vendor.qti.bluetooth@1.0-wake_lock: Release wakelock is released 
08-26 11:38:30.871  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.888  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.893  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451828149439
08-26 11:38:30.905  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.921  1070 19186 E mm-camera: <ISP   ><ERROR> 507: sce_found_boundaries: sce_found_boundaries: Error: less than two intersections 0
08-26 11:38:30.923  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.926  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451861550439
08-26 11:38:30.938  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.956  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.958  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451894951439
08-26 11:38:30.971  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:30.987  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:30.989  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451928366439
08-26 11:38:31.006  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:31.023  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:31.026  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451961752439
08-26 11:38:31.039  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:31.057  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:31.061  1239  1423 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4451995154439
08-26 11:38:31.071  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:31.090  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:31.095  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4452028555439
08-26 11:38:31.105  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:31.122  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:31.130  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4452061956439
08-26 11:38:31.136 17784 19172 I CameraView: invokeOnAverageFpsChanged(0.0)
08-26 11:38:31.138  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:31.154  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:31.163  1239  1883 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4452095357439
08-26 11:38:31.173  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:31.187  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:31.194  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4452128757439
08-26 11:38:31.205  1078  1212 D SDM     : DisplayBase::BuildLayerStackStats: LayerStack layer_count: 5, app_layer_count: 4, gpu_target_index: 4, display type: 0
08-26 11:38:31.221  1070 19176 E mm-camera: <MCT   ><ERROR> 1355: mct_controller_handle_SOF_proc: (sofdelay, curr_sofdelay) = (0, 0) kptr NULL
08-26 11:38:31.223  1239  1431 V Camera2ClientBase: notifyShutter: Shutter notification for request id 0 at time 4452162161439
08-26 11:38:31.225 17784 19004 I ReactNativeJS: 'SCANED VALUE: ', '56013211111101051102113211051156111111325659'

Camera Device

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

Device

moto X4

VisionCamera Version

4.5.1

Can you reproduce this issue in the VisionCamera Example app?

I didn't try (⚠️ your issue might get ignored & closed if you don't try this)

Additional information

maintenance-hans[bot] commented 3 months ago

Guten Tag, Hans here. 🍻

Thank you for your detailed report about the barcode scanning issue in portrait mode. It sounds like you've put in some thought, which is appreciated! However, to properly assist you, please check that you are using the latest version of the library and try reproducing the issue in the VisionCamera Example app, as stated in the issue template.

Also, make sure you've gathered relevant logs specifically from adb logcat while reproducing the issue. This will help mrousavy diagnose the problem more effectively.

Sponsoring the project could also help ensure that your issue receives timely attention. You can do so by clicking here.

Looking forward to your updates!

Note: If you think I made a mistake, please ping @mrousavy to take a look.

zzz08900 commented 3 months ago

Try adjusting your camera settings. Your scan result is unstable which usually means you are feeding MLKit with subpar images.

I tried your barcode with our RNVC-based code scanner and I'm getting consistent all 1s.

zzz08900 commented 3 months ago

Also you may want to read MLKit docs about what is a "good image" for barcode detection.

xulihang commented 2 months ago

You may have to check the results multiple times to have a steady result or use an advanced library like this one: https://github.com/tony-xlh/vision-camera-dynamsoft-barcode-reader/