Commit Graph

106 Commits

Author SHA1 Message Date
Matt Hill
53dda59829 Added setMask function to main ALPR API 2016-03-27 13:49:13 -04:00
Matt Hill
7db326522c Moved prewarp initialization higher, initializing detector with prewarp 2016-03-14 22:26:49 -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
7fc6978fc9 Added compile toggle for statedetection library 2016-02-25 22:15:06 -05:00
Matt Hill
4735b5d89b Added prewarp reset by passing in empty prewarp config 2016-02-17 12:07:34 -05:00
Matt Hill
2baab3da2a Added setPrewarp() function to API. Resolves Issue #199 2016-02-14 16:31:02 -05:00
Matt Hill
eb2954e49f Added setCountry function to main API.
This allows the country to be changed without reloading the library and runtime_data
2016-02-14 15:58:04 -05:00
Matt Hill
65ffa5d560 Removed unnecessary NULL pointer checks per issue #251 2015-12-30 21:15:49 -05:00
Matt Hill
0c9ecd82a3 Added country to API results 2015-11-05 19:29:56 -05:00
Matt Hill
756234beb6 Added try/catch to image loading. Resolves issue #196 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
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
088cd3ceac Added state detector check 2015-09-30 22:04:12 -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
c4d35e4e8d Resolves issue #150 Automatically apply pattern matching for countries with only one pattern 2015-09-30 22:03:01 -04:00
Matt Hill
8bb3264072 Support analysis for multiple training data sets in a single pass.
Iterate over each training data set and choose the best scoring plate when there are overlaps
This is useful when countries may have multiple different plate styles (e.g., EU single line and EU multi-line)
2015-09-15 23:10:41 -04:00
Adi P.
8b50ebc1f1 Fixed best plate selection
When searching for best plate index if there are two results that matches the country template and if one of them is at index 0 than the second matching result will be selected as best result.
2015-09-01 14:11:14 +02:00
Matt Hill
8534e80af8 Added disqualification reason to debug output 2015-08-27 20:55:00 -04:00
Matt Hill
b145da1e85 Fixes issue #174 2015-08-10 23:20:37 -04:00
Matt Hill
83e8acd8d3 Updated code to use state ID library 2015-08-09 19:24:45 -04:00
Peter Rekdal Sunde
3ff3e31bf8 Bugfix: Stackoverflow. 2015-08-07 15:10:45 +02:00
Peter Rekdal Sunde
2fc60ae0be Add overload for regionsOfInterest. 2015-08-07 11:21:22 +02:00
Matt Hill
b77bea2f1d Added library initialization time. Resolves issue #161 2015-07-12 09:11:54 -04:00
Matt Hill
7a78d4a214 Removed unused confidence values and replaced with a disqualify boolean
The disqualify reason is purely for debugging.  This should help make it obvious why a plate candidate was rejected
2015-07-04 19:31:45 -04:00
Matt Hill
e8a3c4fb08 Removed results_character_details flag 2015-07-02 15:48:44 -04:00
Matt Hill
6e514b6f42 Fixed performance bugs related to character position lookup 2015-07-02 15:42:25 -04:00
Matt Hill
4114f325a0 Merge branch 'results_character_details' of https://github.com/psaintjust/openalpr into psaintjust-results_character_details 2015-07-02 14:54:43 -04:00
Matt Hill
6308048d84 Updated copyright 2015-07-02 14:23:16 -04:00
psaintjust
50f9d2d81a Added configuration option to output character details in results 2015-06-30 19:41:37 -04:00
psaintjust
e2a302d8f8 Refactored post processing to improve accuracy of alternative results 2015-06-28 10:31:33 -04:00
Matt Hill
bb3edc1b06 Fixed debug output for char boxes when multiple plates are found 2015-06-04 22:53:20 -04:00
Matt Hill
4b6d2cc6ec Added character bounding box and confidence to API output 2015-06-01 22:26:49 -04:00
Matt Hill
3fd5585c83 Removed debug messages 2015-05-30 10:31:46 -04:00
Matt Hill
be5c3b307c Fixed utf8 linking issue 2015-05-03 14:09:08 -04:00
Matt Hill
ca20a6c643 Using utf-8 character length rather than num bytes 2015-04-27 09:07:49 -04:00
Matt Hill
96135dfc56 Added prewarp to ALPR analysis 2015-03-28 13:13:38 -04:00
Matt Hill
51c0cf8eb2 Fixed pattern error message when no pattern provided 2015-03-18 19:00:30 -04:00
Matt Hill
147470cf50 Added warning if pattern is invalid 2015-03-17 23:11:56 -04:00
Matt Hill
f98a501c02 Using explicity bit-length for longs to prevent overflow 2015-03-17 00:22:02 -04:00
Matt Hill
39c4756ce7 Changed Linux timestamp behavior. Explicitly using CLOCK_MONOTONIC_RAW and CLOCK_REALTIME 2015-03-16 23:13:06 -04:00
Matt Hill
5904ace898 Fixed index out of bounds issue on plates w/ pattern that have elements that are < minimum characters 2015-02-26 19:56:34 -05:00
Matt Hill
f089722b41 Removed unnecessary initialization on setRegion function 2015-02-26 19:55:20 -05:00
Matt Hill
64e29675b2 Fixed crash on unload (delete) of uninitialized stateIdentifier 2015-01-11 22:15:42 -05:00
twelve17
3684402d8b Lazy load StateIdentifier. 2015-01-08 15:57:40 +00:00
Matt Hill
bc0c569f39 Updated copyrights to 2015 2015-01-06 08:23:03 -05:00
Matt Hill
30ee061e21 Fixed API bugs caused by missing RegionOfInterest values 2015-01-06 07:54:06 -05:00
Matt Hill
e01919dd3e Added config option to bypass detection.
If detection is bypassed, OpenALPR assumes the region provided is already a likely plate region
2014-12-27 21:40:09 -05:00
Matt Hill
88968cca48 Added plate_index on JSON serialize/deserialize 2014-12-10 22:20:15 -05:00