Page 126 - Computer Genius Class 07
P. 126

Step 4    ro ide the output statement  or the sunglasses  orn or not  this result  ill  e printed .
                            The concept behind the following coding is, if the count of eye in the image is zero, the
                            program should print the “Sunglasses worn” else print “No Sunglasses”.

                             et eye count       means the person s eyes in the image are not  isi le.    a person is

                            wearing the sunglasses his/her eyes will not be visible.
                              Block Code
























                             Textual code




















                   Step 5   Add Show Image without border block.
                              Block Code






















                      124    Computer Genius-VII
   121   122   123   124   125   126   127   128   129   130   131