Skip to content
This repository was archived by the owner on Jun 13, 2019. It is now read-only.
This repository was archived by the owner on Jun 13, 2019. It is now read-only.

Cant get barcode detection to wok #84

Description

@multinerd

Using the example provided, ive added the following lines to viewDidLoad()

        self.cameraEngine.metadataDetection = .barcode
        
        self.cameraEngine.blockCompletionCodeDetection = { codeObject in
            print(codeObject.stringValue)
            let valueCode = codeObject.stringValue
            let frameCode = (codeObject as AVMetadataObject).bounds
            print(frameCode)
//            self.displayLayerDetection(frame: frameCode)
        }

and am unable to detect ean13 codes. is there something else i need to do?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions