Commit Graph

1279 Commits

Author SHA1 Message Date
jovargas
aa464a4366 Updated BR detector (improved with more samples). 2017-06-04 00:29:31 -03:00
jovargas
524a6e782d Delete old detector 2017-06-04 00:27:26 -03:00
jovargas
b5d4011f69 Added support for brazilian 2-line plates 2017-06-03 23:52:11 -03:00
jovargas
8c0371057d Added brazilian 2-line plates config 2017-06-03 23:48:15 -03:00
jovargas
fbaea39971 Add files via upload 2016-09-29 08:52:04 -03: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
Matt Hill
1efabe35bd math function code fixes for Windows compatibility 2016-06-17 10:12:07 -04:00
Matthew Hill
403bff6859 Merge pull request #368 from steffkes/eu-patterns-germany
german license-plates patterns
2016-06-17 07:57:35 -04:00
steffkes
d40717b7df add initial set of german license-plate patterns
tl;dr license-plates are typically composed of three parts. the city/
region where the plate was issued (one to tree letters) followed by a
random string (one to three letters too) and finally a random number
(one to four digits). the larger the city or region the shorter the
identifier they use. obviously having more cars to be registered, the
random letters and numbers are often longer/larger in those areas.

depending on the type of the car, implemented suffixes are:
H: Historic Cars / Oldtimers
E: Electronic Cards

wikipedia has a very long and detailed article which tries to explain
where all this comes from and why this is (still) needed:
https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Germany
2016-06-16 10:22:54 +02:00
Matt Hill
84de0eb046 Updated agent/web server install documentation 2016-06-12 15:05:44 -04:00
Matthew Hill
5b16e03328 Merge pull request #366 from steffkes/sorted-eu-patterns
sort eu-patterns by country
2016-06-12 11:09:56 -04:00