Page 96 - Click_GPT_c7_Flipbook
P. 96

Step 2   From the Logic category take the if do block and extend it with the else command.

                             Block Code



















                               Textual
                                 code














                   Step 3   Add “==” block in the blank space of if-do block. In "==" block add numeric block (0
                            block) on the right side. Add Get face count block from Facial Features sub-category to
                            the left side of "==" block. Then, click on arrow of Get face count block and select eye

                            to make it Get eye count block. Get eye count block is used to detect a person's eye.
                             Block Code














                               Textual
                                 code















                       94    Premium Edition-VII
   91   92   93   94   95   96   97   98   99   100   101