Page 147 - CG_v2.1_flipBooks_class_6
P. 147
Step 7 Add the print block from Output category in do portion of if-do block. Add input block from
Input category inside the print block and type Mask Worn in it.
Similarly, add print block in else portion. In it add input block and type No Mask.
Step 8 Attach Show Image with border block from Facial Features sub-category. By this block
an outline will appear over the part of the image, that is selected in the coding, in the
output.
Step 9 Click on the Image icon of the Load Image block to load an image from your computer
or click it using a webcam.
Step 10 Click on Browse to browse an image from computer or click on Capture to capture an
image using webcam. Select the image and Click on Submit button.
Click on Run button to see the output of the program.
AI in Real World 145

