Commit Graph

204 Commits

Author SHA1 Message Date
Matt Hill
995e385690 Got rid of expanding the region before doing text analysis 2014-10-20 23:47:54 -04:00
Matt Hill
d48a41da49 Do not add lines with no valid characters 2014-10-20 20:25:39 -04:00
Matt Hill
1d59aedc0e Don't allow multiline plates with only 1 line 2014-10-20 20:25:09 -04:00
Matt Hill
c81c0a3442 Removed functions from characterregion header 2014-10-19 21:09:18 -04:00
Matt Hill
cc4f72ff23 Removed misc debugging cout statements 2014-10-19 21:01:16 -04:00
Matt Hill
7038d0b9e5 Removed modal image drawing (used for debugging) 2014-10-19 20:55:28 -04:00
Matt Hill
a10e65631c Removed unused code file 2014-10-19 20:50:40 -04:00
Matt Hill
9a8ff68cd1 Re-enabled inverting plates for white-on-black text 2014-10-19 20:48:21 -04:00
Matt Hill
689aef8b85 Fixed multiline support in character analysis 2014-10-19 20:28:38 -04:00
Matt Hill
74b81950d5 Fixed timing measurements for deskew 2014-10-19 20:28:27 -04:00
Matt Hill
2a9c0de2e3 Sorting TextLines from top to bottom vertically 2014-10-19 20:27:49 -04:00
Matt Hill
02e9517d83 Increased max width for segmentation 2014-10-19 19:54:17 -04:00
Matt Hill
8c6cd5723d Using filter between lines before adding to TextLine array 2014-10-19 19:39:57 -04:00
Matt Hill
1d8321f4f2 Fixed bug on plate corner detection, the parallel line was flipped left to right 2014-10-19 19:39:45 -04:00
Matt Hill
be99e8219b Updated segmentation to work with multiline text 2014-10-19 19:08:00 -04:00
Matt Hill
a691d8a6fe Using a perspective transformation on CharAnalysis instead of redoing the whole process during segmentation. Much faster and seems slightly more accurate -- will need to benchmark. 2014-10-19 19:07:00 -04:00
Matt Hill
d2bfebe443 Added multiline support in plate corner detector 2014-10-19 15:54:59 -04:00
Matt Hill
2896d21868 Removed unused function prototype from characterAnalysis 2014-10-19 15:54:25 -04:00
Matt Hill
f122eee12d Added angle to TextLine 2014-10-19 15:54:04 -04:00
Matt Hill
2ac6337342 Added logic to LineFinder to find both lines for multiline plates 2014-10-18 20:13:30 -04:00
Matt Hill
3964ffa49f Added angle checking so that text areas with vertical angles are rejected 2014-10-17 11:34:13 -04:00
Matt Hill
4bfef05b9a Added LineFinder class to help find text lines in plate images 2014-10-16 21:47:01 -04:00
Matt Hill
1ce39c3f1f Added config attribute for multi-line plates 2014-10-16 21:45:56 -04:00
Matt Hill
2e83a057c1 Added common utility (getContourAreaPercentInsideMask) to utility class 2014-10-16 21:38:18 -04:00
Matt Hill
0d475381e7 Removed unused functions from charactersegmenter 2014-10-13 22:46:46 -04:00
Matt Hill
8e83e43ecb Moved more data members to textline 2014-10-13 22:43:55 -04:00
Matt Hill
97518ecd89 Moved polygon logic to textline 2014-10-13 18:19:12 -04:00
Matt Hill
c156e8900e Refactored characteranalysis. Using TextLine class to hold character info. Needed for multiline char support 2014-10-10 20:21:41 -04:00
Matt Hill
d55e66d665 Refactored CharacterAnalysis code to use a class that wraps the raw Contour data 2014-10-09 23:23:22 -04:00
Matt Hill
add77f6b0c Split up the plate mask code into its own class 2014-10-09 20:46:26 -04:00
Matt Hill
f190fb3984 Removed unused header reference 2014-10-09 20:44:58 -04:00
Matt Hill
945354e75d Moved character analysis to text detection folder 2014-10-08 09:42:35 -04:00
Matt Hill
fa96f53dbf Added version to JSON output 2014-10-05 10:29:31 -04:00
Matt Hill
f05c07d2b7 Updated copyright to 2014 2014-10-04 22:45:52 -04:00
Matt Hill
f663b4c9fa Added CPack config to main Cmake. Using absolute paths for install targets 2014-10-04 13:35:23 -04:00
Matt Hill
8f63d32cc6 Using site-camera-epochtime rather than random UUID. Removed UUID lib dependency 2014-10-01 08:39:44 -04:00
Matt Hill
3585e0436f Added epoch_time as an optional value for json serializing 2014-09-30 22:34:06 -04:00
Matt Hill
c3b2c89f93 Using monotonic clock rather than CPU clock 2014-09-24 22:34:19 -04:00
Matt Hill
d2bf82a152 Checking OCR existence by country from config, rather than defined country name 2014-09-05 21:07:39 -04:00
Matt Hill
01b00b0450 Removed (non-working) multithreading implementation. Going to reimplement it differently. 2014-08-31 11:31:58 -04:00
Matt Hill
41bedff338 Partially resolves issue #46 Use epoch milliseconds rather than seconds 2014-08-31 10:34:50 -04:00
Matt Hill
c4e09cc0f8 Resolves issue #45 Use better angle value for edge detection 2014-08-30 11:33:35 -04:00
Matt Hill
1801733061 Fixed compiler warnings (signed/unsigned comparisons, unused variables) 2014-08-28 21:57:10 -04:00
Matt Hill
5903e5fb8c Fixed bug platecorner used incorrect variable for distance calculation 2014-08-28 21:42:52 -04:00
Matt Hill
7a3cb53aa6 Sleep for 1ms, rather than 1 second 2014-08-28 08:57:54 -04:00
Matt Hill
583e85c036 Moved detectorfactory implementation to its own source 2014-08-26 21:49:08 -04:00
Matt Hill
740adabf0f Added DetectorCPU class and factory to instantiate it. Updated openalpr to use new class 2014-08-21 07:11:11 -04:00
Matt Hill
74bbdc0c5b Moved detection to its own folder 2014-08-21 07:10:04 -04:00
Matt Hill
9aef5ba92c Using better interpolation method for deskew. Added timing 2014-08-21 06:21:46 -04:00
Matt Hill
88f1b2854c Removed unused "opencl" config attribute 2014-08-19 22:23:52 -04:00