ruby_marks 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ module RubyMarks
5
5
  attr_reader :label, :recognizer
6
6
  attr_accessor :mark_width, :mark_height, :marks_options, :coordinates, :expected_coordinates,
7
7
  :mark_width_tolerance, :mark_height_tolerance, :marks, :distance_between_marks,
8
- :block_width_tolerance, :block_height_tolerance
8
+ :block_width_tolerance, :block_height_tolerance, :expected_lines
9
9
 
10
10
  def initialize(label, recognizer)
11
11
  @label = label
@@ -326,7 +326,7 @@ module RubyMarks
326
326
  blocks.tap do |blocks|
327
327
  block_width = RubyMarks::ImageUtils.calc_width(block[:x1], block[:x2])
328
328
  block_height = RubyMarks::ImageUtils.calc_height(block[:y1], block[:y2])
329
- lines = @config.default_expected_lines
329
+ lines = group.expected_lines
330
330
  columns = @config.default_marks_options.size
331
331
  distance_lin = @config.default_mark_height
332
332
  distance_col = @config.default_mark_width
@@ -1,3 +1,3 @@
1
1
  module RubyMarks
2
- VERSION = "0.3.4".freeze
2
+ VERSION = "0.3.5".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_marks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: