Commit Graph

1284 Commits

Author SHA1 Message Date
Matt Hill
66e1e6a181 Added prefix to is_loaded function 2016-10-18 20:54:52 -04:00
Matt Hill
a78c9ddf39 Added is_loaded function to C binding 2016-10-18 20:36:52 -04:00
Matt Hill
d2d07100ab Added a function to the C binding to free a char* pointer 2016-10-17 22:58:43 -04:00
Matthew Hill
90a4b2be0e Added windows DLL export to C lib 2016-10-17 16:09:27 -04:00
Matt Hill
2d8d3a2895 Added simple C binding 2016-10-16 22:10:20 -04:00
Matt Hill
c00e56bb2c Added vietnamese 2 line plates 2016-10-11 21:06:14 -04:00
Matt Hill
b7cc88f54c Updated Brazil conf and training data 2016-10-10 15:39:17 -04:00
Matt Hill
3553e8f034 Fix for multi-line plates ordering characters incorrectly 2016-10-10 13:59:03 -04:00
Matt Hill
07d4c1b052 Added improved brazilian plate detector from @jovargas 2016-09-30 14:09:48 -04:00
Matthew Hill
0e31964dd8 Update readme.md
Simplified install instructions for Ubuntu 16.04
2016-09-30 12:18:31 -04:00
Matthew Hill
285930b821 Merge pull request #402 from abankowski/java-interop
Enhance interop with Java
2016-09-27 22:17:49 -04:00
Matthew Hill
5e99c125e2 Merge pull request #401 from abankowski/master
Set locale to avoid numeric conversion issues
2016-09-27 22:15:58 -04:00
Artur Bańkowski
d6cea3c43e Enhance interop with Java
When working with JVM based language and OpenCV you may have a ptr to
the native Mat data. This binding allows passing it to the OpenALPR.

Usage:
Mat mat = ...
alpr.recognize(mat.dataAddr(), mat.channels(), mat.width(), mat.height())
2016-09-27 00:15:24 +02:00
Artur Bańkowski
0f07bba7dd Set locale to avoid numeric conversion issues
In certain locales decimal separator is comma instead of a dot.
Without this change OpenALPR will silently fail or produce
meaningless error from underlying OpenCV function.

Additionally json produced will not be valid.
2016-09-26 21:08:51 +02:00
Matt Hill
583f69acac Added Brazilian plate pattern 2016-09-23 11:06:41 -04:00
Matt Hill
04bd0e238d Added uscan config to debian packaging 2016-09-17 11:31:30 -04:00
Matt Hill
f23e4677a6 Updated debian changelog to 2.3.0 2016-09-17 11:28:59 -04:00
Matt Hill
b6a46efafe Added initial trained plate data for Brazil 2016-09-16 22:16:24 -04:00
Matt Hill
df63af1a9f Updated doc 2016-09-16 22:16:24 -04:00
Matthew Hill
ab1a9e20ab Merge pull request #398 from Max13/read_pipe
Added read from piped standard input support
2016-09-10 16:18:06 -04:00
Adnan RIHAN
99f99842c8 Added read from piped standard input support 2016-09-07 16:19:04 +02:00
Matt Hill
cd2aab098f Tracking and deleting thread pointers 2016-08-18 08:33:14 -04:00
Matt Hill
84ba8b1827 Merge branch 'patch-1' of https://github.com/bryongloden/openalpr into bryongloden-patch-1 2016-08-18 08:25:30 -04:00
Matt Hill
bf5b1849e2 Scaling the minimum detector size defeats the purpose of resizing the image 2016-08-08 15:36:19 -04:00
Matt Hill
7c0c50a00f Added france country training 2016-08-05 09:16:54 -04:00
Matthew Hill
c41b184c86 Merge pull request #387 from marktheunissen/go_json_typo
Typo img_witdh should be width
2016-08-02 21:45:19 -04:00
Mark Theunissen
207f072677 Typo img_witdh should be width 2016-07-31 11:34:44 +02:00
Bryon Gloden, CISSP®
2631c14c08 Update daemon.cpp
Sorry @matthill ! Although I made that change in https://github.com/openalpr/openalpr/pull/382 , I didn't test the library locally.

This new fix is building, and it is working when I test the library using:

wget http://i.imgur.com/pjukRD0.jpg -O lp.jpg
alpr lp.jpg
2016-07-21 14:08:35 -04:00
Bryon Gloden, CISSP®
426d863f90 Update daemon.cpp
[../openalpr-master/src/daemon.cpp:213]: (error) Memory leak: thread_upload
[../openalpr-master/src/daemon.cpp:216]: (error) Memory leak: thread_recognize

Found by https://github.com/bryongloden/cppcheck
2016-07-19 16:31:15 -04:00
Matt Hill
655cf99323 Incremented version 2016-07-17 16:15:59 -04:00
Matthew Hill
911e2be267 Merge pull request #379 from splewis1/patch-1
Update cameras.yaml
2016-07-17 15:54:31 -04:00
Matt Hill
3c3a50327b Tweaked timing function to work with vs2015 2016-07-17 09:50:44 -04:00
Matt Hill
3748a5a5b5 Disable statedetection by default -- speeds up compile and runtime load time 2016-07-09 10:40:10 -04:00
Matthew Hill
ef6b3ec21f Merge pull request #374 from mafonso/pt_incorrect_postprocess
Removed non-existent PT post processing patterns
2016-07-09 08:34:12 -04:00
splewis1
95fbbb1083 Update cameras.yaml
Added support for Avigilon (MJPEG/H264), Sony (H264) and IQeye(H264) streams.
2016-07-08 17:57:51 -04:00
Matt Hill
98b63df3b6 Using "?" character as a wildcard rather than a skip character.
Previously this was used inconsistently in us vs eu.  Skipping characters based on the pattern no longer necessary, since the OCR does this for us.
2016-07-08 15:03:21 -04:00
Miguel Afonso
7b7bafcba0 Removed non-existent PT postprocessing patterns
@@##@@ will be the next format but not until a few years from now.

There are reserved sequences on these formats, but the format remains the same for OCR purposes.
except a special format reserved for National Guard vehicles which is:

[G][N][R][BCEFGJLMPT]##
[G][N][R][BCEFGJLMPT]###
[G][N][R][BCEFGJLMPT]####

but not including these as they might not be relevant for most use cases.
2016-07-07 16:34:57 +01:00
Matt Hill
c379120d38 Specify Release mode explicitly 2016-07-03 16:08:36 -04:00
Matt Hill
0ba1cd7a37 Use line index rather than char region count to be more explicit 2016-07-03 16:08:21 -04:00
Matt Hill
5eaa67749b Separated the "segment" function call 2016-07-03 16:08:06 -04:00
Matt Hill
bd41ab0cfc Removed unused references to segmenter 2016-07-02 10:29:44 -04:00
Matt Hill
e4acb17c52 Abstracted OCR function to run from base class 2016-07-02 10:29:27 -04:00
Matt Hill
e3c88620b3 Segmenting inside OCR code 2016-07-02 10:28:38 -04:00
Matt Hill
b6469b015e Moved segmentation code to inside OCR 2016-07-02 10:27:26 -04:00
Matt Hill
075472a948 Parameterized min_confidence and skip_level 2016-07-02 09:01:27 -04:00
Matt Hill
f215f92a82 Added generic OCR wrapper for Tesseract 2016-07-02 08:37:15 -04:00
Matt Hill
e3979c77bc Merge branch 'master' of github.com:openalpr/openalpr 2016-06-17 10:15:42 -04:00
Matt Hill
a6b0e597b3 Ignore unit tests for Windows 2016-06-17 10:14:17 -04:00
Matt Hill
b49e694edb Updated export for Windows Go library 2016-06-17 10:12:58 -04:00
Matt Hill
cc24fe0406 Re-added timeval for newer Windows compilers 2016-06-17 10:12:30 -04:00