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 .   21 ,   N o .   3 M a r c h   202 1 pp.   13 89 ~ 1 3 99   IS S N :   25 02 - 4752 ,   D O I :   10. 1 1591 / i j e e c s . v 21 .i 3 . pp 13 89 - 1 399             1389       Jou r n al   h o m e pa ge ht t p: / / i j e e c s . i a e s c or e . c om   R e a l   t i m e   f a c e   r e c o g n i t i o n   o f   v i d e o   su r v e i l l a n c e   sy st e m   u si n g   h a a r   c a s c a d e   c l a ssi f i e r       A d l an   H ak i m   A h m ad 1 ,   S h a r i fah   S ao n 2 ,   A b d   K ad i r   M ah a m ad 3 ,   C ah yo   D ar u jati 4 ,   S r i   W i w o h o   M u d jan ar k o 5 S u p e n o   M ar d i   S u s i k i   N u gr o h o 6 ,   M o c h am ad   H a r i ad i 7   1 I nde pe nde nt   R e s e a r c he r ,   S ha A l a m ,   S e l a ng o r ,   M a l a y s i a   2 , 3 F a c ul t y   o f   E l e c t r i c a l   a nd   E l e c t r o ni c   E ng i ne e r i ng ,   U ni v e r s i t i   T u H us s e i n   O nn   M a l a y s i a ,   M a l a y s i a   4 , 6 , 7 D e pa r t m e n t   o f   E l e c t r i c a l   E ng i n e e r i ng ,   I ns t i t u t   T e kno l o g i   S e pu l u N o pe m be r   ( I T S ) ,   S ur a ba y a ,   I ndo ne s i a   4 , 5 N a r o t a m a   U ni v e r s i t y ,   S ur a ba y a ,   J a w a   T i m ur   60 117 ,   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 J a 3 0 ,   2 020   R e v i s e O c t   17 ,   2 020   A c c e pt e N o v   29 ,   2020       T hi s   pr o j e c t   i nv e s t i g a t e s   t h e   u s e   o f   f a c e   r e c o g ni t i o f o r   a   s u r v e i l l a nc e   s y s t e m .   T h e   no r m a l   v i de o   s ur v e i l l a nc e   s y s t e m   us e s   i c l o s e d - c i r c ui t   t e l e v i s i o ( C C T V )   t o   r e c o r v i de o   f o r   s e c ur i t y   pur po s e .   I t   i s   us e t o   i de nt i f y   t he   i d e n t i t y   of   a   pe r s o t h r o ug t he i r   a p pe a r a nc e s   o t he   r e c o r de v i d e o ,   m a nua l l y .   T o da y s   v i de o   s ur v e i l l a nc e   c a m e r a   s y s t e m   us u a l l y   no t   o c c upi e d   w i t a   f a c e   r e c o g ni t i o s y s t e m .   W i t s o m e   m o di f i c a t i o n,   a   s u r v e i l l a nc e   c a m e r a   s y s t e m   c a be   u s e d   a s   f a c e   de t e c t i o a n r e c o g ni t i o t h a t   c a be   do ne   i r e a l - t i m e .   T h e   pr o po s e s y s t e m   m a ke s   us e   o f   s ur v e i l l a nc e   c a m e r a   s y s t e m   t ha t   c a i de n t i f y   t he   i de nt i t y   of   a   pe r s o a ut o m a t i c a l l y   b y   us i ng   f a c e   r e c o g ni t i o o f   H a a r   c a s c a de   c l a s s i f i e r .   T he   h a r dw a r e   us e f o r   t h i s   p r o j e c t   w e r e   R a s p be r r y   P i   a s   a   pr o c e s s o r   a nd  P i   C a m e r a   a s   a   c a m e r a   m o dul e .   T he   de v e l o pm e nt   o f   t hi s   pr o j e c t   c o ns i s t   o f   t hr e e   m a i ph a s e s   w hi c w e r e   da t a   g a t he r i ng ,   t r a i n i ng   r e c o g ni z e r ,   a nd  f a c e   r e c o g ni t i o p r o c e s s .   A l l   t h r e e   ph a s e s   ha v e   be e e x e c ut e us i ng   P y t ho pr og r a m m i ng   a nd  O pe nC V   l i b r a r y ,   w hi c h   ha v e   be e p e r f o r m e i a   R a s pb i a n   o pe r a t i o s y s t e m .   F r o m   t he   r e s ul t ,   t h e   pr o p o s e s y s t e m   s uc c e s s f ul l y   di s pl a y s   t he   o ut pu t   r e s ul t   o f   hum a f a c e   r e c o g ni t i o n,   w i t f a c i a l   a ng l e   w i t h i ± 40° ,   i n   m e d i um   a nd   no r m a l   l i g h t   c o ndi t i o n,   a n w i t hi a   d i s t a nc e   o f   0. t o   1. m e t e r .   T a r g e t e i m a g e   a r e   a l l o w e t o   w e a r   f a c e   a c c e s s o r y   a s   l o ng  a s   no t   c ov e r i ng   t he   f a c e   s t r uc t ur e .   I n   c o n c l us i o n,   t h i s   s y s t e m   c o ns i de r e d ,   c a r e duc e   t h e   c o s t   o f   m a npo w e r   i o r de r   t o   i d e nt i f y   t he   i de nt i t y   o f   a   pe r s o i n   r e a l   t i m e   s i t ua t i o n.   Ke y w or d s :   Cl o s e c i r c ui t   t e l e v i s i o n   F a c e   r e c o gn i t i o n   H a rr   c a s c a de d   c l a s s i f i e r   R a s pbe rr y   P i   S ur v e i l l a n c e   c a m e r a   T hi s   i s   an   ope n   ac c e s s   ar t i c l e   u nde r   t he   C C   B Y - SA   l i c e ns e .     Cor r e s pon di n g   Au t h or :   S ha r i f a h   S a o n   F a c ul t y   of   E l e c t r i c a l   a n d   E l e c t r o n i c   E n g i n e e r i ng   U n i v e r s i t y   T u n   H us s e i O nn   M a l a y s i a   86400  P a r i t   R a j a ,   B a t u   P a ha t ,   J o h o r,   M a l a y s i a   E m a i l :   ka d i r@ ut hm . e du. m y       1.   I N TR O D U C TI O N     V i de o   s ur v e i l l a n c e   s y s t e m   i s   us ua l l y   w o r w i t h   a   s ur v e i l l a n c e   c a m e ra   t o   r e c o r v i de fo r   s e c ur i t y   purpo s e .   T h e   w o r s ur v e i l l a n c e   i s   t h e   m o n i t o r i ng  o f   b e h a vi o r   o r   a c t i v i t i e s   f o r   t h e   pu r po s e   of   i n f l ue n c i n g ,   m a na gi ng,   d i r e c t i n g ,   o r   p r o t e c t i ng  pe o pl e   [1 - 5].   O b s e r v a t i o n   c a n   b e   do n e   f r o m   a   di s t a n c e   by   m e a n s   of  e l e c t r o n i c   e qui p m e nt   s uc h   a s   CCT V   c a m e ra s   [6 - 8]  o r   i n t e rc e pt i o n   o e l e c t r o ni c a l l y   t r a n s m i t t e i n f o r m a t i o (s uc h   a s   I n t e rn e t   t ra f f i c   o r   p h o n e   c a l l s ) .   S u r v e i l l a n c e   c a m e ra   us e t o   i de n t i f y   t h e   i de n t i t y   of   a   pe r s o n   t hr o ug h   t h e i r   a ppe a ra n c e s   o n   t h e   r e c o r de v i de o .   T h i s   s y s t e m   a l l ow s   de t e c t i o n   a nd  i de nt i f i c a t i o n   o f   pe r s o b y   r e c o gn i z e   i t s   f a c e .   By   us i n g   t h e   p r o po s e s y s t e m ,   t h e   i de n t i t y   o f   a   pe r s o c a b e   i de nt i f i e i r e a l   t i m 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 .   21 ,   N o .   3 M a r c h   2 021   :     1 3 8 9   -   1 3 9 9   1390   T o da y ,   t h e r e   a r e   a b o ut   770  m i l l i o n   s u r v e i l l a n c e   c a m e ra s   w orl dw i de   w i t h   54 o f   t h e s e   c a m e r a s   a r e   i n s t a l l e i C hi n a   a n d   t h e   g r o w t h   o f   CCT V   h a s   b e e n   i n c r e a s e s l i g h t l y   i n   r e c e n t   y e a r s .   I t h e   n e xt   t hr e e   y e a r s   up  t o   o n e   b i l l i o n   n e w   c a m e r a s   e xpe c t e t o   b e   i n s t a l l e d,   due   t o   t h e   de pl oy m e n t   o f   f a c i a l   r e c o gn i t i o n   s y s t e m .   F a c e   r e c o gn i t i o n   i s   o n e   o f   t h e   i n t e r e s t i n g   a n i m po r t a n t   f i e l o f   r e s e a r c h   i n   pa s t   de c a de .   T hi s   i s   due   t o   t h e   n e e o f   a ut o m a t i c   s u r v e i l l a n c e   s y s t e m ,   t h e   de s i g o f   h um a c o m put e i nt e r f a c e   a n d   t h e   i n t e r e s t   i h u m a n   v i s ua l   s y s t e m   o n   f a c e   r e c o gn i t i o n.   T h e s e   r e s e a r c h e s   i n v o l ve   kn ow l e dge   a n r e s e a r c h e r s   f r o m   di f fe r e n c e   f i e l s uc h   a s   n e u r o s c i e n c e ,   ps y c h o l o g y ,   c o m put e r   v i s i o n,   pa t t e rn   r e c o gn i t i o n ,   i m a ge   pr o c e s s i n g,   a n m a c h i n e   l e a rni n [9].   T hi s   m a ke   t h e   f a c e   r e c o gn i t i o n   s y s t e m   be c o m e   o n e   of   t h e   i m po r t a nt   f i e l ds   n o w a da y .   T h e   ge n e ra l   f a c e   r e c o gn i t i o n   s t ruc t u r e   c o n s i s t   o f   i n pu t   i m a ge ,   f a c e   de t e c t i o n ,   f e a t u r e   e xt ra c t i o n,   a n f a c e   r e c o gn i t i o n ,   v e r i f i c a t i o a n i de n t i f i c a t i o n.   H ow e ve r ,   t h e   m a i n   p a r t   o f   t h i s   s t r uc t u r e   a r e   f a c e   de t e c t i o n ,   f e a t u r e   e x t r a c t i o n   a n d   f a c e   r e c o gn i t i o n.   F a c e   r e c o gni t i o s y s t e m   i s   be i ng  e x pa ndi ng  a nd   gr o wing  by   t he   r e s e a r c h e r   a l l   o ve r   t he   wo r l t o   e x pa nd  i t s   a c c ur a c y   a nd  c a pa bi l i t i e s   o f   t hi s   bi o m e t r i c   s y s t e m T hi s   s y s t e m   ho l t he   t hr e a t   a nd  pr o m i s e   o f   pa s s i v e   c us t o m i z a t i o a nd  a ut o m a t e s ur v e i l l a nc e   s y s t e m   t ha t   e na bl e   b y   f a c e   r e c o gni t i o n.  T he r e   a r e   s e v e r a l   num be r   o f   po pul a r   a l go r i t hm   i f a c e   r e c o gni t i o i nc l udi ng  H a a r   C a s c a de   [ 2 10 - 14] G e o m e t r y   c o nt o ur   ge ne r a t i o a nd  m a t c hi ng  [ 15 16] hi s t o gr a m s   o f   o r i e nt e gr a di e nt s   [ 3 7]   ba c k - pr o pa ga t i o a r t i f i c i a l   ne ur a l   n e t wo r ( B P - AN N)   [ 17]   a n C o nv o l ut i o na l   Ne ur a l   Ne t wo r [ 18 19] I t hi s   pr o j e c t H a a r   C a s c a de a   m a c hi ne   l e a r ni ng  f o r   o bj e c t   de t e c t i o a l go r i t hm   i s   u s e a s   a   f a c e   r e c o gni t i o a l go r i t hm T he   wo r H a a r   r e f e r   t o   t he   m a t he m a t i c   f unc t i o t ha t   r e l a t e t o   r e c t a ngul a r   s h a pe   [ 15] I t   i s   us e t o   i de nt i f y   o bj e c t   i a   v i de o   o r   i m a ge   [ 20] T hi s   m e t h o h a s   f o ur   s t e ps   fo r   de t e c t i n a n   o b j e c t   s uc h   a s   H a a r - l i ke   f e a t u r e ,   i n t e g ra l   i m a ge ,   A da B o o s t   l e a rn i ng  a nd  C a s c a de   Cl a s s i f i e r   [21].   F o r   f a c e   de t e c t i o n,  t he   H a a r   f e a t ur e   a r e   t he   m a i pa r t   of   t he   H a a r   C a s c a de   C l a s s i f i e r   [ 10 12 22] H a a f e a t ur e   a r e   us e t o   de t e c t   t h e   p r e s e n t   o f   fe a t ur e   i t h e   gi v e n   i n pu t   i m a ge .   E a c h   f e a t u r e   gi v e s   a   s i n gl e   v a l ue   w h i c h   c a l c ul a t e by   t h e   s um   o f   pi xe l   v a l ue   u n de t h e   b l a c r e c t a n gl e .   H a a r - l i ke   f e a t ur e   o f fe r   h i g s pe e d   c o m put i n de pe n d i n o n   t h e   n u m b e r   o pi xe l s   i n s i de   t h e   r e c t a n gu l a r,   a nd  n o t   de pe n d i n o n   e a c h   pi xe l   v a l ue   of   t h e   i m a ge .   O b t a i n i n t h e   o b j e c t   d e t e c t i o n   v a l ue ,   H a a r - l i ke   fe a t ur e   v a l ue   i s   c a l c ul a t e us i n i nt e g r a l   i m a ge ,   t h a t   a b l e   t o   c a l c ul a t e   v a l ue   a c c ur a t e   a nd  f a s t   by   c r e a t i ng   n e w   p r e s e n t a t i o n   o f   i m a ge   us i ng  t h e   v a l ue   of  pr e v i o us   s c a nn e H a a r - l i ke   f e a t u r e .   I n   e qu a t i o n   (1 a nd  (2 ) ,   ( , ) i x y   i s   t h e   v a l ue   o f   pi xe l   a t   ( , ) xy w h e r e a s   ( , ) I x y   i s   t h e   s um   o f   i nt e gra l   o f   pi xe l   v a l ue s .   T h e   v a l ue   o f   i n t e g r a l   i m a g e ,   ( , ) I x y i s   o b t a i n e d   by   s um   v a l ue   o pr e v i o us   i n de x,   s t a rt e by   l e f t   t o p   un t i l   r i g ht   b o t t o m .   M o r e ove r ,   t h e   s um m e d - a r e a   t a b l e   c a n   b e   c o m put e d   e ff i c i e n t l y   i a   s i n g l e   pa s s   o ve r   t h e   i m a ge ,   a s   t h e   v a l ue   i n   t h e   s um m e d - a r e a   t a b l e   a t   ( , ) xy   i t h e   e qu a t i o n .     ' ' , ' , ' xx yy I x y i x y   (1)     ( , ) ( , ) ( , 1 ) ( 1 , 1 ) ( 1 , 1 ) I x y i x y I x y I x y I x y   (2)     T h us ,   w i t h   s o m e   m o di f i c a t i o n   o n   t h e   s y s t e m ,   t hi s   s y s t e m   e xpe c t e t o   be   a   s t a n d a l o n e   s ur v e i l l a n c e   s y s t e m   w i t h   f a c e   r e c o gn i t i o n   t ha t   c a i de n t i fy   t h e   i de nt i t y   of   a   pe r s o n   us i n R a s pb e rr y   P i   a n c a m e ra   m o dul e   [21].   T hi s   v i de o   s ur v e i l l a n c e   s y s t e m   i s   a b l e   t o   c o l l e c t   a n s t o r e   t h e   da t a   i n s i de   t h e   R a s pbe rr y   P i   m e m o r y .   T h us ,   i t   c a n   r e duc e   t h e   c o s t   o f   m a n   po w e r   t o   i de n t i f y   t h e   i de n t i t y   o f   a   pe r s o n   i n   r e a l   t i m e .   T hi s   s y s t e m   i s   e xpe c t e t o   be   us e f o r   s e c ur i t y   s y s t e m   s uc h   a s   f o r   s e c ur i t y   doo r   a c c e s s   a n d   s t ude n t   a t t e n d a n c e   s y s t e m .       2.   P R O JEC D EV E LO P M EN T   P r o j e c t   de v e l o pm e n t   f o r   t h i s   p r o j e c t   c o n s i s t   o f   t hr e e   m a i n   p a rt   w h i c h   w e r e ,   d a t a   c o l l e c t i o n ,   t ra i ni n g ,   a n f a c e   r e c o gn i t i o n   [3] .   T hi s   p r o po s e s y s t e m   w o r o nc e   h um a f a c e   w a s   de t e c t e d,   by   a ut o m a t i c a l l y   r e c o gn i z e t h e   i de nt i t y   of   a   pe r s o b a s e o n   t h e   i n f o r m a t i o n   o f   t h e   t a rge t e pe r s o n .   I n   o rde r,   t o   m a ke   t h i s   s y s t e m   f un c t i o n   p r o pe r l y ,   t h e   da t a   o f   t a r ge t e pe r s o n   m us t   b e   c o l l e c t e a n r e c o r de i n t o   t h e   da t a b a s e .   T h e   b a s i c   s t r uc t u r e   of   a   n o r m a l   s ur v e i l l a n c e   c a m e r a   t ha t   c a n   de t e c t e a n r e c o gn i z e p h y s i c a l   s t r uc t u r e   of   h um a f a c e   i s   s h o w n   a s   i F i gu r e   1.   F r o m   t h e   f i r s t   b l o c i n   F i gu r e   1 ,   v i de o   o r   i m a ge   o f   a   h u m a f a c e   i s   us e a s   a i n p ut   t o   t h e   s y s t e m .   T h e n,   t h e   s y s t e m   c a pt u r e t h e   t a r ge t e pe r s o n ’s   f a c e   t o   e n s ur e   t h e   r e c o gn i t i o n   p r o c e s s   c a n   b e   c o n duc t e fo r   f ur t h e r   a c t i o n.   T h e   c l a s s i f i c a t i o a nd  c o m pa ri s o n   f r o m   t h e   i m a ge   t h a t   s t o r e i t h e   da t a b a s e   w a s   a   p a r t   o f   t h e   r e c o gn i t i o n   p r o c e s s .   O n c e   t h i s   p r o c e s s   c o m pl e t e d,   t h e   s y s t e m   s h o w e t h e   r e s ul t   o f   r e c o gn i z e h um a n   f a c e .   R e c o gn i z e r e s ul t s   s h o w e t h e   m a t c pe r s o o t h e   da t a b a s e   w h i l e ,   u nr e c o gni z e r e s ul t   s h o w e a s   u n k n o w 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       R e a l   t i m e   f ac e   r e c og ni t i on   of   v i d e s ur v e i l l anc e   s y s t e m   us i n g   haar   c as c ade …  ( A dl an   H a k i m   A hm a d )   1391       F i gu r e   1 .   B a s i c   b l o c di a g ra m   o f   f a c e   r e c o gn i t i o n   s y s t e m       F i gur e   s ho w s   t he   o v e r a l l   f l o wc ha r t   of   t he   pr o j e c t   de v e l o p m e nt T he   pr o j e c t   s t a r t e wit h   ga t he r i ng  i nf o r m a t i o a bo ut   a l l   t he   r e l a t e f i e l r e ga r di ng  f a c e   r e c o gni t i on.  T he n,  f o l l o we b y   t he   s e t up  of   t h e   R a s pbe r r y   P i   wo r ks t a t i o wit i ns t a l l a t i o of   Ope nC l i br a r y Onc e   t he   i ns t a l l a t i o wa s   c o m pl e t e d,  t h e   Ope nC e n v i r o nm e nt   s ho ul d be  t e s t e d t o  e ns ur e  i t s  wo r ka bi l i t y . I f  t he  Ope nC V f unc t i o na l  pr o pe r l y  a nd c a n be  r un with P y t h o n I DL E , t h e   ne x t   s t e wa s   wr i t i n t he   a l go r i t hm   o f   r e c o gni t i o us i ng  P y t h on  c o de   o R a s pbe r r y   P i   t e r m i na l   [ 16 2 4 2 5 ] T he   c o d e   m us t   be   s y n c hr o ni z e wit t he   Ope nC l i br a r y   a nd  i t   c a s c a de   di r e c t o r y   i o r de r   t o   m i ni m i z e   a e r r or   m e s s a ge s T hr o ugh  t he   r e c o gni t i o c o de t h e   da t a   i m a ge s   of   a   pe r s o c a be   c o l l e c t e d   us i ng  P i   C a m e r a T he   da t wa s  s t o r e i ns i de   t he   R a s pbe r r y   P i   m e m o r y T h e   l a s t   t wo   s t e ps   we r e   t o   t r a i t he   r e c o gni z e r   wit t he   da t a   c o l l e c t e d   a nd r a n  t he  r e c o gni t i o n s y s t e m  c o de  t o  pr o duc e  t h e  r e s ul t s .     2. 1 .   D ata  c o l l e c ti o n   In   f a c e   r e c o gn i t i o n   s y s t e m   ph a s e ,   t h e   m o s t   i m po rt a nt   t a s o t h e   s y s t e m   i s   f a c e   de t e c t i o n .   W h i l e   fo r   f a c e   de t e c t i o n ,   t h e   m o s t   c o m m o n   w a y   t o   d e t e c t   f a c e   i s   us i n H a a r   C a s c a de   c l a s s i f i e r .   It   i s   a   m a c hi n e   l e a rn i ng  b a s e a ppr o a c h .   A   c a s c a de   f un c t i o n   w a s   t r a i n   f r o m   a   l o t   o f   i m a ge   a n d   b e i n us e f o r   de t e c t i o n.   I n   O pe n CV   li b ra r y ,   i t   a l r e a dy   c o n t a i a   f e w   pr e - t ra i ni n g   c l a s s i f i e r.   S e ve r a l   n u m b e r   of   pr e - t ra i n e c a s c a de   c l a s s i f i e r   a r e   a v a i l a b l e   i n   t h e   O pe n CV   l i b r a r y ,   s uc h   a s   ha a r c a s c a de _e y e . xm l ,   t h a t   us e fo r   e y e   de t e c t i o n ,   a nd   h a a r c a s c a de _f r o nt a l f a c e _de f a ul t . x m l   f o r   f a c e   de t e c t i o n .   F o r   t h i s   p r o j e c t ,   t h e   c a s c a de   us e w a s   ha a r c a s c a de _f r o n t a l f a c e _de f a ul t . x m l   f i l e .   M e a n w hi l e ,   d a t a   c o l l e c t e fo r   t h i s   p r o j e c t   a r e   i m a ge   da t a   o h u m a n   f a c e .   T h e   i m a ge   w a s   c o n v e r t e t o   a   g r e y   s c a l e ,   b e c a us e   i t   e a s y   t o   b e   pr o c e s s e by   t h e   s y s t e m   a nd  l o w   i n   s i z e   t hus   c a n   s a v e i R a s pb e r r y   P i   m e m o r y   fo r   i t s   d a t a b a s e .   T hi s   s y s t e m   c o l l e c t e o n l y   60  s a m p l e s   o f   da t a   f o r   e a c pe r s o n .   T h e   m i ni m um   r e qui r e m e nt   f o r   t h e   s y s t e m   t o   r un   f a c e   de t e c t i o n   i s   a t   l e a s t   30  i m a ge s   fo r   a c c ur a c y   of   t h e   s y s t e m .   F o r   da t a   c o l l e c t i o n ,   i t   r e qu i r e t o   r u t h e   c o de   of   f a c e   c a s c a de   c l a s s i f i e r   a n s t a rt   r e c o r di n f a c e   s a m pl e   us i n P i   c a m e ra .   T h e   c o de   w a s   r u nni n a   v i de o   r e c o r di n g   t o   c a pt u r e   f a c e   s a m p l e .     2. 2 .   Tr ai n   r e c o gn i z e r   A l l   c o l l e c t e f a c e   da t a   a r e   a s s i g n e w i t h   r e s pe c t i v e   i f o r   t he   t ra i ni n g   pu r po s e .   E a c h   i w a s   t ra i n e d   a s   a   t r a i n i ng  a n l e a rni n p r o c e s s   of  t h e   r e c o gn i z e r   t o   r e c o g ni z e   di f f e r e n t   i f o r   di f fe r e n t   pe r s o n s .   T o   e n s ur e   t h e   t r a i n i ng  p r o c e s s   of   t h e   c o l l e c t e da t a   a b l e   t o   b e   r un   s uc c e s s f ul l y ,   a   s pe c i f i c   c o de   a n s pe c i f i c   fo l de r   of   t h e   da t a   a r e   r e qu i r e d.   A l l   da t a   w i t t h e   g i v e n   s pe c i f i c   i w a s   ga t h e r e i o n e   f o l de r   n a m e da t a s e t   a n a n o t h e r   fo l de r   na m e t ra i n e r   n e e t o   b e   c r e a t e d.   I n s i de   t h e   t r a i n e r   fo l de r ,   t h e r e   w a s   c r e a t e f i l e   n a m e   of   t r a i n e r. y m l   fo r   t r a i n i ng  pu r po s e .   T hi s   . y m l   f i l e   w a s   r e qui r e t o   r u n   t h e   re c o gn i t i o n   p r o c e s s   s o   t h a t   t h e   s y s t e m   w a s   a b l e   t r e c o gn i z e   t h e   da t a s e t .   T h e   s y s t e m   h a s   c a pa b i l i t y   t pr e di c t   t he   i de n t i t y   of  t h e   de t e c t e f a c e   b a s e o n   t h e   i of  t h e   da t a s e t .     2. 3 .   F ac e   R e c o gn i ti o n   A   f i n a l   p ha s e   of   t h i s   p r o j e c t   w a s   e xe c ut i o n   o f   r e c o gn i t i o c ode   i n   o r de t o   e xe c ut e   t h e   f a c e   de t e c t i o n   a n r e c o gn i t i o n   pr o c e s s .   A s   s h o w n   i n   F i gu r e   3,   i t   w a s   a n   e xa m p l e   of   m ul t i pl e   f a c e   r e c o gn i t i o n   p r o c e s s   [14].   A l l   pe r s o n   w i t h   a   da t a   s t o r e (i n f o r m a t i o n by   t h e   s y s t e m   c a n   b e   r e c o gn i z e d.   T h i s   f i gu r e   s h o w s ,   A D L A N   a n d   N U R D IN   w e r e   r e c o gn i z e   by   t h e   s y s t e m   due   t o   m a t c hi n da t a   i t h e   da t a s e t .   W h i l e   t h e   o t h e r   pe r s o f a c e   w a s   n o t   i t h e   d a t a b a s e   m a rke a s   U N K N O W N .         C a pt u r i ng   f a c e   i m a g e     P r o c e s s i ng       F e a t ur e   E xt r a c t i o       C l a s s i f i c a t i o         I m a g e   f r o m   da t a ba s e           I nput   v i de o / i m a g e   R ec og ni z r e s u l t   K no w n/ U nkno w 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 .   21 ,   N o .   3 M a r c h   2 021   :     1 3 8 9   -   1 3 9 9   1392               F i gu r e   2 .   P r o j e c t   F l ow c h a rt           F i gu r e   3 .   E xa m p l e   o f   s uc c e s s f ul   f a c e   r e c o gn i t i o p r o c e s s       F i gu r e   4   s h o w s   t h e   P y t h o n   c o de   n e e de t o   b e   s e t up  i n   o r de r   t o   i de n t i f y   t h e   pe r s o n   i b a s e o n   s t o r e da t a   i n   t h e   da t a b a s e .   A D L A N   w a s   t h e   f i r s t   pe r s o n   i n   t h e   d a t a b a s e   t h us   t h i s   pe r s o n   w a s   s e t   t o   h o l t h e   f i r s t   i d   n u m b e r .   F o l l o w e by   s e c o n d,   t h i r d ,   f o ur t h   a n d   f i f t h   i num b e r ,   o f   N O R A ,   N U R D IN ,   F A IS A L   a n d   IZ Z A T ,   r e s pe c t i v e l y .   W h i l e ,   F i gu r e   w a s   a e xa m pl e   o f   da t a   t h a t   ha v e   b e e n   s a v e i t h e   d a t a b a s e   w i t h   A D L A N ’s   i d .   It   c l e a r l y   b e   s e e n   t ha t ;   t h e   da t a   w a s   s t a t e w i t h   U s e r 1. x . j pg  d ue   t o   i n u m b e r   o f   A D L A N ’s   da t a .   T hi s   w a s   t h e   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       R e a l   t i m e   f ac e   r e c og ni t i on   of   v i d e s ur v e i l l anc e   s y s t e m   us i n g   haar   c as c ade …  ( A dl an   H a k i m   A hm a d )   1393   s pe c i f i c   pr o c e dur e   us e i t h e   p r o j e c t   t o   c o n f i rm   t h a t   t h e   s y s t e m   w a s   a b l e   t o   c l a s s i fy   di ff e r e n t   pe r s o n   t o   b e   r e c o gn i z e .   O n   t h e   o t h e r   ha n ds ,   t hi s   s y s t e m   a l s o   t e s t e w i t h   di f f e r e n c e   fa c e   a ngl e   t o   e n s u r e   t h e   s uc c e s s f ul n e s s   of  t h e   f a c e   de t e c t i o n   a n r e c o gni t i o n   p r o c e s s .   F i gu r e   s h o w s   t h e   e s t i m a t i o n   a n g l e   o f   h um a n   f a c i n g   de t e c t i o n   a n r e c o gn i t i o n .   It   w a s   r e c o m m e n de t ha t   l e s s   t ha n   120 - de gr e e   a n gl e   f o r   h um a n   f a c e   f a c i n t h e   c a m e ra   f o r   t h e   f a c e   de t e c t i o n   s y s t e m .   T h e   gr e e n   a r e a   s h o w s   t h e   po i n t   o h u m a n   f a c i n di r e c t i o n   c o n s i de r e t o   b e   us e i n   t h i s   p r o j e c t ,   w h i l e   t h e   o t h e a n g l e   i s   c o n s i de r e o ut   o f   f a c e   a n d   d i f f i c ul t   t o   b e   de t e c t e a n d   r e c o gn i z e d.           F i gu r e   4 .   S e t t i n g   pe r s o n   na m e                         F i gu r e   5 .   E xa m p l e   i d   o f   A dl a n ’s   da t a         F i gu r e   6 .   E s t i m a t i o n   a n g l e   o f   h um a f a c i ng  v i e w       2. 4 .   P r o je c h a r d w ar e   an d   s o ftw ar e   T h i s   p a r t   d i s c us s e o n   t h e   ha r dw a r e   a n s o f t w a r e   t ha t   ha v e   b e e n   us e fo r   t h i s   p r o j e c t ,   i n c l ud i n t h e   c a m e ra   m o dul e ,   c o m pi l e r   a nd  l i b r a ri e s .   M e a n w hi l e ,   R a s pb e rr y   P i   m o de l   3B   w a s   us e a s   a   m a i p r o c e s s i n uni t   o f   t h e   s y s t e m .   T hus ,   a l l   t h e   ha r dw a r e   a n d   s o f t w a r e   us e m us t   b e   c o m pa t i b l e   w i t h   R a s pb e r r y   P i   m i c r o pr o c e s s o r   [ 2 3 ,   2 6 ].   Ca pt u r e i m a ge   do n e   us i n g   t h e   c a m e r a   m o dul e   o f   R a s pbe rr y   P i ,   t ha t   w a s   de s i g n   s pe c i f i c a l l y   a n d   c o m pa t i b l y   w i t h   a l l   v e r s i o n   o f   R a s pbe rr y   P i   i n c l ud i n R a s pb e rr y   P i   B .   I t   ha s   m e ga p i xe l   S o n y   IM X 219  i m a ge   s e n s o r   c us t o m   de s i g n e a dd - o n   b o a r fo r   R a s pb e r r y   P i ,   w i t h   c a pa b i l i t y   of   3280  2464   pi xe l   o f   s t a t i c   i m a ge s   t ha t   s uppo r t   1080 p30 ,   720p60  a n 6 40x480p9 v i de o ,   b e s i de   t h e   s pe c i a l   f e a t ur e s   of  s m a l l   i s i z e s   a n d   l i g h t   w e i g h t .   I a dd i t i o na l   t h i s   P i   c a m e ra   c a n   b e   c o n n e c t e e a s i l y   t o   t h e   R a s pb e rr y   P i   bo a r v i a   a   s h o rt   r i b b o n   c a b l e .   W i t h   a l l   o f   t h i s   s pe c i f i c a t i o n ,   i t   w a s   t h e   m o s t   s ui t a b l e   c a m e r a   m o dul e   a n a f f o r da b l e   t o   b e   us e i t hi s   p r o j e c t .   P y t h o n   ID L E   c o m pi l e r   w a s   us e t o   r u t h e   c o de   f o r   t hi s   s y s t e m .   It   c a b e   r u n   t hr o ug t h e   R a s pb e r r y   P i   t e r m i n a l   t o   m a ke   s u r e   t h i s   p r o j e c t   s uc c e s s f ul l y   r u n   w i t a   s pe c i f i c   l i b r a r y .   W h i l e   t h e   O pe nCV   L i b ra r y   t h a t   n e e t o   b e   i n s t a l l e w i t h   P y t h o n   ID L E   c o m pi l e r,   g a v e   a c c e s s   t o   r u n   a n   O pe n CV   l i b r a r y   w h i l e   us i n P y t h o ID L E   c o m pi l e r.   I n   t hi s   p r o j e c t ,   R a s p b e r r y   P i   t e r m i n a l   w i t h   t h e   v e r s i o n   3 . 5. P y t h o n   ID L E   c o m pi l e r   a n t h e   v e r s i o n   3 . 3. o f   O pe n CV   l i b r a r y   ha v e   b e e n   s uc c e s s f ul   i n s t a l l e a n d   r e a dy   t o   b e   us e d.       3.   R ES U LTS   A N D   D I S C U S S I O N   In   t h i s   s e c t i o n,   p r o j e c t   r e s ul t s   f oc us   o n   t w o   pa rt s   w h i c h ,   f i rs t   o n   t h e   f a c e   de t e c t i o n   a n t h e   s e c o n r e s ul t   w a s   o n   t h e   f a c e   r e c o gn i t i o n.   F o r   f a c e   de t e c t i o n ,   t h e   H a a c a s c a de   c l a s s i f i e r   w a s   i m pl e m e n t e a n d   r u nni n i n   r e a l   t i m e ,   w i t h   t h e   de t e c t i o n   r e s ul t   o t h e   pe r s o n   f a c e   w a s   di s pl a y e a ut o m a t i c a l l y   a s   s h ow n   i F i gu r e   7 .   I t hi s   p r o c e s s ,   c a pt u r e l i v e   v i de o   w a s   di s pl a y e c o n t i nuo us l y   by   t h e   s y s t e m .   O n c e   h u m a f a c e   w a s   de t e c t e a n d   c a p t u r e b y   t h e   c a m e ra ,   r e c t a n gu l a b o w a s   d r a w a r o u n d   t h e   f a c e .   T h e   s e c o n r e s ul t   o f   t h i s   p r o j e c t   w a s   fo c us i n o n   t h e   f a c e   r e c o gn i t i o n ,   w hi c h   t h e   P i   c a m e r a   r e c o r de a   r e a l   t i m e   v i de o   a n t h e   s y s t e m   pr o c e s s   t h e   v i de o   fo r   f a c e   d e t e c t i o n   a nd  c l a s s i f i c a t i o n   o f   t h e   i n pu t   v i de o .   T h e   i n put   i m a ge   o f   t h e   de t e c t e f a c e   w a s   c o m pa r e w i t h   t h e   s e t   of   i m a ge   i n   da t a b a s e   a u t o m a t i c a l l y   a n t h e   r e c o gn i t i o p r o c e s s   w a s   e xe c ut e a s   s h o w n   i F i gu r e   8 .   A s   a   r e s ul t ,   t h e   s y s t e m   di s pl a y e t h e   o ut put   r e s ul t   o r e c o gn i t i o o f   h um a n   f a c e   i de n t i t y .   R e s ul t   di s p l a y e t h e   na m e   o f   t h e   pe r s o b a s e o n   t h e   s e t t i n g   pe r s o n   i a t   t h e   P y t h o n   p r o g r a m m i n c o de .   If   t h e   pe r s o n   w a s   n o t   i t h e   da t a b a s e   i n f o r m a t i o n,   t h e   s y s t e m   w a s   n o t   r e c o gn i z e t ha t   pe r s o n   a nd  a n   U N K N O W N   i n f o r m a t i o n   w a s   di s pl a y e a s   s h o w n   i F i gu r e   3 .   H e r e ,   t w 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 .   21 ,   N o .   3 M a r c h   2 021   :     1 3 8 9   -   1 3 9 9   1394   pe r s o n   N U R D IN   a n A D L A N   w e r e   s u c c e s s f ul l y   m a t c h   t he   f a c e   r e c o gn i t i o n   t h a t   a v a i l a b l e   i n   t h e   da t a b a s e   s y s t e m .   T h us ,   s y s t e m   w a s   a b l e   t o   r e c o gn i z e   t h i s   t w o   f a c e s .   B e s i de   t h a t ,   t h e   p r o j e c t   a n a l y s i s   dur i n t h e   de ve l o pm e n t   o f   t h i s   p r o j e c t   w e r e   di s s c us s e d,   w h i c h   w e r e ,   da t a   t y pe   us e f o r   t h e   s y s t e m ,   e ff e c t   of   c a m e ra ,   e ffe c t   of   di f fe r e n t   a ngl e   a n d   v a ri e t y   of   f a c e   a c c e s s o r i e s .         F i gu r e   7 .   F a c e   de t e c t i o us i ng  H a a C a s c a de             F i gu r e   8 .   E xa m p l e   o f   f a c e   de t e c t i o n   a nd  r e c o gn i t i o n         3. 1 .   D ata  typ e   fo r   th e   s ys te m   T o   e n s u r e   t h e   s y s t e m   c a b e   r u n   s m o o t h l y ,   da t a   c o l l e c t i o n   w a s   c r uc i a l   pa rt   i n   t h i s   p r o j e c t .   A s   t h e   f i r s t   f e a t u r e   o f   t h e   s y s t e m   w a s   f a c e   r e c o g n i t i o n   s y s t e m ,   t he   c o l l e c t e da t a   w a s   t h e   i m a ge   o f   a   pe r s o n   t h a t   n e e de t o   b e   s t o r e i nt o   da t a b a s e .   T h e r e   a r e   s e ve r a l   f a c e   i m p r e s s i o n   a nd  s t y l e   n e e t o   b e   c a pt ur e a nd  r e c o r de d,   i n   o r de t o   i n c r e a s e   t h e   a c c ura c y   of   r e c o gn i t i o n   p ro c e s s ,   w i t h   a n w i t h o ut   a n   a c c e s s o r i e s   o f   gl a s s e s   a n ha i r   s t y l e ,   a s   s h o w n   i F i gu r e   9(a ) .   B e s i de s   i m pr e s s i o n s   a n f a c i a l   s t y l e s ,   t y pe   o i m a ge   c o l our   a nd  s c a l e   w a s   c o n s i de r e a s   o n e   of  a ddi t i o na l   f e a t u r e s .   T h us ,   ga v e   a   ve r s a t i l e   a n a c c u r a c y   of   t h e   da t a   de t e c t i o n   a n r e c o gn i t i o n.   Co l o ur   s c a l e   a f fe c t e d   t h e   s y s t e m   pe r fo r m a n c e   a n s h o ul b e   c o n s i de r   i t hi s   r e c o gn i t i o n   p r o c e s s .   F i gur e   9(b )   s h ow s   t h e   v a r i e t y   of   c o l o ur   m o de   t h a t   c a n   b e   us e i n   o r de r   t o   c r e a t e   t he   v a r i e t y   of   da t a .   I n   t hi s   pr o j e c t ,   s l a t e   gr e y   i m a ge   s t y l e   w a s   c o n s i de r e a n us e d.   T h e r e   w e r e   m a n y   a dv a n t a g e s   of   us i n g r e y   s c a l e   i m a ge ,   f i r s t l y ,   gr e y   s c a l e   i m a ge   o n l y   us e t w o   m a j o r   c o l o ur   w h i c h   w a s   b l a c a n w h i t e ,   a nd  s e c o n dl y ,   b i n a r y   n um b e r   of   t h e   b l a c a n d   w h i t e   c o l o ur   w a s   c o n s i de r   a s   a n 0,   t h us   s y s t e m   i s   a b l e   t t ra i n   a nd  r u n   t h e   r e c o gn i t i o n   p r o c e s s   e a s i l y   a n c o m pl e t e l y .   M e a n w h i l e ,   g r e y   s c a l e   i m a ge   a l s o   ha s   l o w   s i z e   of   c a pa c i t y .   T h us   gi v e   a n   a dv a n t a ge   t o   t h e   s y s t e m   t h a t   w o r w i t h   l o w   m e m o r y   de v i c e ,   a n m o r e   da t a   c a n   b e   c a pt u r e a nd  s t o r e d.   F o r   t hi s   pr o j e c t ,   t h e   c a pt u r e d   da t a   i s   s t o r e i t h e   m e m o r y   of   R a s pb e r r y   P i ,   w i t t h e   s i z e   o 32   G B .   In   t hi s   pr o j e c t ,   t h e   g r a y   s c a l e   da t a   i s   ge n e ra t e by   a ddi n s o m e   c o m m a n i n   t h e   P y t h o n   c o de ,   i n   o r de r   t o   c o n v e r t   o ri gi na l   i m a ge   i nt o   a   g ra y   s c a l e   i m a ge   a s   s h o w n   i n   F i gu r e   10 .   W h i l e   F i gu r e   11 ,   s h o w s   c o l l e c t i o n   of   v a r i e t y   gra y   s c a l e   i m a ge   us e f o r   t h e   de t e c t i o n   a n d   r e c o gn i t i o n   p r o c e s s .               (a )   (b )     F i gu r e   9 .   T h e   v a r i e t y   of   (a f a c e   i m p r e s s i o n   a n d   f a c i a l   s t y l e   a n d   (b i m a ge   c o l o ur   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       R e a l   t i m e   f ac e   r e c og ni t i on   of   v i d e s ur v e i l l anc e   s y s t e m   us i n g   haar   c as c ade …  ( A dl an   H a k i m   A hm a d )   1395       (a )   (b )       F i gu r e   1 0 .   E x a m p l e   o f   c o n v e r t i ng  ( a )   o r i g i na l   i m a ge   t o   (b g ra y   s c a l e   i m a ge       3. 2 .   Effe c o c am e r a   T h e r e   w e r e   f e w   t e s t s   t h a t   ha v e   b e e n   m a de   t o   t h e   s y s t e m   t o   di s c ov e r   t h e   a c c u r a c y   a n d   i t s   l i m i t a t i o n.   T a b l e   s h o w s   t h e   d a t a   qua l i t y   t a ke n   i l o w   a n d   n o rm a l   l i g h t   c o n di t i o n .   D u r i ng  l o w   l i ght ,   i t   c a b e   s a i t h a t   t h e   f a c e   de t e c t i o n   w a s   n o t   f un c t i o ni n a t   a l l .   W hi l e   i n   t h e   n o rm a l   a nd  b r i g ht   l i g ht   c o n di t i o n,   t h e   de t e c t i o n   c a n   b e   f un c t i o na l   n o rm a l l y ,   a s   s h o w n   i F i g u r e   1 2 .   T h i s   i s   d ue   t o   t h e   s pe c i f i c a t i o n   o f   R a s pbe rr y   P i   c a m e ra   t h a t   n o t   s u i t a b l e   t o   b e   us e i n   t h e   l o w   l i g ht   c o n d i t i o n .       T a b l e   1 .   D i f f e r e n t   o f   da t a   qu a l i t y   b e t w e e n   t w o   l i g h t   c o n d i t i o n   No   L i g h t   Co n d i t i o n   Re c o g n i t i o n   ( % )   1   N o r m a l   Re c o g n i z e d   (3 8 . 0 % )   2   L o w   U n r e c o g n i z e d           F i gu r e   1 1 .   G r e y   s c a l e   i m a ge   o t h e   da t a b a s e         F i gu r e   1 2 .   R e c o gn i t i o n   i de n t i t y   w i t h   a c c e s s o r i e s   c ove r i n g   h e a d       3. 3 .   F ac e   an g l e   E xpe r i m e nt a l   t e s t i ng  o n   t h e   f a c e   a n g l e   f a c i n t h e   c a m e r a   w a s   c o n duc t e t o   t e s t   o n   t h e   e f fe c t   o de t e c t i o n   a n r e c o gn i t i o n   p r o c e s s ,   s o m e   f a c e   a n gl e   w e r e   s h ow n   i n   T a b l e   a n F i gu r e   1 3 .   B a s e o n   T a b l e   2,   t h e r e   a r e   10  s a m pl e s   of   f a c e   p o s i n w i t h   d i f fe r e nt   a n g l e   of   f a c e   f a c i n t o   t h e   c a m e ra   w e r e   t e s t e fo r   t h e   de t e c t i o n   a n d   r e c o gn i t i o n.   O ut   o f   10  po s i n w i t h   d i f f e r e n t   a n g l e ,   f o ur   a n gl e s   w e r e   s ui t e a nd  c a b e   us e fo r   f a c e   d e t e c t i o n   s y s t e m ,   a n t h e   o t h e t e s t i n a n g l e s   c a nn o t   b e   us e fo r   t h i s   s y s t e m .   T h e s e   r e s ul t s   s h o w   t h a t   t h e   de t e c t i o n   a n r e c o gn i t i o n   f a c e   a n gl e   w e r e   w i t h i n   t h e   a n gl e   o f   40° ,   o t h e r w i s e ,   i t   w a s   c o n s i de r e a s   o ut   o f   f a c e   a n gl 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 .   21 ,   N o .   3 M a r c h   2 021   :     1 3 8 9   -   1 3 9 9   1396         (a )   (b )   (c )         F i gu r e   1 3 .   F a c e   a n g l e   o f   (a 90 ° ,   (b ,   a n d   (c   90 °       3. 4 .   Effe c o fa c e   a c c e s s o r i e s   T e s t   w a s   c o n t i n ue d   w i t h   t h e   s e v e r a l   c o n d i t i o n   o f   f a c e   w i t a ddi t i o na l   a c c e s s o r i e s   a n l i g ht   s e t t i n g .   In   t h i s   t e s t   c a s e s ,   t h e   i m a ge   o f   t a r ge t e f a c e   w a s   a rra n ge t o   w e a r   a dd i t i o n a l   a c c e s s o r i e s   s uc h   a s   gl a s s e s ,   s u n   gl a s s e s ,   h a t ,   a n h e a ds c a r f ,   a s   s h o w n   i n   F i g u r e   1 4 .   M e a n w hi l e T a bl e   s ho ws   t he   s um m a r y   of   c o m bi na t i o n   t e s t e c o ndi t i o ns T wo   t e s t   r e s ul t s  s ho ws  unr e c o gni z e of   f a c e   i m a ge whic h we r e   t e s t   num be r   t hr e e   a nd  e i ght due   t o   l o i l i ght   c o ndi t i o a nd  a c c e s s o r y   c ov e r i ng  t he   m a i f a c i a l   s t r uc t ur e r e s pe c t i v e l y As   a   c o nc l us i o n,  m o s t   of   t he   t e s t i ng  c o ndi t i o we r e   a bl e   t o   d e t e c t   a nd  r e c o gni z e   t h e   f a c e   i de nt i t y ,   de pe nd  o t he   a c c e s s o r y   t ha t   put t i ng  o n   t he   f a c e   a nd  l i ght   c o ndi t i o a s   l o ng  a s   i t   no t   c ov e r i ng  t he   m a i n   s t r uc t ur e   of   t he   f a c i a l ;   whic a r e   f a c e   s ha pe e y e s no s e  a nd mo ut h.       T a b l e   2 D i f f e r e n t   po s t u r e   o f   f a c e   a n gl e   No   F a c e   A n g l e   Re c o g n i t i o n   ( % )   1   90°   U n r e c o g n i z e d   2   70°   U n r e c o g n i z e d   3   50°   U n r e c o g n i z e d   4   40°   Re c o g n i z e d   (3 9 . 0 % )   5   20°   Re c o g n i z e d   (4 1 . 0 % )   6     Re c o g n i z e d   (5 6 . 0 % )   7     30°   Re c o g n i z e d   (5 4 . 0 % )   8     50°   U n r e c o g n i z e d   9     60°   U n r e c o g n i z e d   10     90°   U n r e c o g n i z e d       T a b l e   3 .   S a m p l e   r e s ul t   o f   t a r ge t e f a c e   w i t a nd  w i t h o ut   a c c e s s o r y   No   L i g h t   c o n d i t i o n   Re c o g n i t i o n   ( % )   D e s c ri p t i o n   o f a c e   i m a g e   1   N o r m a l   Re c o g n i z e d   (3 9 . 0 % )   w i t h   g l a s s e s   2   M e d i u m   Re c o g n i z e d   (3 7 . 0 % )   w i t h o u t   g l a s s e s   3   L o w   U n r e c o g n i z e d   w i t h   g l a s s e s   4   N o r m a l   Re c o g n i z e d   (5 3 . 0 % )   w i t h   h a i r   c o v e ri n g   p a rt   o f a c e   5   N o r m a l   Re c o g n i z e d   (2 3 . 0 % )   w i t h   s u n   g l a s s e s   6   M e d i u m   Re c o g n i z e d   (3 8 . 0 % )   w i t h   h e a d   c o v e r   7   N o r m a l   Re c o g n i z e d   (4 4 . 0 % )   w i t h   h a t   a n d   c o v e ri n g   fo r e h e a d   8   N o r m a l   U n r e c o g n i z e d   w i t h   h a t   c o v e ri n g   f o r e h e a d   a n d   e y e s               (a )   (b )   (c )         F i gu r e   1 4 .   S a m p l e   o f   i m a ge   w i t h   ( a gl a s s e s   a t   n o rm a l   l i g ht   c o n di t i o n,   (b s u g l a s s e s ,   a n d   (c ha t   c ov e r i n fo r e h e a d   a nd  e y e 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       R e a l   t i m e   f ac e   r e c og ni t i on   of   v i d e s ur v e i l l anc e   s y s t e m   us i n g   haar   c as c ade …  ( A dl an   H a k i m   A hm a d )   1397   3. 5 .   D i s tan c e   fo r   r e c o gn i ti o n   p r o c e s s   M e a n w hi l e ,   t hi s   t e s t i ng  w a s   c o n duc t e i o r de r   t o   t e s t   t h e   m a x i m u m   di s t a n c e   o f   t h e   t a rge t e f a c e   t h a t   c a n   b e   de t e c t e by   c a m e ra   t h us   r e c o gn i z e by   t h e   s y s t e m .   T h e   l i m i t a t i o n   o t h e   s y s t e m   w a s   de pe n de o n   t h e   a l go ri t hm   a n t h e   t y pe   of   c a m e ra   t h a t   b e e n   us e d.   T a b l e   w a s   s um m a r i z e t h e   e s t i m a t e di s t a n c e   fo r   t h e   s y s t e m   t h a t   a b l e   t o   r e c o gn i z e   t h e   s ub j e c t .   F r o m   t h e   t a b l e ,   i t   c l e a rl y   b e   s e e n   t h a t   m a x i m u m   di s t a n c e   of  de t e c t i o n   a n d   r e c o gn i t i o n   w a s   1. m e t e r s   a nd  t h e   m i ni m u m   di s t a n c e   w a s   a b o ut   0. m e t e r s .   T h e   c a p t u r e i m a ge   i s   t o o   s m a l l   t o   b e   r e c o gn i z e   f o r   t h e   c a s e   o f   di s t a n c e   m o r e   t ha n   1 . m e t e r s   a n t o o   b i i f   di s t a n c e   l e s s   t h a 0 . m e t e r s .       T a b l e   4 .   S a m p l e   o f   di s t a n c e   t e s t   f o r   r e c o gni t i o n   No   E s t i m a t e   d i s t a n c e   (m e t e r )   Re c o g n i t i o n   ( % )   1   0 . 4   Re c o g n i z e d   (3 8 . 0 % )   2   0 . 6   Re c o g n i z e d   (4 3 . 0 % )   3   0 . 9   Re c o g n i z e d   (3 9 . 0 % )   4   1 . 2   Re c o g n i z e d   (4 . 0 % )   5   1 . 4   U n r e c o g n i z e d       4.   C O N C LU S I O N   T h i s   p r o j e c t   h a s   b e e n   c o n duc t e s uc c e s s f ul l y ,   w h i c h   t h e   s o f t w a r e   a n ha r dw a r e   o f   t h e   R e a l   T i m e   R e c o gn i t i o n   o f   V i de S ur v e i l l a n c e   s y s t e m   w a s   s uc c e s s ful l y   de ve l o pe d.   R a s p b e r r y   P i   t h a t   a c t   a s   t h e   pr o c e s s i n u n i t   a n P i   Ca m e r a   M o dul e   V a s   a   c a m e r a   m o dul e ,   w e r e   i n s t a l l e a nd  t h e   s y s t e m   w a s   a b l e   t o pe r a t e   s m o o t h l y ,   w h i c h   O pe nCV   l i b ra r y   w a s   us e d   a s   a   m e d i um   i n   o r de r   t o   de v e l o a   r e c o gn i t i o n   s y s t e m .   T h e   c a s c a de   c l a s s i f i e r   a c t   a s   a   f a c e   de t e c t i o n   a l go ri t hm   t ha t   w a s   i n s t a l l e t o ge t h e r   w i t h   t h e   O pe n CV   L i b r a r y   i n s i de   t h e   R a s pbe rr y   P i   s y s t e m ,   a nd  P y t h o n   ID L E   w a s   us e t o   e x e c ut e   t h e   pr o gra m   a nd  ru n   a l l   t hr e e   m a i pha s e s   of   r e c o gn i t i o n   s y s t e m .   T h e   s y s t e m   h a s   b e e n   t e s t e f o r   t h e   di f f e r e n c e   l i g h t   c o n d i t i o n,   f a c i a l   e xp r e s s i o n,   a c c e s s o r y   a n di s t a n c e   t o   e n s ur e   t h e   v a l i di t y   a n a c c ur a c y   of   r e c o gn i t i o n   p r o c e s s .   S o m e   o t h e   s y s t e m   l i m i t a t i o n   h a s   b e e n   f i gur e   o ut ,   due   t o   l ow   l i gh t ni n c o n di t i o n,   o ut   of   f a c i a l   a n gl e   o 40 ,   a c c e s s o r y   c ove r i n g   t h e   f a c e   s t r uc t u r e   a n t h e   di s t a n c e   o ut   of   0. ~   1. m e t e r .   T hi s   l i m i t a t i o n   c a n   b e   c o un t e r   i n   t h e   f ut ur e   us i n hi g h   s pe c i f i c a t i o n   c a m e r a   m o dul e   a nd  a l go r i t h m .   I n   o v e r a l l ,   t h e   pr o po s e s ur v e i l l a n c e   s y s t e m   c o n s i de r e a   b e t t e r   s y s t e m   t h a a   n o rm a l   s u r v e i l l a n c e   s y s t e m ,   a n e xpe c t e t o   b e   us e fo r   s e c ur i t y   a n a pp l i c a t i o s y s t e m   s uc h   a s   i n   s e c uri t y   do o r   a c c e s s   a n d   s t ude nt   a t t e n d a n c e   s y s t e m .       A C K N O WL ED G E M EN TS   T h e   f i na n c i a l   s uppo r t   r e c e i v e Re s e a r c h   F u n d   E 1 5501 ,   R e s e a r c h   M a na ge m e n t   Ce n t r e ,   U n i v e r s i t i   T u n   H us s e i O nn   M a l a y s i a   i s   g r a t e f ul l y   a c kn o w l e dge d .       R EF ER EN C ES   [ 1]   B . C .   A m a nz e ,   e t   al . ,   V i de o   S ur v e i l l a nc e   a n M o ni t o r i ng   S y s t e m   f o r   E xa m i n a t i o M a l p r a c t i c e   i T e r t a r y   I ns t i t u t i o ns   I n t e r nat i o nal   J our nal   o f   E ng i ne e r i ng   and   C om put e r   Sc i e nc e ,   v o l .   5,   no .   1 ,   pp.   1 5560 - 15 571 ,   2016 .   [ 2]   S .   S ha r m a ,   S .   J a i a nd  K hu s hbo o ,   " A   S t a t i c   H a nd  G e s t ur e   a nd  F a c e   R e c og ni t i o S y s t e m   f o r   B l i nd  P e o pl e , "   6t I nt e r n at i on al   C on f e r e nc e   on   S i gna l   P r o c e s s i ng   and   I n t e gr at e N e t w or k s   ( SP I N ) ,   N o i d a ,   I ndi a ,   p p.   53 4 - 539,   2 019 .   [ 3]   J .   B .   A l a m ,   e t   al . ,   S y s t e m   D e v e l o pm e n t   u s i ng   F a c e   R e c o g ni t i o n,   I nt e r n at i ona l   C on f e r e nc e   on  A u t om a t i on ,   C om put at i ona l   and   T e c hn ol o gy   M ana ge m e nt   ( I C A C T M ) ,   pp .   4 08 - 4 11,   20 19.   [ 4]   S ha r m i l a ,   P e r f o r m a nc e   A na l y s i s   o f   H um a F a c e   R e c o g ni t i o T e c hni qu e s ,   C on f e r e nc e   of   I n t e r ne t   o f   T hi ngs :   Sm ar t   I nno v a t i o a nd   U s age s   ( I oT - S I U ) ,   p p.   1 - 4 ,   2019 .   [ 5]   J e n i f   W .   S .   D S a uz a ,   e t   a l . ,   A ut o m a t e A t t e nd a nc e   M a r ki ng   a n M a na g e m e n t   S y s t e m   by   F a c i a l   R e c o g ni t i o n   us i ng   H i s t o g r a m ,   5 t h   I n t e r na t i ona l   C o nf e r e nc e   on  A dv a nc e C o m put i ng  &   C om m un i c a t i on  Sy s t e m s   ( I C A C C S) pp.   66 - 69 ,   201 9.   [ 6]   E . L .   P i z a ,   e t   al . ,   A na l y z i ng   t he   I nf l ue nc e   o f   M i c r o - L e v e l   F a c t o r s   o C C T V   C a m e r a   E f f e c t   J our nal   o f   Q uant i t at i v e   C r i m i no l og y ,   v o l .   3 0,   no .   2 ,   pp.   2 37 - 26 4 ,   2014 .   [ 7]   R . C .   N g ,   e t   al . ,   S ur v e i l l a nc e   S y s t e m   w i t M o t i o a nd  F a c e   D e t e c t i o u s i ng   H i s t o g r a m s   o f   O r i e nt e G r a d i e n t s ,   I ndo ne s i a   J o ur n al   o f   E l e c t r i c al   E n gi ne e r i n and   C om pu t e r   Sc i e nc e ,   v o l .   14 ,   no .   2,   pp .   86 9 - 876,   2 020 .   [ 8]   P .   A po o r v a ,   e t   a l . ,   " A ut o m a t e C r i m i na l   I de nt i f i c a t i o by   F a c e   R e c o g ni t i o us i ng   O pe C o m pu t e r   V i s i o C l a s s i f i e r s , "   3r I n t e r nat i on al   C on f e r e nc e   on  C om put i ng  M e t hod ol og i e s   and  C om m un i c a t i on  ( I C C M C ) ,   E r o de ,   I ndi a ,   p p.   77 5 - 778 ,   2019 .   [ 9]   M .   S un da r a m   a nd   A .   M a ni ,   F a c e   R e c o g ni t i o n:   D e m y s t i f i c a t i o na   o M ul t i f a r i o us   A s pe c t   i n   E v a l u a t i o M e t r i c s ,   pp.   75 - 81 ,   i F a c e   R e c og ni t i o n:   S e m i s upe r v i s e C l a s s i f i c a t i o n,   S ubs p a c e   P r o j e c t i o a nd  E v a l ua t i o M e t ho ds ,   D a j a n a   P e r m a c ,   C r o a t i a ,   2 016 .   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 .   21 ,   N o .   3 M a r c h   2 021   :     1 3 8 9   -   1 3 9 9   1398   [ 10]   A .   M .   J a g t a p ,   e t   al . ,   A   S t udy   o f   L B P H ,   E i g e nf a c e ,   F i s h e r f a c e ,   a n d   H a a r - l i ke   F e a t u r e s   f o r   F a c e   R e c o g ni t i o us i ng  O pe nC V ,   I nt e r na t i o na l   C o nf e r e nc e   o I nt e l l i g e nt   S u s t a i n a b l e   S y s t e m s   ( I C I S S ) ,   pp .   219 224 ,   201   [ 11]   T .   D hi khi ,   e t   a l . ,   C r e d i t   C a r T r a ns a c t i o B a s e o F a c e   R e c og ni t i o T e c hno l o gy ,   J our na l   o f   P hy s i c s :   I nt e r n at i on al   C on f e r e nc e   on   P hy s i c s   an P hot oni c s   P r oc e s s e s   i n   N ano  Sc i e nc e s ,   v o l .   13 62 ,   p p.   1 - 8 ,   2 019 .   [ 12]   J . J .   H w a n g,   e t   a l . ,   F a c e s   R e c ogn i t i on   U s i n H A A R C A S C A D E ,   L B P H ,   H O G   a nd   L i n e a r   S V M   O bj e c t   D e t e c t or ,   I n :   H w a n S . ,   T a n   S . ,   B i e n   F .   ( e d s )   P r o c e e d i n gs   of   t h e   Si x t h   I nt e r na t i o n al   C o nf e r e nc e   o n   G r e e n   a n H u m a n   I n f o r m at i o T e c hn ol og y .   I C G H I T   L e c t u r e   N ot e s   i n   E l e c t r i c a l   E n gi n e e r i n g ,   vol   50 2.   S pr i n ge r ,   S i n ga p or e ,   20 18.   [ 13]   S .   G .   R a b i h a ,   e t   a l . ,     " F a c e   A ut he n t i c a t i o i E - L e a r n i ng   u s i ng   L o c a l   B i na r y   P a t t e r a nd   H a a r   C a s c a de , "   20 18  I nt e r n at i on al   Se m i nar   on  R e s e ar c o f   I nf or m a t i on  T e c h nol ogy   and  I nt e l l i ge nt   S y s t e m s   ( I SR I T I ) ,   Y o gy a ka r t a ,   I nd o ne s i a ,   pp .   2 8 - 32,   2 018 .   [ 14]   T .   M a n t o r o ,   M .   A .   A y a nd  S uhe n di ,   " M ul t i - F a c e s   R e c o g ni t i o P r o c e s s   U s i ng   H a a r   C a s c a d e s   a nd  E i g e nf a c e   M e t ho ds , "   201 6 t I n t e r na t i o na l   C on f e r e nc e   on  M u l t i m e di a   C o m put i ng  and  Sy s t e m s   ( I C M C S) ,   R a ba t ,   pp .   1 - 5,   2018 .   [ 15]   T . S .   A r ul a n a n t h ,   e t   al . ,   H um a F a c e   D e t e c t i o a nd  R e c o g ni t i o us i ng   C o nt o ur   G e ne r a t i o a nd   M a t c hi ng  A l go r i t hm "   I ndo ne s i an   J our nal   o f   E l e c t r i c a l   E ng i ne e r i ng   and   C om put e r   Sc i e nc e ,   v o l .   16 ,   no .   2 ,   pp .   709 - 714 ,   201 9.   [ 16]   S .   S .   H us s a i a nd  A .   S .   A .   A l - B a l us hi ,   A   R e a l   T i m e   F a c e   E m o t i o C l a s s i f i c a t i o a nd  R e c o g ni t i o us i ng   D e e L e a r ni ng   M o de l ,   J our nal   o f   P hy s i c s :   C o nf e r e nc e   Se r i e s ,   v o l .     1432 ,   pp.   1 - 13 ,   202 0   [ 17]   M . M .   H us s e i n,   e t   a l . ,   D e v e l o pe A r t i f i c i a l   N e ur a l   N e t w o r B a s e H um a F a c e   R e c o g ni t i o n I n done s i J ou r na l   of   E l e c t r i c a l   E ngi ne e r i ng   and   C om p ut e r   Sc i e nc e ,   v o l .   16 ,   no .   3 ,   pp .   1279 - 128 5,   20 19.   [ 18]   A .   S a r ka r ,   e t   a l . ,   S o c i e t y   S e c ur i t y   S y s t e m   U s i ng   F a c e   a n N um be r   P l a t e   R e c o g ni t i o n,   O u r   H e r i t age ;   S pe c i a l   I s s ue   o M ul t i di s c i pl i n a r y   S t ud i e s ,   v o l .   6 8,   no . 1 5,   pp .   254 - 25 8,   20 2 0.   [ 19]   P .   G up t a ,   e t   al . ,   D e e N e ur a l   N e t w o r f o r   H um a F a c e   R e c og ni t i o n,   I nt e r n at i ona l   J o ur n al   o f   E n g i ne e r i ng  a nd  M an uf a c t ur i ng ,   v o l .   1 ,   p p.   63 - 71 ,   201 8.     [ 20]   D .   T y a s   P ur w a   H a p s a r i ,   e t   a l . ,   F a c e   D e t e c t i o u s i ng   H a a r   C a s c a de   i n   D i f f e r e nc e   I l l um i n a t i o n,   I n t e r na t i ona l   Se m i nar   on   A pp l i c a t i on  f o r   T e c h no l ogy   o f   I n f o r m at i on   an C om m u ni c a t i on ,   pp .   5 55 5 59 ,   2 018 .   [ 21]   P .   V i o l a   a nd   M .   J o ne s ,   R a p i d   o bj e c t   de t e c t i o us i ng   a   bo o s t e d   c a s c a de   o f   s i m p l e   f e a t u r e s ,   P r oc e e di ng s   of   t he   2001   I E E E   C om p ut e r   So c i e t y   C o nf e r e nc e   on   C om p ut e r   V i s i on  and   P at t e r R e c og ni t i on .   p p.   5 11 518,   2 001 .   [ 22]   P .   A po o r v a ,   e t   a l . ,   " A ut o m a t e C r i m i na l   I de n t i f i c a t i o by   F a c e   R e c o g ni t i o us i ng   O pe C o m pu t e r   V i s i o C l a s s i f i e r s , "   3r I n t e r nat i on al   C on f e r e nc e   on  C om put i ng  M e t hod ol og i e s   and  C om m un i c a t i on  ( I C C M C ) ,   E r o de ,   I ndi a ,   p p.   77 5 - 778 ,   2019 .   [ 23]   S .   A m br e ,   M .   M a s u r e k a r ,   a nd   S .   G a i kw a d ,   F a c e   R e c og ni t i o us i ng   R a s p be r r y   P I .   I n :   V .   G unj a n ,   J .   Z u r a d a ,   B .   R a m a n,   G .   G a ng a dha r a ( e ds ) ,   M ode r A p pr o ac he s   i M ac hi ne   L e ar ni ng  and  C og ni t i v e   Sc i e nc e :   A   W al k t hr ough .   St ud i e s   i n   C om pu t a t i ona l   I n t e l l i ge nc e ,   v o l   885 .   S pr i ng e r ,   C ha m ,   20 20.   [ 24]   A .   M o r dv i n t s e v   a nd   K .   A bi d,   O pe nC V - P y t ho T ut o r i a l s   D o c um e n t a t i o n,   O pe nC V   P y t ho D o c . ,   pp .   1 26 9,   20 17.   [ 25]   M .   K h a n ,   e t   a l . ,   F a c e   D e t e c t i o a n R e c o g ni t i o us i ng   O pe n C V ,   I nt e r n at i ona l   C o nf e r e nc e   on  C om p ut i ng ,   C om m uni c at i on ,   and   I nt e l l i ge nt   Sy s t e m s   ( I C C C I S) ,   p p.   11 6 - 119 ,   2 0 19   [ 26]   U m m - e - L a i l a ,   e t   a l . ,   C o m pa r a t i v e   A na l y s i s   f o r   a   R e a l   T i m e   F a c e   R e c og ni t i o S y s t e m   u s i ng   R a s pb e r r y   P i ,   I E E E   4t h   I n t e r na t i ona l   C on f e r e nc e   on  Sm ar t   I n s t r um e nt a t i on ,   M e as u r e m e nt   an A ppl i c at i on   ( I C S I M A ) pp.   1 - 4   201 7.       B I O G R A P H I ES   O F   A U T H O R S       A d l an   H ak i m   A h m ad   r e c e i v e h i s   D i p l o m a   i E l e c t r o ni c   E ng i ne e r i ng   a n D e g r e e   i E l e c t r o ni c   E ng i ne e r i ng   f o r m   P o l i t e kn i S ul t a S a l a hudd i A bdu l   A z i z   S ha h,   a nd  U ni v e r s i t i   T un   H us s e i n   O nn  M a l a y s i a ,   i 2015   a n 20 19,   r e s p e c t i v e l y .   C ur r e n t l y   he   i s   a n   E ng i ne e r   a t   o ne   o f   M e d i c a l   E qui pm e nt   D i s t r i bu t o r   C o m pa n y   ba s e i S ha A l a m ,   S e l a ng o r ,   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 nc l ud e s   w i r e l e s s   c o m m uni c a t i o n,   r e c o g ni t i o s y s t e m ,   a nd   m o ni t o r i ng   s y s t e m .                 S h ar i f ah   S ao n   i s   c ur r e n t l y   a   S e ni o r   L e c t ur e r   i n   t h e   F a c ul t y   o f   E l e c t r i c a l   a n E l e c t r o ni c   E ng i ne e r i ng ,   U ni v e r s i t i   T u H us s e i O n M a l a y s i a ,   M a l a y s i a   a nd  r e g i s t e r e P r o f e s s i o na l   T e c hno l o g i s t s .   S h e   r e c e i v e t h e   B a c he l o r   o f   S c i e nc e   i E l e c t r i c a l   E ng i ne e r i ng   a nd  M a s t e r   o f   E l e c t r i c a l   E ng i ne e r i ng   f r o m   U ni v e r s i t i   T e kno l o g i   M a l a y s i a ,   a n K o l e j   U ni v e r s i t i   T un  H u s s e i n   O nn  M a l a y s i a ,   M a l a y s i a ,   i 2 001 ,   a nd  2004 ,   r e s pe c t i v e l y .   H e r   r e s e a r c i nt e r e s t   i s   i t h e   a r e a   o f   t he o r e t i c a l   di g i t a l   s i g na l   pr o c e s s i ng ,   v i s i b l e   l i g ht   c o m m uni c a t i o a nd  di g i t a l   &   da t a   c om m uni c a t i o n.   I nc l udi ng   t h e   a ppl i c a t i o t o   I nt e r n e t   o f   T hi ng s   ( I oT )   a nd  b i g da t a   a na l y s i s .   S he   i s   a   m e m be r   o f   I E E E ,   I ns t i t ut e   o f   E ng i ne e r i ng   M a l a y s i a   ( I E M ) ,   B o a r o f   E ng i ne e r i ng   M a l a y s i a   ( B E M ) ,   a nd   P r o f e s s i o na l   T e c hno l o g i s t   o f   M a l a y s i a   B o a r o f   T e c hn o l og i s t s   ( M B O T ) .       Evaluation Warning : The document was created with Spire.PDF for Python.