I n d on e s i an   Jo u r n al   o El e c t r i c al   En gi n e e r i n g   an d   C o m p u te r   S c i e n c e   V o l .   15 ,   N o .   1 J ul y   201 9 ,   pp .   4 76 ~ 4 83   IS S N :   2502 - 4752 ,   D O I :   10. 1 1591 / i j e e c s . v 1 5 .i 1 . pp 476 - 483             476       Jou r n al   h o m e pa ge ht t p: / / i ae s c or e . c om / j our na l s / i nde x . php/ i j e e c s   Pa r k i n g   e n t r a n c e   c o n t r o l   u si n g   l i c e n se  p l a t e   d e t e c t i o n     a n d   r e c o g n i t i o n       M o h am e d   S .   F ar a g,   M .   M .   M o h i e   El   D i n ,   H .   A .   E l   S h e n b ar y   D e pa rt m e n t   o f   M a t h e m a t i c s ,   F a c ul t y   of   S c i e n c e ,   A l - A z ha r   U ni v e r s i t y ,   E gy pt       A r ti c l e   I n fo     A B S TR A C T   Ar t i c l e   h i s t or y :   R e c e i v e D e c   1 5 ,   2018   R e v i s e J a n   2 1 ,   201 9   A c c e pt e M a r   1 ,   201 9       T he r e   i s   no   do ubt   t h a t   c a r   pa r k i ng   i s   a   v e r y   c ha l l e ng i ng   a nd  i n t e r e s t i ng   t o pi c   o f   s ur v e i l l a nc e .   I t he   r e c e nt   y e a r s ,   a   l o t   o f   s m a r t   s y s t e m s   f o r   p a r k i ng   l o t   a c c e s s   c o nt r o l   w e r e   d e v e l o pe t o   c o nt r o l   a n r e g i s t e r   t he   c a r   d a t a .   T he   a i m   o f   t hi s   pa p e r   i s   t o   us e   i m a g e   pr o c e s s i ng   m e t ho ds   t o   c o nt r o l   t h e   e nt r a nc e   o f   a   s m a r t   pa r ki ng .   T h e   s t e ps   o f   c a r   pl a t e   r e c og ni t i o a r e :   pr e pr o c e s s i n g ,   L i c e ns e   pl a t e   de t e c t i o n,   c ha r a c t e r   e x t r a c t i o a nd  r e c o g ni t i o n.   I t he   s t e o f   pr e p r o c e s s i ng ,   i m a g e   w a s   e nha nc e a nd  no i s e   w a s   r e duc e d .     A f t e r   p r e pr o c e s s i ng   s t a g e ,   c o l o r   f i l t e r   w a s   u s e d   t o   de t e c t   t h e   p l a t e   r e g i o n.     I c a s e   o f   l a r g e   i m a g e   s i z e   D W T   w a s   u s e d   f o r   f e a t u r e   e xt r a c t i o a nd   de c r e a s e d   t h e   t i m e   o f   t he   de t e c t i o s t a g e .   I t he   s t a g e   o f   c ha r a c t e r   s e g m e nt a t i o n,   t h e   i m a g e   i s   c o nv e r t e f r o m   g r a y s c a l e   t o   bi na r y   a c c or di ng   t o   a   g i v e t hr e s ho l d.   F i l t e r i ng   t he   bi n a r y   i m a g e   a f t e r   us i ng   t he   m o r pho l o g i c a l   o pe r a t i o m e t ho d,   t h e   l a r g e s t   o bj e c t s   a r e   de t e r m i n e a s   t h e   s e g m e nt e d   p l a t e   c ha r a c t e r s .   F i n a l l y ,   t he   c o r r e l a t i o m e t ho w a s   us e t o   r e c og ni z e   t he   s e g m e nt e c ha r a c t e r s .   I c a s e   o f   s i m i l a r i t y ,   S V M   w a s   us e a s   a   g oo d   c l a s s i f i e r .   E xp e r i m e n t a l   r e s ul t s   us i ng   m a t l a b   s o f t w a r e ,   v i e w   t ha t   t he   pr o po s e d   m e t ho i nc r e a s e   t h e   p l a t e   de t e c t i o a nd   r e c o g ni t i o r a t e s .   I t   a c hi e v e a v e r a g e   97. 8 %   de t e c t i o r a t e ,   98 %   s e g m e nt a t i o r a t e   a n 97 %   r e c og ni t i o r a t e ,   s o   i t   w i l l   be   a   g oo m e t ho f o r   s m a r t   pa r k i ng   e n t r a nc e   c o nt r o l .   Ke y w or ds :   Int e l l i ge nt   t r a n s po r t a t i o s y s t e m s   L i c e n s e   pl a t e   de t e c t i o n   R e c o gn i t i o n   S e gm e n t a t i o n   S m a r t   p a r ki ng   C opy r i gh t   ©   201 9   I n s t i t ut e   o f   A dv anc e E ng i ne e r i ng   and   S c i e nc e .     A l l   r i gh t s   r e s e r v e d .   Cor r e s pon di n g   Au t h or :   M o h a m e d   S .   F a ra g,     D e pa rt m e n t   o f   M a t h e m a t i c s ,     F a c ul t y   of   S c i e n c e ,   A l - A z ha r   U n i v e r s i t y ,     N a s c i t y ,   11884 ,   Ca i r o ,   E gy pt ,   T e l :   0020 - 1 006 - 57 4 - 243 .     E - m a i l :   m o h a m e d. s . f a ra g@ a z ha r. e du. e g       1.   I N TR O D U C TI O N   T h e   i n d us t r i a l i z a t i o n   o f   t h e   w o r l d ,   s l o w   pa c e c i t y   de ve l o p m e nt ,   a nd  i n c r e a s e   i n u m b e r   o f   c a r s   ha s   r e s ul t e i n   pa rki ng  p r o b l e m s .   T h e r e   i s   a   n e e f o r   a   r o b us t   s y s t e m   t o   b e   us e fo r   s e a r c h i n t h e   f r e e   pa r ki ng  l o t s .   S m a rt   P a rki n g   S y s t e m   (S P S ),   i s   c o n s i de r e t o   b e   a   s m a l l   v e r s i o n   o f   a I n t e l l i ge n t   T ra n s po r t a t i o S y s t e m s   (IT S [1] .   T hi s   S P S   us i n g   I n t e rn e t   o f   T hi n gs   ( Io T ),   t o   r e duc e   t h e   p a r ki ng  c o n ge s t i o n .   In  [2]   a u t h o r s   i n t r o duc e a   m e t h o f o r   p a r ki ng  g ui d i n s y s t e m   a n s p a c e   a n a l y z i n g .   IO T   b e gi n   w i t t h i n gs   w h i c h   h a v e   i nde pe n de n t   c o nn e c t e de v i c e s .   T h e s e   de v i c e s   s h o ul b e   m o n i t o r e d,   o r   u n de r   c o n t r o l l e us i n c o nn e c t e c o m put e r s   [3 ] - [ 4].   W e   h a v e   c r e a t e a   s m a rt   pa r k i n g   gui da n c e   a l go ri t hm   i n   [ 5]  de pe n di ng  o n   a   c o s t   f un c t i o n.   I n   o r de r   t o   i de nt i fy   t h e   c a r s ,   i m a ge   p r o c e s s i n t e c hn i que s   a l s o   w a s   i n t r o duc e d.   T o   de t e c t   t h e   i l l e ga l   (u nr e s e r v e d)  c a r s ,   t h e y   us e O pt i c a l   c ha ra c t e r   r e c o gni t i o n   (O CR m e t h o d.   O CR   i s   us e t o   c o n v e r t   t h e   r o w   t e xt   a n do c um e n t s   (l i ke   t e xt   b oo ks i n t o   e l e c t r o ni c   r e a d a b l e   l e s   l i ke   (pdf ).   In   [6]  a   h y b r i f e a t ur e   e xt ra c t i o m e t h o w a s   i n t r o duc e f o r   f a c i a l   r e c o gn i t i o a nd  ga v e   a v e r a ge   r e c o gn i t i o ra t e   10 0%.   A n   a ut o m a t i c   c a r   pa r k i n s y s t e m   us i n g   F P G A   b a s e o n   e m e r ge n c y   c o n di t i o n s   w a s   pr o po s e t de t e c t   t h e   d r i v e r s   c o n di t i o n   a nd  pe r f o r m   s pe c i f i c   t a s ks   s uc a s   w a rn   t h e   d r i v e r s   [7] .   W e   w a n t   t o   us e   i m a ge   pr o c e s s i n t e c hni que s   i n   o r de r   t o   c o n t r o l   t h e   pa r ki ng  e n t ra n c e .   In   o r de r   t o   s o l v e   t h e   pr o b l e m   of  pa r k i n g   Evaluation Warning : The document was created with Spire.PDF for Python.
In do n e s i a J   E l e c   E ng  &   Co m S c i     IS S N :   2502 - 4752       P ar k i ng  e nt r a nc e   c ont r o l   us i ng   l i c e ns e   pl a t e   d e t e c t i on   and   r e c ogni t i o n   ( Moham e S.   F ar ag )   477   e n t ra n c e   m a n a ge m e nt ,   a   l o t   o r e s e a r c h   w a s   m a de .   A ut o m a t i c   L i c e n s e   P l a t e   D e t e c t i o n (A L P D i s   t a ut o m a t i c a l l y   de t e c t   t h e   l i c e n s e   r e gi o f r o m   a   gi v e n   i m a ge .   In   [8]  a n   A L P D   m e t h o c o n s i s t   of   f i ve   s t e ps   w a s   i n t r o duc e d   fo r   h a ndl i ng  di f f e r e n t   h a z a r do us   ra t e s .   T h e   pr e v i o us   A L P D   w a s   de v e l o pe a n t e s t e o n   da t a b a s e   c o n s i s t s   of   850  i m a ge s   i n   di f f e r e n t   c o n t r o l l e d   c o n di t i o n s   l i ke   ni g h t ,   i n do o r ,   b l u rr y ,   da y ,   r a i n y ,   fo gg y   a nd  t i l t e L P .   T h i s   m e t h o a c hi e v e   gl o b a l   94%   de t e c t i o n   ra t e ,   b ut   i t   c a b e   e nha n c e by   us i n g   a   l o t   o f   f i l t e r i n g   m e t h o ds .   In   [9 a   n e w   m e t h o pr e s e nt e t o   a ppl y   t h e   L P s y s t e m s   fo r   Ira ni a n   l i c e n s e   pl a t e s .   I n c r e a s i n t h e   a c c ur a c y   of   t h e   c h a ra c t e r   r e c o gn i t i o n   p ha s e   ra t e   a n de c r e a s i ng  t h e   t r a i n i ng  r a t e   a r e   t h e   m a i n   a dv a n t a ge s   of  t h e   n e w   h y b r i m o de l .   T h e   K - N N   w a s   i m p l e m e n t e a s   t h e   f i r s t   c l a s s i f i c a t i o m e t h o d;   t h e   c o n f us i o n   p r o b l e m   r e l a t e t o   s i m i l a r   c h a ra c t e r s   i n   t h e   l i c e n s e   pl a t e s   w a s   ove r c o m e   by   us i n t h e   m ul t i p l e   S V M s   c l a s s i f i c a t i o n   m o de l .   T h e   S V M s   h a s   i m p r o v e t h e   pe r f o r m a n c e   of   t h e   K - N N   i n   t h e   r e c o gn i t i o n   o s i m i l a r   c h a ra c t e r s .     T h e   S V M s   w a s   t ra i n e d   a n d   t e s t e o nl y   fo r   t h e   s i m i l a c h a ra c t e r s .   T h e   p r o po s e m e t h o ga v e   97%  c ha r a c t e r   r e c o gn i t i o r a t e .       2.   R ES EA R C H   M ET H O D S   2. 1 .       M o r p h o l o gi c al   O p e r at i o n   M o r p h o l o gi c a l   of   i m a ge   pr e p r o c e s s i n i s   a   s e que n c e   of   n o n - l i n e a r   o pe r a t i o n s   de pe n di ng  o n   t h e   m o r p h o l o g y   o r   s ha pe   o f   t h e   f e a t ur e s .   M o r p h o l o gi c a l   o pe r a t i o n   do e s   n o t   de pe n o n   t h e   n um e r i c a l   v a l ue s ,     b ut   de pe n ds   o t h e   r e l a t e o r de ri n g   o f   t h e   pi xe l   v a l ue s   a nd  s o   a r e   e s pe c i a l l y   e ffe c t i ve   t o   t h e   p r e p r o c e s s i n o b i n a r y   i m a ge s .   W e   w a n t   t o   t hi n   c o nn e c t i v i t i e s   b e t w e e n   l a rge   w h i t e   a r e a s   e xt e n de o ut e r   r e gi o n   o f   gi ve n   i m a ge s   a n r e m o v e   s m a l l   t hi n   w h i t e   o bj e c t s .   D ue   t o   t h e   pr e v i o us   n e e ds ,   m o r p h o l o gi c a l   o pe ra t i o n   [10]   (e r o s i o n ,   t h e n   di l a t i o n i s   a pp l i e o n   a   gi v e n   b i na r y   i m a ge   f .   In   t h e   e r o s i o n   s t e p:   e r o s i o n   i m a ge   f   b y   s t ruc t u r i ng  e l e m e nt   s   o ut pu t   a   n e w   i m a ge   ha v i n v a l ue s   o n e   i n   a l l   pi xe l s   ( x;   y of   a   s t ruc t u r i ng  e l e m e n t ' s   w h e n   s   f i t s   f .   I n   t h e   d i l a t i o n   s t e p:   di l a t i o o f   a   b i n a r y   i m a ge   by   a   s t r uc t u ri n e l e m e nt   s   o ut put   a   n e w   i m a ge   g   ha v i ng  v a l ue s   o n e   i n   a l l   pi xe l s   (x;   y of  a   s t r uc t u ri n e l e m e nt ' s   w h e n   s   hi t s   f .   F i gur e   s h o w   a n   e xa m pl e   of  hi t t i n g   a nd  f i t t i n g   a   b i n a r y   i m a ge .           F i gu r e   1 .   E xa m p l e   o f   h i t t i ng  a n d   f i t t i n g   a   b i na r y   i m a ge       2. 2     D i s c r e t e   W av e l e t   T r an s fo r m   W a v e l e t   t r a n s f o r m s   a r e   m a t h e m a t i c a l   f un c t i o n s   us e t o   c o n v e r t   da t a   i n t o   a   l o t   o f r e que n c y   c o m po n e n t s   a n e a c h   c o m po n e n t   i s   s t udi e w i t a   r e s o l u t i o c o rr e s po n di n g   t o   i t s   s c a l e .   W a v e l e t s   w e r e   pr e s e nt e i n de pe n de n t l y   i n   t h e   f i e l of  m a t h e m a t i c s   [11],   e l e c t r i c a l   e n gi n e e r i n a nd  qua nt u m   ph y s i c s .   In   t h e   l a s t   de c a de s ,   m a n y   n e w   w a ve l e t   a ppl i c a t i o n s   w e r e   a ppe a r e l i ke   i m a ge   c o m pr e s s i o n ,   p r e di c t i o n   of  e a rt h qu a ke s ,   t u r b ul e n c e ,   ra da a nd  h u m a v i s i o n.   T h e   m o t h e r   w a v e l e t   de c o m pos i t i o n   f u n c t i o f o r   a n   i m a ge   i s   de f i n e a s :     Ψ , ( ) = 1 = 0 1 = 0 ( , ) e x p  (  +  )      (1)     W h e r e ,     e x p  (  +  )    i s   a   K e rn e l   f u n c t i o n,   ( , )   i s   a 2D i m a ge ,   a n d     i s   c o unt   o f   pi xe l s .   T h e   W a v e l e t   t r a n s f o r m   i s   a   us e f ul   c o m put a t i o na l   t o o l   fo r   a ppl i c a t i o n s   o s i gn a l   a n i m a ge   pr o c e s s i n [12] .   D W T   i s   us e i a   w i de   r a nge   i p a t t e rn  r e c ogni t i o a r e a   [13 ] ,   [ 14] .   Evaluation Warning : The document was created with Spire.PDF for Python.
                                IS S N :   2502 - 4752   In do n e s i a J   E l e c   E ng  &   Co m S c i ,   V o l .   15 ,   N o .   1 J ul y   201 9   :     4 7 6   -   4 8 3   478   F i gu r e   v i e w   a n   e xa m pl e   o D W T   o n e   l e ve l   de c o m po s i t i o n .   L L de s c r i b e s   a ppr o xi m a t e   i n f o r m a t i o n,   L H de s c r i b e s   H o r i z o n t a l   i n f o rm a t i o n,   H L de s c r i b e s   v e r t i c a l   e dge   i n f o r m a t i o n ,   a n f i n a l l y   t h e   di a go n a l   i n f o r m a t i o i s   p r e s e nt e by   H H 1.           F i gu r e   2 .   D W T   c o e ff i c i e n t s       3.   P R O P O S ED   M ETH O D   T h i s   pa pe r   p r e s e n t s   a   h y b r i f ra m e w o r f o r   r o b us t   l i c e n s e   pl a t e   de t e c t i o n   a n r e c o gni t i o n   s y s t e m .   F i gu r e   v i e w   t h e   ge n e ra l   s t e ps   o f   A L P R   s y s t e m .           F i gu r e   3 .   G e n e ra l   s t e ps   o f   A L P R   s y s t e m       3. 1 .       I m age   A c q u i s i ti o n   F i gu r e   s h o w   h o w   t o   ge t   t h e   c a i m a ge .   A   d i gi t a l   c a m e ra   i s   i n s t a l l e i n   t h e   e nt r a n c e   o f   t h e   p a r k i n g ,   t o   c o l l e c t   t h e   c a i m a ge .   O n c e   t h e   i m a ge   i s   c a pt u r e d ,   w e   di r e c t l y   g o   t o   t h e   n e xt   s t e (P l a t e   D e t e c t i o n ).           F i gu r e   4 .   I m a ge   a c qui s i t i o n   Evaluation Warning : The document was created with Spire.PDF for Python.
In do n e s i a J   E l e c   E ng  &   Co m S c i     IS S N :   2502 - 4752       P ar k i ng  e nt r a nc e   c ont r o l   us i ng   l i c e ns e   pl a t e   d e t e c t i on   and   r e c ogni t i o n   ( Moham e S.   F ar ag )   479   3. 2 .      P l a te   D e t e c t i o n   P l a t e   a r e a   e x t r a c t i o n   o r   de t e c t i o n   i s   t h e   m o s t   i m po r t a n t   s t e b e c a us e   t h e   l i c e n s e   pl a t e   i s   i n   a   s m a l l   r e gi o n   a n m a y   b e   a n y w h e r e   i t h e   g i v e n   i m a ge .   It   c a b e   de f i n e by   i t s   f e a t u r e s .   T h e   p r o po s e de t e c t i o n   m e t h o de pe n ds   o n   t h e   L i c e n s e   P l a t e   c o l o r .   T h e   go a l   o f   t he   de t e c t i o n   s t e i s   t o   m a r a a r e a   w i t h   hi g h e s t   pr o b a b i l i t y   of   h a v i n g   t h e   p l a t e .   T h e   de t e c t i o n   m e t h o de p e n ds   o n   t w o   L i c e n s e   Co l o r s (W h i t e   a n Y e l l ow   b a c kgr o un ds ) .   T h e   g i v e n   R G B   Im a ge   i s   c o n v e r t e t o   i nde i m a ge   us i n r gb 2i n d( f un c t i o n ,   t h e n   us e   t w c o l o r   f i l t e r.   W h i t e   r a nge   i s   (R   >   0: 5;   G   >   0: 3 ;   B   >   0: 81)  a nd  Y e l l ow   r a n ge   i s   (R   >   0: 3;   G   >   0 : 3;   B   <   0: 31) .   N ow   w e   s h a l l   r e m o v e   t h e   n o i s e   ob j e c t s   us i n b w a r e a o pe n ( f un c t i o n   t o   r e m o v e   ob j e c t s   s m a l l e r   t ha n   200 .   U s i n t h e   m o r p h o l o gi c a l   o pe r a t i o n   f o r   b o t h   e r o s i o n   a nd  di l a t i o n .   R e m o v e   obj e c t s   s m a l l e r   t h a 3500  pi xe l ,   t h e n   t h e   a r e a   w i t h   t h e   b i gge s t   s i z e   i s   de t e r m i n e a s   t h e   pl a t e   a r e a .   F i g u r e   v i e w   e xa m pl e   o f   de t e c t e pl a t e s   w i t t w o   c o l o r s   y e l l ow   a n d   w hi t e   b a c kg r o un ds .   T h e   de t e c t e d   a r e a   i s   c o n v e r t e f r o m   r gb   t gr a y   t o   b e   us e d   i n   t h e   s t a ge   of   c h a ra c t e r   s e gm e n t a t i o n   due   t o   t h e   f o l l o w i n (2) .       = 0 . 2989 + 0 . 5870 + 0 . 1140   (2)           F i gu r e   5 .   D e t e c t e pl a t e s       In   c a s e   o f   w h i t e   o r   y e l l ow   fo r e gr o un d   c a r ,   t h e   a r e a s   w i t h   t h e   s m a l l e s t   s i z e   a r e   e xt ra c t e d.   t h e   de t e c t e a r e a s   a r e   n o t   c o n s i de r e t o   b e   t h e   c o rr e c t   pl a t e   u nl e s s   t h e   s e g m e nt a t i o s t a ge   i s   a p pl i e d .   In   t hi s   c a s e ,   t h e   s e gm e n t a t i o n   s t a ge   i s   us e t o   c l a s s i fy   t h e   de t e c t e a r e a s .   T h e   a r e a   t ha t   c o n t a i n s   c h a ra c t e r s   i s   c o n s i de r e a s   t h e   c o rr e c t   p l a t e   a r e a .   F i gu r e   v i e w   e xa m pl e   o f   de t e c t e d   pl a t e s   w i t t w o   c o l o r s   y e l l ow   a n d   w h i t e .           F i gu r e   6 .   D e t e c t e pl a t e s   i n   y e l l ow   a n d   w h i t e   f o r e gr o u n d   Evaluation Warning : The document was created with Spire.PDF for Python.
                                IS S N :   2502 - 4752   In do n e s i a J   E l e c   E ng  &   Co m S c i ,   V o l .   15 ,   N o .   1 J ul y   201 9   :     4 7 6   -   4 8 3   480   3. 3 .       C h a r ac t e r   S e gm e n tati o n   In  t hi s   s t a ge   w e   h a v e   t h e   e xt ra c t e g ra y   pl a t e   a n d   w a nt   t o   s e gm e nt   t h e   c ha r a c t e r s .   F i gu r e   v i e w   t h e   S t e ps   o f   t h e   S e gm e nt a t i o n   s t a ge .   T h e   g i v e n   p l a t e   i m a ge   i s   c o n v e r t e d   f r o m   g ra y s c a l e   t o   B W   (b l a c a n d   w h i t e ) ,   b a s e o n   a   t hr e s h o l c o rr e s p o n d i n g   t o   t h e   f o l l o w i n g .      = { 1     > , 0     .       U s i n t w o   f i l t e r s   s t e ps :   a.   R e m o ve   t h e   s m a l l e s t   o b j e c t s   i n   t h e   b i n a r y   i m a ge ,   a n d   l e a v e   t h e   l a r ge s t   6   o bj e c t s .   b.   R e m o ve   ob j e c t s   w h i c h   a r e   n o t   i n   t h e   s a m e   v e r t i c a l   r a nge .     F i gu r e   v i e w   obj e c t   t o   be   r e m o ve d,   be c a us e   i t   i s   n o t   i t h e   s a m e   v e r t i c a l   r a n ge .   F i na l l y ,   t h e   s e gm e n t e c ha r a c t e r   i s   a s s i g n e t o   t h e   f i n a l   s t e (C ha ra c t e R e c o gn i t i o n ) .           F i gu r e   7 .   R e m o ve ob j e c t s       T h e   f o l l ow i n a l go r i t h m   i s   a   ps e udo   c o de   de f i n e s   h o w   t o   r e m o ve   ob j e c t s ,   w h i c a r e   n o t   c h a ra c t e r s .     A l g or i t h 1 P s e u d C od e   for   R e m o vi n n on   Ch a r a c t e r s     R e q u i r e O b j e c t s ,   O bj _ n u m ,   O bj _ r o w r a n g e   En s u r e N e w   O b j e c t s   1:   fo r   i = :   O b j _n u m   do   2: G e t   O bj e c t s   i   h e i gh t   a n d w i dt h   3: i O bj e c t s   i _ w i dt h   > O bj e c t s   i _h e i gh t t h e n   4: i f   O b j e c t s   i _ r o w r a n ge = O bj _ r o w r a n ge th e n   5: R e m o v e   O bj e c t s _i   f r o m   N e w O bj e c t s   6: e n d i f   7: e n d i f   8:   e n d fo r             F i gu r e   8 .   S e gm e n t a t i o p r o c e s s   Evaluation Warning : The document was created with Spire.PDF for Python.
In do n e s i a J   E l e c   E ng  &   Co m S c i     IS S N :   2502 - 4752       P ar k i ng  e nt r a nc e   c ont r o l   us i ng   l i c e ns e   pl a t e   d e t e c t i on   and   r e c ogni t i o n   ( Moham e S.   F ar ag )   481   3. 4     C h a r ac t e r   R e c o gn i ti o n   In  t hi s   s t e p,   w e   h a v e   t h e   s e gm e nt e c h a ra c t e r s   a n d   w a nt   t o   re c o gn i z e   i t .   T h e   f o l l ow i n (3 )   w a s   us e fo r   c o m put i ng  c o rr e l a t i o r a t e   b e t w e e n   t w o   i m a ge s   A   a nd  B .     = (  ̅ ) (  ̅ ) ( (  ̅ ) 2 (  ̅ ) 2 )   (3)     W h e r e   b o t A   a n B   a r e   t h e   m e a n   o f   A   a n d   B   r e s pe c t i v e l y .   I n   c a s e   o f   s i m i l a r i t y ,   w h i c c a nn o t   b e   r e c o gn i z e us i n t h e   c o r r e l a t i o n   m e t h o d.   F o r   e xa m p l e   (D ,   O   a nd  0),   (B   a n 8)  a n (2  a nd  z ) ,   i n   t hi s   c a s e   f ur t h e r   t ra i ni n i s   n e e de d.   T h e   w a y   i s   t o   us e   S uppo r t   v e c t o r   m a c h i n e   (S V M ) ,   w h i c h   i s   de f i n e a s   a   l e a rni n g   m e t h o us e f o r   da t a   c l a s s i f i c a t i o n .   S V M   c o n s i de r e a s   a   s t a t i s t i c a l   c l a s s i f i c a t i o n   a l go r i t hm   a nd  w a s   pr o po s e by   C o r t e s   a n V a p ni k   [1 5].   S V M   b e c o m e s   po pul a r   b e c a us e   i t   ga v e   h i g h   ra t e   i n   ha n dw ri t t e n   di g i t   c l a s s i f i c a t i o n.   S V M   w a s   us e f o r   i m a ge   c l a s s i f i c a t i o n   i n   [16].   T hi s   a l go ri t hm   s e a r c h   f o r   t h e   m a x i m um   s e pa ra t i ng  h y pe r pl a n e ,   w hi c h   i s   de f i n e by   t h e   h y p e r pl a n e   w i t h   t h e   m a xi m um   di s t a n c e   b e t w e e n   t h e     t r a i ni n g   t upl e s .       4.   RE S U LTS   A N D   D I S C U S S I O N   In  t hi s   e xpe ri m e n t ,   w e   t e s t   t h e   a c c ura c y   a n d   e f f i c i e n c y   of   t he   s y s t e m .   T h e   w h i t e   c o l o r   pl a t e s   i m a ge s   a r e   t a ke n   f r o m   A O L P   da t a b a s e   [17]  c i t e i n   pa pe r   [18] .   T h e   y e l l ow   c o l o r   pl a t e s   a r e   c o l l e c t e f r o m   t h e   i n t e rn e t .   T h e   c a r   i m a ge s   da t a b a s e   h a s   di f f e r e n t   c o n di t i o ns ,   l i ke   b r i g ht n e s s ,   di f fe r e nt   fo n t   s i z e ,   s ha do w ,     l o w   c o n t r a s t ,   d i f f e r e n t   c a r   c o l o r s ,   d i f fe r e nt   f o n t   t y pe   a n di f f e r e nt   i m a ge s   s i z e .   T a b l e   v i e w   t h e   e xpe r i m e n t a l   r e s ul t s   o f   t h e   de t e c t i o n   s t e p.   I n   c a s e   of   w h i t e   b a c kgr o und  t h e   c o r r e c t   de t e c t i o n   ra t e   w a s   97. 4% ,   a n i n   c a s e   of  Y e l l ow   pl a t e   t h e   c o rr e c t   ra t e   w a s   9 7. 8 %.       T a b l e   1 .   E xpe r i m e nt a l   P l a t e   D e t e c t i o n   R e s ul t   L P   T y p e   N u m b e r   o f   I m a g e s   S u c c e s s   N u m b e r   S u c c e s s   Ra t e   A v e ra g e   I m a g e   S i z e ( P i x e l )   W h i t e - Bl a c k   117   114   9 7 . 4   6 4 0 * 4 8 0   Y e l l o w - B l a c k   46   45   9 7 . 8   1 0 2 4 * 7 6 8   T o t a l   163   159   9 7 . 5   ....       T a b l e   s h o w   t h e   c o m pa r i s o n   b e t w e e n   t h e   p r o po s e d e t e c t i o n   m e t h o a nd  o t h e r   r e po rt e pa pe r s .   T h e   r e po rt e pa pe r s   us e t h e   s a m e   da t a b a s e ,   a nd  w e   a dd  t he   da t a b a s e   of   y e l l ow   c o l o r   pl a t e s .   It   i s   c l e a r   t ha t   t h e   pr o po s e m e t h o o ut pe r f o r m   t h e   r e po rt e m e t h o i n   b ot h   c o r r e c t   de t e c t i o n   r a t e   a n e xe c ut i o n   t i m e   pe e a c h   i m a ge .       T a b l e   2 .   Co m p a r i s o w i t t h e   R e po r t e A rt i c l e s   No   Re fe r e n c e   Co rr e c t   Ra t e   A v e ra g e   E x e c u t i o n   T i m e ( S e c . )   S y s t e m   S p e c i f i c a t i o n   1   A z a m   e t   a l   [1 9 ]   8 6 . 1 5   0 . 4 5   C:   I n t e l   C o r e   2   D u o ,   2 . 2   G H z   S :   1 2 0 X 4 0   ( n o n - t i l t e d ),   8 0 X 5 5   (t i l t e d )   2   G h a h n a v i e h   e t   a l   [2 0 ]   9 5 . 5   0 . 0 9 6 8   C:   C o r e   2   Q u a d ,   2 . 6 7   G H z   S :   6 4 0 X 4 8 0   t o   2 0 0 0 X 1 5 0 0   3   T a d i c   e t   a l   [2 1 ]   9 4 . 4   -   -   4   P a n a h i   e t   a l   [2 2 ]   9 6 . 3   0 . 1 8   C:   I n t e l   C o r e   i 5 ,   2 . 2   G H z   S :   1 6 X 8 0   t o   2 5 X 1 5 0 8   5   P ro p o s e d   M e t h o d   9 7 . 5   0 . 1 2 3   C:   I n t e l   C o r e   i 3 ,   2 . 4   G H z   S :   6 4 0 * 4 8 0   t o   1 0 2 4 * 7 6 8       In   c a s e   o f   l a r ge   i m a ge   s i z e   (f o r   e xa m pl e :   2 000  19 50  pi xe l ) ,   D W T   w a s   us e be f o r e   de t e c t i o n   s t a ge .   D W T   ge n e ra t e   c oe ff i c i e n t s   (a pp r o xi m a t i o n,   h o ri z o nt a l ,   v e rt i c a l ,   di a go na l ) .   T h e   a pp r o xi m a t i o n   c o e ff i c i e n t   w a s   us e a s   t h e   t e s t   i m a ge ,   t h e n   t h e   de t e c t i o n   s t e w a s   a ppl i e d.   U s i n D W T   de c r e a s e   t h e   t i m e   of   t h e   de t e c t i o n   s t a ge   f r o m   0. 4 892   s e c o n ds   t o   0. 16 7,   a p p r o xi m a t e l y   67%   de c r e a s e   t i m e   r a t e .   A ppl y i n c h a ra c t e r   s e gm e nt a t i o n   s t a ge   o n   t h e   de t e c t e pl a t e s ,   t h e   e xpe r i m e n t a l   r e s ul t   g a v e   98%   c o r r e c t   s e gm e n t a t i o n   ra t e .   F o r   r e c o gn i t i o n,   pa t t e rn   w i t h   m a xi m u m   c o r r e l a t i o n   i s   us e a s   t h e   r e c o gn i z e pa t t e rn.   I n   c a s e   of  s i m i l a ri t y ,   t h e   M ul t i S v m T ra i n()  f u n c t i o w a s   us e t o   m o de l s   a   g i v e n   t ra i ni n g   s e t   w i t h   a   c o rr e s po n di ng  g r o up  v e c t o r   a n c l a s s i f i e s   a   gi v e n   t e s t   s e t   us i n M u l t i S v m Cl a s s i f y ()  f un c t i o a c c o r di n g   t o   a   o n e   v e r s us   a l l   r e l a t i o n.   Evaluation Warning : The document was created with Spire.PDF for Python.
                                IS S N :   2502 - 4752   In do n e s i a J   E l e c   E ng  &   Co m S c i ,   V o l .   15 ,   N o .   1 J ul y   201 9   :     4 7 6   -   4 8 3   482   E a c h   c h a ra c t e r   i t ra i n i n g   s e t   ha s   3   i m a ge s .   T h e   d i f f e r e n t   K e rn e l   f u n c t i o n s   t e s t   r e s ul t s   s h o w e t h a t   t h e   b e s t   S V M s   f un c t i o f o r   t hi s   s t udy   i s   t h e   G a us s i a R a di a l   B a s i s   F u n c t i o n   (R B F ).   T h e   R B F   ke rn e l   i s   de f i n e d   a s :       ( , ) = e x p [ 2 ]   (4)     w h e r e   i s   a   s c a l i n pa ra m e t e r   t ha t   s e t s   t h e   s pr e a of   t h e   ke rn e l   a n d   i t s   de f a ul t   v a l ue   i s   1 .     T h e   c ha r a c t e r s   w hi c w e r e   c o n s i de r e a s   s i m i l a r   c h a ra c t e r s   (0,   D ,   O ) ,   (B ,   6 ,   8 ),   (S ,   5 a nd  (2 ,   Z ),   S V M   w a s   us e t o   b ui l dt h e   m o de l   f o r   e a c h   g r o up .   If   t h e   c o rr e l a t i o n   m e t h o ga v e   a n y   c h a r a c t e r s   o f   t h e m ,     t h e   M ul t i S v m Cl a s s i f y ()  w i l l   us e t o   c l a s s i fy   t h e   gi v e n   c ha r a c t e r s   us i n i t s   g r o up  m o de l .   S V M   ga v e   a v e r a ge   97%  r e c o gn i t i o ra t e ,   u nl i ke   t h e   c o rr e l a t i o n   m e t h o ga v e   94 c o rr e c t   r e c o gn i t i o r a t e .       5.   C O N C LU S I O N   In   t hi s   pa pe r   w e   pr e s e n t   a   h y b r i m e t h o t o   i m pr o v e   o n   t h e   c urr e n t   t e c hni que s   of   c a r   pl a t e   de t e c t i o a n r e c o gn i t i o n.   T h e   p r o po s e m e t h o de t e c t s   t h e   pl a t e   n u m b e r   i t w o   b a c kgr o un c o l o r     (W h i t e   a n Y e l l o w ).   T h e   de t e c t i o n   ra t e   w a s   i n c r e a s e t o   97. 8%.   I n   c a s e   of   b i i m a ge   s i z e   t h e   D W T   w a s   us e i n   t h e   p r e p r o c e s s i n s t a ge ,   w h i c h   de c r e a s e t h e   t i m e   c o n s um e i n   de t e c t i o n   s t a ge   w i t 67% .   I n   t h e   s e gm e n t a t i o n   s t a ge ,   pl a t e   c o n v e r t e f r o m   g r a y s c a l e   t o   b l a c k   a n w h i t e .   A   de f i n e f i l t e r   w a s   us e t o   r e m o ve   ob j e c t s   w h i c h   a r e   n o t   c ha ra c t e r s .   O b j e c t s   a r e   n o t   i n   t h e   s a m e   r o w   r a n ge ,   o r   t h e   w i dt h   i s   l a rge r   t h a n   h e i g h t .   F i na l l y   t h e   c o r r e l a t i o n   m e t h o w a s   us e t r e c o gn i z e   t h e   s e gm e nt e c h a ra c t e r s .   If   t h e   c ha r a c t e r   i s   de f i n e t o   b e   (D ,   0,   O ,   B ,   8 ,   Z ,   . . . w h i c h   ha s   s i m i l a ri t y ,   i n   t hi s   c a s e   S V M   us e f o r   c l a s s i f i c a t i o n.   S V M   ga v e   97%   r e c o gn i t i o r a t e   a nd  c o rr e l a t i o n   m e t h o ga v e   94%  r e c o gni t i o n   ra t e ,   w h i c h   m e a n s   t h a t   us i n S V M   i s   e s s e n t i a l l y   fo r   i n c r e a s i ng  r e c o gn i t i o ra t e .       R EF ER EN C ES   [ 1]   F .   S .   A .   M a hm ud ,   G .   M .   K ha n ,   M .   R a hm a n ,   a nd  H .   Z a f a r .   S ur v e y   of   I nt e l l i g e nt   C a r   P a r ki ng   S y s t e m J our nal   o f   A pp l i e R e s e ar c h   and   T e c hn ol o gy ,   2013 ,   v o l . 11,   p p.   71 4   -   72 6.   [ 2]   C .   S h i ,   J .   L i u ,   a nd   C .   M i a o .   S t udy   o P a r ki ng   S pa c e s   A na l y z i ng   a nd  G u i di ng   S y s t e m   B a s e o V i de o I E E E ,   23r d   I nt e r na t i ona l   C on f e r e nc e   on  A ut om at i o a nd   C om pu t i ng   ( I C A C ) ,   20 17,   p p.   1   -   5.   [ 3]   A .   K ha nna   a nd  R .   A na nd .   I o T   B a s e S m a r t   P a r k i ng   S y s t e m I nt e r nat i ona l   C on f e r e nc e   on  I nt e r ne t   of   T h i ng s   and  A pp l i c at i on s   ( I oT A ) ,   M a ha r a s h t r a   I ns t i t u t e   o f   T e c hno l o gy ,   P une ,   I ndi a ,   20 16,   p p.   26 -   270 .   [ 4]   T .   H .   H a m ,   M .   T s a i ,   D .   B .   N g u y e n,   C .   D o w ,   a n D .   D e ng .   C l o ud - B a s e S m a r t - P a r k i ng   S y s t e m   B a s e o I nt e r ne t - of - T hi ng s   T e c hno l o g i e s T he   j our n al   f or   r a pi o pe a c c e s s   p ubl i s hi n g ,   20 15 ,   v o l .   3,   p p.   15 81  -   159 1.   [ 5]   M .   S .   F a r a g ,   M .   M .   M o hi e   E l   D i n,   a n H .   A .   E l   S he nba r y .   S m a r t   P a r ki ng   G ui d a nc e   U s i ng   O p t i m a l   C o s t   F unc t i o n” C om put e r   an I nf or m a t i on  Sc i e nc e ,   P ubl i s he by   C ana di an  C e nt e r   of   Sc i e nc e   and  E duc a t i on ,   2017 ,   v o l . 10,   N o .   1 ,   pp .   4 -   53 .   [ 6]   H .   A l i ,   M .   H a r i h a r a n ,   S . Y a a c o b,   a nd   A bdul   H a m i d   A do m .   H y br i F e a t ur e   E x t r a c t i o f o r   F a c i a l   E m o t i o R e c og ni t i o n” I n t .   J .   I n t e l l i ge nt   S y s t e m s   T e c hn ol o gi e s   and   A p pl i c a t i ons ,   2 014 ,   V o l .   13 ,   N o .   3 ,   p p.   20 -   221 .   [ 7]   K .   J i ng   Y o ng  a nd  M ua t a z   H .   S a l i h.   D e s i g a nd  I m pl e m e n t a t i o o f   E m be dde A ut o   C a r   P a r k i ng   S y s t e m   U s i ng  F P G A   f o r   E m e r g e nc y   C o ndi t i o ns .   I ndo ne s i a n   J o ur n a l   o f   E l e c t r i c a l   E ng i n e e r i ng   a nd  C o m pu t e r   S c i e nc e ,   2 019 ,   V o l .   1 3,   N o .   3 ,   pp .   876 - 883 .   [ 8]   S . A z a m   a nd  M d M o ni r ul   I s l a m .   A ut o m a t i c   L i c e ns e   P l a t e   D e t e c t i o I H a z a r do us   C o ndi t i o n” J our nal   of   V i s ua l   C om m uni c at i on   a nd  I m age   R e p r e s e nt at i on ,   201 6,   v o l .   36,   N o .   S upp l e m e n t   C ,   pp .   172   -   1 86 .   [ 9]   S S .   T a br i z i a   a nd  N a d i r e C a v us .   H y br i K nn - S v m   M o de l   f o r   I r a ni a L i c e ns e   P l a t e   R e c o g ni t i o n” 12 t I nt e r n at i on al   C on f e r e nc e   on  A p pl i c a t i on   of   F u z z y   Sy s t e m s   an So f t   C om pu t i ng ,   ( I C A F S) ,   p ub l i s he d   by   E L S E V I E R ,   2016 ,   pp .   5 88   594 .   [ 10]   M .   G o y a l .   M o r pho l o g i c a l   I m a g e   P r oc e s s i ng I n t e r nat i o nal   J ou r nal   of   C om put e r   S c i e nc e   and  T e c h nol ogy 2011 ,   v o l .   2,   N o .   4,   p p.   16 -   165 .   [ 11]   R .   S .   S a b e e n i a n.   H a nd  W r i t t e T e xt   t o   D i g i t a l   T e xt   C o nv e r s i o U s i ng   R a do T r a n s f o r m   a nd  ba c P r o pa g a t i o N e t w o r ( R T B P N ) I n t e r na t i o nal   J our na l   of   C om pu t e r s   I nf o r m a t i on  T e c hnol ogy   an E ng i ne e r i ng  ( I J C I T A E ) 2010 ,   V o l .   101 ,   pp.   4 98  -   500 .   [ 12]   C h.   S r i ni v a s a R a o V .   A s ho K um a r ,   C .   D ha r m a r a j .   H y br i D i g i t a l   W a t e r m a r ki ng   A ppr o a c U s i ng  W a v e l e t s   a n L S B I n t e r na t i ona l   J our nal   o f   E l e c t r i c a l   and  C o m put e r   E n gi ne e r i ng  ( I J E C E ) ,   2 017 ,   V o l .   7 ,     N o .   5,   pp .   248 3 - 2495 .   [ 13]   M .   M .   M o hi e E l - di n ,   N .   I .   G ha l i ,   A .   G .   A hm e d,   a n H .   A .   E l - S h e nba r y .   S t udy   o t he   I m p a c t   o f   W a v e l e t   D e c o m p o s i t i o o F a c e   R e c o g ni t i o M e t ho ds I n t e r na t i ona l   J o ur nal   o f   C om put e r   A ppl i c at i on s   ( I J C A ) ,   201 4,   v o l .   87,   no .   3 ,   pp.   1 -   21 .   [ 14]   M .   M .   M o hi e E l - di n,   M .   Y .   E l - N a ha s ,   a n H .   A .   E l - S he nb a r y .   H y br i F r a m e w o r k   f o r   R o bus t   M u l t i m o da l   F a c e   R e c og ni t i o n” I nt e r n at i on al   J ou r na l   o f   C om put e r   Sc i e nc e   I s s ue s   ( I J C S I ) ,   2 013 ,   v o l .   1 0,   I s s ue   2 ,   no .   2,     pp.   47 -   476 .   [ 15]   C .   C o r t e s   a nd  V .   V a pn i k .   S u ppo r t   V e c t o r   N e t w o r k s .   M a c hi n e   L e a r ni ng ,   19 95 ,   v o l .   20 ,   no .   3 ,   pp .   273   -   29 7.   Evaluation Warning : The document was created with Spire.PDF for Python.
In do n e s i a J   E l e c   E ng  &   Co m S c i     IS S N :   2502 - 4752       P ar k i ng  e nt r a nc e   c ont r o l   us i ng   l i c e ns e   pl a t e   d e t e c t i on   and   r e c ogni t i o n   ( Moham e S.   F ar ag )   483   [ 16]   Y .   K ha l i Z a m i l ,   S .   A .   A l i ,   a n M .   A bdul l a N a s e r .   S pa m   I m a g e   E m a i l   F i l t e r i ng   U s i ng   K - N a nd  S V M I nt e r n at i on al   J o ur n al   o f   E l e c t r i c al   a nd  C om pu t e r   E n gi ne e r i n ( I J E C E ) ,   20 19,   V o l .   9 ,   N o .   1 ,   pp .   245 - 254 .   [ 17]   L P R   D a t a b a s e   [ o nl i ne ] .   A v a i l a b l e   f r o m :   " ht t p: / / a o l p r . nt us t . e du . t w / l a b/ do w nl o a d . h t m l " .   [ 18]   G .   S .   H s u,   J .   C .   C he n,   a nd   Y .   Z .   C hung .   A ppl i c a t i o n - O r i e n t e d   L i c e ns e   P l a t e   R e c o g ni t i o n” I E E E   T r an s ac t i ons   on  V e hi c u l ar   T e c hn ol o gy ,   2 013 ,   v o l . 6 2,   no . 2 ,   pp .   552   -   56 1.   [ 19]   S .   A z a m   a nd  M .   M .   I s l a m .   A ut o m a t i c   L i c e ns e   P l a t e   D e t e c t i o i H a z a r do us   C o ndi t i o n J our nal   o f   V i s ua l   C om m uni c at i on   a nd  I m age   R e p r e s e nt at i on ,   201 6,   v o l .   36,   p p.   17 1 86.   [ 20]   A .   E .   G ha hn a v i e h ,   A .   A m i r kha n i - S ha h r a k i ,   a nd  A .   A .   R a i e .   E nha nc i ng   t he   L i c e ns e   P l a t e   C ha r a c t e r   R e c og ni t i o M e ho ds   by   M e a n s   o f   S V M 22n I r an i an   C on f e r e nc e   on  E l e c t r i c al   E ng i ne e r i ng ,   2014 ,     pp.   22 2 25 .   [ 21]   V .   T a d i c ,   M .   P r o po v i c ,   a nd  P .   O dr y .   F uz z i f i e dg a bo r   F i l t e r   f o r   L i c e ns e   P l a t e   D e t e c t i o n” E ng i ne e r i ng  A ppl i c a - t i o ns   o f   A r t i f i c i a l   I n t e l l i ge nc e ,   201 6,   v o l .   48,   p p.   40   -   5 8.   [ 22]   R .   P a na hi   a n I .   G h o l a m po ur .   A c c ur a t e   D e t e c t i o a nd  R e c o g ni t i o o f   D i r t y   V e hi c l e   P l a t e   N um be r s   f o r   H i g h - S pe e d   A ppl i c a t i o ns I E E E   T r an s .   I n t e l l .   T r an s p .   Sy s t . ,   20 16,   p p.   1   -   13.   Evaluation Warning : The document was created with Spire.PDF for Python.