Commit Graph

1202 Commits

Author SHA1 Message Date
Matt Hill
08706c87a8 Added debug flag to binarizefontsheet 2016-03-27 14:38:37 -04:00
Matt Hill
993c0c279e Removing prewarp for detection scan area. Already handled by calculating the area on every resize 2016-03-27 13:52:07 -04:00
Matt Hill
53dda59829 Added setMask function to main ALPR API 2016-03-27 13:49:13 -04:00
Matt Hill
ac4ff70e96 Fixed indent 2016-03-27 13:48:58 -04:00
Matt Hill
063596f2bc Removed unused function in alpr_impl 2016-03-27 13:48:51 -04:00
Matt Hill
350c871aa6 Always resizing the detection mask to match the input image 2016-03-27 13:48:25 -04:00
Matt Hill
68ec0022f9 Fixed region_is_masked function to correctly respond if region is masked 2016-03-27 13:46:49 -04:00
Matt Hill
306df68f3a Checking detection region against mask before allowing it through 2016-03-27 13:46:01 -04:00
Matt Hill
493155a37a Using unsigned int for loop 2016-03-27 13:45:09 -04:00
Matt Hill
677dc4667d Replace CMAKE_INSTALL_PREFIX from default config if it hasn't been swapped out by CMAKE 2016-03-25 09:12:24 -04:00
Matt Hill
747acb6d96 Allow main config file to be missing, as long as default is available 2016-03-25 09:12:05 -04:00
Matt Hill
510b39ceb6 Updated debian config with new default config files 2016-03-21 17:15:37 -04:00
Matt Hill
786cebf137 Added missing debug_prewarp option to config 2016-03-21 17:05:04 -04:00
Matt Hill
86c8bf0c51 updated config file location in unit tests 2016-03-21 17:04:46 -04:00
Matt Hill
95a0108bd8 Using a default alprd.conf file with an override in /etc/openalpr/alprd.conf 2016-03-21 16:51:55 -04:00
Matt Hill
4504921c14 Refactored openalpr.conf to use a default config file and allow an override
in /etc/openalpr/openalpr.conf.  
This makes upgrades easier, since the package can maintain the default config 
without overriding user settings
2016-03-21 16:50:20 -04:00
Matt Hill
41991a3d8d Added constructor argument to functions hidden by preprocessor 2016-03-21 13:40:26 -04:00
Matt Hill
431be0cc5a Added debug image when a detection mask is used 2016-03-21 11:56:47 -04:00
Matt Hill
ea96265d38 Using ROIs that have been run through prewarp 2016-03-21 11:56:24 -04:00
Matt Hill
090fcb6601 Use canny pruning for OCL detector 2016-03-21 11:55:50 -04:00
Matt Hill
de51cd2995 Fixed benchmark utilities to operate with updated detection interface 2016-03-14 23:03:34 -04:00
Matt Hill
4741299740 Reorganized the detection interface to simplify code and reduce boilerplate 2016-03-14 23:03:17 -04:00
Matt Hill
a0dff3d2af Integrated mask into detection code 2016-03-14 22:28:46 -04:00
Matt Hill
3096fa0da2 Split out projectRect function in prewarp 2016-03-14 22:28:22 -04:00
Matt Hill
c1018cb1ad Added toString function to prewarp 2016-03-14 22:28:08 -04:00
Matt Hill
3f6064c672 Using CANNY_PRUNING on Cascade to improve efficiency with masked sections 2016-03-14 22:27:38 -04:00
Matt Hill
de325d02df Including detectormask in compile 2016-03-14 22:27:04 -04:00
Matt Hill
7db326522c Moved prewarp initialization higher, initializing detector with prewarp 2016-03-14 22:26:49 -04:00
Matt Hill
9b27f5084e Updated detector API to pass in prewarp pointer 2016-03-14 22:26:18 -04:00
Matt Hill
8ace033746 Added seperate detector_types header 2016-03-14 22:25:22 -04:00
Matt Hill
849845d538 Using min chars config value for determining if chars should be combined 2016-03-14 22:24:35 -04:00
Matt Hill
7a1a9a671f Added detection_mask_image to config 2016-03-14 22:23:47 -04:00
Matt Hill
daa029b0cb Removed unnecessary variable 2016-03-13 21:55:32 -04:00
Matt Hill
949f22492a Merge branch 'patch-7' of https://github.com/SunAriesCN/openalpr 2016-03-13 21:55:12 -04:00
Matt Hill
7a5eb7d147 Explicitly double-adding the first OCR character 2016-03-13 15:50:14 -04:00
Matt Hill
df723c716a Merge branch 'patch-1' of https://github.com/alandtse/openalpr into alandtse-patch-1 2016-03-13 15:43:35 -04:00
Matt Hill
cced283f1e slight efficiency improvement. Exiting loop when below min chars rather than 0 2016-03-13 15:40:50 -04:00
Matthew Hill
d4e8b8116b Merge pull request #301 from SunAriesCN/patch-9
comment out some code look like unused.
2016-03-13 15:04:06 -04:00
Matt Hill
0a10773710 Handled a crash condition when no plate candidates score above the minimum threshold 2016-03-13 14:55:14 -04:00
Matt Hill
74c789187e Configured ALPR to use the analysis_count setting 2016-03-13 14:54:17 -04:00
Matt Hill
91091ba71e Added "analysis_count" config setting 2016-03-13 14:02:16 -04:00
Matt Hill
067bfc00a2 fixed parallel line being added in wrong direction 2016-03-11 17:17:47 -05:00
SunAriesCN
4aefb50f18 the mask maybe unused here.
the mask maybe unused here.
2016-03-10 15:52:04 +08:00
SunAriesCN
d219aadc14 Update charactersegmenter.cpp 2016-03-10 15:19:35 +08:00
SunAriesCN
ce3c95efd4 comment out some code look like unused.
I don't think the variable "isOn"  has a special change at this line.
2016-03-09 23:34:48 +08:00
SunAriesCN
a0ecb72232 Reduce the times for this loop
After the modification, I think the loop will break if pxLeniency is large enough.
2016-03-08 21:26:26 +08:00
Matt Hill
515ec50469 Added parameter to control high-contrast detection sensitivity 2016-03-07 13:05:43 -05:00
Matt Hill
8972e6373d Added high-contrast detection and edge finder 2016-03-07 12:59:30 -05:00
Matt Hill
78f6fb2b41 Added a few extra pixels to the top/bottom plate edge line guess 2016-03-07 12:56:37 -05:00
Matt Hill
687f1c86d1 Added utility function to rearrange rectangle points in top-left -> clockwise order) 2016-03-07 12:56:00 -05:00