Page 39 - ComputerGenius_V2.1_Class8
P. 39

Artificial Intelligence is a very important part of our lives. It is used in our day to day lives in many
                 ways.

                 Smile Detection

                 Artificial  Intelligence  (AI)  is  use  to  detect  whether  a  person  is  smiling  or  not.  Smile  detection
                 technology uses deep learning and computer vision techniques to detect whether person is smiling

                 or not. It is used in many industries, one of them is media industry where it is important for the
                 companies to determine the public reaction for their products.





                    Smile Shot Mode on Samsung Smart Camera EX2F automatically capture photo once it
                    detects the subject is smiling, without pressing the shutter button.



                 Smile Detection in AI Connect

                 To create a program to detect if the person in the image is smiling or not, create a project in AI
                 Connect. Create AI Coding activity in this project. Then, follow the given steps:

                 Step 1   Drag and drop Load Image block from Facial Features sub-category (mentioned under AI
                          Learning category).

                            Block Code





                           Textual code











                 Step 2   From the Logic category take the if do block and extend it with the else command.

                            Block Code



















                                                                                            AI in Real World  37
   34   35   36   37   38   39   40   41   42   43   44