Page 126 - Computer_Genius_v2.1_C7_flipbook
P. 126
Step 4 Provide the output statement for the sunglasses worn or not (this result will be 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”.
Get eye count == 0, means the person's eyes in the image are not visible. If 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 (V2.1)-VII

