react-native-vision-camera
react-native-vision-camera copied to clipboard
🐛 EAN-13 not scanned
What's happening?
Reproduceable Code
const codeScanner = useCodeScanner({
codeTypes: ["qr", "ean-13"],
onCodeScanned: (c) => {
console.log(c);
},
});
<Camera
codeScanner={codeScanner}
device={device}
isActive={true}
style={{
flex: 1,
width: "100%",
height: "100%",
}}
/>
Relevant log output
10-29 12:53:17.013 1947 3624 E ChiX : [ERROR][TBM ] chitbmholder.cpp:900 Register() this 0xb4000073c954bc50, m_pTBMHolders.data 0xb400007447576830 cameraId 1 has not assoicated TBM
10-29 12:53:17.047 1947 3625 E CamX : [ERROR][STATS_AWB] camxcawbioutil.cpp:7635 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.048 1947 3619 E CamX : [ERROR][STATS_AEC] camxois.cpp:3900 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.048 1947 3619 E CamX : [ERROR][STATS_AEC] camxois.cpp:3900 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.048 1947 3619 E CamX : [ERROR][STATS_AEC] camxois.cpp:3900 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.068 1947 3624 E ChiX : [ERROR][TBM ] chitbmholder.cpp:900 Register() this 0xb4000073c954bc50, m_pTBMHolders.data 0xb400007447576830 cameraId 1 has not assoicated TBM
10-29 12:53:17.105 1947 3618 E CamX : [ERROR][STATS_AWB] camxcawbioutil.cpp:7635 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.108 1947 3624 E CamX : [ERROR][STATS_AEC] camxois.cpp:3900 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.109 1947 3624 E CamX : [ERROR][STATS_AEC] camxois.cpp:3900 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.109 1947 3624 E CamX : [ERROR][STATS_AEC] camxois.cpp:3900 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.125 1947 3624 E ChiX : [ERROR][TBM ] chitbmholder.cpp:900 Register() this 0xb4000073c954bc50, m_pTBMHolders.data 0xb400007447576830 cameraId 1 has not assoicated TBM
10-29 12:53:17.167 1947 3624 E CamX : [ERROR][STATS_AEC] camxois.cpp:3900 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.168 1947 3624 E CamX : [ERROR][STATS_AEC] camxois.cpp:3900 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.168 1947 3624 E CamX : [ERROR][STATS_AEC] camxois.cpp:3900 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.168 1947 3625 E CamX : [ERROR][STATS_AWB] camxcawbioutil.cpp:7635 GetCameraSceneMode() Get camera scene mode fail
10-29 12:53:17.184 1947 3622 E ChiX : [ERROR][TBM ] chitbmholder.cpp:900 Register() this 0xb4000073c954bc50, m_pTBMHolders.data 0xb400007447576830 cameraId 1 has not assoicated TBM
Camera Device
{
"formats": [],
"sensorOrientation": "landscape-left",
"hardwareLevel": "full",
"maxZoom": 8,
"minZoom": 1,
"maxExposure": 24,
"supportsLowLightBoost": false,
"neutralZoom": 1,
"physicalDevices": [
"wide-angle-camera"
],
"supportsFocus": true,
"supportsRawCapture": false,
"isMultiCam": false,
"minFocusDistance": 0,
"minExposure": -24,
"name": "0 (BACK) androidx.camera.camera2",
"hasFlash": true,
"hasTorch": true,
"position": "back",
"id": "0"
}
Device
Honor Magic V3, iPhone 12
VisionCamera Version
4.7.2
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information
- [ ] I am using Expo
- [ ] I have enabled Frame Processors (react-native-worklets-core)
- [x] I have read the Troubleshooting Guide
- [x] I agree to follow this project's Code of Conduct
- [x] I searched for similar issues in this repository and found none.
Guten Tag, Hans here.
[!NOTE] New features, bugfixes, updates and other improvements are all handled mostly by
@mrousavyin his free time. To support@mrousavy, please consider 💖 sponsoring him on GitHub 💖. Sponsored issues will be prioritized.
Found that this code is recognised as CODE-128. But should be EAN-13 I assume (tried with another Android apps, all recognise it as EAN-13)
Same issue as for me. @indapublic