Method: CVFFI::MatchResult#initialize
- Defined in:
- lib/opencv-ffi-wrappers/matcher.rb
#initialize(t, q, d) ⇒ MatchResult
Returns a new instance of MatchResult.
36 37 38 39 40 |
# File 'lib/opencv-ffi-wrappers/matcher.rb', line 36 def initialize( t, q, d ) @train_idx = t @query_idx = q @distance = d end |