Commit Graph

597 Commits

Author SHA1 Message Date
Matt Hill
4924ba300b Removed OpenCL region detection code from master branch.
Will merge it back in when the video feature branch is ready
2014-05-06 18:54:33 -05:00
Matthew Hill
3ab0eaa2bd Updated Readme w/ links to compilation instructions 2014-05-06 18:16:00 -05:00
Matt Hill
7e2646aab0 Added mutex around OCR. Tesseract does not appear to be threadsafe 2014-05-04 15:18:17 -05:00
Matt Hill
d6c79299fb Fixed race condition bug on multithreading 2014-05-04 14:07:57 -05:00
Matt Hill
0bf3f674ee Fixes issue 26 "Make include guards unique"
https://github.com/openalpr/openalpr/issues/26
2014-05-02 20:23:47 -04:00
Matt Hill
9d9afa37fb Updated CMakeLists shared library build for Linux 2014-04-30 22:20:08 -04:00
Matt Hill
b51b4f61cf Updated CMakeLists.txt for Windows builds 2014-04-30 21:14:52 -05:00
Matt Hill
0858369b09 Added OpenALPR version in constants. Incremented to 1.1.0 2014-04-20 12:57:52 -05:00
Matt Hill
5e234fe039 Added 'make install' to project. Installs dynamic lib, alpr.h header, and alpr binary 2014-04-20 11:58:55 -05:00
Matt Hill
bd052aacf0 Creating dynamic and static openalpr libraries 2014-04-20 11:39:43 -05:00
Matt Hill
84e1df8c7c Added parameter for max plate rotation (was previously hardcoded at 10 degrees). Upped the default to 15 2014-04-08 15:11:11 -05:00
Matt Hill
a226d2bad1 Updated debug text to be more specific 2014-04-08 15:09:02 -05:00
Matt Hill
58d57fc12d Added a height filter to character analysis -- helps remove noise so that a good plate doesn't get rejected 2014-04-08 14:56:04 -05:00
Matt Hill
004f7a5bd8 Skipping OCR processing when num of possible characters is too small 2014-04-08 13:21:15 -05:00
Matt Hill
71bcf6169b Fixed segfault in debug mode caused by previous commit 2014-04-08 12:28:58 -05:00
Matt Hill
cd585de155 Removed commented code 2014-04-08 12:24:25 -05:00
Matt Hill
a35ab7c7fe Performance improvement -- stop processing filters if the character count is already 0. 2014-04-08 12:20:41 -05:00
Matt Hill
24468becab Increased EU character analysis range 2014-04-08 10:17:11 -05:00
Matt Hill
947fb939ce Improved binarization speed by ~15% with no change in output. Re-using row pointers as opposed to x,y getters/setters. 2014-04-07 20:42:26 -05:00
Matt Hill
21982b246b Updated MD 'treasure the chesapeake' plate format 2014-04-06 12:35:54 -05:00
Matt Hill
3518056dd6 Updated Maryland plate regions with Farmers/Chesapeake char formats 2014-04-06 12:28:21 -05:00
Matt Hill
8052e9fdc4 Moved image pause to always take effect if enabled 2014-04-06 12:22:06 -05:00
Matt Hill
7817810461 Added a pause_on_frame debug variable (useful for debugging video) 2014-04-06 12:19:40 -05:00
Matt Hill
47fa2504cb increased plate area dilation slightly 2014-04-06 12:13:28 -05:00
Matt Hill
39bce51413 Slightly less padding for ideal pixel width 2014-04-06 12:09:42 -05:00
Matt Hill
3861fe7553 Removed unused "cleanupColors" function 2014-04-06 11:58:27 -05:00
Matt Hill
a53a10965b Removed comment 2014-04-06 11:58:08 -05:00
Matt Hill
53b3d607ec Removed comment 2014-04-06 11:57:41 -05:00
Matt Hill
34bc0fb72d Plate lines --Replaced morphological OPEN/CLOSE with adaptivebilateralfilter -- gives us a better image for line detection
also masking out the entire char region, not just individually detected chars
2014-04-06 11:53:06 -05:00
Matt Hill
831bf8bcf0 Ignoring all black/white images in platelines (efficiency) 2014-04-06 11:29:18 -05:00
Matt Hill
7f1c1c8cd8 Sending gray image (rather than color) to platelines 2014-04-06 11:28:56 -05:00
Matt Hill
1651601829 Moved cleanupColors function over to the platelines class 2014-04-06 11:24:34 -05:00
Matt Hill
01095bd4dd Increased expansion of detected region by 5% 2014-04-06 11:13:46 -05:00
Matt Hill
c982ff9715 Merge branch 'develop' of github.com:openalpr/openalpr into develop 2014-04-04 17:19:31 -05:00
Matt Hill
95c6e59610 Detecting regions hierarchically. Starting with the biggest boxes, and then moving into their children if the bigger box was not detected. 2014-04-04 16:42:06 -05:00
Matt Hill
b1fd90161f Properly building hierarchical list of regions in teh detector 2014-04-04 16:41:18 -05:00
Matt Hill
59ffed9b23 Adding hierarchical plate regions. The goal is to minimize unnecessary processing of regions within regions 2014-04-04 15:37:06 -05:00
Matt Hill
e722f8a184 added back debug output to multithreaded implementation 2014-04-04 14:50:06 -05:00
Matt Hill
7d8921b1cf Fixed typo from merge 2014-04-04 14:09:22 -05:00
Matt Hill
4d9c955f36 Merge branch 'multithread' into develop
Conflicts:
	src/misc_utilities/CMakeLists.txt
	src/openalpr/CMakeLists.txt
	src/openalpr/alpr_impl.cpp
	src/openalpr/alpr_impl.h
	src/openalpr/config.cpp
	src/openalpr/config.h
2014-04-04 14:09:00 -05:00
Matt Hill
ec8fdc8aad Revert "Using multiple instances of OCR and state recognizer for multiple threads"
This reverts commit 29cb8fab21.
2014-04-04 13:58:53 -05:00
Matthew Hill
7819aa785e Merge pull request #19 from Silex/automate-easy-plates
Automate easy plates with 'W'
2014-04-02 18:28:24 -05:00
Philippe Vaucher
b548734fff Don't use "new" when it's not needed 2014-04-02 15:34:32 +02:00
Philippe Vaucher
526f777d6a Have country as command line argument 2014-04-02 15:29:24 +02:00
Philippe Vaucher
818d8a8309 Automate easy plates with 'W' 2014-03-31 10:04:01 +02:00
Matt Hill
1d92c1663d Added check to verify that file exists when input is given on standard in. If not, print an error message 2014-03-28 12:41:47 -05:00
Philippe Vaucher
d18e0e23b0 Only accept filenames in daemon 2014-03-28 16:15:03 +01:00
Philippe Vaucher
c62a76d6a8 Add daemon support 2014-03-28 10:10:49 +01:00
Matt Hill
0a41923da7 Masking characters from canny filter before doing the hough transform to detect plate edges.
This should reduce the noise a bit and get rid of spurious edges detected in the middle of the plate
2014-03-25 21:53:36 -05:00
Matt Hill
1a0b51d72f Removed code that unnecessarily eroded the character mask 2014-03-25 21:40:50 -05:00