Class: ZXing::FFI::QRCode::Detector
- Includes:
- QRCode::Detector
- Defined in:
- lib/zxing/ffi/qrcode/detector.rb
Instance Attribute Summary
Attributes included from Binarizer
Attributes inherited from Binarizer
Instance Method Summary collapse
-
#initialize(luminance_source) ⇒ Detector
constructor
A new instance of Detector.
Methods included from QRCode::Detector
Methods inherited from Binarizer
Constructor Details
#initialize(luminance_source) ⇒ Detector
Returns a new instance of Detector.
7 8 9 |
# File 'lib/zxing/ffi/qrcode/detector.rb', line 7 def initialize luminance_source super ZXing::FFI::Library.Detector_new(luminance_source.native), luminance_source end |