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 .   14 ,   N o .   2 M a y   201 9 ,   pp .   8 7 7 ~ 886   IS S N :   2502 - 4752 ,   D O I :   10. 1 1591 / i j e e c s . v 1 4 .i 2 . pp 877 - 886             877       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   A n d r o i d - b a sed  a u t o m a t i c   d e t e c t i o n   a n d   m e a su r e m e n t   sy st e m   o f   h i g h w a y   b i l l b o a r d   f o r   t a x   c a l c u l a t i o n   i n   i n d o n e s i a       R om i   F ad i l l ah   R ah m at 1 ,   S ar ah   P u r n am aw ati 2 ,   H an d r S ai to 3 ,   M u h am m ad   F ar i z   I c h w an 4   Tr i   M u r ti   Lu b i s 5   1 , 2 , 3 , 4 D e pa r t m e nt   o f   I nf o r m a t i o T e c hno l o gy ,   U ni v e r s i t a s   S um a t e r a   U t a r a ,   I ndo ne s i a   5 D e pa r t m e n t   o f   L a w ,   U n i v e r s i t a s   S um a t e r a   U t a r a ,   I ndo ne s i a       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 S e 28 ,   2 018   R e v i s e N o v   26 ,   2018   A c c e pt e D e c   10 ,   2 01 8       B i l l bo a r d s   a r e   o bj e c t s ,   t o o l s   o r   a c t i o ns ,   w hi c ba s e o t he   c ha r a c t e r i s t i c s   s e r v e   i t s   o w p ur po s e   t o   e a r n   p r o f i t s ,   a dv e r t i s e   c e r t a i pe o pl e   o r   s e r v i c e ,     a nd  t o   dr a w   pu bl i c s   a t t e n t i o by   pl a c i ng   i t   i a   v e r y   s t r a t e g i c   pl a c e .   I t   ha s   l e t he   g o v e r nm e nt   t o   c ha r g e   t a o bi l l bo a r d s   ba s e o i t s   l o c a t i o n,   di m e n s i o ns ,   a nd   v i e w po i n t s .   T he r e f o r e ,   a u t ho r i z e d   pa r t i e s   ha v e   t o   be   a bl e   t o   e ns u r e   t he   da t a   a ut h e n t i c i t y   o f   t he   pr o po s e bi l l bo a r d s .   O n e   o f   t he   o bs t a c l e s   i d a t a   v e r i f i c a t i o i s   t he   t i m e   o f   bi l l bo a r d s   m e a s u r e m e n t   pr o c e s s   due   t o   i t s   s i z e   a nd  h e i g h t   f r o m   t he   g r o und,   ba s e o t h i s   p r o bl e m ,   a nd  w e   d e v e l o pe a   s y s t e m   w hi c c a m e a s u r e   t he   d i m e ns i o ns   o f   bi l l bo a r ds   w i t ho u t   phy s i c a l l y   t o uc hi ng   i t   by   i m pl e m e nt i ng   i m a g e   p r o c e s s i ng   m e t ho ds   t o   i d e n t i f y   t he   bi l l bo a r ds .   T he   i m pl e m e nt a t i o i s   by   m e a s ur i ng   t he   d i m e ns i o ns   o f   t he   bi l l bo a r ds   us i ng   pe r s p e c t i v e   c o nc e pt ,   t he n   c a l c ul a t e s   t h e   d i s t a nc e   be t w e e n   t he   c a m e r a   a nd  t h e   o bj e c t   us i ng   t w o - po i nt   di s t a nc e   c a l c ul a t i o G P S   c oo r di na t e s .   T he   r e s ul t s   s ho w e t ha t   t he   di s t a nc e   c a l c u l a t i o us i ng   t he   G P S   m e t ho d   g e ne r a t e i na c c ur a t e   v a l ue s ,   w h e r e a s   t he   s y s t e m a t i c   di s t a nc e   m e t ho g e ne r a t e d   a   r e s u l t   o f   e r r o r s   r a ng e   f r o m   0 . t o   25  c m   i f   t h e   i m a g e   a c qui s i t i o i s   pe r f o r m e n e a r l y   pe r p e nd i c ul a r   t o   t he   o bj e c t .   Ke y w or ds :   A n d r o i d   B i l l b o a r de t e c t i o n   B i l l b o a r t a x   D i gi t a l   i m a ge   p r o c e s s i n g   P e r s pe c t i v e   pr o j e c t i o n   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 :   Ro m i   F a d i l l a R a hm a t ,     D e pa rt m e n t   o f   In f o r m a t i o n   T e c hn o l o g y ,   U n i v e r s i t a s   S um a t e ra   U t a ra ,   J l .   D r.   T .   M a n s u N o .   9 ,   M e da 20 155 ,   N o rt S um a t ra ,   I n do n e s i a .   E m a i l :   r o m i . f a d i l l a h@ us u . a c . i d       1.   I N TR O D U C TI O N     B i l l b o a r ds   a r e   o b j e c t s ,   t oo l s   o r   a c t i o n s ,   w h i c h   b a s e o n   t h e   c h a ra c t e ri s t i c s   s e r v e   i t s   o w n   pu r po s e   t e a rn  p r o f i t s ,   a dv e rt i s e   c e r t a i pe o pl e   o r   s e r v i c e ,   a n d   t o   d r a w   pub l i c ’s   a t t e nt i o by   pl a c i ng  i t   i n   a   v e r y   s t r a t e gi c   pl a c e   [1].   B i l l b o a r ds   c a n   b e   di s pl a y e d   i v a ri o us   t y p e s ,   s ha pe s ,   a nd  d i m e n s i o n s   s uc h   a s   m e ga t r o n s ,   V i de o t r o n,   po s t e r s ,   b a nn e r s ,   m o b i l e ,   pl a que s ,   e t c .     N ow a da y s ,   t h e   r o l e   o f   b i l l bo a r ds   ha s   b e c o m e   a n   e f fe c t i ve   c o m m u n i c a t i o n   s y s t e m ,   n o t   o nl y   fo r   t h e   m a n uf a c t u r e r s   b ut   a l s o   fo r   t h e   c o n s um e r.   T h e   c a p a b i l i t i e s   of   b i l l b o a r ds   a n o t h e r   p r o m o t i o n a l   t o o l s   i n   de l i v e r i n t h e   m e s s a ge   t o   c o n s um e r s   l e a t h e m   t o   pl a y   e s s e n t i a l   r o l e s   i n   t h e   s uc c e s s   of   t h e i r   c o m pa n y   i pr o m o t i n g   i t s   p r o duc t s   a n d   s e r v i c e s .   T h e   gr o w i n n u m b e r   o f   b i l l b o a r ds   ha s   l e t h e   go ve r nm e n t   t o   c h a r ge   t a xe s   t o   b i l l b o a r ds   b a s e o n   t h e i r   l o c a t i o n s ,   di m e n s i o n s ,   a n v i e w p o i n t s .   H ow e ve r ,   b e fo r e   t h e y   a r e   a b l e   t m e a s ur e   t h e   b i l l bo a r ds ,     t h e y   n e e t o   ob t a i n   t h e   a u t h o ri z a t i o n   f r o m   c e rt a i pa rt i e s   t o   e n s ur e   t h e   a ut h e nt i c i t y   of   c e r t a i b i l l b o a r ds .   F urt h e rm o r e ,   due   t o   t h e   l a r ge   s i z e   o f   i t ,   t h e   go v e r nm e nt   f i n d   i t   ha r d   a n d   d a n ge r o us   t o   ph y s i c a l l y   m e a s ur e   c e r t a i n   b i l l b o a r ds   b e c a us e   t h e i r   t o o l s   a r e   n o t   l o ng  e n o ug h,   t hi s   i s   w h e r e   t hi s   s y s t e m   c a n   b e   i m p l e m e nt e a s   a n   a l t e rna t i v e   i m e a s u r i n g   t h e   b i l l b o a r ds .   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 .   14 ,   N o .   2 M a y   201 9   :     877     8 86   878   T h e r e   a r e   m a n y   pi e c e s   of   r e s e a r c h   o n   o bj e c t   c a l c ul a t i o n   w i t h o ut   m e a s u r e m e n t   i n s t r u m e nt   us i n a   c a m e ra   o r   s m a r t p h o n e .   H ow e v e r ,   m o s t   o f   t h e i r   m e t h o ds   us e a r e   e i t h e a uxi l i a r y   o r   i n e f f i c i e n t .   O n e   o f   t h e m   i s   t h e   m e a s u r e m e nt   o f   ob j e c t   di s t a n c e   t o   c a m e ra   a n o b j e c t   di m e n s i o us i n g   a c c e l e r o m e t e o n   a   s m a r t p h o n e   by   s h i f t i n t h e   s m a rt p h o n e   a c c o r di n t o   t h e   l e n gt a nd  w i dt h   o f   t h e   o b j e c t   t o   f i n t h e   o b j e c t   s i z e   a n t o   s h i f t   f r o m   t h e   s t a rt i n po i n t   o f   t h e   s m a rt p h o n e   t o w a r ds   t h e   ob j e c t   t c a l c ul a t e   t h e   di s t a n c e   [4].   A l s o ,   t h e r e   i s   r e s e a r c w h e r e   t h e   c a l c u l a t i o o f   di s t a n c e   a n d   o bj e c t   s i z e   i s   c a l c ul a t e d   us i n g   t h e   s t e r e o   v i s i o n   i m a ge   c a pt u r e ,   a n t h e   di s t a n c e   of   a n   ob j e c t ' s   s i z e   i s   m e a s ur e by   c o m pa r i ng  t h e   w i dt h   a n h e i g h t   o f   obj e c t s   o b t a i n e f r o m   t w o   i m a ge s   f r o m   t w o   di ff e r e n t   c a m e r a s   [5] .   T h e r e   i s   r e s e a r c t ha t   us e s   a   m o r e   e f f i c i e n t   w a y   i n   w hi c t h e   m e a s u r e m e n t   p r o c e s s   us e s   o n l y   o n e   c a m e ra   f r o m   a   s m a rt p h o n e   w hi c h   t h e i s   i m p l e m e n t e t o   c a l c ul a t e   t h e   h e i g h t   o f   a   t r e e   us i n a   p r o po r t i o na l   t r a n s f o r m a t i o n .   W h e r e   t h e   t r e e s   a r e   l a b e l e w i t t w o   m a r ke r s   t o   s o l v e   t h e   m e a s u r e m e nt   p r o c e s s   [6].     O t h e r   r e s e a r c h   us e s   t h e   f o r m ul a   t o   f i n d   t h e   o r i gi na l   h e i g h t   o f   a n   o b j e c t   w i t pa ra m e t e r s   s uc h   a s   t h e   h e i g h t   of  t h e   ob j e c t   o n   t h e   i m a ge ,   t h e   h e i g ht   o t h e   s e n s o r ,   t h e   f oc a l   l e n gt h,   t h e   i m a ge   h e i g h t ,   a n t h e   di s t a n c e   of   t h e   ob j e c t   t o   t h e   c a m e r a   [7] .     T h e   t a xa t i o n   f e e   o n   b i l l b o a r ds   i s   b a s e o n   i t s   l o c a t i o n s ,   di m e n s i o n s ,   a n s e v e r a l   po i n t s   o f   v i e w .   A ut h o r i z e p a r t i e s   m us t   e n s u r e   t h e   d a t a   a ut h e nt i c i t y   of   t h e   pr o po s e b i l l b o a r ds   [11] .   O n e   o f   t h e   o b s t a c l e s   i da t a   v e r i f i c a t i o n   i s   w h e t h e   s i z e   o f   t h e   b i l l b o a r ds   i s   v e r y   b i g,   a nd  t h e   h e i g h t   f r o m   t h e   g r o u n i s   c o n s i de r a b l e .   S o   t h a t   a   s y s t e m   w h i c h   h a s   t h e   a b i l i t y   t o   m e a s ur e   t h e   di m e n s i o n s   o t h e   b i l l b o a r ds   w i t h o ut   m e a s u r i ng  i n s t r u m e nt s   i s   r e qui r e d .     1 .1 .     B i l l b o ar d   T ax   T h e   r e gi o n s '   a d m i ni s t r a t i o n   of f i c e s   i s s ue   t h e   t a xa t i o n   o f   b i l l bo a r ds   a n t h e   i m po s i t i o n   o f   b i l l b o a r t a i s   n o t   a b s o l ut e   i n   a l l   r e ge n c i e s   o r   c i t i e s   i n   I ndo n e s i a .   T h e   a dm i ni s t r a t i o n   o ff i c e   c o ul c h o os e   w h e t h e r   t i m po s e   t h e   t a t o   b i l l b o a r ds   o r   n o t .   T o   be   c o l l e c t e i a   r e ge n c y   o r   m u n i c i p a l i t y   a r e a ,   t h e   r e g i o n a l   go ve r nm e n t   m us t   f i r s t   i s s ue   a   l o c a l   r e gul a t i o n   c o n c e rn i ng  b i l l b o a r t a w hi c h   s ha l l   b e c o m e   t h e   o pe r a t i o n a l   l e ga l   b a s i s   i n   t h e   t e c hni c a l   i m pl e m e n t a t i o o f   p o s i t i o n i ng  a n c o l l e c t i n b i l l b o a r t a x   [2] .   T h e   f o r m ul a   t o   c a l c ul a t e   t h e   b i l l b o a r t a i s   b a s e o t h e   r e g i o n a l   r e gu l a t i o o f   M e da n   c i t y   n o .   2   o f   2004  [3]   a s   f o l l ow s .                                    W h e r e   T V   ( T a x a b l e   V a l ue i s   t h e   r e s ul t   o f   m ul t i p l i c a t i o n   b e t w e e n   t h e   a r e a   o f   a   b i l l bo a r d ,     t h e   i n s t a l l a t i o pe ri o a n d   t h e   r e n t a l   v a l ue   o f   t h e   b i l l b o a r d ,   S V   (S t r a t e gi c   v a l ue r e p r e s e n t s   a   v a l ue   t h a t   s e t   a t   t h e   i n s t a l l a t i o n   l o c a t i o n ’s   po i nt ,   a nd  25%   i s   t h e   o f f i c i a l   b i l l b oa r t a x   f e e .     1 . 2.     P e r s p e c ti v e   P r o je c t i o n   P e r s pe c t i v e   pr o j e c t i o n   i s   a   3 - di m e n s i o n a l   m a pp i n w h i c h   i s   c o n v e r t e i n t o   di m e n s i o n s .     M o r e ov e r ,   i t   ha s   t h e   s a m e   p ri n c i pl e   w i t h   t h e   w a y   h u m a v i s i o n   a nd  t h e   c a m e ra   w o r ks .   F r o m   F i gu r e   1 ,   t h e r e   i s   a   s t a n d a r f o r m u l a   i n   s e a r c h i ng  f o r   a   l a r ge   a n g l e   o f   Q .   T h e   f o r m u l a   f o r   t h e   l a r ge   a n g l e   o f   Q   c a b e   s e e n   i t h e   e qua t i o n s   b e l o w .           F i gu r e   1 .   P r o j e c t i o n   o f   3D   ob j e c t   i nt o   a   2D   o b j e c t       Z Y   = T a n Q     f Y   = T a n Q   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       A ndr oi d - bas e d   au t om at i c   d e t e c t i on   and   m e as ur e m e n t   s y s t e m   of   hi ghw ay   ( R om i   F adi l l ah   R ahm at )   879   W h e r e   Y   i s   t h e   o ri gi na l   h e i g h t   o f   t h e   o bj e c t ,   Z   i s   t h e   di s t a n c e   b e t w e e n   c a m e ra   a nd  o bj e c t ,   y   r e pr e s e n t s   t h e   ob j e c t   h e i g h t   o n   c a m e ra   a n f   i s   t h e   f o c a l   l e ngt h   o n   c a m e ra T h e   c o m b i n a t i o n   o f   bo t h   e qu a t i o n s   a b o ve   c r e a t e s   t h e   f o l l ow i n e qu a t i o n   due   t o   t h e   s a m e   s i z e   o f   t h e   a n gl e .     f y = Y Z     B a s e o n   t h e   p r e v i o us   e qua t i o n ,   t h e   o r i g i n a l   h e i g ht   o f   a n   o b j e c t   c a n   b e   fo un by   us i n t h e   f o r m e r   e qua t i o n   b e l ow   a n v i c e   v e r s a   w i t h   t h e   w i dt h   o f   a n   o bj e c t   us i n t h e   l a t t e r   e qua t i o n   w h e r e   W   i s   t h e   o r i gi na l   w i dt o f   t h e   o b j e c t   a n w   i s   o b j e c t ’s   w i dt h   o n   i m a ge s .     f   Z .   = Y     f   Z .   w   = W     T h e   r e qui r e v a r i a b l e s   s uc h   a s   t h e   h e i g h t   o f   t h e   o b j e c t   o n   t h e   c a m e ra   i n   p i xe l   s i z e ,   t h e   d i s t a n c e   b e t w e e n   t h e   c a m e r a   a n t h e   o bj e c t ,   a l s o   t h e   c a m e r a ' s   f oc a l   l e n g t h,   t h e   o ri gi na l   h e i g h t   o f   t h e   o b j e c t   c a n   b e   fo un us i n g   t h e   l a t t e r   e qu a t i o a b o ve .       2.   R ES EA R C H   M ET H O D   T h e   pr o po s e m e t h o fo r   i de n t i fy i n t h e   di m e n s i o n   o a   b i l l b o a r by   t h e   i m a ge   c o n s i s t s   of   s e v e r a l   s t e ps   w h i c a r e :   D e t e rm i ni n g   t h e   l a t i t ude   a nd  l o n gi t ude   po i nt   b a s e o n   G P S   i t h e   s m a rt p h o n e .   F r a m e   pe r   f r a m e   r e t ri e v a l   f r o m   s m a rt p h o n e   c a m e ra ;   G r a y - sc a l i ng;   N o i s e   r e d uc t i o us i n g   G a us s i a n   b l u r   [8].     E dge   de t e c t i o n   us i n Ca nn y   e dge   m e t h o d[10] ,   t h e e l i m i na t e   s m a l l   b l o b s   w i t h   e r o s i o n   a nd  d i l a t i o n .     Co n t o ur  s e a r c h   a n t a g gi n g   t ha t   ha v e   t h e   f o ur   m o s t   s ub s t a n t i a l   a n gl e s   a nd  w i dt h s ,   t h e n   c h a n ge   t h e   po s i t i o n   o t h e   o bj e c t   pe r pe n d i c ul a t o   t h e   c a m e ra   w i t h   pe r s pe c t i v e   t r a ns fo r m .   D e t e rm i n e   t h e   l a t i t ude   a n l o n g i t ude   a n d   c a l c ul a t e   t h e   d i s t a n c e   b e t w e e n   b o t h   l a t i t ude   a nd  l o n gi t ude   p o i n t .   S e a r c h   t h e   l e n g t h   a n d   w i dt h   o f   t h e   b i l l b o a r d   by   us i n p h y s i c s   o pt i c a l   f o r m ul a .   A f t e r   t h o s e   s t e ps   a r e   d o n e   b a s e o n   t h e   o b t a i n e l e n g t h   a n w i dt of  b i l l b o a r ds   c a n   c a l c ul a t e   t h e   t o t a l   b i l l b o a r t a t o   b e   i m po s e d   by   t h e   gov e r nm e nt .   D e t a i l e e xpl a n a t i o n s   o f   t h e   s t e ps   un de r t a ke n   w i l l   b e   e xpl a i n e i n   t h e   f o l l ow i n s e c t i on s .   T h e   ge n e ra l   a r c hi t e c t u r e   t h a t   de s c r i b e s   t h e   m e t h o i t hi s   r e s e a r c i s   s h o w n   i F i gu r e   2.           F i gu r e   2 G e n e ra l   a r c hi t e c t u r e   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 .   14 ,   N o .   2 M a y   201 9   :     877     8 86   880   2 .1 .     D ata   A c q u i s i ti o n   T h e   da t a   t ha t   us e i n   t h i s   s t udy   a r e   f r a m e   by   f r a m e   i m a ge   da t a   w h i c h   c o l l e c t e i n   r e a l - t i m e   m o de .   T h e   i m a ge   i s   t a ke n   b y   A n dr o i s m a r t p h o n e .   S e v e r a l   f a c t o r s   w h i c h   g i v e   i m pa c t   t o   t h e   qu a l i t y   of   t h e   i m a ge   a r e   c a m e ra ' s   qu a l i t y ,   e n v i r o nm e nt   l i g h t ni n g ,   t h e   o bj e c t   i n   f r o nt   of   t h e   b i l l b o a r d,   t h e   r a nge   b e t w e e n   c a m e ra   a n d   b i l l b o a r d,   a nd  t h e   a n gl e   of   t h e   c a m e r a   t o   t h e   b i l l b o a r d.   F o r   t hi s   pr o c e s s ,   w e   t oo k   30  b i l l bo a r i m a ge   a n us i ng  Ca t e r pi l l a r   H a n dp h o n e   w i t G P S   a n A - G P S   i n s i de ,   a u t h o r s   a l s o   us e G a r m i n   G P S   t o   i n c r e a s e   o ur  l o c a t i o a c c ur a c y .   W h i l e   i n   t e rm   o f   t h e   i m a ge   w e   t oo i t   us i n g   13  m e ga pi xe l s   c a m e r a   w i t h   1080x 1920  pi xe l   r e s o l ut i o n.     2 . 2 .     D e t e r m i n at i o n   o Lati tu d e   an d   Lo n gi tu d e   P o i n t   L a t i t ude   a n l o n g i t ude   po i n t   c a b e   i m pl e m e n t e d i r e c t l y   us i n t h e   a v a i l a b l e   c o de   o n   A n d r o i pr o g r a m m i n l i b r a r y   w h i c h   i s   L o c a t i o n M a na ge r   c l a s s .   A t   f i r s t ,   L o c a t i o n U pda t e   f un c t i o n   r e que s t   w i l l   b e   i m po rt e t o   ge t   t h e   i n f o r m a t i o n   o f   t h e   s m a r t p h o n e ’s   l o c a t i o n,   t h e n   c a l l i ng  t h e   ge t L a s t K n o w L oc a t i o n   f un c t i o n   t o   r e t ri e v e   t h e   o bj e c t   f r o m   L o c a t i o n   c l a s s   w h e r e   t h e   l a t i t ude   c a n   b e   ob t a i n e by   c a l l i n t h e   ge t L a t i t ude   f un c t i o a nd  t h e   l o n gi t ude   po i n t   by   c a l l i ng  t h e   ge t L o n gi t ude   f un c t i o n.     2 . 3.     P r e - p r o c e s s i n g   B e fo r e   go i n t o   t h e   n e xt   p h a s e   w h i c h   i s   t h e   i de n t i f i c a t i o o t h e   i m a ge ,   t h e   i m a ge   ha s   t o   go   t hr o ug h   s e v e r a l   s t e ps   i n   t h e   pr e - p r o c e s s i n w h i c h   i s   gra y - s c a l i n g ,   Ca nn y   e dge   d e t e c t i o n ,   i m a ge   m o r p h o l o g y   pr o c e s s   w h i c c o n s i s t s   o f   t w o   s u b - pr o c e s s   (di l a t i o n   a n e r o s i o n ) .   I t h i s   p r e - p r o c e s s   w e   us e t h e   O pe n CV   l i b r a r y   f o r   i m a ge   p r o c e s s i n g .   T hi s   pa rt i c u l a r   l i b ra r y   i s   pur po s e t o   do   i m a ge   p r o c e s s i n i n   v i de o   f r a m e s   i n   r e a l -   t i m e   m o de .   I t   c o n s i s t s   o f   400  f un c t i o n s   a n d   ra n gi ng  i n   28  a r e a s   o f   i m a ge   p r o c e s s i n a nd  a na l y s i s   [9] .     2. 3 .1     G r ays c al i n g   F r a m e   (i m a ge t h a t   w a s   ob t a i n e f r o m   t h e   c a m e ra   w i l l   b e   c o n v e r t e i nt o   a   gr a y s c a l e   i m a ge .     In  O pe n CV ,   t h e r e   i s   a   f u n c t i o n   t o   c o n v e r t   t h e   R G B   i m a ge   t o   gr a y s c a l e   i m a ge ,   i . e . ,   c v t Co l o r   () ,   o i t   c a b e   s h o w n   i t h e   f o r m ul a   b e l o w   [12]:                                                             T h e   r e s ul t   o f   t h e   c o n v e r s i o n   o f   R G B   i m a ge   v a l ue   t o   g r a y s c a l e   i m a ge   v a l ue   c a b e   s e e n   i F i g u r e   3 .                 F i gu r e   3 Co n v e r s i o p r o c e s s   o f   R CB   i m a ge   t o   a   g r a y s c a l e   i m a ge       2. 3 . 2     C an n Ed ge   D e t e c t i o n   A f t e r   r e m o v i n n o i s e   o n   a n   i m a ge ,   t h e   n e xt   p ha s e   i s   e dge   de t e c t i o n   us i n Ca nn y   E dge   D e t e c t o r   m e t h o d.   T h e   a l go ri t hm   i s   a s   f o l l o w 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       A ndr oi d - bas e d   au t om at i c   d e t e c t i on   and   m e as ur e m e n t   s y s t e m   of   hi ghw ay   ( R om i   F adi l l ah   R ahm at )   881   a)   Im pl e m e nt   n o i s e   r e duc t i o w i t 5x5   G a us s i a n   F i l t e us i ng  t h i s   e qua t i o b e l ow   :                            (   (                 )       (                 )         )                                   b)   A ppl y   S ob e l   ke r n e l   i h o ri z o nt a l   a nd  v e r t i c a l   pe r s pe c t i v e   a n ge t   i t s   f i r s t   de r i v a t i v e .   By   t h o s e   t w i m a ge s   w e   c a n   f i n d   t h e   e dge   g r a d i e n t   a n d   t h e   di r e c t i o n   f o r   e a c h   r e s ul t e p i xe l   a s   f o l l ow s :                                                               (         )     c)   S c a n   a l l   t h e   i m a ge   pi xe l   t o   r e m o v e   unn e c e s s a r y   pi xe l   w h i c h   i s   n o t   r e l a t e t o   t h e   e dge   by   us i n n o n - m a x i m u m   s upp r e s s i o n.   A f t e t ha t ,   w e   w i l l   ge t   e dge s   w i t h   a   t hi n   l i n e .   d)   D o   H y s t e r e s i s   T hr e s h o l di ng,   w h i c h   h a s   a   pu rpo s e   o f   r e c o n n e c t i n t h e   b r o ke t hi n   e dge s   p r o duc e i n   t h pr e v i o us   s t e ps .   In   O pe n CV ,   t h e   f un c t i o n   t o   do   Ca nn y   E dge   D e t e c t i o n   i s   Ca nn y ().   T h e   e xpl a na t i o n   o f   t h e   Ca nn y ()   f un c t i o i s   gi v e a s   f o l l o w s .     Ca nn y (s r c ,   ds t ,   t hr e s 1,   t hr e s 2 ,   a pe r t u r e S i z e )     T h e   pa ra m e t e r s   a r e   src   f o r   g ra y s c a l e   i n pu t   i m a ge ,   ds t     fo r   b i n a r y   o ut put   i m a ge   w i t h   a   de t e c t e e dge ,   t hr e s 1   r e p r e s e nt s   t h e   i ni t i a l   l i m i t   v a l ue   f o r   h y s t e r e s i s   p r o c e dur e ,   t hr e s 2     i s   t h e   f i na l   l i m i t   v a l ue s   f o r   h y s t e r e s i s   pr o c e dur e   a n ap e r t ur e S i z e   a s   t h e   i nt e ge r   v a l ue   t o   de t e r m i n e   t h e   m a t r i di m e n s i o n   o n   S o be l   o pe r a t o r.     Th e   r e s ul t   o f   e dge   de t e c t i o n   f r o m   a   g ra y s c a l e   i m a ge   us i n g   a   c a nn y   m e t h o c a b e   s e e n   i F i gu r e   4.           F i gu r e   4 C a nn y   i m a ge   de t e c t i o i m a ge       2. 3 .3     D i l ati o n   an d   Er o s i o n   T h e   ge n e ra t e e dge s   f r o m   c a nn y   e dge   de t e c t i o n   a r e   s t i l l   i n   da s h e a n u n de s i r a b l e   e dge     l i n e   r e m a i n e d .   T h e r e f o r e ,   di l a t i o a nd  e r o s i o n   a r e   r e qu i r e t o   c o m b i n e   a l l   t h e   da s h e e dge s   a nd  t o   e l i m i n a t e   s m a l l   l i n e s   t h a t   a r e   c o n s i de r e a s   e dge s .   T h e   f un c t i o n s   f o r   di l a t i o n   a nd  e r o s i o n   i O pe nCV   a r e   di l a t e ()  a n d   e r o de ()  r e s pe c t i v e l y .   T h e   e r o de ()  a n di l a t e ()  f un c t i o n s   h a v e   t h e   s a m e   pa ra m e t e r   y e t   gi v e   di ff e r e n t   o ut put .   T h e   e r o de   ()   a nd  d i l a t e   ()   f u n c t i o n s   c a n   b e   de s c r i b e a s   f o l l o w s :     D i l a t e (s r c ,   ds t ,   ke rn e l S i z e )   E r o de (s r c ,   ds t ,   ke rn e l S i z e )     T h e   pa ra m e t e r s   a r e   s r c   a s   t h e   b i na r y   i nput   i m a ge ,   ds t     fo r   t h e   di l a t e o r   e r o de o ut put   i m a ge   a n d   k e r ne l S i z e   r e p r e s e n t s   t h e   de t e rm i na t i o n   o f   m a t ri d i m e n s i o n   us e fo r   di l a t i o n   o r   e r o s i o n   p r o c e s s .   T h e   de f a ul t   v a l ue   f o r   ke rn e l   s i z e   i s   3x3 .   T h e   r e s ul t i n g   i m a ge   o f   t h e   d i l a t i o n   a nd  e r o s i o n   p r o c e s s   c a b e   s e e n   i F i gu r e   5.     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 .   14 ,   N o .   2 M a y   201 9   :     877     8 86   882         F i gu r e   5 E r o s i o n   a n d   di l a t i o i m a ge s       2 . 4 .     B i l l b o ar d   I d e n t i fi c at i o n   T h i s   s t a ge   i s   t h e   p r o c e s s e s   w h e r e   t h e   a pp l i c a t i o c a i de n t i fy   t h e   b i l l b o a r o b j e c t   t o   b e   t e s t e d.     2. 4 . 1     C o n tou r   Tr ac i n g   In   t h e   c o n t o ur   t ra c i n s t e p,   e dge   l i n e   t h a t   f o r m s   a   pl a n e   (c o n t o ur w i l l   b e   s t o r e t h e .   O pe nCV   pr o v i de s   a   f un c t i o n   t o   f i n t h e   c o n t o ur   w hi c h   i s   f i n dCo n t o ur ()  t ha t   p r o duc e   i de nt i f i e c o n t o ur   po i n t s   a s     t h e   o ut put .   T h e   i de n t i f i e po i nt s   c a n   b e   i l l us t ra t e us i ng  dra w Co n t o ur ()   f un c t i o n.   T h e   f i n d Co n t o u r ()  a n d   dra w Co n t o ur ()f u n c t i o n s   c a b e   de s c r i b e a s   f o l l ow s :     f i n dCo nt o ur (s r c ,   c o n t o u r s ,   h i e r a r c h y ,   m o de ,   m e t h o d)     T h e   pa r a m e t e r s   a r e   src   a s   t h e   b i n a r y   i n put   i m a ge ,   c on t our s   r e pr e s e nt s   t h e   i de nt i f i e c o n t o ur   c oo r di n a t e   po i nt   w i l l   b e   s t o r e i a   v e c t o r ,   h i e r ar c hy   i s   t he   o pt i o n a l   o ut p ut   v e c t o r   c o n t a i n e i n f o r m a t i o a b o ut   i m a ge   t o po l o g y m ode   fo r   t h e   c o n t o ur   po i n t s   de t e c t i o n   w h i c h   i s   us i n I m gp r o c . R E T R _L IS T   f o r   t hi s   r e s e a r c h.   W hi l e   m e t h o d   i s   t h e   c o n t o ur   a pp r o a c hi n m e t h o I n   t hi s   r e s e a r c h   us i n g   Im gp r o c . CH A IN _A P P R O X _N O N E   t ha t   o b t a i n   a n s t o r e   a l l   t h e   c o n t o ur   po i n t s .   T h e   i m a ge   of   a   c o n t o ur   de t e c t i o n   r e s ul t   c a b e   s e e n   i F i gu r e   6.           F i gu r e   6 Ide nt i f i e c o n t o u r   i m a g e       2. 4 . 2     F i l t e r   C o n tou r   A f t e r   t h e   c o n t o ur   i s   o b t a i n e d,   a   c o n t o u r   t h a t   do e s   n o t   m a t c h   t h e   de s i r e i m a ge   de t e c t i o n   i s   s t i l l   a v a i l a b l e .   T h e r e f o r e ,   i t   i s   n e c e s s a r y   t o   pr o c e s s   t h e   f i l t e r   o n   t h e   c o n t o ur   by   s e a r c h i ng  t h e   m o s t   s i gn i f i c a nt   a r e a   a n l o o ki n f o r   s o m e   a ngl e s   o r   c u r v e s   c o n t a i n e d   i e a c c o n t o ur   s o   t ha t   t h e   c o n t o u r   o b t a i n e i s   t h e   b i l l b o a r d   t h a t   w a n t s   t o   be   m e a s ur e d.   F u n c t i o n   i n   O pe n CV   t o   c a l c ul a t e   t h e   c o n t o ur   a r e a   i s   c o n t o ur A r e a ()  a n t h e   o n e   t f i n t h e   a n g l e   n u m b e r   i s   a pp r o xP o l y D P ().   T h e   f i l t e r   p r o c e s s   i s   do n e   b e c a us e   t h e   b i l l b o a r ds   m us t   h a v e   t h e   l a r ge s t   c o n t o u r   a r e a   a n r e c t a n gu l a r   s ha pe   o r   h a v e   fo ur   a n g l e s   o n   t h e   i m a ge   s o   t ha t   t h e   o t h e r   c o nt o ur   w i l l   b e   e l i m i na t e d .   T h e   f o l l ow i n g   e xpl a n a t i o o f   t h e   f un c t i o n   de s c ri b e a s   f o l l ow s .     c o n t o ur A r e a (c o n t o u r )     P a ra m e t e :   Co n t o ur  :   Co n t o ur  po i n t   t o   w hi c t h e   v a l ue   o f   t h e   a r e a   i s   c a l c ul a t e d.     a pp r o xP o l y D p(c o n t o ur ,   a pp r o xCu r v e ,   e ps i l o n,   c l o s e d)     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       A ndr oi d - bas e d   au t om at i c   d e t e c t i on   and   m e as ur e m e n t   s y s t e m   of   hi ghw ay   ( R om i   F adi l l ah   R ahm at )   883   T h e   pa ra m e t e r s   a r e   c ont o ur   a s   t h e   c o n t o u r   po i n t   i nput ,   a pp r ox Cur v e   f o r   t h e   o ut p ut   i n   t h e   f o r m   o c oo r di n a t e s   po i nt   o b t a i n e f r o m   t h e   a ngl e s ,   e ps i l on   i s   t h e   do ub l e   v a l ue   t ha t   de t e r m i n e s   t h e   v a l ue   o f   a c c ur a c y   i n   f i n di ng  a ngl e s   a n d   c l os e d   r e pr e s e nt s   t h e   b o o l e a n   v a l ue   t ha t   de t e rm i n e s   w h e t h e r   t h e   a n g l e s   a r e   c o nn e c t e o r   n o t .   T h e   i m a ge   o f   t h e   c o n t o u r   f i l t e ri n g   p r o c e s s   c a n   b e   s e e n   i F i gu r e   7.           F i gu r e   7 I m a ge   o f   t h e   c o n t o u f i l t e r i n g   p r o c e s s       2. 4 . 3     P e r s p e c t i v e   S e tt i n gs   B i l l b o a r ds   o bj e c t   a r e   n o t   e nt i r e l y   r e c t a n gul a r   b e c a us e   t h e   s h o t s   a r e   n o t   a l w a y s   pr e c i s e l y   pe r pe n di c ul a r   t o   t h e   b i l l b o a rds .   T h e r e f o r e ,   m i n A r e a R e c t ()  f u n c t i o n   i s   us e i O pe n CV   w i t h   b i l l b o a r d   c o n t o ur  t h a t   o b t a i n e f r o m   c o n t o u r   f i l t e r i n a s   t h e   pa ra m e t e r   t o   f i n a   r e c t a n gul a r   s h a pe   t h a t   m a t c h e s   t h e   s h a pe   of   t h e   b i l l b o a r c a u g h t   o c a m e r a .   T h e   r e c t a ngul a r l y   s ha pe r e s ul t   of   m i n A r e a R e c t ()  c a n   b e   s e e n   i n   F i gu r e   8 .           F i gu r e   8 R e s ul t   o f   m i n A r e a R e c t ()  f un c t i o n       2 . 5 .     C al c u l ati o n   o Bi l l b o ar d s   D i m e n s i o n   an d   Tax   C h ar g e s   2. 5 . 1     C al c u l ati o n   o B i l l b o ar d   D i m e n s i o n   T h e   c a l c ul a t i o n   o b i l l b o a r ds   di m e n s i o n   c a n   b e   c a l c ul a t e us i n pe r s pe c t i v e   pr oj e c t i o n   c o n c e pt .     T h e   w i dt h   a n h e i g h t   o f   t h e   o bj e c t   i n   t h e   i m a ge   w e r e   o b t a i n e f r o m   r e c t a n gu l a s h a pe b y   m i n A r e a R e c t ()  f un c t i o n.   I t hi s   r e s e a r c h,   t h e   f o c a l   l e n g t h   ha s   a   de f a ul t   v a l ue   w h i c h   i s   174 0.   S u ppo s e   t ha t   t h e   w i dt h   o f   t h e   ob j e c t   i n   t h e   i m a ge   i s   652  p i xe l s ,   t h e   h e i g ht   o f   i s   392  pi xe l s   a n t h e   o b j e c t   di s t a n c e   t o   t h e   c a m e r a   i s   400   c m ,   t h e t h e   o r i g i na l   w i dt h   a n d   h e i g ht   o f   t h e   o bj e c t   c a n   b e   c a l c ul a t e a s   f o l l ow s :                                                                                                                                       2. 5 . 2     C al c u l ati o n   o Tax   C h ar g e s   B i l l b o a r t a c ha r ge s   c a n   b e   c a l c ul a t e us i n e qua t i o n   (7).   S uppo s e   t h e   s a m p l e   b i l l b o a r i n   S e t i a   B udi   R d,   w h i c i s   a n   e l i t e   a r e a ,   t h e i t s   r e n t a l   v a l ue   R 9. 000, -   a nd  i t s   s t ra t e g i c   v a l ue   a t   R 30 . 00 0. 0 00, - T h e r e f o r e ,   t h e   t a c ha r ge s   t ha t   n e e t o   b e   pa i d   c a b e   c a l c ul a t e a s   f o l l ow s .             (   (                             )                   )                                                                                                                                                 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 .   14 ,   N o .   2 M a y   201 9   :     877     8 86   884   A s   t h e   t a c h a r ge   c a l c ul a t i o n   f i n i s h,   t h e n   t h e   d a t a   w i l l   b e   i n p ut t e i nt o   t h e   s y s t e m ,   w h i c h   w i l l   b e   us e t o   b e   c o m pa r e i n   a n o t h e r   i n s pe c t i o n .   T h i s   i s   t o   s o l v e   t h e   pr o b l e m   t ha t   s o m e t i m e s   t h e   s i z e   of   t h e   b i l l b o a r a n t h e   t a c a l c ul a t i o n   w h i c h   w a s   f i l l e i n s i de   t he   t a pa pe r   i s   w r i t t e n   d i f fe r e nt l y   f r o m   i t s   a c t ua l   s i z e   i t h e   f i e l d.       3.   R ES U LTS   A ND  A N A L Y S I S   In   t h i s   s e c t i o n,   w e   de s c r i b e t h e   r e s ul t   o f   t h e   s y s t e m   b a s e d   o n   t h e   e rr o r   o r   d i f fe r e n c e   b e t w e e n   i t s   o r i gi na l   s i z e   a nd  p r e di c t e s i z e   by   t h e   s y s t e m .   W e   a l s o   c a l c ul a t e   t h e   a c c ura c y   o f   t h e   s y s t e m ,   us i n 30  di f fe r e nt   b i l l b o a r ds   o f   di f fe r e nt   s i z e   a n l o c a t i o n.   B e fo r e   w e   pr o c e e d,   Fi gur e   a n F i gu r e   10  s h o w s   t h e   fi n a l   i n t e r f a c e   be fo r e   t h e   da t a   s e nd  t o     t h e   s e r v e r .   F i gu r e   s h ow s   t h e   f i n a l   c a pt u r e   o t h e   b i l l b o a r d,   w h e r e i n   t h i s   s t a ge   w e   a l r e a dy   h a v e   t h e   b i l l b o a r m e a s u r e m e nt .           F i gu r e   9 F i na l   c a p t u r e   t o   ge t   s i z e       F i gu r e   10 T a c a l c ul a t i o n       In   F i g u r e   10  w e   t oo t w o   c o o r di na t e s   b a s e o n   t w di ff e r e n t   l o c a t i o n ,   t h e y   a r e   a   b i l l b o a r l o c a t i o n,   a n t h e   p h o t o   w a s   t a ke n   l o c a t i o n.   T h e s e   t w o   l o c a t i o n   i s   us e t o   m e a s ur e   di s t a n c e   s o   t h a t   w e   c a n   ge t   t h e   r e a l   s i z e   o f   t h e   b i l l b o a r d,   i f   t h e   G P S   i s   n o t   w o r ki ng  c o rr e c t l y   w e   c a n   us e   t h e   c o l um n   f o r   m a n u a l   di s t a n c e   b a s e o n   e s t i m a t i o n.   O n c e   w e   ge t   t h e   ge n e ra t e da t a ,   i t   w i l l   b e   s a v e a n d   s e nd  t o   t h e   s e r v e r.   B a s e o n   t h e   r e s ul t s   i n   T a b l e   1,   w e   c a n   s e e   t h a t   t h e   b e t w e e n   b i l l b o a rd  a n i m a ge   a c qui s i t i o n   p l a y s   a n   i m po rt a nt   pa rt .   T h e   di s t a n c e   us ua l l y   i n   5 - 20  m e t e r s   b e t w e e n   t h o s e   t w o   po i n t s .   T h e   d i s t a n c e   w i l l   c o n t ri b ut e   t o   t h e   a ngl e   o f   t h e   i m a ge .   W e   ha v e   t o   c o n s i de t o   t a ke   b i l l b o a r i m a ge   a s   f l a t   a s   po s s i b l e .   W e   c a n   s e e   t ha t   b a s e o n   t h e   t a b l e   t h e r e   i s   a   d i f f e r e n t   e rr o i t e r m s   o f   w i dt a nd  h e i g ht   o f   t h e   i m a ge   i f   t h e   b i l l b o a r d’s   s i z e   l a r ge t ha n   3 00  c m ,   b i l l b o a r n o   4,   12 ,   21 ,   22 ,   ha s   e rr o r   v a l ue   o f   ±  10  -   20  c m ,   w hi c w i l l   a f fe c t   t a c a l c ul a t i o n   f r o m   t h e   s y s t e m .   H ow e ve r ,   i n   t h e   r e a l - l i f e   a ppl i c a t i o n ,   t h e   t a c a l c ul a t i o n   a nd  s i z e   m e a s u r e m e nt   o f   t h e   b i l l b o a r d   f r o m   o u r   s y s t e m   i s   c o n s i de r e e s t i m a t i o a nd  t o o l s   fo r   a   l e ga l   de c i s i o n   f r o m   t h e   ri g h t   a ut h o ri t y .   If   w e   a s s um e   t h e   l o us y   r e s ul t   t ha t   ha s   e rr o r   d i s t a n c e   v a l ue   i s   l a r ge r   t h a n   15  c m ,   w e   c a n   s a y   t h a t   o ut   of   30  t e s t i ng  i m a ge s ;   w e   w i l l   ha v e   25  g oo r e s ul t s   a nd  f i ve   b a r e s ul t ,   w hi c h   m e a n s   w e   ge t   83, 3%  a c c ur a c y   v a l ue .   H ow e ve r ,   i t   i s   s t i l l   a c c e pt a b l e   i n   t h e   r e a l - l i f e   i m pl e m e n t a t i o n ,   b e c a us e   us ua l l y ,   t h e   t a a u t h o ri t y   w i l l   c l a s s i fy   t h e   s i z e   o f   t h e   b i l l b o a r d   i nt o   a   pa rt i c ul a r   c a t e go r y .   T h e   G P S   a c c ur a c y   pl a y s   a n   e s s e n t i a l   r o l e   t o   m e a s ur e   t h e   c o rr e c t   s i z e   m e a s u r e m e n t .     T h e   de pe n de n c i e s   o f   a n   a c c ura t e   de v i c e   i s   a   m us t .   G P S   i n   a   s t a n d a r d   s m a r t p h o n e   s o m e t i m e s   w i l l   gi v e   l o us y   r e s ul t   a l s o .   H ow e ve r ,   i t   us u a l l y   gi v e s   a   pr o b l e m   w i t h   t h e   f i r s t   da t a   t a ke n ,   w hi l e   o n c e   r e c o r de i n   t h e   s y s t e m   i t   c a n   b e   c o n s i de r e f o r   t h e   n e xt   da t a   t a ke n .   A s i de   f r o m   t ha t ,   i m a ge   p r o c e s s i n i n   t h e   s y s t e m   gi ve s   g oo a c c ur a c y .   H ow e ve r ,   i m p r o v e m e n t   i s   a   m us t .   S o m e   o f   t h e   b i l l b o a r i m a ge s   ha v e   n o i s e   b e c a us e   of   o t h e ob j e c t s   i n   f r o n t   o f   t h e   b i l l b o a r d ,   s uc h   a s   c a b l e ,   l e a v e s ,   t r e e ,   o r   a n o t h e r   b i l l b o a r o b j e c t .   T h i s   p r o b l e m   w i l l   b e c o m e   o ur   n e xt   r e s e a r c h,   w hi c h   w e   a s s um e   c a b e   s o l ve i f   w e   a dd  m a c h i n e   l e a rni n g   t o   t h e   s y s t e m .   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       A ndr oi d - bas e d   au t om at i c   d e t e c t i on   and   m e as ur e m e n t   s y s t e m   of   hi ghw ay   ( R om i   F adi l l ah   R ahm at )   885   T a b l e   1 P r e - p r o c e s s i n R e s ul t   No   W i d t h   ( c m )   H e i g h t   ( c m )   P re d i c t e d   W i d t h   ( c m )   P re d i c t e d   H e i g h t   ( c m )   W i d t h   E rr o ( c m )   H e i g h t   E r ro r   ( c m )   1   240   50   2 4 7 . 6 5 5 2   5 1 . 4 9 4 2   - 7 . 6 5 5 2   - 1 . 4 9 4 2   2   240   120   2 4 0 . 5 5 1 7   1 1 8 . 9 8 8 5   - 0 . 5 5 1 7   + 1 , 0 1 1 5   3   140   50   1 3 7 . 6 0 3 4   4 8 . 6 4 3 7   + 2 , 9 6 6   + 1 , 3 5 6 3   4   400   100   4 1 0 . 2 9 8 9   1 0 4 . 2 4 7 1   - 1 0 , 2 9 8 9   - 4 , 2 4 7 1   5   120   80   1 2 2 . 3 6 2 1   7 4 . 0 1 1 5   - 2 , 3 6 2 1   + 5 , 9 8 8 5   6   400   130   4 0 2 . 0 4 0 2   1 2 8 . 9 6 5 5   - 2 , 0 4 0 2   + 1 , 0 3 4 5   7   150   150   1 5 2 . 3 4 0 3   1 5 1 . 0 9 3 8   + 2 . 3 4 0 3   + 1 . 0 9 3 8   8   200   150   2 0 5 . 0 9 3 3   1 4 7 . 9 0 9 3   + 5 . 0 9 3 3   - 2 . 0 9 0 7   9   150   90   1 5 7 . 0 8 7 9   9 2 . 9 3 1 2   + 7 . 0 8 7 9   + 2 . 9 3 1 2   10   300   200   3 0 3 . 0 3 9 3   1 9 8 . 0 3 8 2   + 3 . 0 3 9 3   - 1 . 9 6 1 8   11   350   400   3 5 9 . 0 5 4 5   4 1 5 . 8 3 7 4   + 9 . 0 5 4   + 1 5 . 8 3 7 4   12   450   200   4 7 7 . 7 2 3 2   2 0 5 . 9 3 8 4   + 2 7 . 7 2 3 2   + 5 . 9 3 8 4   13   200   200   2 0 3 . 6 7 3 4   1 9 4 . 2 3 1 1   + 3 . 6 7 3 4   - 5 , 7 6 8 9   14   240   220   2 4 0 . 9 8 5 3   2 0 3 . 2 1 8 2   + 0 . 9 8 5 3   - 1 6 , 7 8 1 8   15   125   90   1 2 6 . 0 8 2 1   9 7 . 4 9 3 2   + 1 . 0 8 2 1   + 7 . 4 9 3 2   16   140   100   1 4 6 . 3 7 6 6   1 0 0 . 2 3 4 5   + 6 . 3 7 6 6   + 0 . 2 3 4 5   17   200   150   1 9 5 . 7 3 5 7   1 5 3 . 3 2 3 6   - 4 , 2 6 4 3   + 3 . 3 2 3 6   18   200   150   1 9 6 . 9 3 7 4   1 5 1 . 3 9 4 7   - 3 , 0 6 2 6   + 1 . 3 9 4 7   19   300   150   2 9 1 . 8 1 1 5   1 4 8 . 0 5 1 7   - 8 , 1 8 8 5   - 1 , 9 4 8 3   20   400   250   4 0 0 . 6 5 8 4   2 5 5 . 3 2 3 8   + 0 . 6 5 8 4   + 5 . 3 2 3 8   21   450   250   4 7 2 . 8 3 7 4   2 5 3 . 4 9 3 3   + 2 2 . 8 3 7 4   + 3 . 4 9 3 3   22   400   250   4 2 3 . 2 3 2 9   2 5 2 . 3 2 3 3   + 2 3 . 2 3 2 9   + 2 . 3 2 3 3   23   300   200   3 0 7 . 8 9 4 3   2 1 2 . 6 8 3 2   + 7 . 8 9 4 3   + 1 2 . 6 8 3 2   24   200   150   2 0 5 . 0 0 2 3   1 5 3 . 3 9 4 8   + 5 . 0 0 2 3   + 3 . 3 9 4 8   25   150   90   1 5 2 . 9 3 8 4   9 3 . 4 8 3 4   + 2 . 9 3 8 4   + 3 . 4 8 3 4   26   300   150   3 0 1 . 9 3 8 3   1 5 0 . 2 6 4 9   + 1 . 9 3 8 3   + 0 . 2 6 4 9   27   400   100   4 1 5 . 6 2 5 4   1 0 0 . 3 4 9 5   + 1 5 . 6 2 5 4   + 0 . 3 4 9 5   28   240   100   2 4 8 . 3 8 4 5   1 0 7 . 0 8 4 5   + 8 . 3 8 4 5   + 7 . 0 8 4 5   29   250   150   2 5 0 . 4 3 8 3   1 5 5 . 3 9 4 8   + 0 . 4 3 8 3   + 5 . 3 9 4 8   30   140   50   1 4 7 . 5 3 2 3   5 2 . 2 3 5 6   + 7 . 5 3 2 3   + 2 . 2 3 5 6       4.   C O N C LU S I O N   F o l l ow i n t h e   r e s e a r c a nd  i t s   e xpe r i m e n t a l   a c t i v i t i e s   c o n duc t e d,   i t   i s   c o n c l ude t ha t :   a)   G P S   pl a y s   a e s s e n t i a l   p a r t   a s   a   r e f e r e n c e   i f i n di ng  d i s t a n c e s   due   t o   i t s   i n e f f i c i e n c y   a n i n a c c u r a c y   i ob t a i n i ng  t h e   d i s t a n c e   po i n t .   b)   T h e   c a l c ul a t i o n   o f   t h e   b i l l b o a r d’s   s i z e   c a n   b e   do n e   us i ng  pe rs pe c t i v e   pr o j e c t i o n   c o n c e pt s ,   a s   l o n g   a s   t h e   i m a ge   t a ke n   b y   t h e   us e i s   pe r pe ndi c ul a r   t o   t h e   b i l l b o a r d.   c)   T h e   r e c o gn i t i o n   o f   b i l l b o a r ds   us i ng  i m a ge   p r o c e s s i n i s   s t ro n gl y   o pp o s e du e   t o   m a n y   f a c t o r s   s uc a s   l i g ht i n g ,   t h e   s u rr o u n di ng  e n v i r o n m e n t ,   a   c o nt r a s t   o f   b i l l b o a r ds   c o l o r   w i t h   i t s   s u rr o u n di ng  e n v i r o n m e n t ,   a n t h e   pl a c e m e nt   o f   b i l l b o a r ds   t h a t   m a ke   t h e   e dge   de t e c t i o n   u n s ui t a b l e   a s   de s i r e d,   r e s ul t i ng  i unr e c o gn i z e b i l l b o a r ds .   B a s e o n   t h e   r e s e a r c h   c o n duc t e d ,   t h e   s ugge s t i o n s   t ha t   e xpe c t e t o   do   i f ur t h e r e s e a r c a s   f o l l ow s :   a)   U s e   a c c ur a t e   G P S   de v i c e   s o   t h e   m e a s u r e m e nt   w i l l   pe r f o r m   w e l l .   b)   In   i m a ge   p r o c e s s i n w e   h a v e   s e ve r a l   i s s ue s   i n   t h e   f ut u r e ,   t h e y   m e a s ur e   t h e   b i l l b o a r r e ga rdl e s s   o f   t h e   a n gl e   o t h e   c a pt u r e i m a ge ,   e l i m i n a t e s   o t h e r   n o i s e ,   i m pl e m e nt i n o t h e r   de t a i l e s e gm e nt a t i o n   t o   ge t   di f fe r e nt   a n d   b e t t e r   r e s ul t .   c)   Im pl e m e nt i n g   m a c h i n e   l e a rni n t o   r e c o gn i z e   t h e   b i l l b o a rd  i m a ge .       R EF ER EN C ES     [ 1]   R .   B u r t o n,   T ax a t i on .   J a k a r t a :   S T I E   P e r ba na s ,   199 8.   [ 2]   S .   W .   H ul u ,   B as i s   f o r   I m po s i t i on  of   B i l l bo ar T ax   I M e dan  C i t y   P ar k s   D e par t m e nt M e d a n:   U ni v e r s i t a s   S um a t e r a   U t a r a ,   20 12 .   [ 3]   M a j o r ,   M e da C i t y   R e g i ona l   R e gul a t i on   N o .   2   o f   2004 :   I n done s i an   B i l l bo ar d   T a x .   [ 4]   S .   L a o t r a kunc ha i ,   A .   W o n g ka e w ,   a nd  K .   P a t a nuk ho m ,   M e a s u r e m e nt   o f   S i z e   a nd  D i s t a nc e   o f   O bj e c t s   U s i ng   M o bi l e   D e v i c e s ,   i n   I n t .   C o nf .   on   S i gna l - I m age   T e c h no l ogy   &   I n t e r ne t - B as e d   Sy s t e m s ,   pp.   1 57 - 161 ,   2015 .   [ 5]   Y .   M .   M u s t a f a h ,   R .   N o o r ,   H .   H a s bi ,   a nd   A .   W .   A z m a ,   S t e r e o   V i s i o I m a g e s   P r o c e s s i ng   f o r   R e a l - t i m e   O bj e c t   D i s t a nc e   a nd   S i z e   M e a s u r e m e n t s ,   i I n t .   C o nf .   on   C om pu t e r   a nd   C om m uni c at i on   E n gi ne e r i ng ,   p p.   65 9 - 663,   2 012 .   [ 6]   D . H a n ,   a nd  C .   W a ng ,   T r e e   H e i g ht   M e a s ur e m e nt   ba s e d   o i m a g e   pr o c e s s i ng   E m be dde i S m a r t   M o bi l e   pho ne , "   i I n t .   C o nf .   on   M ul t i m e di T e c h no l ogy ,   pp .   3293 - 32 96 ,   2 011 .   [ 7]   A .   N .   M ur a l i ,   M a c hi ne   V i s i o f o r   G e ne r a l   C a m e r a s   f o r   Q ua l i t y   T e s t i ng   a nd  D i m e ns i o C a l c ul a t i o ns ,   i I n t .   J   of   M ode l i ng   an O p t i m i z at i on ,   v o l .   5 ,   no .   4,   pp .   295     29 9,   20 15 .   [ 8]   B o z kur t ,   F . ,   Y a ğ a no ğ l u,   M . ,   &   G ün a y ,   F .   B .   E f f e c t i v e   G a u s s i a n   B l ur r i ng   P r o c e s s   o G r a ph i c s   P r o c e s s i ng   U ni t   w i t h   C U D A .   I nt e r n at i on al   J o ur n al   o f   M a c hi ne   L e ar n i ng   an C om put i n g ,   v o l .   5,   no .   1 ,   pp:   57    6 1,   20 15.   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 .   14 ,   N o .   2 M a y   201 9   :     877     8 86   886   [ 9]   I o ne l ,   S . ,   A l e xa nd r u ,   I . ,   &   C a t a l i n ,   M .   A l g o r i t hm s   f o r   O bj e c t s   S ha pe   R e c o g ni t i o a nd  M e a s ur e m e nt   b e f o r e   G r i p pi ng .   T he   A nna l s   o f   ' ' D u nar e de   J o s ' '   U ni v e r s i t y   o f   G a l a t i ,   v o l .   1,   no .   2,   p p:   11    16 ,   201 1.   [ 10]   N i s h a ,   M e h r a ,   R . ,   &   S ha r m a ,   L .   C o m pa r a t i v e   A na l y s i s   of   C a nn y   a nd  P r e w i t t   E dg e   D e t e c t i o T e c hni q ue s   u s e i I m a g e   P r oc e s s i ng .   I n t e r na t i ona l   J ou r na l   of   E ng i ne e r i ng  T r e n ds   and  T e c hno l og y   ( I J E T T ) ,   v o l .   28,   no .   1,     pp:   48 - 53,   201 5.   [ 11]   S una r i m a hi ng s i h ,   Y .   T   e t   a l .   T he   s i g ni f i c a nc e   o f   B i l l bo a r i S e m a r a ng   C i t y ,   Sc i e nt i f i c   j our n al ,   v o l .   1 5,   no .   1 ,     pp:   44    58 ,   2013 .   [ 12]   R .   F .   R a hm a t ,   T .   C h a i r un ni s a ,   D .   G u na w a n,   a nd  O .   S .   S i t o m pul ,   S ki c o l o r   s e g m e nt a t i o us i ng   m ul t i - c o l o r   s pa c e   t hr e s ho l d ,   i 3r I n t e r na t i ona l   C on f e r e nc e   on  C om put e r   and  I nf or m at i on  Sc i e nc e s ,   I C C O I N 20 16  -   P r oc e e di ng s pp.   39 1 39 6,   20 16.         B I O G R A P H I ES   O F   A U T H O R S           R o m i   F a di l l a R a hm a t   i s   a   r e s e a r c he r   a nd  l e c t u r e r   i U ni v e r s i t a s   S um a t e r a   U t a r a .   C ur r e nt l y ,     he   i s   a   H e a o f   I nf o r m a t i o T e c hno l o gy   D e pa r t m e n t   i F a c ul t y   of   C o m put e r   S c i e nc e   a nd   I n f o r m a t i o T e c hno l o gy .   H e   f i ni s he d   hi s   u nde r g r a du a t e   a nd  m a s t e r   p r o g r a m   f r o m   U ni v e r s i t i   S a i n s   M a l a y s i a .   H i s   r e s e a r c i nt e r e s t   i s   i n   i m a g e   p r o c e s s i n g ,   de e l e a r n i ng ,   br a i n - l i k e   c om put i ng ,   i n t e r ne t   o f   t hi ng s   a n m o bi l e   c o m put i ng .   H e   a l s o   i nv o l v e a s   a e xpe r t   i t he   pr o j e c t   he l d   by   gov e r m e nt   i t h e   a r e a   o f   l o c a l   g ov e r m e nt   t a x   s y s t e m   a n i nv o l v e a s   a e xp e r t   w i t n e s s   f o r   po l i c e   c a s e s   r e l a t e d   t o   t h e   I C T   pr o bl e m s .           S a r a P u r n a m a w a t i   i s   a   r e s e a r c he r   a nd  l e c t u r e r   f r o m   U ni v e r s i t a s   S um a t e r a   U t a r a .   S he   r e c e i v e d   he r   ba c he l o r   de g r e e   f r o m   S T T H   H a r a pa n,   a nd  r e c e i v e he r   M a s t e r   D e g r e e   f r o m   U ni v e r s i t i   S a i n s   M a l a y s i a .   H e r   r e s e a r c i n t e r e s t   i s   i do m a i o f   D a t a   S c i e nc e ,   K no w l e dg e   M a na g e m e n t ,   D a t a   M i n i ng ,   a n M a c h i ne   L e a r n i ng           H a ndr a   S a i t o   i s   a   ba c he l o r   de g r e e   f r o m   U ni v e r s i t a s   S um a t e r a   U t a r a .   C ur r e n t l y   he   i s   a   j uni o r   pr o g r a m m e r   i P us a t   S i s t e m   I nf o r m a s i ,   U n i v e r s i t a s   S um a t e r a   U t a r a .   H i s   e x pe r t i s e   i s   i m o bi l e   pr o g r a m m i ng ,   j a v a   pr o g r a m m i ng   a n a na l y s i s   d e s i g n.             M uh a m m a F a r i z   I c hw a i s   s e ni o r   s o f t w a r e   a r c hi t e c t   i P us a t   S i s t e m   I nf o r m a s i .   H e   g r a dua t e s   f r o m   U ni v e r s i t i   S a i n s   M a l a y s i a ,   r e c e i v i ng   h i s   B a c he l o r   de g r e e .   H e   i s   a l s o   e xpe r t   a dv i s o r   i L o c a l   G ov e r nm e n t   T a C e nt e r   i M e d a n .   H i s   s p e c i a l i t y   i s   i s o f t w a r e   d e v e l o pm e nt ,   j a v a   a nd  m o bi l e   pr o g r a m m i ng             T r i   M ur t i   L ubi s   i s   a   l e c t u r e r   i U n i v e r s i t a s   S um a t e r a   U t a r a .   S he   i s   a l s o   a c t   a s   l a w   a dv i s o r   i n   s e v e r a l   c o m pa ny   i I ndo ne s i a .   S h e   g r a d ua t e s   f r o m   U ni v e r s i t a s   S um a t e r a   U t a r a   f o r   he r   unde r g r a du a t e   a n po s t g r a dua t e   s t ud i e s .   H e r   s pe c i a l   i n t e r e s t   i s   i c a pi t a l   m a r k e t   l a w ,   t a x   l e g a l ,   ba nkc r up t c y   l a w   a n bus i ne s s   c o nt r a c t   l a w .     Evaluation Warning : The document was created with Spire.PDF for Python.