ocr_space 2.3 → 2.3.1
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.
- checksums.yaml +4 -4
- data/README.md +0 -8
- data/lib/ocr_space/version.rb +1 -1
- 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: c6339702d2c10abd4c88dd545be7f4f08d307c7d
|
|
4
|
+
data.tar.gz: d43e9b4249ce8c91247dc5b52fb19502b967363f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b8b556d7795a84e505f6ce73ec9840d94af61a1f6c27b59636b2f38e3d1f2580e4dda34ea99ddffc85c897faffd0a3582bf269523fcdf58b4384f40301c2451
|
|
7
|
+
data.tar.gz: 1454956b44abf94bb8926f26663caf91c8c5fa91f78b5e7eb69fe858dda54807bcfbc36732a9a981f8235922daa9162ad37f1e310850ccb74f9b3862aeffdf40
|
data/README.md
CHANGED
|
@@ -53,10 +53,6 @@ result = resource.convert url: "http://bit.ly/2ih9aXt"
|
|
|
53
53
|
puts result
|
|
54
54
|
=> #[{"TextOverlay"=>{"Lines"=>[], "HasOverlay"=>false, "Message"=>"Text overlay is not provided as it is not requested"}, "FileParseExitCode"=>1, "ParsedText"=>"If you want to find the secrets of the \r\nuniverse, think in terms of energy, \r\nfrequency and vibration. \r\nAZ QUOTES \r\n", "ErrorMessage"=>"", "ErrorDetails"=>""}]
|
|
55
55
|
|
|
56
|
-
puts result.text_data #Clean result
|
|
57
|
-
|
|
58
|
-
=> "If you want to find the secrets of the universe, think in terms of energy, frequency and vibration. AZ QUOTES"
|
|
59
|
-
|
|
60
56
|
```
|
|
61
57
|
|
|
62
58
|
#To convert images from file upload
|
|
@@ -69,10 +65,6 @@ puts result #Raw result
|
|
|
69
65
|
|
|
70
66
|
=> #{"TextOverlay"=>{"Lines"=>[], "HasOverlay"=>false, "Message"=>"Text overlay is not provided as it is not requested"}, "FileParseExitCode"=>1, "ParsedText"=>"If you want to find the secrets of the \r\nuniverse, think in terms of energy, \r\nfrequency and vibration. \r\nAZ QUOTES \r\n", "ErrorMessage"=>"", "ErrorDetails"=>""}
|
|
71
67
|
|
|
72
|
-
puts result.text_data #Clean result
|
|
73
|
-
|
|
74
|
-
=> "If you want to find the secrets of the universe, think in terms of energy, frequency and vibration. AZ QUOTES"
|
|
75
|
-
|
|
76
68
|
```
|
|
77
69
|
|
|
78
70
|
#COMMAND LINE INTERFACE ***BONUS***
|
data/lib/ocr_space/version.rb
CHANGED