motion-ocr 0.0.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.
- data/.gitignore +17 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +10 -0
- data/LICENSE +28 -0
- data/README.md +22 -0
- data/Rakefile +17 -0
- data/app/app_delegate.rb +2 -0
- data/lib/motion-ocr.rb +26 -0
- data/lib/motion-ocr/version.rb +3 -0
- data/motion-ocr.gemspec +20 -0
- data/resources/tessdata/configs/nodict +3 -0
- data/resources/tessdata/eng.traineddata +0 -0
- data/spec/motion_ocr_spec.rb +23 -0
- data/spec/support/phototest.gif +0 -0
- data/vendor/MotionOCR/MotionOCR.bridgesupport +14722 -0
- data/vendor/MotionOCR/MotionOCR.xcodeproj/project.pbxproj +390 -0
- data/vendor/MotionOCR/MotionOCR.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/vendor/MotionOCR/MotionOCR.xcodeproj/project.xcworkspace/xcuserdata/fer.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/vendor/MotionOCR/MotionOCR.xcodeproj/xcuserdata/fer.xcuserdatad/xcschemes/MotionOCR.xcscheme +59 -0
- data/vendor/MotionOCR/MotionOCR.xcodeproj/xcuserdata/fer.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
- data/vendor/MotionOCR/MotionOCR/MotionOCR-Prefix.pch +7 -0
- data/vendor/MotionOCR/MotionOCR/MotionOCR.h +22 -0
- data/vendor/MotionOCR/MotionOCR/MotionOCR.mm +89 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/allheaders.h +32 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/alltypes.h +49 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/array.h +125 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/arrayaccess.h +194 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/bbuffer.h +46 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/bmf.h +51 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/bmp.h +74 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/ccbord.h +103 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/dewarp.h +57 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/endianness.h +11 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/environ.h +281 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/freetype.h +23 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/gplot.h +77 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/heap.h +73 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/imageio.h +153 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/jbclass.h +122 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/leptprotos.h +2058 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/leptwin.h +34 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/list.h +76 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/morph.h +218 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/pix.h +945 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/ptra.h +80 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/queue.h +63 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/readbarcode.h +220 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/regutils.h +122 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/stack.h +55 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/sudoku.h +62 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/watershed.h +52 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/apitypes.h +31 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/baseapi.h +664 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/errcode.h +104 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/genericvector.h +763 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/helpers.h +139 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/host.h +180 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/ndminx.h +31 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/ocrclass.h +335 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/platform.h +48 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/publictypes.h +202 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/tesscallback.h +1238 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/thresholder.h +170 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/unichar.h +85 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/lib/liblept.a +0 -0
- data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/lib/libtesseract_all.a +0 -0
- metadata +113 -0
data/vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/thresholder.h
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
///////////////////////////////////////////////////////////////////////
|
|
2
|
+
// File: thresholder.h
|
|
3
|
+
// Description: Base API for thresolding images in tesseract.
|
|
4
|
+
// Author: Ray Smith
|
|
5
|
+
// Created: Mon May 12 11:00:15 PDT 2008
|
|
6
|
+
//
|
|
7
|
+
// (C) Copyright 2008, Google Inc.
|
|
8
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
// you may not use this file except in compliance with the License.
|
|
10
|
+
// You may obtain a copy of the License at
|
|
11
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
// See the License for the specific language governing permissions and
|
|
16
|
+
// limitations under the License.
|
|
17
|
+
//
|
|
18
|
+
///////////////////////////////////////////////////////////////////////
|
|
19
|
+
|
|
20
|
+
#ifndef TESSERACT_CCMAIN_THRESHOLDER_H__
|
|
21
|
+
#define TESSERACT_CCMAIN_THRESHOLDER_H__
|
|
22
|
+
|
|
23
|
+
class IMAGE;
|
|
24
|
+
struct Pix;
|
|
25
|
+
|
|
26
|
+
namespace tesseract {
|
|
27
|
+
|
|
28
|
+
/// Base class for all tesseract image thresholding classes.
|
|
29
|
+
/// Specific classes can add new thresholding methods by
|
|
30
|
+
/// overriding ThresholdToPix.
|
|
31
|
+
/// Each instance deals with a single image, but the design is intended to
|
|
32
|
+
/// be useful for multiple calls to SetRectangle and ThresholdTo* if
|
|
33
|
+
/// desired.
|
|
34
|
+
class ImageThresholder {
|
|
35
|
+
public:
|
|
36
|
+
ImageThresholder();
|
|
37
|
+
virtual ~ImageThresholder();
|
|
38
|
+
|
|
39
|
+
/// Destroy the Pix if there is one, freeing memory.
|
|
40
|
+
virtual void Clear();
|
|
41
|
+
|
|
42
|
+
/// Return true if no image has been set.
|
|
43
|
+
bool IsEmpty() const;
|
|
44
|
+
|
|
45
|
+
/// SetImage makes a copy of only the metadata, not the underlying
|
|
46
|
+
/// image buffer. It promises to treat the source as read-only in either case,
|
|
47
|
+
/// but in return assumes that the Pix or image buffer remain valid
|
|
48
|
+
/// throughout the life of the ImageThresholder.
|
|
49
|
+
/// Greyscale of 8 and color of 24 or 32 bits per pixel may be given.
|
|
50
|
+
/// Palette color images will not work properly and must be converted to
|
|
51
|
+
/// 24 bit.
|
|
52
|
+
/// Binary images of 1 bit per pixel may also be given but they must be
|
|
53
|
+
/// byte packed with the MSB of the first byte being the first pixel, and a
|
|
54
|
+
/// one pixel is WHITE. For binary images set bytes_per_pixel=0.
|
|
55
|
+
void SetImage(const unsigned char* imagedata, int width, int height,
|
|
56
|
+
int bytes_per_pixel, int bytes_per_line);
|
|
57
|
+
|
|
58
|
+
/// Store the coordinates of the rectangle to process for later use.
|
|
59
|
+
/// Doesn't actually do any thresholding.
|
|
60
|
+
void SetRectangle(int left, int top, int width, int height);
|
|
61
|
+
|
|
62
|
+
/// Get enough parameters to be able to rebuild bounding boxes in the
|
|
63
|
+
/// original image (not just within the rectangle).
|
|
64
|
+
/// Left and top are enough with top-down coordinates, but
|
|
65
|
+
/// the height of the rectangle and the image are needed for bottom-up.
|
|
66
|
+
virtual void GetImageSizes(int* left, int* top, int* width, int* height,
|
|
67
|
+
int* imagewidth, int* imageheight);
|
|
68
|
+
|
|
69
|
+
/// Return true if the source image is color.
|
|
70
|
+
bool IsColor() const {
|
|
71
|
+
return image_bytespp_ >= 3;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/// Returns true if the source image is binary.
|
|
75
|
+
bool IsBinary() const {
|
|
76
|
+
return image_bytespp_ == 0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
int GetScaleFactor() const {
|
|
80
|
+
return scale_;
|
|
81
|
+
}
|
|
82
|
+
int GetSourceYResolution() const {
|
|
83
|
+
return yres_;
|
|
84
|
+
}
|
|
85
|
+
int GetScaledYResolution() const {
|
|
86
|
+
return scale_ * yres_;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/// Pix vs raw, which to use?
|
|
90
|
+
/// Implementations should provide the ability to source and target Pix
|
|
91
|
+
/// where possible. A future version of Tesseract may choose to use Pix
|
|
92
|
+
/// as its internal representation and discard IMAGE altogether.
|
|
93
|
+
/// Because of that, an implementation that sources and targets Pix may end up
|
|
94
|
+
/// with less copies than an implementation that does not.
|
|
95
|
+
/// NOTE: Opposite to SetImage for raw images, SetImage for Pix clones its
|
|
96
|
+
/// input, so the source pix may be pixDestroyed immediately after.
|
|
97
|
+
void SetImage(const Pix* pix);
|
|
98
|
+
|
|
99
|
+
/// Threshold the source image as efficiently as possible to the output Pix.
|
|
100
|
+
/// Creates a Pix and sets pix to point to the resulting pointer.
|
|
101
|
+
/// Caller must use pixDestroy to free the created Pix.
|
|
102
|
+
virtual void ThresholdToPix(Pix** pix);
|
|
103
|
+
|
|
104
|
+
/// Get a clone/copy of the source image rectangle.
|
|
105
|
+
/// The returned Pix must be pixDestroyed.
|
|
106
|
+
/// This function will be used in the future by the page layout analysis, and
|
|
107
|
+
/// the layout analysis that uses it will only be available with Leptonica,
|
|
108
|
+
/// so there is no raw equivalent.
|
|
109
|
+
Pix* GetPixRect();
|
|
110
|
+
|
|
111
|
+
/// Get a clone/copy of the source image rectangle, reduced to greyscale.
|
|
112
|
+
/// The returned Pix must be pixDestroyed.
|
|
113
|
+
/// This function will be used in the future by the page layout analysis, and
|
|
114
|
+
/// the layout analysis that uses it will only be available with Leptonica,
|
|
115
|
+
/// so there is no raw equivalent.
|
|
116
|
+
Pix* GetPixRectGrey();
|
|
117
|
+
|
|
118
|
+
protected:
|
|
119
|
+
// ----------------------------------------------------------------------
|
|
120
|
+
// Utility functions that may be useful components for other thresholders.
|
|
121
|
+
|
|
122
|
+
/// Common initialization shared between SetImage methods.
|
|
123
|
+
virtual void Init();
|
|
124
|
+
|
|
125
|
+
/// Return true if we are processing the full image.
|
|
126
|
+
bool IsFullImage() const {
|
|
127
|
+
return rect_left_ == 0 && rect_top_ == 0 &&
|
|
128
|
+
rect_width_ == image_width_ && rect_height_ == image_height_;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/// Otsu threshold the rectangle, taking everything except the image buffer
|
|
132
|
+
/// pointer from the class, to the output Pix.
|
|
133
|
+
void OtsuThresholdRectToPix(const unsigned char* imagedata,
|
|
134
|
+
int bytes_per_pixel, int bytes_per_line,
|
|
135
|
+
Pix** pix) const;
|
|
136
|
+
|
|
137
|
+
/// Threshold the rectangle, taking everything except the image buffer pointer
|
|
138
|
+
/// from the class, using thresholds/hi_values to the output IMAGE.
|
|
139
|
+
void ThresholdRectToPix(const unsigned char* imagedata,
|
|
140
|
+
int bytes_per_pixel, int bytes_per_line,
|
|
141
|
+
const int* thresholds, const int* hi_values,
|
|
142
|
+
Pix** pix) const;
|
|
143
|
+
|
|
144
|
+
/// Copy the raw image rectangle, taking all data from the class, to the Pix.
|
|
145
|
+
void RawRectToPix(Pix** pix) const;
|
|
146
|
+
|
|
147
|
+
protected:
|
|
148
|
+
/// Clone or other copy of the source Pix.
|
|
149
|
+
/// The pix will always be PixDestroy()ed on destruction of the class.
|
|
150
|
+
Pix* pix_;
|
|
151
|
+
/// Exactly one of pix_ and image_data_ is not NULL.
|
|
152
|
+
const unsigned char* image_data_; //< Raw source image.
|
|
153
|
+
|
|
154
|
+
int image_width_; //< Width of source image/pix.
|
|
155
|
+
int image_height_; //< Height of source image/pix.
|
|
156
|
+
int image_bytespp_; //< Bytes per pixel of source image/pix.
|
|
157
|
+
int image_bytespl_; //< Bytes per line of source image/pix.
|
|
158
|
+
// Limits of image rectangle to be processed.
|
|
159
|
+
int scale_; //< Scale factor from original image.
|
|
160
|
+
int yres_; //< y pixels/inch in source image
|
|
161
|
+
int rect_left_;
|
|
162
|
+
int rect_top_;
|
|
163
|
+
int rect_width_;
|
|
164
|
+
int rect_height_;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
} // namespace tesseract.
|
|
168
|
+
|
|
169
|
+
#endif // TESSERACT_CCMAIN_THRESHOLDER_H__
|
|
170
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
///////////////////////////////////////////////////////////////////////
|
|
2
|
+
// File: unichar.h
|
|
3
|
+
// Description: Unicode character/ligature class.
|
|
4
|
+
// Author: Ray Smith
|
|
5
|
+
// Created: Wed Jun 28 17:05:01 PDT 2006
|
|
6
|
+
//
|
|
7
|
+
// (C) Copyright 2006, Google Inc.
|
|
8
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
// you may not use this file except in compliance with the License.
|
|
10
|
+
// You may obtain a copy of the License at
|
|
11
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
// See the License for the specific language governing permissions and
|
|
16
|
+
// limitations under the License.
|
|
17
|
+
//
|
|
18
|
+
///////////////////////////////////////////////////////////////////////
|
|
19
|
+
|
|
20
|
+
#ifndef TESSERACT_CCUTIL_UNICHAR_H__
|
|
21
|
+
#define TESSERACT_CCUTIL_UNICHAR_H__
|
|
22
|
+
|
|
23
|
+
#include <memory.h>
|
|
24
|
+
#include <string.h>
|
|
25
|
+
|
|
26
|
+
// Maximum number of characters that can be stored in a UNICHAR. Must be
|
|
27
|
+
// at least 4. Must not exceed 31 without changing the coding of length.
|
|
28
|
+
#define UNICHAR_LEN 24
|
|
29
|
+
|
|
30
|
+
// A UNICHAR_ID is the unique id of a unichar.
|
|
31
|
+
typedef int UNICHAR_ID;
|
|
32
|
+
|
|
33
|
+
// A variable to indicate an invalid or uninitialized unichar id.
|
|
34
|
+
static const int INVALID_UNICHAR_ID = -1;
|
|
35
|
+
// A special unichar that corresponds to INVALID_UNICHAR_ID.
|
|
36
|
+
static const char INVALID_UNICHAR[] = "__INVALID_UNICHAR__";
|
|
37
|
+
|
|
38
|
+
// The UNICHAR class holds a single classification result. This may be
|
|
39
|
+
// a single Unicode character (stored as between 1 and 4 utf8 bytes) or
|
|
40
|
+
// multple Unicode characters representing the NFKC expansion of a ligature
|
|
41
|
+
// such as fi, ffl etc. These are also stored as utf8.
|
|
42
|
+
class UNICHAR {
|
|
43
|
+
public:
|
|
44
|
+
UNICHAR() {
|
|
45
|
+
memset(chars, 0, UNICHAR_LEN);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Construct from a utf8 string. If len<0 then the string is null terminated.
|
|
49
|
+
// If the string is too long to fit in the UNICHAR then it takes only what
|
|
50
|
+
// will fit.
|
|
51
|
+
UNICHAR(const char* utf8_str, int len);
|
|
52
|
+
|
|
53
|
+
// Construct from a single UCS4 character.
|
|
54
|
+
explicit UNICHAR(int unicode);
|
|
55
|
+
|
|
56
|
+
// Default copy constructor and operator= are OK.
|
|
57
|
+
|
|
58
|
+
// Get the first character as UCS-4.
|
|
59
|
+
int first_uni() const;
|
|
60
|
+
|
|
61
|
+
// Get the length of the UTF8 string.
|
|
62
|
+
int utf8_len() const {
|
|
63
|
+
int len = chars[UNICHAR_LEN - 1];
|
|
64
|
+
return len >=0 && len < UNICHAR_LEN ? len : UNICHAR_LEN;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Get a UTF8 string, but NOT NULL terminated.
|
|
68
|
+
const char* utf8() const {
|
|
69
|
+
return chars;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Get a terminated UTF8 string: Must delete[] it after use.
|
|
73
|
+
char* utf8_str() const;
|
|
74
|
+
|
|
75
|
+
// Get the number of bytes in the first character of the given utf8 string.
|
|
76
|
+
static int utf8_step(const char* utf8_str);
|
|
77
|
+
|
|
78
|
+
private:
|
|
79
|
+
// A UTF-8 representation of 1 or more Unicode characters.
|
|
80
|
+
// The last element (chars[UNICHAR_LEN - 1]) is a length if
|
|
81
|
+
// its value < UNICHAR_LEN, otherwise it is a genuine character.
|
|
82
|
+
char chars[UNICHAR_LEN];
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
#endif // TESSERACT_CCUTIL_UNICHAR_H__
|
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: motion-ocr
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Fernando Espinosa Jiménez
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2013-01-05 00:00:00.000000000 Z
|
|
13
|
+
dependencies: []
|
|
14
|
+
description: Allows to perform text detection inside images in an easy way.
|
|
15
|
+
email:
|
|
16
|
+
- fer@ferdev.com
|
|
17
|
+
executables: []
|
|
18
|
+
extensions: []
|
|
19
|
+
extra_rdoc_files: []
|
|
20
|
+
files:
|
|
21
|
+
- .gitignore
|
|
22
|
+
- Gemfile
|
|
23
|
+
- Gemfile.lock
|
|
24
|
+
- LICENSE
|
|
25
|
+
- README.md
|
|
26
|
+
- Rakefile
|
|
27
|
+
- app/app_delegate.rb
|
|
28
|
+
- lib/motion-ocr.rb
|
|
29
|
+
- lib/motion-ocr/version.rb
|
|
30
|
+
- motion-ocr.gemspec
|
|
31
|
+
- resources/tessdata/configs/nodict
|
|
32
|
+
- resources/tessdata/eng.traineddata
|
|
33
|
+
- spec/motion_ocr_spec.rb
|
|
34
|
+
- spec/support/phototest.gif
|
|
35
|
+
- vendor/MotionOCR/MotionOCR.bridgesupport
|
|
36
|
+
- vendor/MotionOCR/MotionOCR.xcodeproj/project.pbxproj
|
|
37
|
+
- vendor/MotionOCR/MotionOCR.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
|
38
|
+
- vendor/MotionOCR/MotionOCR.xcodeproj/project.xcworkspace/xcuserdata/fer.xcuserdatad/UserInterfaceState.xcuserstate
|
|
39
|
+
- vendor/MotionOCR/MotionOCR.xcodeproj/xcuserdata/fer.xcuserdatad/xcschemes/MotionOCR.xcscheme
|
|
40
|
+
- vendor/MotionOCR/MotionOCR.xcodeproj/xcuserdata/fer.xcuserdatad/xcschemes/xcschememanagement.plist
|
|
41
|
+
- vendor/MotionOCR/MotionOCR/MotionOCR-Prefix.pch
|
|
42
|
+
- vendor/MotionOCR/MotionOCR/MotionOCR.h
|
|
43
|
+
- vendor/MotionOCR/MotionOCR/MotionOCR.mm
|
|
44
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/allheaders.h
|
|
45
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/alltypes.h
|
|
46
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/array.h
|
|
47
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/arrayaccess.h
|
|
48
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/bbuffer.h
|
|
49
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/bmf.h
|
|
50
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/bmp.h
|
|
51
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/ccbord.h
|
|
52
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/dewarp.h
|
|
53
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/endianness.h
|
|
54
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/environ.h
|
|
55
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/freetype.h
|
|
56
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/gplot.h
|
|
57
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/heap.h
|
|
58
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/imageio.h
|
|
59
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/jbclass.h
|
|
60
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/leptprotos.h
|
|
61
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/leptwin.h
|
|
62
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/list.h
|
|
63
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/morph.h
|
|
64
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/pix.h
|
|
65
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/ptra.h
|
|
66
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/queue.h
|
|
67
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/readbarcode.h
|
|
68
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/regutils.h
|
|
69
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/stack.h
|
|
70
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/sudoku.h
|
|
71
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/leptonica/watershed.h
|
|
72
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/apitypes.h
|
|
73
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/baseapi.h
|
|
74
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/errcode.h
|
|
75
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/genericvector.h
|
|
76
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/helpers.h
|
|
77
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/host.h
|
|
78
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/ndminx.h
|
|
79
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/ocrclass.h
|
|
80
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/platform.h
|
|
81
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/publictypes.h
|
|
82
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/tesscallback.h
|
|
83
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/thresholder.h
|
|
84
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/include/tesseract/unichar.h
|
|
85
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/lib/liblept.a
|
|
86
|
+
- vendor/MotionOCR/MotionOCR/build_dependencies/dependencies/lib/libtesseract_all.a
|
|
87
|
+
homepage: https://github.com/ferdev/motion-ocr
|
|
88
|
+
licenses: []
|
|
89
|
+
post_install_message:
|
|
90
|
+
rdoc_options: []
|
|
91
|
+
require_paths:
|
|
92
|
+
- lib
|
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
|
+
none: false
|
|
95
|
+
requirements:
|
|
96
|
+
- - ! '>='
|
|
97
|
+
- !ruby/object:Gem::Version
|
|
98
|
+
version: '0'
|
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
|
+
none: false
|
|
101
|
+
requirements:
|
|
102
|
+
- - ! '>='
|
|
103
|
+
- !ruby/object:Gem::Version
|
|
104
|
+
version: '0'
|
|
105
|
+
requirements: []
|
|
106
|
+
rubyforge_project:
|
|
107
|
+
rubygems_version: 1.8.24
|
|
108
|
+
signing_key:
|
|
109
|
+
specification_version: 3
|
|
110
|
+
summary: A RubyMotion wrapper for the OCR engine, Tesseract
|
|
111
|
+
test_files:
|
|
112
|
+
- spec/motion_ocr_spec.rb
|
|
113
|
+
- spec/support/phototest.gif
|