ruby_marks 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ruby_marks/recognizer.rb +1 -1
- data/lib/ruby_marks/version.rb +1 -1
- data/lib/ruby_marks.rb +1 -1
- metadata +1 -17
@@ -142,7 +142,7 @@ module RubyMarks
|
|
142
142
|
mark_height >= group.mark_height_with_down_tolerance
|
143
143
|
|
144
144
|
group.marks.each_pair do |key, marks_array|
|
145
|
-
mark_positions = mark[:y1]-
|
145
|
+
mark_positions = mark[:y1]-group.mark_width_with_down_tolerance..mark[:y1]+group.mark_width_with_down_tolerance
|
146
146
|
|
147
147
|
marks_array.each do |m|
|
148
148
|
if mark_positions.include?(m.coordinates[:y1])
|
data/lib/ruby_marks/version.rb
CHANGED
data/lib/ruby_marks.rb
CHANGED
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.2.
|
4
|
+
version: 0.2.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -28,22 +28,6 @@ dependencies:
|
|
28
28
|
- - ! '>='
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '0'
|
31
|
-
- !ruby/object:Gem::Dependency
|
32
|
-
name: sane_timeout
|
33
|
-
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
|
-
requirements:
|
36
|
-
- - ! '>='
|
37
|
-
- !ruby/object:Gem::Version
|
38
|
-
version: '0'
|
39
|
-
type: :runtime
|
40
|
-
prerelease: false
|
41
|
-
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
|
-
requirements:
|
44
|
-
- - ! '>='
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: '0'
|
47
31
|
description: A simple OMR tool
|
48
32
|
email:
|
49
33
|
- andrerpbts@gmail.com
|