Commit Graph

84 Commits

Author SHA1 Message Date
Albert Cervera i Areny 9c8decec5f Adapt Planta to recent Koo changes:
setModelGroup() -> setRecordGroup()
2009-04-17 00:48:37 +02:00
Albert Cervera i Areny c79a7894ef Adapt Planta to recent Koo changes:
ModelRecordGroup -> RecordGroup.
2009-04-17 00:46:41 +02:00
Albert Cervera i Areny 0828afec76 Adapted to renamed 'ModelRecordGroup' -> 'RecordGroup' 2009-03-25 02:02:48 +01:00
Albert Cervera i Areny 2d2910d49a Improvements in date and page number detection. 2009-03-25 02:02:17 +01:00
Albert Cervera i Areny 642cf462e7 Call callback function only once per Tag. Added several words for invoice number. 2009-03-25 02:01:29 +01:00
Albert Cervera i Areny 201109c913 Remove commented code in InvoiceRecognizer. 2009-03-23 23:17:06 +01:00
Albert Cervera i Areny ccee97f718 Added an algorithm to detect fixed pitch fonts.
Now the algorithm to format text (adding spaces) takes into account if
font is fixedPitch. Detection seems to work reasonably well. Format text
algorithm needs to take fixedPitch on a per bloc basis instead of using
the same criteria for the same line.
2009-03-23 23:14:58 +01:00
Albert Cervera i Areny 9cb1e8870a Remove a couple of print's. 2009-03-23 23:14:33 +01:00
Albert Cervera i Areny 41224310da Several improvements in invoice recognition:
Added new types, improved date recognition, improved performance.
2009-03-23 16:09:11 +01:00
Albert Cervera i Areny 4119ec747c Important performance improvement: store images as BMP instead of PNG
before processing them with external tools. A sample image took 13
seconds to be stored as PNG while BMP took less than a second.
2009-03-16 23:45:12 +01:00
Albert Cervera i Areny 02241981b6 Improved Block class implementation. Make Ocr use it internally.
First steps towards Block finding in documents.
2009-03-16 23:18:56 +01:00
Albert Cervera i Areny 4cafa912ce Added Block, PdfReader, Range and TextPatterns. 2009-03-14 18:11:20 +01:00
Albert Cervera i Areny 0eb944c512 - Fixed doxygen file.
- Added invoice recognition module. Still missing block detection.
2009-03-14 18:10:23 +01:00
Albert Cervera i Areny 2cbba682f0 Make region optional in textInRegion functions. 2009-03-14 18:08:32 +01:00
Albert Cervera i Areny 49e5d3d40c Use new plugin loading mechanism introduced in Koo r508. 2009-01-10 16:57:24 +01:00
Albert Cervera i Areny fe3f8c1cb8 Use Levenshtein module when available for performance reasons
(it's 300 times faster).
2008-12-30 20:25:59 +01:00
Albert Cervera i Areny f06e0db54c Removed item from TODO list because it's already implemented. 2008-12-30 13:47:32 +01:00
Albert Cervera i Areny 03c316f47a Remove old commented line. 2008-12-30 02:34:00 +01:00
Albert Cervera i Areny 7d8111e99c Implemented and fully working Ocr Cuneiform backend. 2008-12-30 02:30:59 +01:00
Albert Cervera i Areny 53f96bbb8b Remove unnecessary 'return True'. 2008-12-30 00:45:41 +01:00
Albert Cervera i Areny 021d5df12d More uppercase renaming. 2008-12-30 00:44:53 +01:00
Albert Cervera i Areny c00ce1cabe Push all changes I missed a couple of commits ago. 2008-12-29 01:55:57 +01:00
Albert Cervera i Areny 1f55cfd529 Added Koo plugin. 2008-12-29 01:55:36 +01:00
Albert Cervera i Areny c2fb42ebbd Renamed:
- Unwritable NaNScaN To NanScan.
- Capitalized file names.
2008-12-29 01:53:29 +01:00
Albert Cervera i Areny 2906e6392d Fix typo in auto_attach module description. 2008-12-29 01:15:08 +01:00
Albert Cervera i Areny 8cf46ea005 Remove unnecessary constructor. 2008-12-29 01:14:56 +01:00
Albert Cervera i Areny 6bd9b496e4 Added dataMatrix as recognizer in auto_attach module. 2008-12-29 00:43:08 +01:00
Albert Cervera i Areny ec3b13fac2 Implemented DataMatrix analyzer.
Other architecture enhancements involving generalization
of analyzers to create new once more easily, improved
spawn() function to allow it to be run in several simultaneous
threads.
2008-12-23 20:29:28 +01:00
Albert Cervera i Areny 327542e74d Implemented background processing in auto_attach module. 2008-12-23 20:29:08 +01:00
Albert Cervera i Areny 100fc8b3bc Code cleanup and workflow improvements.
- Removed '_id' postfix in relation fields.
- Added relation with templatebox in document boxes.
- Improved workflow with background alternative to scan process.
- Background scanning process sends a request to the user when it's finished.
2008-10-31 00:33:15 +01:00
Albert Cervera i Areny 67edd150b1 Do not add new line characters in the list line for formatedText. 2008-10-29 16:49:51 +01:00
Albert Cervera i Areny 69e0e78d4e Renamed some files to fit with naming conventions (capitalization).
Use new Koo API. OpenTemplateDialog not working yet but it could be Koo's
fault so I just commit and I'll try to find the problem later.
Added Deskew action too.
2008-10-27 22:54:57 +01:00
Albert Cervera i Areny a4b8ccf707 Fixed Levenshtein distance for empty strings.
Also create array more efficiently.
2008-09-15 16:04:18 +02:00
Albert Cervera i Areny 907ccb94b2 New template finder by text now works.
Not that it's perfect at all, it only works for most obvious cases, but it's a
good start.
2008-09-15 00:01:28 +02:00
Albert Cervera i Areny ea1541a331 Improve comment of 'region.isValid()' bug. 2008-09-15 00:00:58 +02:00
Albert Cervera i Areny fa654c1837 Fix bug: using 'if region:' is not the same as 'if region != None'
in this context. The first one checks if region isValid().
2008-09-14 23:59:13 +02:00
Albert Cervera i Areny 7cff77ef94 Fix bug in hamming distance: Difference in length between two strings must be
multiplied by 2.
2008-09-14 23:57:35 +02:00
Albert Cervera i Areny 9cc4af299d Show mouse position & findMatchingTemplateByText:
- Show current mouse position in template designer.
- New 'findMatchingTemplateByText()' still not working properly
but most code is already there including the action to test it
from template designer.
2008-09-14 17:32:40 +02:00
Albert Cervera i Areny c0e881db5d Improve barcode displaying in template designer. 2008-09-12 16:36:03 +02:00
Albert Cervera i Areny 1552729785 Show offset info when finding matching template. 2008-09-12 16:26:59 +02:00
Albert Cervera i Areny bbb5784e08 Added Find Matching Template in template designer.
This actions searches the best matching template using
NaNScaN Recognier.findMatchingTemplate() function and
loads it.
2008-09-12 13:47:47 +02:00
Albert Cervera i Areny dd3b1a698c Change module description. 2008-09-11 21:05:18 +02:00
Albert Cervera i Areny f425f17d73 Ease logging in and add login information in statusbar. 2008-09-11 21:04:20 +02:00
Albert Cervera i Areny a5506050fa Added feature rect to template. Appropiate handling added to
Planta template designer, barcode, ocr and recognizer as well
as to the added auto_attach module. Storing and retrieval hasn't
been tested though.

Once tested this will provide the basis for better ways of finding
template offset.
2008-09-02 00:01:04 +02:00
Albert Cervera i Areny 8ac6afa164 Added Planta application. A template designer.
This is the old 'playground' nano-client and thus not only depends
on NaNScaN but in KTiny too.
2008-09-01 16:42:41 +02:00
Albert Cervera i Areny e1be884d22 Added .gitignore file to repository. 2008-09-01 16:13:14 +02:00
Albert Cervera i Areny ec5bbe011c Moved all source files to the new NaNScaN directory. 2008-09-01 16:12:21 +02:00
Albert Cervera i Areny f4ba142626 Documented Ocr class. Updated doxygen header. 2008-09-01 00:55:29 +02:00
Albert Cervera i Areny 63a380c442 Added doxgen documentation.
Added docs in the Hamming class.
Added a Translator class.
2008-09-01 00:13:37 +02:00
Albert Cervera i Areny bffb921bf3 Added test-learn.py to test gamera learning probes. 2008-08-31 23:20:32 +02:00