I n d on e s ian   Jou r n al   o f   E lec t r ica l   E n gin e e r in a n d   Com p u t e r   S c ience   Vo l .   25 ,   N o .   1 J a n ua r y   2022 ,   pp.   339 ~ 346   I S S N:  2502 - 4752,   DO I 10 . 11591/i j e e c s . v 25 .i 1 . pp 339 - 346             339       Jou r n al  h o m e page ht tp: // ij e e c s . iaes c or e . c om   F e at u r e  e xt r ac t io n  t o p r e d ic t   q u al ity  of  se gr e gat in g swe e t   t am ar i n d  u si n i m age  p r oc e ssi n g       P an an T an gwann awit 1 S ak c h ai  T an gwann awi t 2   1 D e pa r tm e nt   of  M a th e ma ti c s  a nd C o mput in S c i e n c e F a c ul t y   of   S c i e n c e  a nd  T e c hn ol o g y ,   P he t c ha bun R a ja bha U ni ve r s it y , P h e t c ha bun,  T ha il a nd   2 D e pa r tm e nt   of    I n f or ma ti o T e c hn o l o g y  M a na ge me n t,  F a c ul t y of   I n f o r ma ti o T e c hn o l o g y  a nd D ig it a I nn ov a ti o n,   K in g M o ngkut’ s  U ni v e r s it y   of   T e c hn o l o g y  N o r th   B a ng k o k ( K M U T N B ) , B a ngk o k T ha il a nd       Ar t ic l e   I n f o     AB S T RA CT     A r ti c le  h is tor y :   R e c e i ve A ug   18 2021   R e vi s e No v   24 2021   A c c e pt e De c   1 2021       I n   t h i s   mo d e rn   a g e ,   s ev e ral   n ew   me t h o d s   h av e   b ee n   d e v e l o p ed ,   e s p ec i a l l y   i n   i m ag e   p ro ce s s i n g   f o ag ri cu l t u r e   b u s i n e s s ,   w h i ch   c o n s i s t s   o t e ch n o l o g i e s   d e r i v ed   fro m   art i f i c i a l   i n t el l i g en ce   (A I c ap ab i l i t i e s   c a l l e d   m a ch i n e   l e ar n i n g Cl as s i f y   i s   w i d e l y   u s e d   m e t h o d   t o   an a l y z e   p at t e rn s ,   t re n d s ,   as   w el l   as   t h b o d y   o k n o w l ed g e   fr o m   t h e   d at v i s u al i zat i o n .   Im ag e   cl as s i fi c at i o n   ap p l i c at i o n   i m p ro v e s   d i s c r i m i n at i o n   an d   p r e d i c t i o n   e ff i ci en cy .   T h e   o b j ec t i v o t h i s   re s e ar ch   w as   t o   fe at u r e   e x t rac t i o n   o s w ee t   t am ari n d   an d   c o m p ar e   t h al g o r i t h m   fo cl as s i fi c at i o n .   T h i s   r e s e ar ch   u s e d   i m ag es   fro m   g o l d e n   s w ee t   t am ari n d   s p ec i e s   w i t h   t h e   u s e   o M A T L A a n d   p y t h o n   l an g u ag e.   T h e   s t e p s   o t h i s   re s e ar ch   c o n s i s t e d   o 1 p re p ro ce s s i n g   s t e p   fo fi n d i n g   t h e   d i s t an ce   t o   ap p ro p ri at e   o t h e   i m a g e   q u a l i t y ,   2 fe at u r e   e x t rac t i n g   fo fi n d i n g   t h e   n u m b e r   o b l ack   p i x e l s   an d   t h e   n u m b e o w h i t e   p i x el s ,   p e ri me t e r ,   d i a me t e r,   an d   ce n t ro i d ,   an d   3 c l as s i f y i n g   fo a l g o ri t h m s c o m p ari s o n .   T h e   r e s u l t s   s h o w ed   t h at   t h e   c a me ra's   d i s t an ce   t o   t h e   i m ag e   w as   6 0   c m .   T h e   co e ffi ci e n t   o f   d e t e r m i n at i o n   w as   at   0 . 9 9 5 6 ,   an d   t h e   s t an d ard   e rr o o e s t i m at e   w as   7 , 4 2 4 . 7 3 6   p i x e l s .   T h e   c o n c l u s i o n   o c l as s i fi c at i o n   fo u n d   t h at   t h e   ran d o fo re s t   h a d   t h e   h i g h e s t   a cc u ra cy   at   9 2 . 0 0 % ,   SD .   =   8 . 0 6 ,   p rec i s i o n   =   9 0 . 1 2 ,   rec al l   =   9 2 . 8 6 ,   an d   F1 - s c o r e   =   9 1 . 3 6 .   K e y w o r d s :   C l a s s if i c a t i o n   F e a t ur e   e x t r a c t i o n     I m a ge   pr o c e s s i n g   S we e t   t a m a r i n d   Th i s   i s   a n   o p en   a c ces s   a r t i c l u n d e r   t h CC  B Y - SA   l i cen s e.     C or r e s pon din A u th or :   S a kc h a i   T a n gwa nn a w i t   De pa r t m e n t   o f   I nf o r m a t i o n   T e c hn o l o g y   M a n a ge men t   F a c u l t y   o f   I nf o r m a t i o n   T e c hn o l o g y   a n D i g i t a l   I nno v a t i o n   Ki ng  M o n gkut s   U ni ve r s i t y   o f   T e c hn o l o g y   No r t h   B a n gko ( K M UT NB )   B a n gko 10800,   T h a i l a n d   E m a i l s a k c h a i . t @i t d. k m ut nb . a c . t h       1.   I NT RODU C T I ON     A r t i f i c i a l   i n t e ll i ge n c e   ( A I )   ha s   p l a y e n u m e r o us   i m po r t a n t   r o l e s   i n   t he   de v e l o p m e n t   o f   o r ga ni z a t i o n a l   f u n c t i o n s .   I m p l e m e n t a t i o n   o f   t h e   t e c hn o l o g i e s   [ 1]   s uc h   a s   i m a ge   pr o c e s s i ng  [ 2] ,   i n t e r n e t   o f   t hi n gs   ( I o T )   [ 3 ] ,   i n t e l l i g e n t   c o n t r o l   [ 4]   a n r o b oti c s ,   s i g n a l   pr o c e s s i ng,   n a t ur a l   l a n gua ge   pr o c e s s i n ( NL P )   [ 5] ,   a n bi da t a   a n a ly t i c s   [ 6] .   T h e   im p l e m e n t a t i o n   o f   A I   a n im a ge   pr o c e s s i ng  t e c hn o l o g y   i t h e   a gr i c u l t ur e   s e c t or   [ 7] ,   t hi s   i n t e gr a t i o n   c o n c e pt   pr o m o t e s   t h e   de v e l o p m e n t   o f   i nn o v a t i o n s ,   t oo l s ,   a n m e t h o do l o g i e s   w hi c c a n   h e l s m a r t   f a r m i ng  m o r e   e f f e c t i v e ly .   S m a r t   a gr i c u l t ur e   s y s t e m   i m pr o v e s   e f f i c i e nc y   a n d   i nc r e a s e s   pr o duc t i vi t y   pe r   a r e a   us i ng  t e c h n o l o g y   a n a r t i f i c i a l   i n t e ll i ge n c e   i a gr i c u l t ur e .   T h e   i n t e ll i ge n c e   s y s t e m   s t a r t s   f r o m   a   s e e s e l e c t i o n ,   s o i qua l i t y ,   m o ni t o r i n g   t h r ott l i ng  li g h t   a n d   t e m pe r a t ur e .   Us i ng  A I   a n I o T   s y s t e m s   c a n   d e t e r m i ne   t h e   pr o pe r   a m o u n t   o f   Evaluation Warning : The document was created with Spire.PDF for Python.
                                I S S N :   2502 - 4752   I n do n e s i a n   J   E l e c   E n &   C o m S c i ,   Vo l .   25 ,   N o .   1 J a n ua r y   20 22 339 - 346   340   n ut r i e n t s   a n wa t e r ,   pl a n t i n m a n a ge m e n t ,   a n d   pe s t   c o n t r o l .   An   i nn o v a t i v e   a gr i c u l t ur e   s y s t e m   e n a bl e s   a c c ur a t e   pr o duc t i o n   f o r e c a s t s ,   r e duc i n c o s t s   a n r e duc i n t h e   us e   o f   h u m a n   l a b o r .   I n   2020 ,   t h e   s m a r t   a gr i c u l t ur e   t e c h n o l o g y   m a r ke wa s   wor t h   m o r e   t h a n   $ 26  bil li o n   a n c o m po un d   a nn ua l   gr o wt h   r a t e   ( C A GR ) .   I t   i s   wo r t h s   m o r e   t h a n   o n e - t hi r o f   t h e   m a r ke t   v a l u e   i n   t h e   As i a - P a c i f ic  r e g i o n .   T h e   v a l ue   o f   t h e   s m a r t   a gr i c u l t ur e   m a r ke t   i n   T ha i l a n wa s   $ 128. mi ll i o n   i n   2018  a n i s   e x pe c t e to  r e a c $ 269. mi ll i o n   i n   2022.   A ppa r e n t l y ,   a n   i n t e l li ge n t   a l go r i t hm   li ke   m a c hi ne   l e a r ni ng  a n t oo l s   [ 8]   a l l o w s   a uto m a t e m a c hi ne s   to  l e a r n   a n ut i li z e   t h e   tr a i n e d   a l go r i t hm s   t s o l v e   pr o bl e m s   f o r   h u m a n s .   I n   t hi s   r e s e a r c h ,   t h e   c l a s s if i c a t i o n   o f   d i s t i n c t i v e   f e a t ur e s   o f   i m a ge s   wa s   us e d,   de s i g n e f o r   v a r i o us   a pp l i c a t i o ns .   F o r   e x a m p l e ,   i m a ge   c l a s s i f i c a t i o n   a l g o r i t hm s   a r e   us e to  l e a r n   a n c l a s s i f y   da t a .   T h e   a l g o r i t hm s s uc h   a s   k - n e a r e s t   n e i g hb o r s   ( K NN )   [ 9] ,   de c i s i o n   t r e e   [ 10] ,   r a n do m   f o r e s t   [ 11] ,   s uppor t   v e c t or   m a c hi ne   ( S VM )   [ 12 ] ,   a n l o g i s t i c   r e gr e s s i o n   [ 13]   we r e   us e d.   I n   a ddi t i o n ,   s e l e c t i n t h e   m o s t   a ppr o p r i a t e   da t a   c l a s s if i c a t i o n   a l go r i t hm   t o   e x t r a c t   t h e   d i s t i n c t i ve   f e a t ur e s   o f   t h e   im a ge s   i t h e   d a t a s e t   i s   c r uc i a l .   T he   a l go r i t hm   w il l   m e a s ur e   t h e   m o de l s '   b e s t   pe r f o r m a n c e ,   i n c l ud i ng  a c c ur a c y ,   pr e c i s i o n ,   r e c a ll ,   a n f 1 - s c o r e .   T hi s   r e s e a r c h   d i v i de da t a   i n t o   t w o   pa r t s a   t r a i ni ng  s e t   a n t e s t   s e t   by   k - f o l c r o s s   v a li da t i o n   ( K - f o l d) ,   s t r a t e f i e d   k - f o l ( S K - f o l d)   a n l e a ve   o n e   o u t   c r o s s   va l i d a t i o ( L OO C V) .   I n   t hi s   s t ud y ,   5 - f o l c r o s s   va l i da t i o wa s   c o m bi ne w i t h   p y t h o n   l a n gua ge   t c l a s s if y   d a t a .   I i s   a l s o   us e to   o b t a i n   r e l i a bl e   r e s u l t s   t m e a s ur e   t h e   e x t r a c t i o n   e f f i c i e n c y   a n ke y   f e a t ur e s   o f   t h e   s we e t   t a m a r i nd.     T h e   r e s u l t s   w e r e   t h e n   u s e t o   de v e l o a   s t a n da r d i z e s i z e   s o r t i n t oo l   f o r   s we e t   t a m a r i n d.   M o r e   r e s u l t s   c a b e   a pp l i e i s o r t i n g   t h e   pa c k i n g   s i z e   o f   t h e   s we e t   t a m a r i n d   f o r   e x po r t .   T h e   a b o ve m e n t i o n e d   t e c h n o l o g i e s   h a v e   b e e n   u s e i n   t h e   a gr i c u l t ur a l   s e c t or   to   i n c r e a s e   pr o duc t i o n   e f f i c i e nc y ,   r e duc e   t h e   pr o duc t i o n   c o s t,   a n s a v e   t i m e   a n l a b o r .   M o r e o v e r ,   t h e   pr o duc t i o n   qua l i t y   c a n   b e   pr e c i s e ly   c o n t r o l l e d.       2.   T HE ORE T I CA L   B AC K GROUND   AN RE L AT E RE S E AR CH   2. 1 .    I m age   p r oc e s s in g   I m a ge   c o n s i s t s   o f   s m a l l   un i t s   c a l l e pi gm e n t   o r   pi x e l   i n   wh i c h   e a c h   po i n t   h a s   a   n um e r i c a l   v a l ue .   T h e r e   a r e   t y pe s   o f   ge n e r a l   i m a ge s   pr o c e s s i n g:      Or i gi n a l   i m a ge s a n   i m a ge   f o r m e b y   a   c o m b i n a t i o n   o f   t h r e e   pr i m a r y   c o l o r s   wh i c h   v e c t o r s   a r e   s h o wi n r e d,   gr e e n ,   a n b l ue   v a l ue s   [ 14] .     Gr a y   s c a l e   i m a ge     a n   i m a ge   wi t h   a   c o l o r   i n   gr a y s c a l e .   I n   8 - b i t ,   t h e r e   a r e   256  po s s i b l e   c o l o r s   r a n gi n f r o m   b l a c ( 0)   t o   wh i t e   ( 255)   [ 15] .     B i n a r y   i m a ge s a n   i m a ge   c o n s i s t i n o n l y   o f   b l a c a n wh i t e .   T h e r e   a r e   o n l y   t wo   v a l ue s   i n   b l a c a n wh i t e   i m a ge   do t s b l a c a s   a n wh i t e   a s   o r   255   [ 16]     Hi s t o gr a m gr a ph   wh i c h   pr e s e n t e t o t a l   n um b e r s   o f   do t s   i n   t h e   i m a ge .   T h e   h o r i z o n t a l   a x i s   s h o ws   t h e   i n t e n s i t y   l e v e l   f r o m   0 - 255.   W h e n   t h e   gr a y s c a l e   i s   l o w,   t h e   i n t e n s i t y   wi t h   l e s s   v a l ue s   wi l l   b e   s e e n   a s   b l a c k.   I f   gr a y s c a l e   i s   h i gh ,   t h i s   m e a n s   t h a t   t h e   i m a ge   i s   v e r y   i n t e n s e   a n wi l l   b e   s e e n   a s   wh i t e .   T h e   v e r t i c a l   a x i s   o f   t h e   gr a ph   s h o ws   a   n um b e r   o f   i m a ge   do t s   v a l ue a t   e a c h   i n t e n s i t y   r a n ge .   F e a t ur e   e x t r a c t i o n   f o r   i m a ge   a n a l y s i s   [ 17] ,   f e a t ur e   i s   a n   a n a l y s i s   o f   t h e   m a i n   c h a r a c t e r i s t i c s   t o   f i n r e pr e s e n t a t i v e s   o f   da t a   t o   us e   t o   r e pr e s e n t   t h a t   i m a ge   [ 18] .   T h i s   t h e o r y   o n   i m a ge   a n a l y s i s   i s   c o m m o n l y   us e b y   us i n f e a t ur e   e x t r a c t   o f   o b j e c t s   t o   f i n s pe c i f i c   f e a t ur e s   a n us e t h e m   t o   a n a l y z e   t h e   c h a r a c t e r i s t i c s   o f   t h e   i m a ge   o f   s we e t   t a m a r i n d.   T h i s   e n a b l e s   f i n di n t h e   s we e t   t a m a r i n s t a n da r s i z e .   T h e   m e t h o ds   f o r   r e pr e s e n t i n i m a ge s   wi t h   s pe c i f i c   i m a ge   c h a r a c t e r i s t i c s   c o m m o n l y   us e t h e   pr o pe r t i e s   o f   c o l o r ,   t e x t ur e ,   s h a pe ,   a n h i s t o gr a m s   o f   o r i e n t e gr a di a n t s   ( HO G)   [ 19] - [ 20] .     2. 2 .    Cl as s if i c at ion   al gor it h m     R e gi o n ,   a r e a   r e c o gn i t i o n   o f   a n   o b j e c t ,   o r   b o un da r y ,   r e c o gn i t i o n   o f   a n   o b j e c t s   b o un da r y ,   wh i c h   i s   a l s o   kn o wn   a s   pa t t e r n   a r e   t h e   wo r ki n a ppr o a c h e s   o f   s h a pe   c l a s s i f i c a t i o n   [ 21] .   T h e r e   a r e   t wo   t y pe s   o f   s h a pe   c l a s s i f i c a t i o n   m e t h o ds de c i s i o n   t h e o r e t i c   a n s t r uc t ur a l   a s pe c t s   [ 22] .   De c i s i o n   t h e o r e t i c   t y pe   r e c o gn i z e s   qua n t i t i e s   s uc h   a s   l e n gt h ,   a r e a ,   a n t e x t ur e   [ 23] .   T h e   s e c o n t y pe   us e s   a   pa t t e r n ,   wh i c h   wo r ks   b e s t   f o r   c l a s s i f i c a t i o n .   I n   t h i s   r e s e a r c h ,   c l a s s i f i c a t i o n   a l go r i t h m   c o n s i s t s   o f   K NN ,   de c i s i o n   t r e e ,   r a n do m   f o r e s t ,   s uppo r t   v e c t o r   m a c h i n e   ( S VM )   a n d   l o gi s t i c   r e gr e s s i o n   [ 13] .     2. 3 .     Val id at ion   of   m e t h od   ve r if icat ion   Ve r i f i c a t i o n   i s   a   m e t h o us e t o   t e s t   t h e   a b i l i t y   o f   t h e   m o de l   t h a t   wi l l   b e   us e a s   a   m o de l   t o   pr e di c t   da t a   t h a t   n e e ds   t o   b e   c l a s s i f i e i n   t h e   f ut ur e .   T h i s   i s   do n e   b y   c o n s i de r i n t h e   pe r c e n t a ge   a n a c c ur a c y   o f   t h e   pr e di c t i o n   o f   t h e   da t a   t o   b e   c a t e go r i z e d.   I n   t h i s   r e s e a r c h ,   t h e r e   a r e   t wo   m e t h o ds   f o r   v a l i da t i o n k - f o l c r o ss  v a l i da t i o n   ( k f o l d) ,   S t r a t e f i e K - f o l ( S K - f o l d)   a n l e a v e   o n e   o ut   c r o s s   v a l i da t i o n   ( L OO C V) .       Evaluation Warning : The document was created with Spire.PDF for Python.
I n do n e s i a n   J   E l e c   E n &   C o m S c i     I S S N:   2502 - 4752         F e atur e   e x tr ac ti on  to  pr e dict  quali ty  o f   s e gr e gati ng  s w e e tamar ind  us ing  image     ( P anana  T ang w a nna w it )   341   2. 3. 1 .   K - f ol d   c r os s   val id at ion   ( K - f ol d ) ,   s t r at e f ied  K - f ol d   ( S K - f ol d )   K - f o l C i s   a   m e t h o f o r   di v i di n da t a s e t   i n t o   pa r t s .   T h e   pr i n c i pl e   i s   s um m a r i z e a s   t o   di v i de   t h e   da t a   i n t o   pa r t s   [ 11] .   On e   pi e c e   o f   da t a   i s   r e qui r e t o   t e s t   a   m o de l   t h a t   h a s   b e e n   c r e a t e r e f e r r e t o   a s   t e s t   s e t .   T h e   r e s t   o f   t h e   k - da t a   i s   us e t o   c r e a t e   t h e   m o de l   i n   c l a s s i f i c a t i o n   a n o f t e n   c a l l e t r a i n i n s e t ,   a l t e r n a t i n t h e   t e s t   un t i l   a l l   pa r t s   a r e   us e a s   t h e   t e s t   s e t .   A f t e r   t h a t ,   t h e   pe r c e n t a ge   o f   t h e   c o r r e c t   pr e di c t i o n   i s   c o n s i de r e wh i c h   m o s t   o f   t h e   t r a i n i n s e t s   a r e   di v i de i n t o   t h r e e - f o ur t h s   o f   t h e   t o t a l   da t a .   T h e   r e m a i n de r   i s   a   t e s t   s e t   wh i c h   i s   c o n s i de r e a s   o n e   o f   t h e   m o s t   c o m m o n l y   us e m e t h o ds   f o r   pr e di c t i n t h e   da t a   t o   b e   c l a s s i f i e d.     2. 3. 2 .   L e ave   on e   ou t   c r os s   val id at ion   ( L OO CV )   L OO C i s   a n o t h e r   m e t h o wi l dl y   a c c e pt e e qua l l y   t o   t h e   m e t h o o n e .   T h e   pr i n c i pl e   i n   s um m a r y   i s   a s s um i n t h a t   t h e r e   a r e   t o t a l   o f   da t a ,   o n e   v a l ue   wi l l   b e   t a ke n   o ut   wh i c h   r e m a i n s   N - t o   b e   us e t o   c r e a t e   a   m o de l   i n   t h e   c l a s s i f i c a t i o n   o f   gr o ups   [ 13] .   A f t e r   da t a   wa s   pul l e o ut ,   c a l c ul a t i o n s   wi l l   ke e r e pe a t i n i n   t h i s   m a n n e r   un t i l   a l l   da t a   i s   c o r r e c t   a n t h e n   us e f o r   t e s t i n g   [ 14] .   A f t e r   t h a t ,   pe r c e n t a ge   o f   t h e   c o r r e c t   pr e di c t i o n   i s   c o n s i de r e d.     2. 4 .     S am p l e   S we e t   t a m a r i n i s   a   po pul a r   f r ui t   h i gh l y   c o n s um e i n   m a n y   c o un t r i e s   a c r o s s   t h e   wo r l i n c l udi n T h a i l a n d.   S we e t   t a m a r i n c a n   b e   s t o r e f o r   a   l o n t i m e .   I n   2019,   t h e   v o l um e   o f   s we e t   t a m a r i n b e i n e x po r t e we r e   a s   h i gh   a s   19, 902. t o n s   [ 24 ] .   T h e   v a l ue   o f   e x po r t   wa s   440. 07  m i l l i o n   b a h t .   T h a i l a n d’ s   m a j o r   t r a di n pa r t n e r s   a r e   C h i n a ,   Un i t e A r a b   E m i r a t e s ,   Vi e t n a m ,   t h e   Un i t e S t a t e s   o f   A m e r i c a ,   M a l a y s i a ,   S i n ga po r e ,   I n do n e s i a ,   S a udi   A r a b i a ,   L a o s ,   a n K uwa i t .   M o s t   o f   t h e m   e x po r t   a r o un 70%   a n s e l l   a r o un 30%   do m e s t i c a l l y .   T h e   m a i n   c o un t r i e s   t h a t   o r de r   m o s t   s we e t   t a m a r i n ds   a r e   C h i n a   [ 25]   a n Vi e t n a m ,   b ut   t h e y   do   n o t   r e qui r e   h i gh   qua l i t y   t a m a r i n o r   gr a de - B   pr o duc t s .   W h i l e   c o un t r i e s   s uc h   a s   t h e   Un i t e S t a t e s   o f   A m e r i c a ,   E ur o pe a n   c o un t r i e s ,   a n t h e   M i ddl e   E a s t   wo ul o n l y   o r de r   h i gh   qua l i t y ,   o r   gr a de - A   pr o duc t s .   T h i s   r e s e a r c h   i n v e s t i ga t e s   t h e   f e a t ur e   e x t r a c t i o n   m e t h o t h a t   pr o v i de s   t h e   c o r r e c t n e s s   v a l ue   o f   t h e   da t a s e t   [ 26 ] ,   [ 27]   b ut   t h e   i m pr o v e   o f   pr e v i o us   r e s e a r c h   we r e   t o   e n h a n c e a l go r i t h m   o f   c l a s s i f i c a t i o n   t e c h n i que s   a n f e a t ur e   e x t r a c t i o n   o f   t e x t ur e   o f   o b j e c t s .   T h i s   wa s   do n e   b y   ut i l i z i n t h e   i m a ge   pr o c e s s i n a n us i n da t a   c l a s s i f i c a t i o n   f r o m   t h e   r e s e a r c h   o f   [ 9] ,   [ 28] - [ 30]   wi t h   f e a t ur e   e x t r a c t i o n   m e t h o a n us e t o   c r e a t e   c r i t e r i a   f o r   s we e t   t a m a r i n qua l i t y   c l a s s i f i c a t i o n   b y   i m a ge   pr o c e s s i n m e t h o d.   C a l c ul a t i n t h e   a r e a   o f   a n   i m a ge   i n   pi x e l s   a n c o m pa r i n t h e   a l go r i t h m   pe r f o r m a n c e   t o   c l a s s i f y   da t a   b y   de f i n i n t h e   e x t r a c t i o n   i n t e r v a l   m e t h o us i n s um   a n v a r i a n c e   o f   m e a n   n um b e r   o f   pi x e l s   c a n   b e   us e t o   s o r t   s we e t   t a m a r i n gr a de s   a n qua l i t y .       3.   RE S E AR CH  M E T HO   150  pi e c e s   ( pi c t ur e s )   o f   h i gh   qua l i t y   go l de n   s we e t   t a m a r i n we r e   us e d.   T h e   s a m pl e s   we r e   di v i de i n t o   t wo   gr o ups   de pe n di n o n   t h e i r   s i z e s 80  s t a n da r A   s i z e   a n d   70  s t a n da r B   s i z e .   A   s i z e   wa s   h i gh   qua l i t y   t h a n   B   s i z e ,   t h a t   c o n s i s t s   o f   1)   A   s i z e   b i t h a n   B   s i z e   a n 2)   A   s i z e   h a v e   a   di a m e t e r   l a r ge r   t h a n   B   s i z e .   T h e   a r e a   wa s   s e t   f o r   c a pt ur i n t h e   i m a ge s   wi t h   b l a c b a c kgr o un d.   T h e   i m a ge   o f   s we e t   t a m a r i n m us t   b e   t h e   r e s o l ut i o n   o f   10  m i l l i o n   pi x e l s .   T h e   s t e o f   r e s e a r c h   de v e l o pm e n t   c o n s i s t e o f   pr e pr o c e s s i n g,   f e a t ur e   e x t r a c t i o n   a n e v a l ua t i o n   a s   e x pl a i n e d   i n   F i gur e   1 .           F i gur e   1.   F r a m e wo r o f   r e s e a r c h   m e t h o d   Evaluation Warning : The document was created with Spire.PDF for Python.
                                I S S N :   2502 - 4752   I n do n e s i a n   J   E l e c   E n &   C o m S c i ,   Vo l .   25 ,   N o .   1 J a n ua r y   20 22 339 - 346   342   3. 1 .     S t e p   1:   p r e p r oc e s s in g   T h e   d i s t a n c e   b e t we e n   t h e   c a m e r a   a n t h e   o bj e c t   wa s   de t e r m i ne t o   c o n tr o l   t h e   im a ge   qu a l i t y   o f   t he   t a m a r i nd  a n s o   t h a t   t h e   m e a s ur e v a l ue   f r o m   t h e   s y s t e m   c a n   b e   r e a i n   t h e   b e s t   i m a g e .   T h e r e f o r e ,   c a l i br a t i o a t   di f f e r e n t   d i s t a n c e s   wa s   ne e de d.   T he   d i s t a nc e   f r o m   t h e   r e f e r e n c e   o bj e c t   to   c a m e r a   i t hi s   s t ud y   wa s   us e a t   d i f f e r e n t   l e ve l s ,   20   c m ,   30   c m ,   40   c m ,   50   c m ,   a nd  60   c m .   T h e   t e s t   o bj e c t   r e qui r e   pa pe r   a t   7x 7   c m   ( 49  c m 2 ) ,   6x ( 36  c m 2 )   c m ,   5 x 5   c m   ( 25  c m 2 ) ,   a n d   4 x 4   c m   ( 16  c m 2 )   s i z e   t o   de t e r m i ne   t h e   li ne a r   c o r r e l a t i o n   t r e n o f   t h e   ar e a   a R 2   o f   t h e   s t a n da r a r e a   b a s e o n   r e gr e s s i o n   a n a ly s i s   [ 13] .   T h e   v a l u e   t h e n   wa s   c a l c u l a t e i n   ( 1) .     =   0 + 1 1 + 2 2 + +  +   , = 1 , ,   ( 1)     3. 2 .     S t e p   2:   f e at u r e   e x t r ac t ion   F e a t ur e   e x t r a c t i o n   wa s   us e s t a r t i n f r o m   m a ki n un s h a r m a r t o   f i l t e r   t h e   i m a ge   b e f o r e   pr o c e s s i n g.   T h i s   i s   t o   s h a r pe n   t h e   i m a ge   o f   t h e   s we e t   t a m a r i n d.   A f t e r   t h a t ,   t h e   e qua t i o n   t o   c a l c ul a t e   t h e   b l a c pi x e l   s i z e   a n wh i t e   pi x e l   s i z e   o f   t h e   i m a ge   a r e   us e d.   T h r e s h o l v a l ue s   a r e   o b t a i n e b y   de t e r m i n i n t h e   c o l o r   h i s t o gr a m   i n   t h e   pi x e l   po i n t s   o f   i n t e r e s t   t o   s e pa r a t e   t h e   b a c kgr o un i m a ge   f r o m   t h e   i m a ge .   T o t a l   pi x e l   s i z e   o f   t h e   i m a ge   wa s   i de n t i f i e d.   T h e   s i z e   o f   wh i t e   pi x e l s ,   s i z e   o f   b l a c pi x e l s ,   pe r i m e t e r ,   c e n r t o i d,   a n di a m e t e r   o f   t h e   o b j e c t   we r e   c a l c ul a t e f r o m   t h e   i m a ge   us i n M A T L A B .       S t e 2. 1 Ge t t i n c o l o r   i m a ge   ( R GB )   o f   s we e t   t a m a r i n a n i m pr o v e   t h e   i m a ge   t h r o ugh   un s h a r m a r m e t h o d.   T h i s   c o n v e r t s   t h e   c o l o r   i m a ge   o f   t h e   t a m a r i n i n t o   gr a y s c a l e   i m a ge   wi t h   t h e   i n t e n s i t y   o f   e a c h   po i n t   i n   t h e   po s i t i o n   o f   t h e   t a m a r i n i m a ge .   B y   r e a di n t h e   v a l ue   o b t a i n e f r o m   t h e   i m a ge   t a ke n   i n   X,   c o o r di n a t e s ,   t h e   pi x e l   v a l ue   wa s   a dj us t e d,   t h e n   t h e   o b t a i n e v a l ue s   a r e   c o n v e r t e b a c t o   t h e   c o o r di n a t e s   o f   X,   Y.   A f t e r   a l l   pi x e l   v a l ue s   we r e   o b t a i n e d,   v a l ue s   i s   t h e n   us e t o   b e   pl o t   i n   gr a ph   i n   a   f o r m   o f   h i s t o gr a m   t o   s h o t h e   b r i gh t n e s s   a t   di f f e r e n t   s t a ge   o f   t h e   s we e t   t a m a r i n a n t h e   i m a ge s   we r e   c a pt ur e   a t   di f f e r e n t   a ppr o pr i a t e   po i n t .   T h i s   m e t h o wa s   us e t o   s e pa r a t e   t h e   o b j e c t s   f r o m   t h e   b a c kgr o un d.   I t   c a n   b e   c a l c ul a t e f r o m   t h e   n um b e r   o f   f r e que n c i e s   i n   t h e   h i s t o gr a m s   a n c o un t i n t h e   v a l ue s   a n pi x e l   po i n t s   t h a t   i s   l e s s   t h a n   t h e   c r o l e v e l   v a l ue   b y   c o un t i n t o t a l   n um b e r   o f   pi x e l s   o f   t h a t   o b j e c t ,   a n t h e n   c a l c ul a t e   t h e   a v e r a ge   o f   i n t e n s i t y   l e v e l   o f   t h e   o b j e c t   t h r o ugh   t h r e s h o l m e t h o d.   L a s t l y ,   t h e   r e s ul t i n gr a y s c a l e   i m a ge   wa s   c o n v e r t e i n t o   t wo   v a l ue s b l a c ( 0)   a n wh i t e   ( o r   255)   o r   b i n a r y   i m a ge .   T h e   r e s ul t i n s we e t   t a m a r i n i m a ge   wa s   s e pa r a t e i n t o   t wo - pi x e l   gr o ups ,   t h e   f o r e g r o un i m a ge ,   a n t h e   b a c kgr o un i m a ge .     S t e 2. 2 I m a ge   s e gm e n t a t i o n   s e pa r a t e s   t h e   o b j e c t   f r o m   t h e   b a c kgr o un t o   r e duc e   t h e   c o m pl e x i t y   a n c h a n ge   t h e   di s pl a y   b o un da r y   t o   m a ke   i t   e a s i e r   t o   a n a l y z e .   B o un da r y   de t e c t i o n   m e t h o wa s   us e t o   s e pa r a t e   t h e   i m a ge s   i n t o   r e gi o n s   f r o m   t h e   e x a m i n a t i o n   o f   e a c h   gr o up  o f   o b j e c t s   t o   f i n t h e   e dge s   o f   t h e   s we e t   t a m a r i n i m a ge s .   M A T L A B   pr o gr a m   f un c t i o n   wa s   us e d.     boundaries = bwboundaries(binaryImage);   numberOfBoundaries = size(boundaries, 1);   for k = 1 : numberOfBoundaries        thisBoundary = boundaries{k};        plot(thisBoundary(:,2), thisBoundary(:,1), 'g', 'LineWidth', 2);   end       S t e 2. 3:  T a bl e   1   s h o ws   de s c r i pt i o ns   o f   t h e   a t tr i b ut e s   o f   im a ge   da t a   i da t a b a s e   t o   s tor e   o u t s t a n d i n g   c h a r a c t e r i s t i c s   o f   s we e t   t a m a r i nds   to   s to r e   i n   da t a b a s e   p i c t ur e .       T a bl e   1 .   A tt r i b u t e s   o f   i m a ge   d a ta   i n   d a t a b a s e   No   N a me   of  da ta   T y p e   of  da ta   1   A r e a   D o ubl e   2   B la c k pi xe l   D o ubl e   3   W hi te  pi xe l   D o ubl e   4   P e r i me t e r   D o ubl e   5   C e nt r o id   D o ubl e   6   D ia me te r   D o ubl e   7   G r a d e   V a r c ha r       3. 3 .     S t e p   3:   c l as s if icat ion   I n   t h i s   s t e p,   t h e   e x t r a c t i o n   o f   da t a s e t   f r o m   t a m a r i n i m a ge   f r o m   s t e wa s   i de n t i f i e a n t h e   da t a   wa s   di v i de i n t o   t wo   pa r t s t r a i n i n s e t   a n t e s t   s e t   b y   k - f o l c r o s s   v a l i da t i o n ,   s t r a t i f i e k - f o l d,   a n l o o c v   m e t h o ds .   5 - f o l c r o s s   v a l i da t i o n   wa s   us e wi t h   py t h o n   l a n gua ge   f o r   c l a s s i f y   da t a .   A f t e r   t h a t ,   f o ur   b e n c h m a r ks   we r e   t h e n   us e t o   m e a s ur e   t h e   e f f e c t i v e n e s s   o f   t h e   t e s t s a c c ur a c y ,   pr e c i s i o n ,   r e c a l l ,   a n F 1 - s c o r e .   Evaluation Warning : The document was created with Spire.PDF for Python.
I n do n e s i a n   J   E l e c   E n &   C o m S c i     I S S N:   2502 - 4752         F e atur e   e x tr ac ti on  to  pr e dict  quali ty  o f   s e gr e gati ng  s w e e tamar ind  us ing  image     ( P anana  T ang w a nna w it )   343   4.   RE S UL T S   4. 1 .     Re s u l t   of   c am e r d is t an c e   m e as u r e m e n t   on   im age   q u al it of   s we e t   t am ar in d s   T h e   T a b l e   s h o ws   t h e   r e s ul t   o f   e x pe r i m e n t   t o   de t e r m i n e   t h e   di s t a n c e   o f   t h e   c a m e r a   t o   t h e   i m a ge   t o   o b t a i n   t h e   qua l i t y   o f   t h e   s we e t   t a m a r i n i m a ge   b y   s e t t i n t h e   c a m e r a   di s t a n c e s   a t   di f f e r e n t   po i n t 20  c m ,   30  c m ,   40  c m ,   50  c m ,   a n 60  c m ,   a n us i n t h e   a r e a   o f   t h e   o b j e c t   a t   49  c m 2 36  c m 2 25  c m 2 a n 16  c m 2 .   T h e   f i n di n o f   l i n e a r   e qua t i o n   wa s   t o   pl o t   gr a ph   wi t h   x - a x i s   ( a r e a   o f   t h e   o b j e c t )   a n y - a x i s   ( n um b e r   o f   pi x e l s )   f o r   c a l c ul a t e wi t h   l i n e a r   e qua t i o n .   I n   F i gur e   2,   e x a m pl e   o f   t h e   c a m e r a   d i s t a n c e s   a t   60  c m .   I n   o r de r   t o   t e s t   t h e   s t r a i gh t - l i n e   e qua t i o n ,   i t   wa s   f o un t h a t   t h e   R 2   v a l ue   o f   t h e   di s t a n c e   a t   60  c m   h a t h e   m o s t   s i gn i f i c a n t   r e l a t i o n s h i b e t we e n   t h e   di s t a n c e   a n t h e   a r e a   o f   t h e   o b j e c t   a t   0. 9956.   T h e   s t a n da r o f   e r r o r   i n   f o r e c a s t i n ca us e b y   t h e   r e gr e s s i o n   e qua t i o n   wa s   a t   t h e   v a l ue   7, 424. 736  pi x e l s   i n   wh i c h   i n   t h i s   r e s e a r c h ,   i t   wa s   ph o t o gr a ph e a t   60  c m .         T a bl e   2.   R e s u l t s   o f   l i ne a r   e qua t i o n   f o r   l e n gt h   be t we e n   c a m e r a   a n o bj e c t   L e ngt h   L in e a r  R e gr e s s io n   L in e a r   E qua ti o n   R 2   S ta nda r E r r or   of  E s ti ma t e   60   y  =  6366.4 x  +  6269   0.9956   7,424.736   50   y  =  9010.3 x  +  304.14   0.9574   33,180.84   40   y  =  14071 x   -   20927   0.9829   32,410.54   30   y  =  22949 x   -   21099   0.9952   27,818.88   20   y  =  48104 x   -   126554   0.9900   84,237.99   C o e f f i c i e nt   of  d e t e r mi na ti o ( R 2 )             F i gur e   2.   S h o ws   t h e   r e s u l t s   f r o m   i m a ge   pr o c e s s i ng       4. 2 .     Re s u l t s   f r o m   t h e   f e at u r e d   e x t r ac t ion     T h e   F i gur e   s h o ws   t h e   r e s ul t s   o b t a i n e f r o m   M A T L A B   pr o gr a m m i n l a n gua ge   f o r   i m a ge   pr o c e s s i n a r e   c o n s i s t   o f F i gur e   3( a )   o r i gi n a l   i m a ge   pr o duc e b y   c o n v e r t i n t h e   R GB   i m a ge   o f   s we e t   t a m a r i n t o   b l a c a n wh i t e   i m a ge   t h r o ugh   un s h a r m a s t e c h n i que .   F i gur e   3( b )   h i s t o g r a m   i m a ge   ge n e r a t e f r o m   b l a c a n wh i t e   i m a ge   wa s   us e t o   de t e r m i n e   t h e   gr a y s c a l e   v a l ue .   F i gur e   3( c )   b i n a r y   i m a ge   i s   t h e   c o n v e r s i o n   o f   gr a y s c a l e   v a l ue   i m a ge   i n t o   b i n a r y   i m a ge   ( b l a c a n wh i t e )   a n F i gur e   3( d)   b o un da r i e s   i m a ge   i s   f i r s t   t o   de t e r m i n e   t h e   e dg e s   o f   t h e   i m a ge .   A f t e r   t h a t ,   i t   wi l l   b e   us e t o   f i n t h e   b l a c pi x e l   a n wh i t e   pi x e l   t o   c a l c ul a t e   t h e   a r e a   o f   t h e   i m a ge   i n   t h e   un i t   a s   pi x e l .   T h e   e qua t i o n   wa s   us e t o   c a l c ul a t e   a n f i n t h e   n um b e r   o f   b l a c pi x e l   a n n um b e r   o f   wh i t e   pi x e l s ,   pe r i m e t e r ,   di a m e t e r ,   a n c e n t r o i t h r o ugh   M A T L A B   pr o gr a m m i n l a n gua ge .         ( a)     ( b )     ( c )     ( d)     F i gur e   3.   R e s u l t s   f r o m   t h e   f e a t ur e e x t r a c t i o n   s t e ps   to :   ( a )   o r i g i na l   im a ge ,   ( b )   hi s t o gr a m   i m a ge ,     ( c )   bi n a r y   im a ge   a n ( d)   b o un da r i e s   i m a ge   Evaluation Warning : The document was created with Spire.PDF for Python.
                                I S S N :   2502 - 4752   I n do n e s i a n   J   E l e c   E n &   C o m S c i ,   Vo l .   25 ,   N o .   1 J a n ua r y   20 22 339 - 346   344   4. 3 .   Al gor it h m   b e n c h m ar k   r e s u l t s   f or   c l as s if icat ion   T h e   da t a   gr o up  wa s   c a t e go r i z e i n t o   t wo   pa r t s t r a i n i n s e t   a n t e s t   s e t   wi t h   t h e   us e   o f   k - f o l c r o s s - v a l i da t i o n ,   s t r a t i f i e k - f o l d,   a n l o o c v .   I n   t h i s   s t udy   5 - f o l c r o s s - v a l i da t i o n   wa s   us e d.   M o r e o v e r ,   f o ur   m e a s ur e s   we r e   us e t o   m e a s ur e   t h e   e f f e c t i v e n e s s   o f   t h e   t e s t s   wh i c h   we r e   a c c ur a c y ,   pr e c i s i o n ,   r e c a l l ,   a n f 1 - s c o r e .   I t   wa s   f o un t h a t   r a n do m   f o r e s t   h a t h e   h i gh e s t   a c c ur a c y .   T h e   da t a   we r e   t h e n   t a ke n   t o   f i n t h e   c r o s s - v a l i da t i o n   s c o r e   t o   c o n f i r m   t h e   a c c ur a c y   o f   t h e   da t a   a s   s h o wn   i n   T a b l e   a n 4.   I t   wa s   f o un t h a t   r a n do m   f o r e s t   h a t h e   h i gh e s t   a c c ur a c y   a t   92. 00% ,   s =   8. 06,   pr e c i s i o n   =   90. 12,   r e c a l l   =   92. 86,   a n F 1 - s c o r e   =   91. 36.   T h e   pr i n c i pl e   o f   r a n do m   f o r e s t   wa s   t o   t r a i n   t h e   s a m e   m o de l   m ul t i pl e   t i m e s   a n m ul t i pl e   i n s t a n c e s   o n   t h e   s a m e   da t a   s e t .   E a c h   t r a i n i n s e s s i o n   wi l l   s e l e c t   di f f e r e n t   pa r t s   o f   t h e   da t a   t h a t   a r e   b e i n t r a i n e d.   T h e n   t a ke   t h e   de c i s i o n   o f   t h o s e   m o de l s   t o   v o t e   o n   wh i c h   c l a s s   i s   t h e   m o s t   c h o s e n .   S o ,   t h e   r e s ul t s   o f   t h e   a l go r i t h m   f o un t h a t   t h e   r a n do m   f o r e s t   wa s   b e t t e r   t h a n   a n o t h e r   a l go r i t h m .       T a bl e   3 .   R e s u l t s   o f   a c c ur a c y   a n s t a n da r de vi a t i o n   f r o m   5 - f o l c r o s s   v a li da t i o n   A lg o r i th m   K - F ol d   S tr a ti f i e K - F o ld   L O O C V   A c c u r a c y   SD   A c c u r a c y   SD   A c c u r a c y   SD   D e c is io n t r e e   89.33   4.42   88.67   11.47   85.00   35.71   S uppor V e c t or  M a c hi ne   ( S V M )   87.33   9.98   90.00   5.58   85.00   35.71   K - N e a r e s N e ig hb o r s  ( K N N )   89.33   12.18   91.33   4.52   89.00   31.29   L o g is ti c  r e gr e s s io n   84.67   9.57   90.00   5.16   86.00   34.70     R a ndo f o r e s t   91.33   3.40   92.00   8.06   90.00   30.00       T a bl e   4 .   R e s u l t s   o f   e va l u a t i o n   m a t r i c e s   f r om   s t r a t i f i e 5 - f o l c r o s s   v a li da t i o n   A lg o r i th m   A c c u r a c y   SD   P r e c is i o n   R e c a ll   F1 - s c o r e   D e c is io n t r e e   88.67   11.47   86.02   88.57   88.80   S uppor V e c t or  M a c hi ne   ( S V M )   90.00   5.58   86.30   94.29   89.92   K - N e a r e s N e ig hb o r s  ( K N N )   91.33   4.52   88.39   94.29   90.95   L o g is ti c  r e gr e s s io n   90.00   5.16   87.33   92.86   89.72   R a ndo f o r e s t   92.00   8.06   90.12   92.86   91.36       5.   CONC L USI ON     T h i s   r e s e a r c h   ut i l i z e i m a ge   e x t r a c t i o n   f e a t ur e   t h r o ugh   i m a ge   a n a l y s i s   t e c h n i que   i n   c o m b i n a t i o n   wi t h   a   c l a s s i f i e r   a l go r i t h m ,   wh i c h   us e a l go r i t h m s   wi t h   di f f e r e n t   f un da m e n t a l   c h a r a c t e r i s t i c s   t o   c o m pa r e   t h e   r e s ul t s .   I n   t h i s   e x pe r i m e n t   a   t o t a l   o f   150  go l de n ,   m a t ur e d,   s we e t   t a m a r i n s pe c i e s   we r e   us e a n di v i de i n t o   t wo   gr o ups   de pe n di n o n   t h e i r   s i z e .   80  pi e c e s   o f   s t a n da r s i z e   A ,   70  pi e c e s   o f   s t a n da r s i z e   B ,   a n t h e   i m a ge   s h o o t i n a r e a   wa s   pr e pa r e wi t h   b l a c b a c kgr o un d.   T h e   r e s ul t s   f r o m   t h i s   e x pe r i m e n t   s h o w e t h a t   t h e   o pt i m a l   ph o t o gr a ph i c   di s t a n c e   wa s   a t   60  c m .   T h e n   t h e   i m a ge   a t t r i b ut e s   we r e   e x t r a c t e b y   us i n M A T L A B   pr o gr a m m i n l a n gua ge   t o   s t o r e   i m a ge   a t t r i b ut e   da t a   i n t o   a   da t a b a s e .   T h i s   da t a b a s e   c o n s i s t e o f   a r e a ,   b l a c pi x e l ,   wh i t e   pi x e l ,   pe r i m e t e r ,   di a m e t e r ,   a n c e n t r o i d.   T h e n   t h e s e   da t a   we r e   t h e n   c a t e go r i z e i n t o   t wo   pa r t s   wh i c h   we r e   t r a i n i n s e t   a n t e s t   s e t   b y   k - f o l c r o s s - v a l i da t i o n ,   s t r a t i f i e k - f o l d,   a n l o o c v   m e t h o d.   S t r a t i f i e 5 - F o l c r o s s - v a l i da t i o n   wa s   a l s o   us e d.   A f t e r   t h a t ,   t h e   m o de l s   pe r f o r m a n c e   wa s   m e a s ur e wi t h   a c c ur a c y   v a l ue .   I t   wa s   f o un t h a t   r a n do m   f o r e s t   h a t h e   h i gh e s t   a c c ur a c y ,   a n t h e   m e n t i o n e da t a   wa s   us e t o   f i n t h e   s t r a t i f i e 5 - F o l c r o s s - v a l i da t i o n   t o   c o n f i r m   t h e   m o de l s   pe r f o r m a n c e .   B a s e o n   a c c ur a c y ,   pr e c i s i o n ,   r e c a l l ,   a n F 1 - s c o r e   v a l ue ,   i t   wa s   f o un t h a t   r a n do m   f o r e s t   s t i l l   h a t h e   h i gh e s t   a c c ur a c y .   I n   t e r m s   o f   n e x t   s t e f o r   t h i s   r e s e a r c h ,   i n t e r n e t   o f   t h i n gs   ( I o T )   wi l l   b e   us e t o   wo r wi t h   s e n s o r   de v i c e s   a n c o n n e c t   t h r o ugh   i n t e r n e t   t o   a l l o t h e   de v i c e   t o   r e c e i v e   a n s e n da t a   t o   o n e   a n o t h e r .   Da t a   we r e   c o l l e c t e f r o m   t h e   c h a r a c t e r i s t i c s   o f   t h e   s we e t   t a m a r i n pl a c e m e n t ,   t h e   m o v e m e n t   o f   t h e   t a m a r i n d,   a n t h e   di s t a n c e   b e t we e n   t h e   t a m a r i n o n   t h e   c o n v e y o r   b e l t   f r o m   t h e   r e a l   s i t ua t i o n .   T h i s   e n a b l e s   t h e   c o l l e c t i o n   o f   da t a   t o   f o r m   b i da t a   t o   ge n e r a t e   f ur t h e r   m a c h i n e   l e a r n i n wh i c h   t h e n   l e a ds   t o   t h e   de v e l o pm e n t   o f   a n   a ut o m a t e s y s t e m   o f   qua l i t y   s o r t i n o f   s we e t   t a m a r i n i n   T h a i l a n f o r   f ut ur e   i n dus t r i a l   a ppl i c a t i o n s .       AC K NOWL E DGE M E NT S   T hi s   pr o j e c t   wa s   f i na nc i a ll y   s uppo r t e by   t h e   T h a il a n d   R e s e a r c h   F u n d   a n P h e t c h a b u R a j a bha t   Uni ve r s i t y ,   C o n t r a c t   No.   P C R U_256 4 - E C 2 5.   T hi s   pr o j e c t   wa s   s uppo r t e by   F a c u l t y   o f   I nf o r m a t i o n   T e c hn o l o g y   a n D i g i t a l   I nn o v a t i o n ,   KM UT NB   a nd  F a c u l t y   o f   S c i e n c e s   a n T e c hn o l o g y ,   P C R U.       Evaluation Warning : The document was created with Spire.PDF for Python.
I n do n e s i a n   J   E l e c   E n &   C o m S c i     I S S N:   2502 - 4752         F e atur e   e x tr ac ti on  to  pr e dict  quali ty  o f   s e gr e gati ng  s w e e tamar ind  us ing  image     ( P anana  T ang w a nna w it )   345   RE F E R E NC E S     [ 1]   S T a ngw a nna w it   a nd  P T a ngw a nna w it " A r ti f ic ia I nt e ll ig e n c e   T he or y   and  A ppl ic at io ns , "   in   A r ti f i c ia I nt e ll ig e nc e   T ha il a nd,   P e t c ha bun : AI  a c a d e mi c , 2020, pp. 176 - 180.   [ 2]   R G o nz a l e z   a nd  R W oo ds " D ig it a I m age   P r oc e s s in g,  H ar lo w , "   U ni t e K in gd o m:   P e a r s o E du c a ti o L im it e d,  2018,  pp.   2 34 - 240.   [ 3]   P T a ngw a nna w it   a nd  K S a e ngkr a ja ng,  " A I nt e r ne of   T h in g s   E c o s y s te f or   P la nt in of   C o r ia nd e r   ( C o r ia ndr um  S a ti v um  L . ) , "   I nt e r nat io nal   J our nal   o f   E le c tr i c al   and  C om put e r   E ngi ne e r i ng  ( I J E C E ) v o l.   11,  no 5,  pp.  4568 - 4576,  O c t o b e r   2021,  do i:   10.11591/i je c e . v 11i 5.pp4568 - 4576.   [ 4]   P T a ngw a nna w it   a nd  K S a e ngkr a ja ng,  " T h e   D e v e l o pme n of   H e a lt C omm uni c a ti o n   S upp o r S y s t e b e hi nd, "   in   I nt e r nat io nal   C onf e r e nc e  on E duc at io n and M anage m e nt  I nnov at io n ( I E D R C )  2014 , H o ng  K o ng, 2014, pp.  112 - 124.     [ 5]   J. - S C ho u,  D . - N .   T r u o ng ,   a nd  C . - F T s a i,   " S o l v in R e gr e s s io P r o bl e ms   w it I nt e ll ig e nt   M a c hi n e   L e a r n e r   f or   E ngi n e e r in g   I n f o r ma ti c s , "   M at he m at ic s vo l.  9, n o . 686, pp. 1 - 25, M a r c h 20 21, do i:  0.3390/m a th 9060686.    [ 6]   R H a s s a n,  F .   Q a ma r M .   K a mr ul   H a s a n,  A M o hd  A ma n ,   a nd  A S A hme d,  " I nt e r n e of   T hi ngs   a nd  I ts   A ppl ic a ti o ns :   A   C o mpr e h e ns iv e  S u r v e y , "   Sy m m e tr y v ol . 12, n o . 1674, pp. 1 - 29,  O c t o b e r  2020, d o i:  10.3390/s y m12101674.   [ 7]   P T a nw a nna w it   a nd  K S a e ngkr a ja ng,  " D e ve l o p m e nt   of   S m a r I nt e r n e of   T hi ngs   ( I oT )   f or   L oc a V e ge ta bl e s , "   in   T he   15t h   N at io nal   C on f e r e n c e   and   I nt e r nat io nal   C on f e r e nc e   on  A pp li e C om put e r   T e c hnol ogy   and   I nf o r m at io Sy s te m s ,   T ha il a nd,     2019,  pp. 134 - 146 .   [ 8]   D A la mi no s J I P e e z M B e S a la s ,   a nd  M A F e r nde z - G á m e z " S ove r e ig D e bt   a nd  C ur r e n c y   C r is e s   P r e di c ti o M ode ls   U s in g M a c hi ne   L e a r ni ng  T e c hni qu e s , "   Sy m m e tr y v o l.  13, n o . 6 52, pp. 1 - 28, M a r c h 2021, d o i:  10.3390/s y m13040652.    [ 9]   I br a hi m, M K . O s ma n, N . A . M . Y us o ,  K .  A . A hma d, N H H a r un ,   a nd   R . A . A . R a of " C ha r a c te r iz a ti o n   of   c r a c ki ng i n  pa v e me nt   di s tr e s s   us in im a ge   pr o c e s s in te c hn iq ue s   a nd  k - N e a r e s ne ig hb o ur , "   I ndone s ia J our nal   of   E le c tr ic al   E ngi ne e r in and   C om put e r  Sc ie n c e v o l.  14, n o . 2, pp. 810 - 818, M a y  2019, d o i:   10.11591/i je e c s .v 14.i 2.pp810 - 818. S   [ 10]   K a ng,  " K - N e a r e s N e ig hb o r   L e a r ni ng  w it G r a ph  N e ur a N e tw o r ks , "   M at he m at ic s vo l.   9,  n o 820,  pp.  1 - 12,  A pr il   20 21,     do i:  10.3390/m a th 9080830.    [ 11]   N I ls e o k,  D H a e - W o K S oo - O c k,  K S u - H y un,  S S e o l e un ,   a nd  L S e ung - J a e " M a c hi n e   L e a r ni ng - B a s e H o ur l y   F r o s t - P r e di c ti o n   S y s te m   O pt im i z e f o r   O r c ha r ds   U s in A ut o ma ti c   W e a th e r   S ta ti o n   a nd  D ig it a C a me r a   I ma ge   D a ta ,"   at m os phe r e ,     vo l.  12, n o . 846, pp. 2 - 16, J un e  2021, d o i:  10.3390/atm o s 12070 846.    [ 12]   S I br a hi m,  Z A z u r e N oo r   A z m y N N A bu  M a ng s ho r ,   N S a br i,   A F A hma F ir da us ,   a nd  Z A hma d,  " P r e - tr a i ne c la s s if i c a ti o n   of   s c a lp   c o ndi ti o ns   us in im a g e   p r oc e s s in g, "   I nd one s ia J our nal   of   E le c tr ic al   E ngi ne e r in and  C om put e r   Sc ie nc e ,   vo l.  20, n o . 1, pp. 138 - 144, O c t o b e r  2020, d o i:  10.11591 /i j e e c s . v 20.i 1.pp138 - 144.    [ 13]   R P a ni gr a hi   e al . ,   " P e r f o r ma n c e   A s s e s s me nt   of   S up e r v i s e C la s s if ie r s   f o r   D e s ig ni ng  I nt r us i o D e t e c ti o S y s te ms A   C o mpr e h e ns iv e   R e v i e w   a nd  R e c o mm e nda ti o ns   f or   F ut ur e   R e s e a r c h, "   M at he m at ic s vol 9,  n o.   690,  pp.  1 - 32,  M a r c 20 21,   do i:  10.3390/m a th 9060690.    [ 14]   N S .   P a r a me s w a r a a nd  D V e nka ta r a ma n,  " A   c o mput e r   v is io ba s e im a ge   pr oc e s s in s y s t e f or   de p r e s s i o de te c ti o a m o ng   s tu de nt s   f or   c o uns e li ng, "   I ndone s ia J our nal   o f   E le c tr ic al   E ngi ne e r in and  C om put e r   Sc ie nc e v o l.   14,  n o 1,  pp.  503 - 512,  A pr il   2019, do i:  10.11591/i je e c s .v 14. i1 .pp503 - 512.    [ 1 5 ]   H .   A .   A l iy u ,   M .   A .   A b d u l   R a z a k ,   a n d   R .   S u d i r m a n ,  " N o r m a l   a n d   a b n o r m a l  r e d   bl o o d   c e l l  r e c o g n i t io n   u s i n g   i m a ge   p r o c e s s i n g , "   I n d o n e s i a n   J o u r n a l   o E l e c t r i c a l   E n g i n e e r i n g   a n d   C o m p u t e r   S c i e n c e ,   v o l .   1 4 ,   no .   1 ,   p p .   9 6 - 1 0 0 ,   A pr i l   2 0 1 9 ,   do i :   1 0 . 1 1 5 9 1 / i je e c s . v 1 4 . i 1 . p p 9 6 - 100.    [ 16]   H K S hi ha b,  A M S a la ma M A id a ,   a nd  F N M o ha m ma d,  " R e v i e w   of   l oc a bi na r y   pa tt e r o p e r a t or s   in   im a ge   f e a tu r e   e x tr a c ti o n, "   I ndone s ia J our nal   o f   E le c tr ic al   E ngi ne e r in and  C om put e r   Sc ie nc e v o l.   19,  no 1,  pp.  23 - 31,  J ul y   2 020,     do i:  10.11591/i je e c s .v 19. i1 .pp23 - 31.    [ 17]   R A J G in in e al . ,   " H a r uma ni s   ma ng o   l e a f   di s e a s e   r e c o gni ti o s y s t e us in im a g e   pr oc e s s in te c hni qu e , "   I ndo ne s ia J our nal   of  E le c tr ic al  E ngi ne e r in g and C om put e r  S c ie nc e v o l.  23, n o . 1,  pp. 378 - 38, J ul y  2021, d o i:  10.11591/i je e c s .v 23. i1 .pp378 - 386.    [ 18]   M T S .   Al - K a lt a kc hi H A bd  A l - R a he e T a ha M A bd  S he ha b ,   a nd  M .   A . M .   A bdul la h,  " C o mpa r is o of   f e a tu r e   e x tr a c t i o a nd   no r ma li z a ti o m e th o ds   f o r   s p e a ke r   r e c o gn it i o us in gr id - a ud io v is ua da ta ba s e , "   I ndone s ia J our nal   of   E le c tr ic al   E ngi ne e r in and C om put e r  Sc ie n c e v o l.  18, n o . 2, pp. 782 - 789, M a y  2020,  do i:  10.11591/i je e c s .v 18. i2 .pp782 - 789.    [ 19]   T T R a ma na th a n,  J .   H o s s e n,  S S a y e e d ,   a nd  J E me r s o R a ja " S ur ve y   o c o mput a ti o na in te l li ge n c e   ba s e im a ge   e n c r y pt io n   te c hni que s , "   I ndone s ia n J our nal  of  E le c tr ic al  E ngi ne e r in g and  C om put e r  Sc ie nc e v o l.  19, n o . 3,  pp. 1428 - 1435, S e pt e mb e r  20 20,  do i:  10.11591/i je e c s .v 19. i3 .p p1428 - 1435.    [ 20]   K D ju na id i,   H B e di   A gt r ia d,  D K us w a r da ni ,   a nd  Y .   S   P u r w a nt o ,   " G r a y   l e ve l   c o - o c c ur r e n c e   ma tr i x   f e a tu r e   e x tr a c ti o a nd   hi s to gr a in   br e a s c a n c e r   c la s s i f i c a ti o w it ul tr a s o n o gr a p hi c   im a ge r y , "   I ndone s ia J our nal   o f   E le c tr i c al   E ngi ne e r in g   and   C om put e r  Sc ie n c e v o l.  22, n o . 2, pp. 795 - 800, M a y  2021, d o i:   10.11591/i je e c s .v 22.i 2.pp795 - 800.    [ 21]   G J a y a g o pi   a nd  S .   P us hpa " A r r h y th mi a   C la s s if i c a ti o B a s e o C o mbi n e C ha o ti c   a nd  S ta ti s ti c a F e a tu r e   E x t r a c ti on,"   I ndone s ia J our nal   o f   E le c t r ic al   E ngi ne e r in and   C om p ut e r   Sc ie nc e v o l.   12,  n o 1,  pp.  127 - 136,  O c t o b e r   20 18,     do i:  10.11591/i je e c s .v 12. i1 .pp127 - 136.    [ 22]   U .   W .   W a s e k a r   a n d   R .   K .   B a th la ,   " A   r e v ie w   o n   s u pe r v i s e d   le a r ni ng   me th o do lo g ie s   f o r   de te c ti o n   o f   e x ud a te s   in   di a be ti c   r e t in o p a th y ,"   J o u r n al  o A dv an c e d  R e v ie w  o S c i e n ti fi c , v o l.  2 3,  no .  2 pp 83 7 - 8 4 6,  A ug u s 20 21 do i:  1 0. 11 59 1/ i je e c s .v 23 .i 2 .p p8 37 - 8 46   [ 23]   R. - I C ha ng,  C . - L T in g,  S . - Y W u ,   a nd  P . - Y Y in " C o n te x t - D e pe nd e nt   O bj e c P r o p o s a a nd  R e c o gn it i o n, "   Sy m m e tr y v ol 12,  no .   1619, pp. 2 - 20, S e pt e mb e r  2020, d o i 10.3390/S Y M 12101619.    [ 24]   O f f ic e   of   th e   P e r ma n e nt   S e c r e ta r y   M in is tr y   of   C o m me r c e " S it ua ti o of   im p o r ta nt   a gr i c ul tu r a pr o du c ts   a nd  tr e nds   2562,"   20   J a nua r y  2019.  [ O nl in e ] . A v a il a bl e w w w .o ps .m oc .g o .t h.  [ A c c e s s e d 2019] .   [ 25]   D . a . t . C . G . i . G ua ng z h o u,  " S w e e ta ma r in d, "   in   T ha il a nd, B a n gko T ha il a nd:   F r ui t,  2018, pp. 83 - 84.   [ 26]   Z Y a n,  " D e e in di c a t o r   f or   f in e - g r a in e c la s s i f ic a ti o of   ba na na s   r ip e ni ng  s ta ge s , "   E U R A SI P   J our nal   on  I m age   and  V i de o   P r oc e s s in g,   vo l.  46, pp.   1 - 10, J un e   2018, d o i:  10.1186/s 13640 - 018 - 0284 - 8.    [ 27]   H F K a r e e m,  M S A L - H us ie n y F Y M o hs e n,  E A K h a li l ,   a nd  Z S H a s s a n,  " E v a lu a ti o n   of   S V M   p e r f or ma nc e   in   th e   de t e c t i o of   lu ng  c a n c e r   in   ma r k e C T   s c a da ta s e t, "   I ndone s i an  J our nal   of   E le c tr i c al   E ngi ne e r in and  C om put e r   S c ie nc e vo l.   21, no . 3, pp. 1731 - 1738, M a r c h 2021, d o i:  10.11591/i j e e c s .v 21 .i 3.pp1731 - 1738.    [ 28]   H .   S a b r y   e al . ,   " I ma g e   pr oc e s s in ba s e f oo t   pl a nt a r   pr e s s ur e   d is tr ib ut i o a na l y s is   a nd  m o de l in g, "   I ndone s ia J our nal   of   E le c t r ic al  E ngi ne e r in g and C om put e r  Sc ie nc e v o l.  17, n o . 2, p p. 594 - 605, F e b r ua r y  2020, d o i:  10.11591/i j e e c s .v 17.i 2.pp594 - 605.    [ 29]   A .   M o ha mm e a nd  H T ha r y   K ha me e s " C a te g o r iz in g   a nd  me a s ur e m e nt   s a te l li t e   im a ge   p r oc e s s in of   f i r e   in   th e   f o r e s gr e e c e   us in r e mot e   s e ns in g, "   I ndone s ia J our nal   o f   E le c tr ic al   E ngi ne e r in and   C om put e r   Sc ie n c e v o l.   21,  no 2,  pp.  846 - 853,  2021,   do i:  10.11591/i je e c s .v 21. i2 .pp846 - 853.    Evaluation Warning : The document was created with Spire.PDF for Python.
                                I S S N :   2502 - 4752   I n do n e s i a n   J   E l e c   E n &   C o m S c i ,   Vo l .   25 ,   N o .   1 J a n ua r y   20 22 339 - 346   346   [ 30]   A P o a d,   F a r ha na S O .   N oor R Y A ta n,  J F .   J us o h ,   a nd  M A .   H us s in " A ut o ma t e d e t e c ti o of   ve hi c l e s   l ic e ns e   pl a t e   us in im a ge   pr oc e s s in te c hn iq ue s , "   I ndone s ia J our nal   of   E le c tr ic al   E ngi ne e r in and  C om put e r   Sc ie nc e v ol 18,  n o .   3,     pp. 1408 - 1415, J une  2020, d o i:  10.11591/i j e e c s . v 18.i 3.pp1408 - 1415.         B I OG RA P HI E S   OF   AU T HO RS       P a n a n a   Ta n g w a n n a w i t           re c e i v e d   t h e   p ro fe s s i o n al   e d u c at i o n   w i t h   B. S.   (Co m p u t e Sc i e n c e ),   M. S. (I n fo rm at i o n   T e c h n o l o g y ),   an d   Ph . D .   (I n fo rm at i o n   T e c h n o l o g y fro m   K i n g   Mo n g k u t ’s   U n i v e rs i t y   o f   T e c h n o l o g y   N o rt h   Ban g k o k   (K MU T N B),   Ban g k o k ,   T h ai l an d .   Sh e   h as   b e e n   w o rk i n g   as   l e c t u re fo m o re   t h an   2 4   y e ars   i n   t h e   fi e l d   o Co m p u t e an d   I n fo rm at i o n   T e c h n o l o g y   i n   t h e   Fac u l t y   o Sc i e n c e s   an d   T e c h n o l o g y ,   Ph e t c h ab u n   Raj ab h at   U n i v e rs i t y ,   T h ai l an d .   Sh e   c an   b e   c o n t ac t e d   at   e m ai l :   p an an a. t @ g m ai l . c o m         Sa k ch a i   Ta n g w a n n a w i t           re c e i v e d   t h e   p ro f e s s i o n al   e d u c at i o n   w i t h   B. S.   (Co m p u t e Sc i e n c e ),   M. S. (I n fo rm at i o n   T e c h n o l o g y ),   an d   Ph . D .   (Co m p u t e E d u c at i o n fro m   K i n g   Mo n g k u t ’s   U n i v e rs i t y   o T e c h n o l o g y   N o rt h   Ban g k o k   (K MU T N B),   Ban g k o k ,   T h ai l an d .   H e   h as   b e e n   w o rk i n g   as   l e c t u re fo m o r e t h an   1 0   y e ars   i n   t h e   fi e l d   o I n fo rm at i o n   T e c h n o l o g y   i n   t h e   Fac u l t y   o I n fo rm at i o n   T e c h n o l o g y   an d   D i g i t al   I n n o v at i o n ,   K MU T N B.   H e   c an   b e   c o n t ac t e d   at   e m ai l :   s ak c h ai . t @ i t d . k m u t n b . ac. t h     Evaluation Warning : The document was created with Spire.PDF for Python.