Skip to content
This repository has been archived by the owner on Jun 16, 2023. It is now read-only.

The barcode scanner only detect if the barcode in the center of the screen #2366

Closed
3 tasks done
ntk0104 opened this issue Jul 10, 2019 · 3 comments
Closed
3 tasks done
Labels
stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@ntk0104
Copy link

ntk0104 commented Jul 10, 2019

Bug Report

To Do First

  • Did you try latest release?
  • Did you try master?
  • Did you look for existing matching issues?

Platforms

Versions

  • Android:
  • iOS:
  • react-native-camera:
  • react-native:
  • react:

Description/Current Behaviour

Expected Behaviour

Steps to Reproduce

Additionals

Love react-native-camera? Please consider supporting our collective: 👉 https://opencollective.com/react-native-camera/donate
Want this issue to be resolved faster? Please consider adding a bounty to it https://issuehunt.io/repos/33218414

@ntk0104 ntk0104 changed the title cannot detect barcode is not in the center The barcode scanner only detect if the barcode in the center of the screen Jul 10, 2019
@vasilestefirta
Copy link

@n1ru4l, I was just having the same problem and then after searching through the GitHub issues I found this reply:
#190 (comment)

Basically, in my case, I have a PDF417 1-dimensional barcode which supposedly cannot be easily detected anywhere on the digital image. Only the center of the screen can be used to properly scan this kind of barcode.

As a solution, I will simply try to add a visual mask to suggest the user to use the center of the screen for scanning the barcode. You can use a library like react-native-barcode-mask or code your own using the layout suggested here:
#1394 (comment)

@stale
Copy link

stale bot commented Oct 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and i will leave this open.

@stale stale bot added the stale There has been a lack of activity on this issue and it may be closed soon. label Oct 14, 2019
@stale
Copy link

stale bot commented Oct 21, 2019

Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you.

@stale stale bot closed this as completed Oct 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants