bankocr 0.0.5 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bankocr/version.rb +1 -1
- data/lib/digit.rb +20 -20
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 039f8ec55483fce40992c955b0b719d0c8cb08ba
|
4
|
+
data.tar.gz: b2248450d244469c24ab3358e054a0c555989f17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 228df177ff5332c84d2ea30184f1a5a77ebab85e344a0cd7fba66f10dd4f5e708f153b7dc6f11121d8a6b9b6103fb9901760f1bfde3f7003a0801cee44fc8782
|
7
|
+
data.tar.gz: 642084d3d4304a79d4ae4a49a812a96c0766ccc5c1d98353751e705688d3b8896c264957a67683ff50ff8f4874a65174db5988ac9c46d7be3c7224cdb19db85b
|
data/Gemfile.lock
CHANGED
data/lib/bankocr/version.rb
CHANGED
data/lib/digit.rb
CHANGED
@@ -8,35 +8,35 @@ module BankOCR
|
|
8
8
|
end
|
9
9
|
|
10
10
|
CONVERSIONS = {
|
11
|
-
' _ '
|
12
|
-
'| |'
|
11
|
+
' _ ' \
|
12
|
+
'| |' \
|
13
13
|
'|_|' => '0',
|
14
|
-
' '
|
15
|
-
' |'
|
14
|
+
' ' \
|
15
|
+
' |' \
|
16
16
|
' |' => '1',
|
17
|
-
' _ '
|
18
|
-
' _|'
|
17
|
+
' _ ' \
|
18
|
+
' _|' \
|
19
19
|
'|_ ' => '2',
|
20
|
-
' _ '
|
21
|
-
' _|'
|
20
|
+
' _ ' \
|
21
|
+
' _|' \
|
22
22
|
' _|' => '3',
|
23
|
-
' '
|
24
|
-
'|_|'
|
23
|
+
' ' \
|
24
|
+
'|_|' \
|
25
25
|
' |' => '4',
|
26
|
-
' _ '
|
27
|
-
'|_ '
|
26
|
+
' _ ' \
|
27
|
+
'|_ ' \
|
28
28
|
' _|' => '5',
|
29
|
-
' _ '
|
30
|
-
'|_ '
|
29
|
+
' _ ' \
|
30
|
+
'|_ ' \
|
31
31
|
'|_|' => '6',
|
32
|
-
' _ '
|
33
|
-
' |'
|
32
|
+
' _ ' \
|
33
|
+
' |' \
|
34
34
|
' |' => '7',
|
35
|
-
' _ '
|
36
|
-
'|_|'
|
35
|
+
' _ ' \
|
36
|
+
'|_|' \
|
37
37
|
'|_|' => '8',
|
38
|
-
' _ '
|
39
|
-
'|_|'
|
38
|
+
' _ ' \
|
39
|
+
'|_|' \
|
40
40
|
' _|' => '9'
|
41
41
|
}
|
42
42
|
end
|