Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

ARcore + ZXing for barcode scanning

Discussion in 'AR' started by michelbechara7, Jul 24, 2018.

  1. michelbechara7

    michelbechara7

    Joined:
    Sep 1, 2017
    Posts:
    1
    Hello everyone.

    I am using ARCore for the first time for a project.
    I'm trying to scan a QR code and make an object appear next to it (to test positioning) and stay at this position even if I move away. QR code is scanning well using the ZXing library, and the object is appearing and staying.
    However, if I scan the QR code from a close distance, the object will appear next to it but not at the exact same location every time. If I scan it from a far distance, the object will appear very far from the QR code.

    How can I make an object appear at an exact location, no matter how far I scan the QR code from?
     
  2. Dkunerth

    Dkunerth

    Joined:
    Sep 2, 2017
    Posts:
    1

    I have the same problem.
    Did you find a solution?
     
  3. sidbhise

    sidbhise

    Joined:
    May 13, 2020
    Posts:
    7
    Hey,

    Even I am trying to solve a similar problem. Did you find some hint on this?
     
  4. b9n

    b9n

    Joined:
    Feb 6, 2020
    Posts:
    14
  5. Voxel-Busters

    Voxel-Busters

    Joined:
    Feb 25, 2015
    Posts:
    1,858
    We recently release Easy ML Kit which offers ARFoundation Camera as one of the input sources. Currently we added Barcode scanning and Object detection.

    ARFoundation Camera input scan offers bounding box in view space along with barcode results.
    Let us know if it's helpful.
     
    Last edited: May 4, 2022
    straker77 likes this.