Closed julianrichie closed 8 years ago
Please add one line here to remove the face recognition.
// MARK: NOTE: If you want to detect specific barcode types, you should update the types
let types = NSMutableArray(array: self.output.availableMetadataObjectTypes)
// MARK: NOTE: Uncomment the following line remove QRCode scanning capability
// types.removeObject(AVMetadataObjectTypeQRCode)
types.removeObject(AVMetadataObjectTypeFace) // Add
self.output.metadataObjectTypes = NSArray(array: types) as [AnyObject]
ok thanks, i'll try it
hi, i'm getting this Downcasting error for the Swift 3.0 branch