Page 125 - Computer Genius Class 07
P. 125
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 loc loc
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
AI in Real World 123

