Page 121 - CG_v2.1_flipBooks_class_4
P. 121

Car Manufacturers use AI to help them understand the human emotions. Using facial
                    emotion detection smart cars in future can alert the driver when they are feeling drowsy.



                 Emotion Detection in AI Connect

                 Artificial  Intelligence  allows  computers  to  analyse  and  understand  human  non-verbal
                 signs such as facial expressions, body language, gestures, and voice tones to assess their
                 emotional state.
                 In the next activity, we are going to detect the emotion of person like happy, sad, angry and
                 surprise.
                 When we create an AI Coding activity and go to Facial Feature under AI Learning category,
                 we can see the following blocks:
                                                     Load Image block allows user to either click picture through
                                                     camera or load local image from desktop.

                                                     Get expression count block gets the expression of the given
                                                     image like happy, sad, angry, surprised, etc.

                                                     Show Image with border block is used to show detected
                                                     image with and without border on output window.

                 Do the following coding in the AI connect:

























                                                                                            AI in Real World  119
   116   117   118   119   120   121   122   123   124   125   126