Commit Graph

1005 Commits

Author SHA1 Message Date
Matt Hill
06cc808560 Added config_file_path to config 2015-10-17 09:00:03 -04:00
Matt Hill
c4a896d969 Updated state detection API 2015-10-17 08:59:41 -04:00
Matt Hill
322176cc69 Added utility functions to support (get file from path and get directory from path) 2015-10-17 08:52:16 -04:00
Matt Hill
ba69a50a8f Added ocr for gb 2015-10-09 17:51:18 -04:00
Matt Hill
d4a625b635 Added option to reuse detectors across configs 2015-10-09 17:51:18 -04:00
Matthew Hill
6362c66920 Merge pull request #209 from peters/master
Add missing include.
2015-10-07 09:41:37 -04:00
Peter Rekdal Sunde
a5440b09e9 ec24d1d147 2015-10-07 12:20:17 +02:00
Peter Rekdal Sunde
5178a6fe76 61f37ba596 2015-10-07 12:20:11 +02:00
Peter Rekdal Sunde
35da749318 Add missing include. 2015-10-07 10:33:25 +02:00
Matt Hill
23c313138b Fixes issue #206 JSON garbage results 2015-10-05 21:23:28 -04:00
Matt Hill
dde8507024 Fixed missing requested_top_n value from json 2015-10-03 09:09:23 -04:00
Matt Hill
7a8e2b2d72 Linking opencv_world in .net project 2015-10-01 20:27:05 -04:00
Matt Hill
cf917e29ab Targeting correct versions of software in .net project 2015-10-01 20:27:04 -04:00
Matt Hill
c113bd804c Removed charheight/width from config, these are now vectors 2015-10-01 20:27:04 -04:00
Matt Hill
5f02b699c3 Fixed issue with must_match_pattern not returning enough values 2015-10-01 20:17:20 -04:00
Matt Hill
5db8a5ca80 Added missing header for utility 2015-09-30 22:23:01 -04:00
Matt Hill
088cd3ceac Added state detector check 2015-09-30 22:04:12 -04:00
Matt Hill
d8713bc94a Updated kr.conf 2015-09-30 22:03:02 -04:00
Matt Hill
01cba7ca49 Fixed classifychars utility after multiline changes 2015-09-30 22:03:02 -04:00
Matt Hill
d5958e66f7 Commented out some debug code that caused crashing with variable sized histograms 2015-09-30 22:03:02 -04:00
Matt Hill
3c4000de64 Moved edge filter mask to later.
Previously multiline plates would not detect the second line's edge, since the mask was already applied to the other line.
2015-09-30 22:03:02 -04:00
Matt Hill
9ce8cf7d3c Added multiline context for postprocessing
Pattern matching can now apply line by line patterns for greater accuracy
2015-09-30 22:03:02 -04:00
Matt Hill
af6dcdb587 Doing edge detection for each line of a multiline plate 2015-09-30 22:03:02 -04:00
Matt Hill
3675cd82ab Calculating char gap by distance from midpoint (rather than edge).
More accurate for characters like "1" that don't fill up the full area, but still have the same distance between overall characters
2015-09-30 22:03:01 -04:00
Matt Hill
022e191fb9 Fixed a crash on multiline plates when no line is found 2015-09-30 22:03:01 -04:00
Matt Hill
7040310229 Improved method for finding lines of text on multiline plates.
Uses histograms (parallel to first horizontal line) for second line rather than blob matching.
2015-09-30 22:03:01 -04:00
Matt Hill
6830839592 Supporting auto-invert for multiline character analysis (do the invert before finding the second line) 2015-09-30 22:03:01 -04:00
Matt Hill
c93dee590c Added some commentary to the morph operation in char segmenter 2015-09-30 22:03:01 -04:00
Matt Hill
34701ef638 Reduced second order histogram pixel leniency from 2 to 0 2015-09-30 22:03:01 -04:00
Matt Hill
91d2f32f96 Added extra debug statement to char segmenter 2015-09-30 22:03:01 -04:00
Matt Hill
dc6b35d2a6 Using computed average char size rather than median 2015-09-30 22:03:01 -04:00
Matt Hill
b708d817ca Removed duplicate invert in char segmenter 2015-09-30 22:03:01 -04:00
Matt Hill
76f6f7b721 Removed debug output images 2015-09-30 22:03:01 -04:00
Matt Hill
d932b62d37 Using tighter min/max char values for Korea 2015-09-30 22:03:01 -04:00
Matt Hill
f597edc99d Handle inverted plates in classifychars utility 2015-09-30 22:03:01 -04:00
Matt Hill
9ea566a8c8 Removed unnecessary static variables 2015-09-30 22:03:01 -04:00
Matt Hill
c2921081e7 Parameterized the speckle removal (based on char height) for each country 2015-09-30 22:03:01 -04:00
Matt Hill
61f37ba596 Added a must_match_pattern config option. When a text pattern is available, all non-matching values will be disregarded. 2015-09-30 22:03:01 -04:00
Matt Hill
c4d35e4e8d Resolves issue #150 Automatically apply pattern matching for countries with only one pattern 2015-09-30 22:03:01 -04:00
Matt Hill
0c088fb2e8 Using smaller set of regex numbers for Korea -- faster load time 2015-09-30 22:03:01 -04:00
Matt Hill
c93667ed74 Fixed combineCloseBoxes logic issues that affected accuracy 2015-09-30 22:03:01 -04:00
Matt Hill
09b7178322 Moved min/max characters from global to country config 2015-09-30 22:03:00 -04:00
Matt Hill
b3afab7c60 Moved 1-dimensional histogram hit to histogram class 2015-09-30 22:03:00 -04:00
Matt Hill
354d6110f8 Using const for textcontour debug image 2015-09-30 22:03:00 -04:00
Matt Hill
f572827c8a Using correct HIstogram class name 2015-09-30 22:03:00 -04:00
Matt Hill
8d765d481d Added per-line values for character height.
Helps support multiline plates with different heights on each line
2015-09-30 22:03:00 -04:00
Matt Hill
75c6784369 Refactored histogram to support horizontal histograms 2015-09-30 22:03:00 -04:00
Matt Hill
7b59d3a238 Added function to get Y value for a point on a line segment 2015-09-30 22:03:00 -04:00
Matt Hill
f5ad99b16b Removed libopencv deb build requirement 2015-09-30 22:03:00 -04:00
Matthew Hill
26b82a12fc Merge pull request #201 from Kees-V/master
Provide OpenCL information and instructions.
2015-09-24 22:05:56 -04:00