Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
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

Open
@multinerd

Description

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?

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

        AltStyle によって変換されたページ (->オリジナル) /