var localizedDescription: String
82 |
83 |
84 |
85 | Discussion
Range 0.0
(darkest) – 1
(brightest). Default value is 0.1
.
@objc var torchLevel: Float
78 | Range 0.0
(darkest) – 1
(brightest). Default value is 0.1
.
Equatable.!=(_:_:)
.
75 | static func != (lhs: Self, rhs: Self) -> Bool
85 | var localizedDescription: String
82 |
83 |
84 |
85 | RawRepresentable.hashValue
.
75 | var hashValue: Int { get }
85 | Error.localizedDescription
.
75 | var localizedDescription: String { get }
85 | var hashValue: Int
82 |
83 |
84 |
85 | case unsupportedBarcodeSymbology
78 | @objc weak var delegate: BarcodeDetectionViewControllerDelegate?
78 | @objc init(settings: BarcodeDetectionSettings)
78 | settings
Barcode detection settings
override func presentationControllerDidDismiss(_ presentationController: UIPresentationController)
78 | @objc let settings: BarcodeDetectionSettings
78 | override func viewDidLoad()
78 | @objc let barcodeSymbologies: [VNBarcodeSymbology]
78 | @objc var imagePoolSize: Int
78 | The samples in the pool are compared for sharpness and the sharpest one is de-warped and returned.
@objc override convenience init()
78 | Initializes settings with ISO ID-1 dimensions
@objc init(width: CGFloat, height: CGFloat)
78 | width
Width of the card (units don’t matter)
height
Height of the card (units don’t matter)
Equatable.!=(_:_:)
.
82 | static func != (lhs: Self, rhs: Self) -> Bool
92 | RawRepresentable.hash(into:)
.
82 | func hash(into hasher: inout Hasher)
92 | RawRepresentable.hashValue
.
82 | var hashValue: Int { get }
92 | case landscape
85 | case portrait
85 | @objc var orientation: BaseCardDetectionSettings.Orientation { get set }
78 | The orientation is determined by the size. Setting the orientation to the other available value will flip the width and height of the size.
@objc var size: CGSize
78 | Only the aspect ratio is considered by the app. The units are inconsequential.
@objc init()
78 | override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
78 | override func presentationControllerDidDismiss(_ presentationController: UIPresentationController)
78 | override func viewDidLoad()
78 | @objc let barcodeDetectionSettings: BaseBarcodeDetectionSettings
78 | @objc let cardDetectionSettings: BaseCardDetectionSettings
78 | @objc override init()
78 | Initializes settings with ISO ID-1 dimensions and PDF417 barcode
@objc var torchLevel: Float
78 | Range 0.0
(darkest) – 1
(brightest). Default value is 0.1
.
@objc weak var delegate: CardAndBarcodeDetectionViewControllerDelegate?
78 | @objc init(settings: CardAndBarcodeDetectionSettings)
78 | settings
Detection settings
@objc let settings: CardAndBarcodeDetectionSettings
78 | override func viewDidLoad()
78 | @objc var torchLevel: Float
78 | Range 0.0
(darkest) – 1
(brightest). Default value is 0.1
.
@objc weak var delegate: CardDetectionViewControllerDelegate?
78 | @objc override init()
78 | @objc var settings: CardDetectionSettings
78 | override func viewDidLoad()
78 | override var prefersStatusBarHidden: Bool { get }
78 | UIAdaptivePresentationControllerDelegate.presentationControllerDidDismiss(_:)
.
68 | func presentationControllerDidDismiss(_ presentationController: UIPresentationController)
78 | override func viewDidAppear(_ animated: Bool)
78 | override func viewDidLoad()
78 | override func viewWillDisappear(_ animated: Bool)
78 | override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator)
78 | init(pixelBuffer: CVImageBuffer, orientation: CGImagePropertyOrientation, rect: VNRectangleObservation)
78 | override func main()
78 | @objc var torchLevel: Float { get }
78 | Range 0.0
(darkest) – 1
(brightest). Default value is 0.1
.