Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

🐛 We are configure ITF type for codeScanner but not read the following type. #2089

Closed
4 of 5 tasks
sathiyaraj45 opened this issue Oct 26, 2023 · 1 comment · Fixed by #3252
Closed
4 of 5 tasks
Labels
🐛 bug Something isn't working

Comments

@sathiyaraj45
Copy link

What's happening?

The ITF (Interleaved 2 of 5) is a one-dimensional barcodes that encode two numerical characters for every five bars.

Here I'm unable to attach the image so I gave the barcode generate url details.

I used the following site to generate the bar code:
https://scanbot.io/barcode-generator/itf/
value is : 0176626522

We unable to capture the barcode for this type. Could you advise what wrong things I missed to implement.

Reproduceable Code

const codeScanner: CodeScanner = {
    codeTypes: ['itf'],
    onCodeScanned: (codes) => {
      setCameraSatus(false);
      console.log(`Scanned ${codes.length} codes!`)
      console.log('Scan result');
      console.log(codes);
    }
  }

Relevant log output

2023-10-26 15:38:46.643741+0400 CamscanApp_v3[3793:525502] [connection] nw_socket_handle_socket_event [C15.1.1:1] Socket SO_ERROR [54: Connection reset by peer]
2023-10-26 15:38:49.720275+0400 CamscanApp_v3[3793:525502] [connection] nw_socket_handle_socket_event [C16.1.1:1] Socket SO_ERROR [54: Connection reset by peer]
2023-10-26 15:38:52.767776+0400 CamscanApp_v3[3793:525466] [connection] nw_socket_handle_socket_event [C17.1.1:1] Socket SO_ERROR [54: Connection reset by peer]
2023-10-26 15:38:55.865132+0400 CamscanApp_v3[3793:525500] [connection] nw_socket_handle_socket_event [C18.1.1:1] Socket SO_ERROR [54: Connection reset by peer]
2023-10-26 15:38:58.936539+0400 CamscanApp_v3[3793:525500] [connection] nw_socket_handle_socket_event [C19.1.1:1] Socket SO_ERROR [54: Connection reset by peer]
2023-10-26 15:39:01.975366+0400 CamscanApp_v3[3793:525466] [connection] nw_socket_handle_socket_event [C20.1.1:1] Socket SO_ERROR [54: Connection reset by peer]
2023-10-26 15:39:05.046600+0400 CamscanApp_v3[3793:525502] [connection] nw_socket_handle_socket_event [C21.1.1:1] Socket SO_ERROR [54: Connection reset by peer]
2023-10-26 15:39:08.078647+0400 CamscanApp_v3[3793:525402] [connection] nw_socket_handle_socket_event [C22.1.1:1] Socket SO_ERROR [54: Connection reset by peer]

Camera Device

const codeScanner: CodeScanner = {
    codeTypes: ['itf'],
    onCodeScanned: (codes) => {
      setCameraSatus(false);
      console.log(`Scanned ${codes.length} codes!`)
      console.log('Scan result');
      console.log(codes);
    }
  }

Device

iPad Generation 6

VisionCamera Version

3.6.4

Can you reproduce this issue in the VisionCamera Example app?

No, I cannot reproduce the issue in the Example app

Additional information

@sathiyaraj45 sathiyaraj45 added the 🐛 bug Something isn't working label Oct 26, 2023
@lucca180
Copy link

duplicate of #2064

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants