Class: ZXing::FFI::QRCode::Detector

Inherits:
Binarizer
  • Object
show all
Includes:
QRCode::Detector
Defined in:
lib/zxing/ffi/qrcode/detector.rb

Instance Attribute Summary

Attributes included from Binarizer

#native

Attributes inherited from Binarizer

#source

Instance Method Summary collapse

Methods included from QRCode::Detector

new

Methods inherited from Binarizer

#black_matrix, #image

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