Page 139 - Computer Genius Class 06
P. 139

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  137
   134   135   136   137   138   139   140   141   142   143   144