ROBOT NAVIGATION FOR PERSONAL ASSISTANCE
Techniques for performing robotic assistance are disclosed. A plurality of images of an individual is obtained by an imagery module associated with an autonomous mobile robot. Cognitive state data including facial data for the individual in the plurality of images is identified by an analysis module associated with the autonomous mobile robot. A facial expression metric, based on the facial data for the individual in the plurality of images, is calculated. A cognitive state metric for the individual is generated by the analysis module based on the cognitive state data. The autonomous mobile robot initiates one or more responses based on the cognitive state metric. The one or more responses include one or more electromechanical responses. The one or more electromechanical responses cause the robot to change locations.
Latest Affectiva, Inc. Patents:
This application claims the benefit of U.S. provisional patent applications “Synthetic Data Augmentation for Neural Network Training” Ser. No. 62/954,819, filed Dec. 30, 2019, “Synthetic Data for Neural Network Training Using Vectors” Ser. No. 62/954,833, filed Dec. 30, 2019, and “Autonomous Vehicle Control Using Longitudinal Profile Generation” Ser. No. 62/955,493, filed Dec. 31, 2019.
This application is a continuation-in-part of U.S. patent application “Electronic Display Viewing Verification” Ser. No. 16/726,647, filed Dec. 24, 2019, which claims the benefit of U.S. provisional patent applications “Image Analysis for Human Perception Artificial Intelligence” Ser. No. 62/827,088, filed Mar. 31, 2019, “Vehicle Interior Object Management” Ser. No. 62/893,298, filed Aug. 29, 2019, “Deep Learning In Situ Retraining” Ser. No. 62/925,990, filed Oct. 25, 2019, and “Data Versioning for Neural Network Training” Ser. No. 62/926,009, filed Oct. 25, 2019.
The U.S. patent application “Electronic Display Viewing Verification” Ser. No. 16/726,647, filed Dec. 24, 2019, claims the benefit of U.S. provisional patent applications “Image Analysis for Human Perception Artificial Intelligence” Ser. No. 62/827,088, filed Mar. 31, 2019, “Vehicle Interior Object Management” Ser. No. 62/893,298, filed Aug. 29, 2019, “Deep Learning In Situ Retraining” Ser. No. 62/925,990, filed Oct. 25, 2019, and “Data Versioning for Neural Network Training” Ser. No. 62/926,009, filed Oct. 25, 2019.
The U.S. patent application “Electronic Display Viewing Verification” Ser. No. 16/726,647, filed Dec. 24, 2019, is also a continuation-in-part of U.S. patent application “Facial Tracking With Classifiers For Query Evaluation” Ser. No. 14/672,328, filed Mar. 30, 2015, which claims the benefit of U.S. provisional patent applications “Speech Analysis for Cross-Language Mental State Identification” Ser. No. 62/593,449, filed Dec. 1, 2017, “Avatar Image Animation using Translation Vectors” Ser. No. 62/593,440, filed Dec. 1, 2017, “Directed Control Transfer for Autonomous Vehicles” Ser. No. 62/611,780, filed Dec. 29, 2017, “Cognitive State Vehicle Navigation Based on Image Processing” Ser. No. 62/625,274, filed Feb. 1, 2018, “Cognitive State Based Vehicle Manipulation Using Near Infrared Image Processing” Ser. No. 62/637,567, filed Mar. 2, 2018, and “Vehicle Manipulation Using Cognitive State” Ser. No. 62/679,825, filed Jun. 3, 2018.
The U.S. patent application “Facial Tracking With Classifiers For Query Evaluation” Ser. No. 14/672,328, filed Mar. 30, 2015 is also a continuation-in-part of U.S. patent application “Facial Tracking with Classifiers” Ser. No. 14/848,222, filed Sep. 8, 2015 which claims the benefit of U.S. provisional patent applications “Facial Tracking with Classifiers” Ser. No. 62/047,508, filed Sep. 8, 2014, “Semiconductor Based Mental State Analysis” Ser. No. 62/082,579, filed Nov. 20, 2014, and “Viewership Analysis Based on Facial Evaluation” Ser. No. 62/128,974, filed Mar. 5, 2015.
The U.S. patent application “Facial Tracking with Classifiers” Ser. No. 14/848,222, filed Sep. 8, 2015 is also a continuation-in-part of U.S. patent application “Mental State Analysis Using Web Services” Ser. No. 13/153,745, filed Jun. 6, 2011, which claims the benefit of U.S. provisional patent applications “Mental State Analysis Through Web Based Indexing” Ser. No. 61/352,166, filed Jun. 7, 2010, “Measuring Affective Data for Web-Enabled Applications” Ser. No. 61/388,002, filed Sep. 30, 2010, “Sharing Affect Across a Social Network” Ser. No. 61/414,451, filed Nov. 17, 2010, “Using Affect Within a Gaming Context” Ser. No. 61/439,913, filed Feb. 6, 2011, “Recommendation and Visualization of Affect Responses to Videos” Ser. No. 61/447,089, filed Feb. 27, 2011, “Video Ranking Based on Affect” Ser. No. 61/447,464, filed Feb. 28, 2011, and “Baseline Face Analysis” Ser. No. 61/467,209, filed Mar. 24, 2011.
The U.S. patent application “Facial Tracking with Classifiers” Ser. No. 14/848,222, filed Sep. 8, 2015 is also a continuation-in-part of U.S. patent application “Mental State Analysis Using an Application Programming Interface” Ser. No. 14/460,915, Aug. 15, 2014, which claims the benefit of U.S. provisional patent applications “Application Programming Interface for Mental State Analysis” Ser. No. 61/867,007, filed Aug. 16, 2013, “Mental State Analysis Using an Application Programming Interface” Ser. No. 61/924,252, filed Jan. 7, 2014, “Heart Rate Variability Evaluation for Mental State Analysis” Ser. No. 61/916,190, filed Dec. 14, 2013, “Mental State Analysis for Norm Generation” Ser. No. 61/927,481, filed Jan. 15, 2014, “Expression Analysis in Response to Mental State Express Request” Ser. No. 61/953,878, filed Mar. 16, 2014, “Background Analysis of Mental State Expressions” Ser. No. 61/972,314, filed Mar. 30, 2014, and “Mental State Event Definition Generation” Ser. No. 62/023,800, filed Jul. 11, 2014.
The U.S. patent application “Mental State Analysis Using an Application Programming Interface” Ser. No. 14/460,915, Aug. 15, 2014 is also a continuation-in-part of U.S. patent application “Mental State Analysis Using Web Services” Ser. No. 13/153,745, filed Jun. 6, 2011, which claims the benefit of U.S. provisional patent applications “Mental State Analysis Through Web Based Indexing” Ser. No. 61/352,166, filed Jun. 7, 2010, “Measuring Affective Data for Web-Enabled Applications” Ser. No. 61/388,002, filed Sep. 30, 2010, “Sharing Affect Across a Social Network” Ser. No. 61/414,451, filed Nov. 17, 2010, “Using Affect Within a Gaming Context” Ser. No. 61/439,913, filed Feb. 6, 2011, “Recommendation and Visualization of Affect Responses to Videos” Ser. No. 61/447,089, filed Feb. 27, 2011, “Video Ranking Based on Affect” Ser. No. 61/447,464, filed Feb. 28, 2011, and “Baseline Face Analysis” Ser. No. 61/467,209, filed Mar. 24, 2011.
U.S. patent application “Facial Tracking With Classifiers For Query Evaluation” Ser. No. 14/672,328, filed Mar. 30, 2015 is also a continuation-in-part of U.S. patent application “Image Analysis for Attendance Query Evaluation” Ser. No. 15/061,385, filed Mar. 4, 2016, which claims the benefit of U.S. provisional patent applications “Viewership Analysis Based on Facial Evaluation” Ser. No. 62/128,974, filed Mar. 5, 2015, “Mental State Event Signature Usage” Ser. No. 62/217,872, filed Sep. 12, 2015, “Image Analysis In Support of Robotic Manipulation” Ser. No. 62/222,518, filed Sep. 23, 2015, “Analysis of Image Content with Associated Manipulation of Expression Presentation” Ser. No. 62/265,937, filed Dec. 12, 2015, “Image Analysis Using Sub-Sectional Component Evaluation To Augment Classifier Usage” Ser. No. 62/273,896, filed Dec. 31, 2015, and “Analytics for Live Streaming Based on Image Analysis within a Shared Digital Environment” Ser. No. 62/301,558, filed Feb. 29, 2016.
The U.S. patent application “Image Analysis for Attendance Query Evaluation” Ser. No. 15/061,385, filed Mar. 4, 2016 is also a continuation-in-part of U.S. patent application “Facial Tracking with Classifiers” Ser. No. 14/848,222, filed Sep. 8, 2015 which claims the benefit of U.S. provisional patent applications “Facial Tracking with Classifiers” Ser. No. 62/047,508, filed Sep. 8, 2014, “Semiconductor Based Mental State Analysis” Ser. No. 62/082,579, filed Nov. 20, 2014, and “Viewership Analysis Based On Facial Evaluation” Ser. No. 62/128,974, filed Mar. 5, 2015.
The U.S. patent application “Image Analysis for Attendance Query Evaluation” Ser. No. 15/061,385, filed Mar. 4, 2016 is also a continuation-in-part of U.S. patent application “Measuring Affective Data for Web-Enabled Applications” Ser. No. 13/249,317, filed Sep. 30, 2011 which claims the benefit of U.S. provisional patent applications “Measuring Affective Data for Web-Enabled Applications” Ser. No. 61/388,002, filed Sep. 30, 2010, “Sharing Affect Data Across a Social Network” Ser. No. 61/414,451, filed Nov. 17, 2010, “Using Affect Within a Gaming Context” Ser. No. 61/439,913, filed Feb. 6, 2011, “Recommendation and Visualization of Affect Responses to Videos” Ser. No. 61/447,089, filed Feb. 27, 2011, “Video Ranking Based on Affect” Ser. No. 61/447,464, filed Feb. 28, 2011, and “Baseline Face Analysis” Ser. No. 61/467,209, filed Mar. 24, 2011.
This application is also a continuation-in-part of U.S. patent application “Image Analysis In Support Of Robotic Manipulation” Ser. No. 15/273,765, filed Sep. 23, 2016, which claims the benefit of U.S. provisional patent applications “Image Analysis In Support of Robotic Manipulation” Ser. No. 62/222,518, filed Sep. 23, 2015, “Analysis of Image Content with Associated Manipulation of Expression Presentation” Ser. No. 62/265,937, filed Dec. 12, 2015, “Image Analysis Using Sub-Sectional Component Evaluation To Augment Classifier Usage” Ser. No. 62/273,896, filed Dec. 31, 2015, “Analytics for Live Streaming Based on Image Analysis within a Shared Digital Environment” Ser. No. 62/301,558, filed Feb. 29, 2016, and “Deep Convolutional Neural Network Analysis of Images for Mental States” Ser. No. 62/370,421, filed Aug. 3, 2016.
The patent application “Image Analysis In Support Of Robotic Manipulation” Ser. No. 15/273,765, filed Sep. 23, 2016, is also a continuation-in-part of U.S. patent application “Mental State Event Definition Generation” Ser. No. 14/796,419, filed Jul. 10, 2015 which claims the benefit of U.S. provisional patent applications “Mental State Event Definition Generation” Ser. No. 62/023,800, filed Jul. 11, 2014, “Facial Tracking with Classifiers” Ser. No. 62/047,508, filed Sep. 8, 2014, “Semiconductor Based Mental State Analysis” Ser. No. 62/082,579, filed Nov. 20, 2014, and “Viewership Analysis Based On Facial Evaluation” Ser. No. 62/128,974, filed Mar. 5, 2015.
The patent application “Mental State Event Definition Generation” Ser. No. 14/796,419, filed Jul. 10, 2015 is also a continuation-in-part of U.S. patent application “Mental State Analysis Using Web Services” Ser. No. 13/153,745, filed Jun. 6, 2011, which claims the benefit of U.S. provisional patent applications “Mental State Analysis Through Web Based Indexing” Ser. No. 61/352,166, filed Jun. 7, 2010, “Measuring Affective Data for Web-Enabled Applications” Ser. No. 61/388,002, filed Sep. 30, 2010, “Sharing Affect Across a Social Network” Ser. No. 61/414,451, filed Nov. 17, 2010, “Using Affect Within a Gaming Context” Ser. No. 61/439,913, filed Feb. 6, 2011, “Recommendation and Visualization of Affect Responses to Videos” Ser. No. 61/447,089, filed Feb. 27, 2011, “Video Ranking Based on Affect” Ser. No. 61/447,464, filed Feb. 28, 2011, and “Baseline Face Analysis” Ser. No. 61/467,209, filed Mar. 24, 2011.
The patent application “Mental State Event Definition Generation” Ser. No. 14/796,419, filed Jul. 10, 2015 is also a continuation-in-part of U.S. patent application “Mental State Analysis Using an Application Programming Interface” Ser. No. 14/460,915, Aug. 15, 2014, which claims the benefit of U.S. provisional patent applications “Application Programming Interface for Mental State Analysis” Ser. No. 61/867,007, filed Aug. 16, 2013, “Mental State Analysis Using an Application Programming Interface” Ser. No. 61/924,252, filed Jan. 7, 2014, “Heart Rate Variability Evaluation for Mental State Analysis” Ser. No. 61/916,190, filed Dec. 14, 2013, “Mental State Analysis for Norm Generation” Ser. No. 61/927,481, filed Jan. 15, 2014, “Expression Analysis in Response to Mental State Express Request” Ser. No. 61/953,878, filed Mar. 16, 2014, “Background Analysis of Mental State Expressions” Ser. No. 61/972,314, filed Mar. 30, 2014, and “Mental State Event Definition Generation” Ser. No. 62/023,800, filed Jul. 11, 2014.
The patent application “Mental State Event Definition Generation” Ser. No. 14/796,419, filed Jul. 10, 2015 is also a continuation-in-part of U.S. patent application “Mental State Analysis Using Web Services” Ser. No. 13/153,745, filed Jun. 6, 2011, which claims the benefit of U.S. provisional patent applications “Mental State Analysis Through Web Based Indexing” Ser. No. 61/352,166, filed Jun. 7, 2010, “Measuring Affective Data for Web-Enabled Applications” Ser. No. 61/388,002, filed Sep. 30, 2010, “Sharing Affect Across a Social Network” Ser. No. 61/414,451, filed Nov. 17, 2010, “Using Affect Within a Gaming Context” Ser. No. 61/439,913, filed Feb. 6, 2011, “Recommendation and Visualization of Affect Responses to Videos” Ser. No. 61/447,089, filed Feb. 27, 2011, “Video Ranking Based on Affect” Ser. No. 61/447,464, filed Feb. 28, 2011, and “Baseline Face Analysis” Ser. No. 61/467,209, filed Mar. 24, 2011.
Each of the foregoing applications is hereby incorporated by reference in its entirety.
FIELD OF ARTThis application relates generally to robotics and more particularly to robot navigation for personal assistance.
BACKGROUNDRobots have long been used to perform useful tasks in a variety of platforms. Some robots are designed for only one function, such as welding robots used in an automobile manufacturing assembly line. This type of robot is designed to perform a repetitive task in potentially harsh environments and is not tied to operating on a particular schedule. As such, welding robots can be productive components of a manufacturing system. There are different kinds of robots that are able to perform multiple tasks, and some can even learn to perform new tasks. In addition, some robots can be controlled interactively via an external interface to a human being.
Robots are becoming more and more prevalent in society. At one time, robots, like the welding robot previously described, were primarily used in factories where conditions were conducive to repetitive motions in harsh environments. However, today's robots are much more sophisticated and are no longer only found in unfriendly manufacturing buildings. For example, robots are now able to self-navigate around a house in order to perform household vacuuming. As robots become more common in society, they are emerging as candidates for many tasks that were once reserved only for humans. Robots also include many other types of devices that may respond to human control.
As humans increasingly rely on communicating information to machines, analyzing the cognitive state of a person or people can yield valuable insights and perspective. The face of a person is remarkably expressive and particularly effective for communication between and among people, mammals, and some other animals. Whether consciously or unconsciously, one person can relay to another a wide range of emotions and information through their facial expressions. The facial expressions are based on the movements or the positions of facial muscles and are used to exchange and communicate social information between people. The facial expressions convey emotions that range from happy to sad, and include angry, fearful, disgusted, and surprised, among many others.
Facial expressions can be captured and analyzed. Facial expression analysis is undertaken for purposes including determination of a range of emotions and cognitive states. The cognitive states include frustration, confusion, cognitive overload, skepticism, delight, satisfaction, calmness, stress, and more. An individual's cognitive state is a key indication of a person's emotional condition and may give insight into what that individual desires or needs.
Controlling a robot can be used to accomplish many things. A robot may respond to control through movement, lights, status indicators, articulation, and many such responses. Controlling a robot for various responses allows many different useful tasks to be implemented.
SUMMARYA plurality of images of an individual is obtained by an imagery module associated with an autonomous mobile robot. Cognitive state data, including facial data for the individual in the plurality of images, is identified by an analysis module associated with the autonomous mobile robot. A facial expression metric, based on the facial data for the individual in the plurality of images, is calculated. A cognitive state metric for the individual is generated by the analysis module based on the cognitive state data. The autonomous mobile robot initiates one or more responses based on the cognitive state metric.
A computer-implemented method for robotic assistance is disclosed comprising: obtaining, by an imagery module associated with an autonomous mobile robot, a plurality of images of an individual; identifying, by an analysis module associated with the autonomous mobile robot, cognitive state data including facial data for the individual in the plurality of images; calculating a facial expression metric based on the facial data for the individual; generating, by the analysis module, a cognitive state metric for the individual based on the facial expression metric; and causing the autonomous mobile robot to initiate one or more responses, wherein the one or more responses are based on the cognitive state metric.
In some embodiments, the one or more responses include one or more electromechanical responses which can cause the robot to change locations. In some embodiments, the one or more electromechanical responses are based on a distance from the robot to the individual. Some embodiments comprise causing the autonomous mobile robot to initiate one or more image changes on a display on the robot, wherein the one or more image changes are based on the cognitive state metric. In some embodiments, the identifying, the calculating, and the generating use one or more classifiers. And in some embodiments, the one or more classifiers are generated using machine learning.
Various features, aspects, and advantages of various embodiments will become more apparent from the following further description.
The following detailed description of certain embodiments may be understood by reference to the following figures wherein:
Humans are continuously processing visual stimuli, viewing surroundings using their senses, and processing the imagery for a variety of purposes. For example, by processing this imagery, humans can accomplish a number of tasks, such as locating objects to pick up or avoid, scanning for potential dangers, and identifying loved ones and friends, among many other tasks. Such processing is often instinctual. For example, a sudden movement caught in a person's peripheral vision can cause a shift of attention to the source of the movement. The shift of attention can be due to fear, interest, and so on, and is made to identify the source of the movement. If the movement is a glint of sunlight caught by a wave on a lake, the source is probably harmless and can be appreciated or ignored. On the other hand, if the source of movement poses an imminent danger, then immediate, evasive action is required.
Humans observe each other's faces when they interact. Whether the interactions include sound, smell, touch, or any of the other senses, sight plays a critical role in social interaction. Sight is critical because the human face is highly expressive. The various facial expressions range widely and can convey a cognitive state of a person, an emotional state of a person, and so on. For example, a seductive smile communicates a very different message to the recipient of the smile than does an angry frown, while a neutral expression can indicate boredom, inattention, indifference, and so on. This exchange of “social information” between or among the participants in the interaction greatly influences how the interaction progresses. The smile may attract people to the interaction and retain them in it, while the angry frown can cause people to leave the interaction, perhaps with some haste. In this sense, facial expressions can control the interactions.
In the disclosed techniques, a plurality of images of an individual is captured. The images can be frames of a video or another image capture medium. The images are analyzed to capture cognitive state data of the individual. The analysis can use one or more classifiers. The cognitive state data includes facial data for the individual. Facial expression metrics are calculated. Cognitive state metrics are generated based on the facial expression metrics. An instruction is provided to a robot based on the cognitive state metric that was generated. The instruction to the robot can produce an electromechanical response, which can produce motion in the robot. The motion can include translation, rotation, and so on. The instruction to the robot can cause the robot to change locations. The change in location can include changing location to a home position, a safe position, and so on. The instruction to the robot can be based on the distance from the robot to the individual. The instruction to the robot can produce a color change in the robot. The instruction to the robot can produce a sound change in the robot, including a sound response in a human-recognizable language. The instruction to the robot can result in the robot providing information to the individual. The instruction to the robot can result in the robot providing information to a third party. The instruction to the robot can produce a display change on the robot, such as one or more image changes. For example, a person can smile and the robot can move toward the person. Likewise, a frown could cause the robot to move away from a person.
In some embodiments, it could be envisioned that a robot would be used to reinforce certain behaviors or to provide entertainment. A child might be encouraged to smile and in response to a smile, the robot could move faster, light up, make sounds, and the like. As a child giggles, laughs, or expresses delight, the robot could similarly move or respond. A robot can be of an electromechanical type, or it can take a very different form, such as a social robot, a virtual assistant, a digital assistant, a voice assistant, or even a chat bot or an avatar. This class of social robots may or may not include any electromechanical responses, however the tasks and responses are nonetheless very useful. A robot response can be based on visual input, or speech and sound input, or a combination of both. The relative importance, or weighting, of the visual input or speech input in controlling a robot can be varied. A robot response can take the form of a movement, a color change, performing a task, or even responding to or answering a question, as is common with voice assistants such as Siri®, Cortana®, Google Now™, and Echos℠. A robot response may take the form of a voice assistant response, an avatar update or a chat bot session, to name just a few responses.
The identifying cognitive state data in the plurality of images 110 can include the use of classifiers. Any number of classifiers can be used. The classifiers can be downloaded from the Internet, generated by a service, entered by the user, and so on. Facial expression analysis can include detection of one or more of sadness, stress, happiness, anger, frustration, confusion, disappointment, hesitation, cognitive overload, focusing, engagement, attention, boredom, exploration, confidence, trust, delight, disgust, skepticism, doubt, satisfaction, excitement, laughter, calmness, curiosity, humor, sadness, poignancy, or mirth. The analysis can include detection of any cognitive state and any emotional state. The providing an instruction to the robot can be based on the detection. Other cognitive states, emotions, and so on, can also be detected. The analyzing can be accomplished using a software development kit (SDK). An SDK can be used to develop analysis applications. The analysis applications can be executed on an electronic device controlled by an individual, executed on a server or on a robot, and so on. An event signature is used to analyze the one or more images that can be obtained. An event signature can be identified in a media presentation which has been displayed to one or more individuals. Cognitive state data can be timed to the one or more event signatures to determine cognitive states that can result in response to content in the media presentation, for example.
The flow 100 includes calculating a facial expression metric 130 based on the cognitive state data that was identified. Facial expression metrics can include facial objective measurement features such as height of face, width of face, size of eyes, distance between eyes, distance between nose and mouth, and so on. Facial expression metrics can include facial muscle-based distinctives that contribute to facial expressions such as smile (outer lip raisers), brow furrow (inner brow lowerers), and many others. As will be discussed later, facial expression metrics by themselves do not necessarily directly correspond to cognitive states. For example, a smile may infer a happy state, but it may also infer an anxious state when coupled with a raised brow. This difference can be critical in correctly identifying cognitive states.
In some cases, identifying multiple human faces within the image from the plurality of images is important. The identifying of multiple human faces can include differentiating between one or more faces and a background in an image. The identifying can include further differentiating between two or more faces in the image, where the two or more faces can be fully visible, rotated, partially obscured, and so on. As was the case for a single face, facial expression metrics can be calculated for two or more faces in an image. The facial features can include height of face, width of face, size of eyes, distance between eyes, distance between nose and mouth, size of ears, position of ears, facial yaw with respect to the angle of the obtaining image device, and so on, as well as facial expressions such as a smile, a brow furrow, and many others.
The flow 100 includes generating a cognitive state metric 140 based on the facial expression metric, or metrics, that were calculated. More than one cognitive state metric can be generated based on facial expression metric(s). Cognitive states can include one or more of sadness, stress, happiness, anger, frustration, confusion, disappointment, hesitation, cognitive overload, focusing, engagement, attention, boredom, exploration, confidence, trust, delight, disgust, skepticism, doubt, satisfaction, excitement, laughter, calmness, curiosity, humor, sadness, poignancy, mirth, and so on. The identifying cognitive state data, the calculating one or more facial expression metrics, and the generating one or more cognitive states can be accomplished using classifiers operating within a neural network 135.
The flow 100 includes causing a robot to initiate a response 150, which may include providing an instruction to the robot based on the cognitive state metric that was generated. The response can include an electromechanical response 155, such as movement of the robot. The instruction to the robot can include controlling the robot. The instruction can be based on valence for the individual. The valence of the individual can include positive valence and negative valence. The control of the robot can include instruction to the robot to turn on or off, to perform various tasks, to undertake various movements, to interact with other robots, and so on.
Causing the robot to initiate a response can produce motion in the robot. The motion in the robot can include translation, rotation, acceleration, deceleration, and so on. The instructing the robot can cause the robot to change locations. For example, the robot can be instructed to move from a first location to a second location, to return to a home location, to move to the person interacting with the robot, and so on. The instructing the robot can be based on a distance from the robot to the individual. For example, if the robot is located far from the individual, then the speed of the robot can be faster than if the robot is located near to the individual. The instructing the robot can include performing evasive movements to avoid the individual, including avoiding colliding with the individual. The instructing the robot can produce a color change in the robot. The instruction to the robot can include changing color from a first color to a second color, to a third color, and so on. The instructing the robot can include producing flashing colors. The instructing the robot can produce a sound change in the robot. For example, a sound change can include sounding an alarm, playing a message, playing music, and so on. The instructing the robot can produce an image change on the robot's display. A display that can be coupled to the robot can be used to render data, images, videos, and other information. The display can be used to render welcome messages, warning messages, operational data, etc. The instructing the robot can include requests for information from a virtual assistant. The instructing the robot can include controlling an autonomous vehicle or a taxi robot. For example, frequent passenger grimaces while traveling over a bumpy road can cause an autonomous vehicle to slow down or even seek an alternative route. Various steps in the flow 100 may be changed in order, repeated, omitted, or the like without departing from the disclosed concepts. Various embodiments of the flow 100 may be included in a computer program product embodied in a non-transitory computer readable medium that includes code executable by one or more processors.
The flow 102 includes generating a second cognitive state metric 170 for the individual and identifying a difference in cognitive states 175 for the individual based on the second cognitive state metric. In some embodiments, the difference in cognitive states may be determined based on at least two separate images in the plurality of images. A second image can occur before the first image or after the first image in the plurality of images. The second image can be obtained from a camera other than the camera used to obtain the first image. There can be more than one change between a first image and a second image in the plurality of images. The difference in cognitive states can be based on movement of the individual in the image, addition of one or more individuals, departure of one or more individuals, change of context, and so on. The difference can occur over various time durations. The flow 102 includes causing a robot to initiate a response 180, which may be based on the second image. As with the first image, the second instruction can include controlling the robot, where control of the robot can include further electromechanical responses, such as translation and rotation movements, changing a color, changing a sound, and so on. Causing the robot to initiate a response 180 can include providing an instruction to the robot that is further based on the identified difference in cognitive states 175. Further, if a second individual were to be determined as being present in the second image, then the types of instructions issued to the robot can change. Similarly, the types of instructions that can be issued can be based on changes in context such as time of day, date, environment, and so on. Some embodiments comprise causing the autonomous mobile robot to initiate one or more further responses based on the second cognitive state metric. In embodiments, the one or more further responses include electromechanical responses. Various steps in the flow 102 may be changed in order, repeated, omitted, or the like without departing from the disclosed concepts. Various embodiments of the flow 100 may be included in a computer program product embodied in a non-transitory computer readable medium that includes code executable by one or more processors.
The speech waveform 230 can be matched contemporaneously with one or more images of the plurality of images 210. The speech waveform 230 can be matched contemporaneously with an included time offset with one or more images of the plurality of images 210. The speech information 240 can be combined with the analyzed images for cognitive state data 220 and can be used to generate a cognitive state metric 250. The cognitive state metric 250 can be weighted more heavily with the image cognitive state data 220. The cognitive state metric 250 can be weighted more heavily with the speech information 240. The cognitive state data 220 and the speech information 240 can be weighted equally in the generation of the cognitive state metric 250. For example, a smile appearing on one or more individuals can be analyzed to produce a cognitive state of happiness or agreement which is normally weighted heavily in generating a cognitive state metric. However, if the image is accompanied by a speech waveform that contains the word “stop” and is spoken loudly and sharply, the speech information can be weighted more heavily than the smile image. The flow 200 includes providing an instruction to the robot 260. The instruction to the robot 260 can be based on the generated cognitive state metric 250. One or more instructions to the robot 260 can be provided based on one or more generated cognitive state metrics. The one or more instructions can elicit a robot response to an individual. The one or more instructions can elicit a robot response to more than one individual. The one or more instructions can elicit a robot response to a third party or parties who were not involved in the image or speech capture. In embodiments, the generating is further based on speech information from the individual. In embodiments, the speech information includes tonal information, intonation, voice cadence, voice intensity, voice prosody, or voice pitch. And in embodiments, the speech information includes language information. Various steps in the flow 200 may be changed in order, repeated, omitted, or the like without departing from the disclosed concepts. Various embodiments of the flow 200 may be included in a computer program product embodied in a non-transitory computer readable medium that includes code executable by one or more processors.
Augmented information can be included in the analysis. The augmented information can include a voice, a context such as an environment, time and date, social information, news cycle information, and so on. The cognitive state information generator can be coupled to a skills database 330. The skills database 330 can include filtering information, temporal information, logical information, and so on. The cognitive state information generator can be coupled to an analysis engine 350. The analysis engine can be based on behavioral models. The analysis engine can generate instructions for a robot based on the facial analysis and the cognitive state information that can be generated. The instructions from the analysis engine can be sent to a robot interface 360. The instructions can be sent to the robot using a wireless link, a wired link, and so on. The robot interface 360 can include a connection module whether wired, wireless, or a combination thereof; a control module; and so on. In some embodiments, a camera or audio sensor is enabled on the robot in response to facial expressions. The instructions can be sent to an action and response module 370. The action and response module 370 can execute the instructions that are received. The instructions can include commands to a robot, such as commands to move the robot, where movement of the robot can include translational movement, rotational movement, and so on. The instructions can also include commands to enable and disable an indicator coupled to the robot. For example, if the indicator is a lamp, the instructions could command that the lamp be turned on, turned off, perform a color change, and so on. The action and response module 370 can feed back to the facial analysis module so that any changes in facial expression, for example, can be used to generate one or more new commands for the robot.
As the user 610 is monitored, the user 610 might move due to the nature of the task, boredom, discomfort, distractions, or for another reason. As the user moves, the camera with a view of the user's face can change. Thus, as an example, if the user 610 is looking in a first direction, the line of sight 624 from the webcam 622 is able to observe the individual's face, but if the user is looking in a second direction, the line of sight 634 from the mobile camera 630 is able to observe the individual's face. Further, in other embodiments, if the user is looking in a third direction, the line of sight 644 from the phone camera 642 is able to observe the individual's face, and if the user is looking in a fourth direction, the line of sight 654 from the tablet camera 652 is able to observe the individual's face. If the user is looking in a fifth direction, the line of sight 664 from the wearable camera 662, which can be a device such as the glasses 660 shown and can be worn by another user or an observer, is able to observe the individual's face. If the user is looking in a sixth direction, the line of sight 674 from the wearable watch-type device 670 with a camera 672 included on the device, is able to observe the individual's face. In other embodiments, the wearable device is another device, such as an earpiece with a camera, a helmet or hat with a camera, a clip-on camera attached to clothing, or any other type of wearable device with a camera or another sensor for collecting expression data. The user 610 can also employ a wearable device including a camera for gathering contextual information and/or collecting expression data on other users. Because the user 610 can move her or his head, the facial data can be collected intermittently when the individual is looking in a direction of a camera. In some cases, multiple people are included in the view from one or more cameras, and some embodiments include filtering out faces of one or more other people to determine whether the user 610 is looking toward a camera. All or some of the expression data can be continuously or sporadically available from these various devices and other devices.
The captured video data can include facial expressions and can be analyzed on a computing device, such as the video capture device or on another separate device. The analysis of the video data can include the use of a classifier. For example, the video data can be captured using one of the mobile devices discussed above and sent to a server or another computing device for analysis. However, the captured video data including expressions can also be analyzed on the device which performed the capturing. For example, the analysis can be performed on a mobile device, where the videos were obtained with the mobile device and wherein the mobile device includes one or more of a laptop computer, a tablet, a PDA, a smartphone, a wearable device, and so on. In another embodiment, the analyzing comprises using a classifier on a server or other computing device other than the capturing device. The result of the analyzing can be used to control motions, sounds, displays, and the like for one or more robots.
In embodiments, the one or more emotions determined by the analysis are represented by an image, a figure, an icon, etc. The representative icon can include an emoji or emoticon. One or more emoji can be used to represent a cognitive state, emotion, or mood of an individual; to represent food, a geographic location, or weather; and so on. The emoji can include a static image. The static image can be a predefined size such as a certain number of pixels. The emoji can include an animated image. The emoji can be based on a GIF or another animation standard. The emoji can include a cartoon representation. The cartoon representation can be any cartoon type, format, etc., that can be appropriate to representing an emoji. In the example 800, facial data can be collected, where the facial data can include regions of a face. The facial data that is collected can be based on sub-sectional components of a population. When more than one face can be detected in an image, facial data can be collected for one face, some faces, all faces, and so on. The facial data which can include facial regions can be collected using any of a variety of electronic hardware and software techniques. The facial data can be collected using sensors including motion sensors, infrared sensors, physiological sensors, imaging sensors, and so on. A face 810 can be observed using a camera 830, a sensor, a combination of cameras and/or sensors, and so on. The camera 830 can be used to collect facial data that can determine that a face is present in an image. When a face is present in an image, a bounding box 820 can be placed around the face. Placement of the bounding box around the face can be based on detection of facial landmarks. The camera 830 can be used to collect facial data from the bounding box 820, where the facial data can include facial regions. The facial data can be collected from a plurality of people using any of a variety of cameras. As discussed previously, the camera or cameras can include a webcam, where a webcam can include a video camera, a still camera, a thermal imager, a CCD device, a phone camera, a three-dimensional camera, a depth camera, a light field camera, multiple webcams used to show different views of a person, or any other type of image capture apparatus that can allow captured data to be used in an electronic system. As discussed previously, the quality and usefulness of the facial data that is captured can depend on, among other examples, the position of the camera 830 relative to the face 810, the number of cameras and/or sensors used, the illumination of the face, any obstructions to viewing the face, and so on.
The facial regions that can be collected by the camera 830, a sensor, or a combination of cameras and/or sensors can include any of a variety of facial features. Embodiments include determining regions within the face of the individual and evaluating the regions for emotional content. The facial features that can be included in the facial regions that are collected can include eyebrows 831, eyes 832, a nose 840, a mouth 850, ears, hair, texture, tone, and so on. Multiple facial features can be included in one or more facial regions. The number of facial features that can be included in the facial regions can depend on the desired amount of data to be captured, whether a face is in profile, whether the face is partially occluded or obstructed, etc. The facial regions that can include one or more facial features can be analyzed to determine facial expressions. The analysis of the facial regions can also include determining probabilities of occurrence of one or more facial expressions. The facial features that can be analyzed can also include features such as textures, gradients, colors, and shapes. The facial features can be used to determine demographic data, where the demographic data can include age, ethnicity, culture, and gender. Multiple textures, gradients, colors, shapes, and so on, can be detected by the camera 830, a sensor, or a combination of cameras and sensors. Texture, brightness, and color, for example, can be used to detect boundaries in an image for detection of a face, facial features, facial landmarks, and so on.
A texture in a facial region can include facial characteristics, skin types, and so on. In some instances, a texture in a facial region can include smile lines, crow's feet, and wrinkles, among others. Another texture that can be used to evaluate a facial region can include a smooth portion of skin such as a smooth portion of a check. A gradient in a facial region can include values assigned to local skin texture, shading, etc. A gradient can be used to encode a texture by computing magnitudes in a local neighborhood or portion of an image. The computed values can be compared to discrimination levels, threshold values, and so on. The gradient can be used to determine gender, facial expression, etc. A color in a facial region can include eye color, skin color, hair color, and so on. A color can be used to determine demographic data, where the demographic data can include ethnicity, culture, age, and gender. A shape in a facial region can include the shape of a face, eyes, nose, mouth, ears, and so on. As with color in a facial region, shape in a facial region can be used to determine demographic data including ethnicity, culture, age, gender, and so on.
The facial regions can be detected based on edges, boundaries, and so on, of features that can be included in an image. The detection can be based on various types of analysis of the image. The features that can be included in the image can include one or more faces. A boundary can refer to a contour in an image plane, where the contour can represent ownership of a particular picture element (pixel) from one object, feature, etc. in the image, to another object, feature, and so on, in the image. An edge can be a distinct, low-level change of one or more features in an image. That is, an edge can be detected based on a change, including an abrupt change such as in color or brightness within an image. In embodiments, image classifiers are used for the analysis. The image classifiers can include algorithms, heuristics, and so on, and can be implemented using machine learning, functions, classes, subroutines, code segments, etc. The classifiers can be used to detect facial regions, facial features, and so on. As discussed above, the classifiers can be used to detect textures, gradients, colors, shapes, and edges, among others. Any classifier can be used for the analysis, including, but not limited to, density estimation, support vector machines (SVMs), logistic regression, classification trees, and so on. By way of example, consider facial features that can include the eyebrows 831. One or more classifiers can be used to analyze the facial regions that can include the eyebrows to determine a probability for either a presence or an absence of an eyebrow furrow. The probability can include a posterior probability, a conditional probability, and so on. The probabilities can be based on Bayesian statistics or other statistical analysis technique. The presence of an eyebrow furrow can indicate that the person from whom the facial data was collected is annoyed, confused, unhappy, and so on. In another example, consider facial features that can include a mouth 850. One or more classifiers can be used to analyze the facial region that can include the mouth to determine a probability for either a presence or an absence of upturned mouth edges to form a smile. Multiple classifiers can be used to determine one or more facial expressions. The classifiers and the facial expressions can be used in providing instructions to and manipulating robots.
Classification can be based on various types of algorithms, heuristics, codes, procedures, statistics, and so on. Many techniques for performing classification exist. This classification of one or more observations into one or more groups can be based on distributions of the data values, probabilities, and so on. Classifiers can be binary, multiclass, linear, and so on. Algorithms for classification can be implemented using a variety of techniques, including neural networks, kernel estimation, support vector machines, use of quadratic surfaces, and so on. Classification can be used in many application areas such as computer vision, speech and handwriting recognition, and so on. Classification can be used for biometric identification of one or more people in one or more frames of one or more videos.
Returning to
A second video frame 902 is also shown. The second video frame 902 includes a frame boundary 930, a first face 932, and a second face 934. The second video frame 902 also includes a bounding box 940 and the facial landmarks 942, 944, and 946. In other embodiments, multiple facial landmarks are generated and used for facial tracking of two or more identified human faces of a video frame, such as the shown second video frame 902. Facial points from the first face can be distinguished from other facial points. In embodiments, the other facial points include facial points of one or more other faces. The facial points can correspond to the facial points of the second face. The distinguishing of the facial points of the first face and the facial points of the second face can be used to distinguish between the first face and the second face, to track either or both of the first face and the second face, and so on. Other facial points can correspond to the second face. As mentioned above, multiple facial points can be determined within a frame. One or more of the other facial points that are determined can correspond to a third face. The location of the bounding box 940 can be estimated, where the estimating can be based on the location of the generated bounding box 920 shown in the first video frame 900. The three facial landmarks shown, facial landmarks 942, 944, and 946, might lie within the bounding box 940 or might not lie partially or completely within the bounding box 940. For instance, the second face 934 might have moved between the first video frame 900 and the second video frame 902. Based on the accuracy of the estimating of the bounding box 940, a new estimation can be determined for a third, future frame from the video, and so on. The evaluation can be performed, all or in part, on semiconductor-based logic. The evaluation can be used in providing instructions to and manipulating robots.
The flow 1000 begins by obtaining training image samples 1010. The image samples can include a plurality of images of one or more people. Human coders who are trained to correctly identify AU codes based on the FACS can code the images. The training or “known good” images can be used as a basis for training a machine learning technique. Once trained, the machine learning technique can be used to identify AUs in other images that can be collected using a camera, a sensor, and so on. The flow 1000 continues with receiving an image 1020. The image 1020 can be received from a camera, a sensor, and so on. As previously discussed, the camera or cameras can include a webcam, where a webcam can include a video camera, a still camera, a thermal imager, a CCD device, a phone camera, a three-dimensional camera, a depth camera, a light field camera, multiple webcams used to show different views of a person, or any other type of image capture apparatus that can allow captured data to be used in an electronic system. The image that is received can be manipulated in order to improve the processing of the image. For example, the image can be cropped, scaled, stretched, rotated, flipped, etc., in order to obtain a resulting image that can be analyzed more efficiently. Multiple versions of the same image can be analyzed. In some cases, the manipulated image and a flipped or mirrored version of the manipulated image can be analyzed alone and/or in combination to improve analysis. The flow 1000 continues with generating histograms 1030 for the training images and the one or more versions of the received image. The histograms can be based on a HoG or another histogram. As described in previous paragraphs, the HoG can include feature descriptors and can be computed for one or more regions of interest in the training images and the one or more received images. The regions of interest in the images can be located using facial landmark points, where the facial landmark points can include outer edges of nostrils, outer edges of the mouth, outer edges of eyes, etc. A HoG for a given region of interest can count occurrences of gradient orientation within a given section of a frame from a video.
The flow 1000 continues with applying classifiers 1040 to the histograms. The classifiers can be used to estimate probabilities, where the probabilities can correlate with an intensity of an AU or an expression. In some embodiments, the choice of classifiers used is based on the training of a supervised learning technique to identify facial expressions. The classifiers can be used to identify into which of a set of categories a given observation can be placed. The classifiers can be used to determine a probability that a given AU or expression is present in a given image or frame of a video. In various embodiments, the one or more AUs that are present include AU01 inner brow raiser, AU12 lip corner puller, AU38 nostril dilator, and so on. In practice, the presence or absence of multiple AUs can be determined. The flow 1000 continues with computing a frame score 1050. The score computed for an image, where the image can be a frame from a video, can be used to determine the presence of a facial expression in the image or video frame. The score can be based on one or more versions of the image 1020 or a manipulated image. The score can be based on a comparison of the manipulated image to a flipped or mirrored version of the manipulated image. The score can be used to predict a likelihood that one or more facial expressions are present in the image. The likelihood can be based on computing a difference between the outputs of a classifier used on the manipulated image and on the flipped or mirrored image, for example. The classifier can be used to identify symmetrical facial expressions (e.g. smile), asymmetrical facial expressions (e.g. outer brow raiser), and so on.
The flow 1000 continues with plotting results 1060. The results that are plotted can include one or more scores for one or more frames computed over a given time t. For example, the plotted results can include classifier probability results from analysis of HoGs for a sequence of images and video frames. The plotted results can be matched with a template 1062. The template can be temporal and can be represented by a centered box function or another function. A best fit with one or more templates can be found by computing a minimum error. Other best-fit techniques can include polynomial curve fitting, geometric curve fitting, and so on. The flow 1000 continues with applying a label 1070. The label can be used to indicate that a particular facial expression has been detected in the one or more images or video frames which constitute the image 1020 that was received. The label can be used to indicate that any of a range of facial expressions has been detected, including a smile, an asymmetric smile, a frown, and so on. Various steps in the flow 1000 may be changed in order, repeated, omitted, or the like without departing from the disclosed concepts. Various embodiments of the flow 1000 can be included in a computer program product embodied in a non-transitory computer readable medium that includes code executable by one or more processors. Various embodiments of the flow 1000, or portions thereof, can be included on a semiconductor chip and implemented in special purpose logic, programmable logic, and so on. Various embodiments of flow 1000, or portions thereof, can be used in providing instructions to and manipulating robots.
The flow 1100 begins with obtaining videos containing faces 1110. The videos can be obtained using one or more cameras, where the cameras can include a webcam coupled to one or more devices employed by the one or more people using the web-based framework. The flow 1100 continues with extracting features from the individual responses 1120. The individual responses can include videos containing faces observed by the one or more webcams. The features that are extracted can include facial features such as an eyebrow, a nostril, an eye edge, a mouth edge, and so on. The feature extraction can be based on facial coding classifiers, where the facial coding classifiers output a probability that a specified facial action has been detected in a given video frame. The flow 1100 continues with performing unsupervised clustering of features 1130. The unsupervised clustering can be based on an event. The unsupervised clustering can be based on a K-Means, where the K of the K-Means can be computed using a Bayesian Information Criterion (BICk), for example, to determine the smallest value of K that meets system requirements. Any other criterion for K can be used. The K-Means clustering technique can be used to group one or more events into various respective categories.
The flow 1100 continues with characterizing cluster profiles 1140. The profiles can include a variety of facial expressions such as smiles, asymmetric smiles, eyebrow raisers, eyebrow lowerers, etc. The profiles can be related to a given event. For example, a humorous video can be displayed in the web-based framework and the video data of people who have opted in can be collected. The characterization of the collected and analyzed video can depend in part on the number of smiles that occurred at various points throughout the humorous video. The number of smiles resulting from people viewing a humorous video can be compared to various demographic groups, where the groups can be formed based on geographic location, age, ethnicity, gender, and so on. Similarly, the characterization can be performed on collected and analyzed videos of people viewing a news presentation. The characterized cluster profiles can be further analyzed based on demographic data. Various steps in the flow 1100 may be changed in order, repeated, omitted, or the like without departing from the disclosed concepts. Various embodiments of the flow 1100 can be included in a computer program product embodied in a non-transitory computer readable medium that includes code executable by one or more processors. Various embodiments of the flow 1100, or portions thereof, can be included on a semiconductor chip and implemented in special purpose logic, programmable logic, and so on. Various embodiments of flow 1100, or portions thereof, can be used in providing instructions to and manipulating robots.
The cluster profiles 1202 can be generated based on the clusters that can be formed from unsupervised clustering, with time shown on the x-axis and intensity or frequency shown on the y-axis. The cluster profiles can be based on captured facial data including facial expressions. The cluster profile 1220 can be based on the cluster 1210, the cluster profile 1222 can be based on the cluster 1212, and the cluster profile 1224 can be based on the cluster 1214. The cluster profiles 1220, 1222, and 1224 can be based on smiles, smirks, frowns, or any other facial expression. The cognitive states of the people who have opted in to video collection can be identified by analyzing the clustered facial expression data. The cluster profiles can be plotted with respect to time and can show a rate of onset, a duration, and an offset (rate of decay). Other time-related factors can be included in the cluster profiles. The cluster profiles can be correlated with demographic information, as described above. The cluster profiles can be used in providing instructions to and manipulating robots.
Several livestreaming social media apps and platforms can be used for transmitting video. One such video social media app is Meerkat™ that can link with a user's Twitter™ account. Meerkat™ enables a user to stream video using a handheld, networked, electronic device coupled to video capabilities. Viewers of the livestream can comment on the stream using tweets that can be seen by and responded to by the broadcaster. Another popular app is Periscope™ that can transmit a live recording from one user to that user's Periscope™ and other followers. The Periscope™ app can be executed on a mobile device. The user's Periscope™ followers can receive an alert whenever that user begins a video transmission. Another livestream video platform is Twitch™, which can be used for video streaming of video gaming and broadcasts of various competitions and events.
The example 1300 shows a user 1310 broadcasting a video livestream to one or more people 1350, 1360, 1370, and so on. A portable, network-enabled electronic device 1320 can be coupled to a camera 1322 that is facing the user 1310. In other embodiments, the camera could face away from the user. The portable electronic device 1320 can be a smartphone, a PDA, a tablet, a laptop computer, and so on. The camera 1322 coupled to the device 1320 can have a line-of-sight view 1324 to the user 1310 and can capture video of the user 1310. The captured video can be sent to an analysis engine 1340 using a network link 1326 to the Internet 1330. The network link can be a wireless link, a wired link, and so on. The recommendation engine 1340 can recommend to the user 1310 an app and/or platform that can be supported by the server and can be used to provide a video livestream to one or more followers of the user 1310. The example 1300 shows three people, person 1350, person 1360, and person 1370, as followers of user 1310. Each follower has a line-of-sight view to a video screen on a portable, networked electronic device. In other embodiments, one or more followers are following the user 1310 using any other networked electronic device including a computer. In the example 1300, the person 1350 has a line-of-sight view 1352 to the video screen of a device 1354, the person 1360 has a line-of-sight view 1362 to the video screen of a device 1364, and the person 1370 has a line-of-sight view 1372 to the video screen of a device 1374. The portable electronic devices 1354, 1364, and 1374 each can be a smartphone, a PDA, a tablet, and so on. Each portable device can receive the video stream being broadcast by the user 1310 through the Internet 1330 using the app and/or platform that can be recommended by the recommendation engine 1340. The device 1354 can receive a video stream using a network link 1356, the device 1364 can receive a video stream using a network link 1366, the device 1374 can receive a video stream using a network link 1376, and so on. The network link can be a wireless link, and wired link, and so on. Depending on the app and/or platform that can be recommended by the recommendation engine 1340, one or more followers, for example, the followers 1350, 1360, 1370, and so on, can reply to, comment on, and otherwise provide feedback to the user 1310 using their devices 1354, 1364, and 1374 respectively. Similarly, livestreaming of controlled robots and the respective facial expressions can be shown.
In chart 1512, the individual remains present in front of the rendered content, but for a portion of the video, he frequently looks away. As can be seen in the chart 1512, up until time t2, the engagement level is sporadic, fluctuating between low and midrange levels. After time t2, the engagement level increases. In such an embodiment where digital media content is modified based on viewership, a chart such as 1512 indicates that the ending of the video is engaging to the individual, while earlier in the video, before time t2, the video was not as engaging. Thus, in embodiments, the modification includes shortening the video by deleting and/or shortening scenes of the video prior to time t2, in order to better hold the individual's attention and interest.
In chart 1514, the individual remains present in front of the rendered content, but for a portion of the video, he is frequently looking away by averting his gaze away from the screen that is presenting the media content. As can be seen in chart 1514, up until time t3, the engagement level is relatively high, indicating a high level of focus by the individual on the media content. After time t3, the engagement level significantly decreases. Each detected engagement level may be considered cognitive state data. In order to generate a cognitive state metric based on a chart such as 1514, the cognitive state data may be processed in any appropriate and desired fashion.
For example, groups of three sequential engagement levels may be averaged to produce cognitive state metrics for a plurality of time periods. As another example, all of the engagement levels for a given time period may be summed and divided by the number of engagement levels that are below 50% in order to determine a cumulative cognitive state metric. For example, in chart 1510, a cumulative cognitive state metric may be determined by summing all of the engagement levels (560) and dividing by the number of engagement levels below 50% (ten), resulting in a cumulative cognitive state metric of 560/10 or 56. For chart 1510, a cumulative cognitive state metric may be determined by summing all of the engagement levels (543.1) and dividing by the number of engagement levels below 50% (ten), resulting in a cumulative cognitive state metric of 543.1/10 or 54.31. For chart 1514, a cumulative cognitive state metric may be determined by summing all of the engagement levels (560) and dividing by the number of engagement levels below 50% (ten in chart 1514), resulting in a cumulative cognitive state metric of 56. Thus, if chart 1510 has a cumulative cognitive state metric of 56, chart 1512 has a metric of 54.31, and chart 1514 has a metric of 56, it may be determined that charts 1510 and 1514 indicate roughly equal levels of engagement while chart 1512 indicates slightly lower engagement than that shown by charts 1510 and 1514. As further examples, if a user is 100% engaged for 8 of 16 sample periods and 49% engaged for the remaining eight sample periods, the cumulative cognitive state metric may be calculated as 100, indicating more engagement than is shown in charts 1510, 1512, and 1514. However, if a user is only 80% engaged for 4 of 16 sample periods and 0% engaged for the remaining 12 sample periods, the cumulative cognitive state metric may be calculated as 26.67, indicating less engagement than is shown in charts 1510, 1512, and 1514. Although only a selection of cognitive state metrics is explicitly discussed herein, it will be understood after reviewing this application in its entirety that any number of different cognitive state metrics may be used.
Understanding and evaluating moods, emotions, or cognitive state requires a nuanced evaluation of facial expressions, audio expressions, or other cues generated by people. Cognitive state analysis is important in many areas such as research, psychology, business, intelligence, law enforcement, and so on. The understanding of cognitive states can be used in a variety of fields, such as improving marketing analysis, assessing the effectiveness of customer service experiences and retail experiences, and evaluating the consumption of content such as movies and videos. Identifying points of frustration in a customer transaction can allow a company to take action to address the causes of the frustration. By streamlining processes, key performance areas such as customer satisfaction and customer transaction throughput can be improved, resulting in increased sales and revenues.
Deep learning is a branch of machine learning which seeks to imitate in software the activity which takes place in layers of neurons in the neocortex of the human brain. Deep learning applications include processing of image data, audio data, and so on.
Returning to the deep learning component 1620, the deep learning component can include a multilayered convolutional computing system 1622. The multilayered convolutional computing system 1622 can include a plurality of layers of varying types. The layers can include one or more convolutional layers 1624 which can be used for learning and analysis. The convolutional layers can include pooling layers 1626 which can combine the outputs of clusters into a single datum. The layers can include one or more Rectified Linear Unit (ReLU) layers 1628. The one or more ReLU layers can implement an activation function such as ƒ(x)−max(0,x), thus providing an activation with a threshold at zero. The convolutional layers can include trained weights 1630. The trained weights can be based on learning, where the learning uses information collected from one or more individuals via a plurality of information channels. The trained weights can be used to enable the multilayer convolutional computing system to determine image characteristics, voice characteristics, and so on.
The deep learning component 1620 can include a fully connected layer 1632. The fully connected layer 1632 processes each data point from the output of a collection of intermediate layers. The fully connected layer 1632 takes all data points in the previous layer and connects them to every single node contained within the fully connected layer. The output of the fully connected layer 1632 can provide input to a classification layer 1634. The classification layer can be used to classify emotional states, cognitive states, moods, and so on. The classification can be based on using classifiers. The deep learning component 1620 provides data that includes cognitive state metrics 1640. The cognitive state metrics can include a cognitive type, a number of occurrences of the type, the intensity of the cognitive type, and so on. The cognitive state metric can be based on a threshold value, a target value, a goal, etc. The cognitive state metric can be based on cognitive types that can occur over a period of time. More than one cognitive state metric can be provided.
Cognitive state analysis is a very complex task. Understanding and evaluating moods, emotions, or cognitive states requires a nuanced evaluation of facial expressions or other cues generated by people. Cognitive state analysis is important in many areas such as research, psychology, business, intelligence, law enforcement, and so on. The understanding of cognitive states can be used in a variety of fields, such as improving marketing analysis, assessing the effectiveness of customer service experiences and retail experiences, and evaluating the consumption of content such as movies and videos. Identifying points of frustration in a customer transaction can allow a company to take action to address the causes of the frustration. By streamlining processes, key performance areas such as customer satisfaction and customer transaction throughput can be improved, resulting in increased sales and revenues. In a content scenario, producing compelling content that achieves the desired effect (e.g. fear, shock, laughter, etc.) can result in increased ticket sales and/or increased advertising revenue. If a movie studio is producing a horror movie, it is desirable to know if the scary scenes in the movie are achieving the intended effect. By conducting tests in sample audiences, and analyzing faces in the audience, a computer-implemented method and system can process thousands of faces to assess the cognitive state at the time of the scary scenes. In many ways, such an analysis can be more effective than surveys that ask audience members questions, as audience members may consciously or subconsciously change answers based on peer pressure or other factors. However, spontaneous facial expressions can be more difficult to conceal or control. Thus, by analyzing facial expressions en masse, important information regarding the cognitive state of the audience can be obtained.
Analysis of facial expressions is also a complex undertaking. Image data, where the image data can include facial data, can be analyzed to identify a range of facial expressions. The facial expressions can include a smile, frown, smirk, and so on. The image data and facial data can be processed to identify the facial expressions. The processing can include analysis of expression data, action units, gestures, cognitive states, physiological data, and so on. Facial data as contained in the raw video data can include information on one or more action units such as head gestures, smiles, brow furrows, squints, lowered eyebrows, raised eyebrows, attention, and the like. The action units can be used to identify smiles, frowns, and other facial indicators of expressions. Gestures can also be identified, and can include a head tilt to the side, a forward lean, a smile, a frown, as well as many other gestures. Other types of data including the physiological data can be obtained, where the physiological data can be obtained using a camera or other image capture device without contacting the person or persons. Respiration, heart rate, heart rate variability, perspiration, temperature, and other physiological indicators of cognitive state can be determined by analyzing the images and video data.
Analysis of cognitive states based on human audio is also highly complex. Audio data can include speech, grunts, groans, shouts, screams, and so on. Further, the method of how the audio is produced can greatly influence the one or more expressions extracted from the audio. As a result, the audio data, such as voice data, can be evaluated for timbre, prosody, vocal register, vocal resonance, pitch, loudness, speech rate, language content, and so on. The evaluation results can be associated with cognitive states, emotional states, moods, and so on. For example, loud, rapid, shrill speech can indicate anger, while moderate, controlled speech including polysyllabic words can indicate confidence.
Deep learning is a branch of machine learning which seeks to imitate in software the activity which takes place in layers of neurons in the neocortex of the human brain. This imitative activity can enable software to “learn” to recognize and identify patterns in data, where the data can include digital forms of images, sounds, and so on. The deep learning software is used to simulate the large array of neurons of the neocortex. This simulated neocortex, or artificial neural network, can be implemented using mathematical formulas that are evaluated on processors. With the ever-increasing capabilities of the processors, increasing numbers of layers of the artificial neural network can be processed.
Deep learning applications include processing of image data, audio data, and so on. Image data applications include image recognition, facial recognition, etc. Image data applications can include differentiating dogs from cats, identifying different human faces, and the like. The image data applications can include identifying moods, cognitive states, emotional states, and so on, from the facial expressions of the faces that are identified. Audio data applications can include analyzing audio input such as ambient room sounds, physiological sounds such as breathing or coughing, noises made by an individual such as tapping and drumming, voices, and so on. The voice data applications can include analyzing a voice for timbre, prosody, vocal register, vocal resonance, pitch, loudness, speech rate, or language content. The voice data analysis can be used to determine one or more cognitive states, moods, emotional states, etc.
The artificial neural network which forms the basis for deep learning is based on layers. The layers can include an input layer, a convolution layer, a fully connected layer, a classification layer, and so on. The input layer can receive input data such as image data, where the image data can include a variety of formats including pixel formats. The input layer can then perform processing tasks such as identifying boundaries of the face, identifying landmarks of the face, extracting features of the face, and/or rotating a face within the plurality of images. The convolution layer can represent an artificial neural network such as a convolutional neural network. A convolutional neural network can contain a plurality of hidden layers within it. A convolutional layer can reduce the amount of data feeding into a fully connected layer. The fully connected layer processes each pixel/data point from the convolutional layer. A last layer within the multiple layers can provide output indicative of cognitive state. The last layer of the convolutional neural network can be the final classification layer. The output of the final classification layer can be indicative of cognitive state of faces within the images that are provided to input layer.
Deep networks including deep convolutional neural networks can be used for facial expression parsing. A first layer of the deep network includes multiple nodes, where each node represents a neuron within a neural network. The first layer can receive data from an input layer. The output of the first layer can feed to a second layer, where the latter layer also includes multiple nodes. A weight can be used to adjust the output of the first layer which is being input to the second layer. Some layers in the convolutional neural network can be hidden layers. The output of the second layer can feed to a third layer. The third layer can also include multiple nodes. A weight can adjust the output of the second layer which is being input to the third layer. The third layer may be a hidden layer. Outputs of a given layer can be fed to next layer. Weights adjust the output of one layer as it is fed to the next layer. When the final layer is reached, the output of the final layer can be a facial expression, a cognitive state, a characteristic of a voice, and so on. The facial expression can be identified using a hidden layer from the one or more hidden layers. The weights can be provided on inputs to the multiple layers to emphasize certain facial features within the face. The convolutional neural network can be trained to identify facial expressions, voice characteristics, etc. The training can include assigning weights to inputs on one or more layers within the multilayered analysis engine. One or more of the weights can be adjusted or updated during training. The assigning of weights can be accomplished during a feed-forward pass through the multilayered neural network. In a feed-forward arrangement, the information moves forward, from the input nodes, through the hidden nodes, and on to the output nodes. Additionally, the weights can be updated during a backpropagation process through the multilayered analysis engine.
Returning to the figure,
The network includes a collection of intermediate layers 1720. The multilayered analysis engine can include a convolutional neural network. Thus, the intermediate layers can include a convolution layer 1722. The convolution layer 1722 can include multiple sublayers, including hidden layers within it. The output of the convolution layer 1722 feeds into a pooling layer 1724. The pooling layer 1724 performs a data reduction, which makes the overall computation more efficient. Thus, the pooling layer reduces the spatial size of the image representation to reduce the number of parameters and computation in the network. In some embodiments, the pooling layer is implemented using filters of size 2×2, applied with a stride of two samples for every depth slice along both width and height, resulting in a reduction of 75-percent of the downstream node activations. The multilayered analysis engine can further include a max pooling layer 1724. Thus, in embodiments, the pooling layer is a max pooling layer, in which the output of the filters is based on a maximum of the inputs. For example, with a 2×2 filter, the output is based on a maximum value from the four input values. In other embodiments, the pooling layer is an average pooling layer or L2-norm pooling layer. Various other pooling schemes are possible.
The intermediate layers can include a Rectified Linear Units (ReLU) layer 1726. The output of the pooling layer 1724 can be input to the ReLU layer 1726. In embodiments, the ReLU layer implements an activation function such as ƒ(x)−max(0,x), thus providing an activation with a threshold at zero. In some embodiments, the ReLU layer 1726 is a leaky ReLU layer. In this case, instead of the activation function providing zero when x<0, a small negative slope is used, resulting in an activation function such as ƒ(x)=1(x<0)(αx)+1(x>=0)(x). This can reduce the risk of “dying ReLU” syndrome, where portions of the network can be “dead” with nodes/neurons that do not activate across the training dataset. The image analysis can comprise training a multilayered analysis engine using the plurality of images, wherein the multilayered analysis engine can comprise multiple layers that include one or more convolutional layers 1722 and one or more hidden layers, and wherein the multilayered analysis engine can be used for cognitive state analysis.
The example 1700 includes a fully connected layer 1730. The fully connected layer 1730 processes each pixel/data point from the output of the collection of intermediate layers 1720. The fully connected layer 1730 takes all neurons in the previous layer and connects them to every single neuron it has. The output of the fully connected layer 1730 provides input to a classification layer 1740. The output of the classification layer 1740 provides a facial expression and/or cognitive state as its output. Thus, a multilayered analysis engine such as the one depicted in
Layers of a deep neural network can include a bottleneck layer 1800. A bottleneck layer can be used for a variety of applications such as facial recognition, voice recognition, cognitive state recognition, and so on. The deep neural network in which the bottleneck layer is located can include a plurality of layers. The plurality of layers can include an original feature layer 1810. A feature such as an image feature can include points, edges, objects, boundaries between and among regions, properties, and so on. The deep neural network can include one or more hidden layers 1820. The one or more hidden layers can include nodes, where the nodes can include nonlinear activation functions and other techniques. The bottleneck layer can be a layer that learns translation vectors to transform a neutral face to an emotional or expressive face. In some embodiments, the translation vectors can transform a neutral sounding voice to an emotional or expressive voice. Specifically, activations of the bottleneck layer determine how the transformation occurs. A single bottleneck layer can be trained to transform a neutral face or voice to an emotional or expressive face or voice. In some cases, individual bottleneck layers can be trained for a transformation pair. At runtime, once the user's cognitive state has been identified and an appropriate response to it can be determined (mirrored or complementary), the trained bottleneck layer can be used to perform the needed transformation.
The deep neural network can include a bottleneck layer 1830. The bottleneck layer can include a fewer number of nodes than the one or more preceding hidden layers. The bottleneck layer can create a constriction in the deep neural network or other network. The bottleneck layer can force information that is pertinent to a classification into a low dimensional representation. The bottleneck features can be extracted using an unsupervised technique. In other embodiments, the bottleneck features can be extracted in a supervised manner. The supervised technique can include training the deep neural network with a known dataset. The features can be extracted from an autoencoder such as a variational autoencoder, a generative autoencoder, and so on. The deep neural network can include hidden layers 1840. The count of the hidden layers can include zero hidden layers, one hidden layer, a plurality of hidden layers, and so on. The hidden layers following the bottleneck layer can include more nodes than the bottleneck layer. The deep neural network can include a classification layer 1850. The classification layer can be used to identify the points, edges, objects, boundaries, and so on, described above. The classification layer can be used to identify cognitive states, mental states, emotional states, moods, and the like. The output of the final classification layer can be indicative of the emotional states of faces within the images, where the images can be processed using the deep neural network.
The human face can convey a wide range of expressions. Some facial expressions can honestly present a range of cognitive states experienced by an individual, while other facial expressions can be used to mask the cognitive states or present false cognitive states. Actors, poker players, politicians, and liars have all perfected the skills of presenting particular cognitive states while masking or misdirecting their actual cognitive states. While people can analyze facial expressions of others quickly and to some extent accurately, machine analysis of images of facial expressions can be quite difficult. To accomplish machine analysis of images, images can be collected from one or more individuals and analyzed to determine one or more cognitive states. One quickly discovers that a facial expression alone such as a smile, frown, smirk, grimace, etc., may not yield an accurate indication of cognitive state. Thus, further analysis of the images is required to improve cognitive state determination. The further analysis can be based on detecting facial landmarks, regions, or distinguishing characteristics; detecting and analyzing facial microexpressions, and so on. Such analysis can be used to calculate one or more facial expression metrics. The facial expression metrics can in turn be used to generate a facial expression metric associated with the cognitive state data.
Cognitive state analysis, as well as facial expression analysis, and so on, are highly complex tasks. Cognitive state data, such as a person's facial expression data, can be analyzed to provide cognitive state information regarding an individual. Understanding and evaluating moods, emotions, mental states, or cognitive states, requires a nuanced evaluation of facial expressions or other cues generated by people. Cognitive state analysis is important in many areas such as research, psychology, business, intelligence, law enforcement, and so on. The understanding of cognitive states can be useful for a variety of business purposes, such as improving marketing analysis, assessing the effectiveness of customer service interactions and retail experiences, and evaluating the consumption of content such as movies and videos. Identifying points of frustration in a customer transaction can allow a company to address the causes of the frustration. By streamlining processes, key performance areas such as customer satisfaction and customer transaction throughput can be improved, resulting in increased sales and revenues. In a content scenario, producing compelling content that achieves the desired effect (e.g. fear, shock, laughter, etc.) can result in increased ticket sales and/or increased advertising revenue. If a movie studio is producing a horror movie, it is desirable to know if the scary scenes in the movie are achieving the desired effect. By conducting tests in sample audiences, and analyzing faces in the audience, a computer-implemented method and system can process thousands of faces to assess the cognitive state at the time of the scary scenes. In many ways, such an analysis can be more effective than surveys that ask audience members questions, since audience members may consciously or subconsciously change answers based on peer pressure or other factors. However, spontaneous facial expressions can be more difficult to conceal. Thus, by analyzing facial expressions en masse in real time, important information regarding the general cognitive state of the audience can be obtained.
Image data, where the image data can include facial data, can be analyzed to identify a range of facial expressions. The facial expressions can include a smile, frown, or smirk, a neutral expression, and so on. The image data and facial data can be processed to identify the facial expressions. The processing can include analysis of expression data, action units, valence, affect, gestures, mental states, cognitive states, audio input data, physiological data, and so on. Facial data as contained in raw image or video data can include information on one or more of action units, head gestures, head pitch, smiles, brow furrows, squints, lowered eyebrows, raised eyebrows, attention, and the like. The action units can be used to identify smiles, frowns, and other facial indicators of expressions. The strength and/or confidence that a facial image indeed displays a certain expression can be quantified using a facial expression metric. Gestures can also be identified, and can include a head tilt to the side, a head turned away from the image capture device, a forward lean, a smile, a frown, as well as many other gestures. Other types of data including physiological data can be collected, where the physiological data can be obtained using a camera or other image capture device, without contacting the person or persons. Respiration, heart rate, heart rate variability, perspiration, temperature, and other physiological indicators of cognitive state can be determined by analyzing the images and video data.
Facial data can be collected from a plurality of people using any of a variety of cameras. A camera can include a webcam, a video camera, a still camera, a thermal imager, a CCD device, a smartphone camera, a three-dimensional camera, a depth camera, a light field camera, multiple webcams used to show different views of a person, or any other type of image capture apparatus that can allow captured data to be used in an electronic system. In some embodiments, the person is permitted to “opt in” to the facial data collection. For example, the person can agree to the capture of facial data using a personal device such as a mobile device or another electronic device by selecting an opt-in choice. Opting-in can then turn on the person's webcam-enabled device and begin the capture of the person's facial data via a video feed from the webcam or other camera. The video data that is collected can include one or more persons experiencing an event. The one or more persons can be sharing a personal electronic device or can each be using one or more devices separately for video capture. The videos that are collected can be collected using a web-based framework. The web-based framework can be used to display the video media presentation or event as well as to collect videos from multiple viewers who are online. That is, the collection of videos can be crowdsourced from those viewers who elected to opt in to the video data collection.
The videos captured from the various viewers who chose to opt in can be substantially different in terms of video quality, frame rate, etc. As a result, the facial video data can be scaled, rotated, and otherwise adjusted to improve consistency. Human factors further influence the capture of the facial video data. The facial data that is captured might or might not be relevant to the video media presentation being displayed. For example, the viewer might not be paying attention, might be fidgeting, might be distracted by an object or event near the viewer, or might be otherwise inattentive to the video media presentation. The behavior exhibited by the viewer can prove challenging to analyze due to viewer actions including eating, speaking to another person or persons, speaking on the phone, etc. The videos collected from the viewers might also include other artifacts that pose challenges during the analysis of the video data. The artifacts can include items such as eyeglasses (because of reflections), eye patches, jewelry, and clothing that occludes or obscures the viewer's face. Similarly, a viewer's hair or hair covering can present artifacts by obscuring the viewer's eyes and/or face.
The captured facial data can be analyzed using the facial action coding system (FACS). The FACS seeks to define groups or taxonomies of facial movements of the human face. The FACS encodes movements of individual muscles of the face, where the muscle movements often include slight, instantaneous changes in facial appearance. The FACS encoding is commonly performed by trained observers but can also be performed on automated, computer-based systems. Analysis of the FACS encoding can be used to determine emotions of the persons whose facial data is captured in the videos. The FACS is used to encode a wide range of facial expressions that are anatomically possible for the human face. The FACS encodings include action units (AUs) and related temporal segments that are based on the captured facial expression. The AUs are open to higher order interpretation and decision-making. These AUs can be used to recognize emotions experienced by the observed person. Emotion-related facial actions can be identified using the emotional facial action coding system (EMFACS) and the facial action coding system affect interpretation dictionary (FACSAID). For a given emotion, specific action units can be related to the emotion. For example, the emotion of anger can be related to AUs 4, 5, 7, and 23, while happiness can be related to AUs 6 and 12. Other mappings of emotions to AUs have also been previously associated. The coding of the AUs can include an intensity scoring that ranges from A (trace) to E (maximum). The AUs can be used for analyzing images to identify patterns indicative of a particular mental and/or emotional state. The AUs range in number from 0 (neutral face) to 98 (fast up-down look). The AUs include so-called main codes (inner brow raiser, lid tightener, etc.), head movement codes (head turn left, head up, etc.), eye movement codes (eyes turned left, eyes up, etc.), visibility codes (eyes not visible, entire face not visible, etc.), and gross behavior codes (sniff, swallow, etc.). Emotion scoring can be included where intensity is evaluated, as well as specific emotions, moods, or mental states.
The coding of faces identified in videos captured of people observing an event can be automated. The automated systems can detect facial AUs, but further analysis is required to accurately infer a cognitive state. The cognitive states can include amusement, fear, anger, disgust, surprise, and sadness. The automated systems can be based on a probability estimate from one or more classifiers, where the probabilities can correlate with an intensity of an AU or an expression. The classifiers can be used to identify into which of a set of categories a given observation can be placed. In some cases, the classifiers can be used to determine a probability that a given AU or expression is present in a given frame of a video. The classifiers can be used as part of a supervised machine learning technique, where the machine learning technique can be trained using “known good” data. Once trained, the machine learning technique can proceed to classify new data that is captured.
Returning to
One or more facial expression metrics can be further analyzed to infer cognitive state data. The presence of a certain set of AUs that indicates a smile can correspond to multiple facial muscle-related components, which can be used to determine an intensity or probability that a smile is present. However, other data must be analyzed in order to determine if the smile is indicative of happiness. The other data can include additional facial expression metrics; other cognitive state data, such as valence, obtained from images; and additional cognitive state data, such as environmental and contextual data, audio data, physiological data; and so on. The further analysis can also be performed on one or more layers of a neural network, which can be on the same or a different neural network that performed the facial expression metric calculation.
The system 2000 can include one or more image collection machines 2020 or imagery modules linked to an analysis server 2030 and a robot controlling machine 2040 via the Internet 2010 or another computer network. The network can be wired or wireless. Image data 2050 can be transferred to the analysis server 2030 or analysis module through the Internet 2010, for example. The example image collection machine 2020 shown comprises one or more processors 2024 coupled to a memory 2026 which can store and retrieve instructions, a display 2022, and a camera 2028. The camera 2028 can include a webcam, a video camera, a still camera, a thermal imager, a CCD device, a phone camera, a three-dimensional camera, a depth camera, a light field camera, multiple webcams used to show different views of a person, or any other type of image capture technique that can allow captured data to be used in an electronic system. The memory 2026 can be used for storing instructions, image data on a plurality of people, one or more classifiers, and so on. The display 2022 can be any electronic display, including but not limited to, a computer display, a laptop screen, a netbook screen, a tablet computer screen, a smartphone display, a mobile device display, a remote with a display, a television, a projector, or the like. In some embodiments, an imagery module and/or analysis module may be included in a robot.
The analysis server 2030 can include one or more processors 2034 coupled to a memory 2036 which can store and retrieve instructions, and it can also include a display 2032. The analysis server 2030 can receive the image data 2052 and analyze the image. The analysis server 2030 can use image data received from the image data collection machine 2020 to produce robot control information data 2054. In some embodiments, the analysis server 2030 receives image data from a plurality of image data collection machines, aggregates the image data, processes the image data or the aggregated image data, and so on. In some embodiments, the analysis server 2030 captures cognitive state data from the image data 2052 and calculates a facial expression metric from the cognitive state data. The facial expression metric can be used to generate one or more cognitive state metrics, which can be used to provide robot control information data 2054 to cause a robot to initiate a response.
The robot controlling machine 2040 can include one or more processors 2044 coupled to a memory 2046 which can store and retrieve instructions and data, and it can also include a display 2042. The controlling of one or more robots based on robot control information data 2054 can occur on the controlling machine 2040 or on a different platform from the controlling machine 2040. The controlling of the robot can occur in the robot itself. The controlling of the one or more robots can occur in the one or more robots themselves. In embodiments, the controlling based on the robot control information data occurs on the image data collection machine 2020 or on the analysis server 2030. As shown in the system 2000, the controlling machine 2040 can receive robot control information data 2056 via the Internet 2010 or another network from the image data collection machine 2020, from the analysis server 2030, or from both. The controlling machine can include a visual display or any other appropriate display format. The system 2000 can include a computer program product embodied in a non-transitory computer readable medium for robotic assistance comprising code which causes one or more processors to perform operations of: obtaining, by an imagery module associated with an autonomous mobile robot, a plurality of images of an individual; identifying, by an analysis module associated with the autonomous mobile robot, cognitive state data including facial data for the individual in the plurality of images; calculating a facial expression metric based on the facial data for the individual; generating, by the analysis module, a cognitive state metric for the individual based on the facial expression metric; and causing the autonomous mobile robot to initiate one or more responses, wherein the one or more responses are based on the cognitive state metric.
Each of the above methods may be executed on one or more processors on one or more computer systems. Embodiments may include various forms of distributed computing, client/server computing, and cloud-based computing. Further, it will be understood that the depicted steps or boxes contained in this disclosure's flow charts are solely illustrative and explanatory. The steps may be modified, omitted, repeated, or re-ordered without departing from the scope of this disclosure. Further, each step may contain one or more sub-steps. While the foregoing drawings and description set forth functional aspects of the disclosed systems, no particular implementation or arrangement of software and/or hardware should be inferred from these descriptions unless explicitly stated or otherwise clear from the context. All such arrangements of software and/or hardware are intended to fall within the scope of this disclosure.
The block diagrams and flowchart illustrations depict methods, apparatus, systems, and computer program products. The elements and combinations of elements in the block diagrams and flow diagrams, show functions, steps, or groups of steps of the methods, apparatus, systems, computer program products and/or computer-implemented methods. Any and all such functions—generally referred to herein as a “circuit,” “module,” or “system”— may be implemented by computer program instructions, by special-purpose hardware-based computer systems, by combinations of special purpose hardware and computer instructions, by combinations of general purpose hardware and computer instructions, and so on.
A programmable apparatus which executes any of the above mentioned computer program products or computer-implemented methods may include one or more microprocessors, microcontrollers, embedded microcontrollers, programmable digital signal processors, programmable devices, programmable gate arrays, programmable array logic, memory devices, application specific integrated circuits, or the like. Each may be suitably employed or configured to process computer program instructions, execute computer logic, store computer data, and so on.
It will be understood that a computer may include a computer program product from a computer-readable storage medium and that this medium may be internal or external, removable and replaceable, or fixed. In addition, a computer may include a Basic Input/Output System (BIOS), firmware, an operating system, a database, or the like that may include, interface with, or support the software and hardware described herein.
Embodiments of the present invention are neither limited to conventional computer applications nor the programmable apparatus that run them. To illustrate: the embodiments of the presently claimed invention could include an optical computer, quantum computer, analog computer, or the like. A computer program may be loaded onto a computer to produce a particular machine that may perform any and all of the depicted functions. This particular machine provides a means for carrying out any and all of the depicted functions.
Any combination of one or more computer readable media may be utilized including but not limited to: a non-transitory computer readable medium for storage; an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor computer readable storage medium or any suitable combination of the foregoing; a portable computer diskette; a hard disk; a random access memory (RAM); a read-only memory (ROM), an erasable programmable read-only memory (EPROM, Flash, MRAM, FeRAM, or phase change memory); an optical fiber; a portable compact disc; an optical storage device; a magnetic storage device; or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
It will be appreciated that computer program instructions may include computer executable code. A variety of languages for expressing computer program instructions may include without limitation C, C++, Java, JavaScript™, ActionScript™, assembly language, Lisp, Perl, Tcl, Python, Ruby, hardware description languages, database programming languages, functional programming languages, imperative programming languages, and so on. In embodiments, computer program instructions may be stored, compiled, or interpreted to run on a computer, a programmable data processing apparatus, a heterogeneous combination of processors or processor architectures, and so on. Without limitation, embodiments of the present invention may take the form of web-based computer software, which includes client/server software, software-as-a-service, peer-to-peer software, or the like.
In embodiments, a computer may enable execution of computer program instructions including multiple programs or threads. The multiple programs or threads may be processed approximately simultaneously to enhance utilization of the processor and to facilitate substantially simultaneous functions. By way of implementation, any and all methods, program codes, program instructions, and the like described herein may be implemented in one or more threads which may in turn spawn other threads, which may themselves have priorities associated with them. In some embodiments, a computer may process these threads based on priority or other order.
Unless explicitly stated or otherwise clear from the context, the verbs “execute” and “process” may be used interchangeably to indicate execute, process, interpret, compile, assemble, link, load, or a combination of the foregoing. Therefore, embodiments that execute or process computer program instructions, computer-executable code, or the like may act upon the instructions or code in any and all of the ways described. Further, the method steps shown are intended to include any suitable method of causing one or more parties or entities to perform the steps. The parties performing a step, or portion of a step, need not be located within a particular geographic location or country boundary. For instance, if an entity located within the United States causes a method step, or portion thereof, to be performed outside of the United States then the method is considered to be performed in the United States by virtue of the causal entity.
While the invention has been disclosed in connection with preferred embodiments shown and described in detail, various modifications and improvements thereon will become apparent to those skilled in the art. Accordingly, the forgoing examples should not limit the spirit and scope of the present invention; rather it should be understood in the broadest sense allowable by law.
Claims
1. A computer-implemented method for robotic assistance comprising:
- obtaining, by an imagery module associated with an autonomous mobile robot, a plurality of images of an individual;
- identifying, by an analysis module associated with the autonomous mobile robot, cognitive state data including facial data for the individual in the plurality of images;
- calculating a facial expression metric based on the facial data for the individual;
- generating, by the analysis module, a cognitive state metric for the individual based on the facial expression metric; and
- causing the autonomous mobile robot to initiate one or more responses, wherein the one or more responses are based on the cognitive state metric.
2. The method of claim 1 wherein the one or more responses include one or more electromechanical responses.
3. The method of claim 2 wherein the one or more electromechanical responses cause the robot to change locations.
4. The method of claim 2 wherein the one or more electromechanical responses are based on a distance from the robot to the individual.
5. The method of claim 1 further comprising causing the autonomous mobile robot to initiate one or more image changes on a display on the robot, wherein the one or more image changes are based on the cognitive state metric.
6. The method of claim 1 wherein the identifying uses one or more classifiers.
7. The method of claim 6 wherein the one or more classifiers are generated using machine learning.
8. (canceled)
9. The method of claim 1 wherein the one or more responses are based on valence for the individual as determined from the cognitive state metric.
10. The method of claim 1 further comprising determining context within which the robot is operating.
11. The method of claim 1 further comprising determining context for the individual.
12. The method of claim 1 wherein the identifying includes facial expression analysis.
13. The method of claim 1 further comprising generating a second cognitive state metric.
14. The method of claim 13 further comprising causing the autonomous mobile robot to initiate one or more further responses based on the second cognitive state metric.
15. The method of claim 14 wherein the one or more further responses include electromechanical responses.
16. The method of claim 13 further comprising identifying a difference in cognitive states for the individual.
17. The method of claim 16 wherein causing the autonomous mobile robot to initiate one or more electromechanical responses is based on the second cognitive state metric and the difference in cognitive states.
18. The method of claim 16 wherein the difference occurs over a time duration.
19. The method of claim 16 wherein the difference occurs between the individual and a second individual.
20. The method of claim 1 wherein the one or more responses produce motion in the robot.
21. The method of claim 1 wherein the robot includes a social robot.
22. The method of claim 1 further comprising causing the autonomous mobile robot to provide information to the individual, wherein the information is based on the cognitive state.
23. The method of claim 1 further comprising causing the autonomous mobile robot to provide information to a third party, wherein the information is based on the cognitive state.
24. The method of claim 1 further comprising:
- identifying, by the analysis module, multiple human faces in the plurality of images;
- defining, by the analysis module, a region of interest (ROI) in one of the plurality of images for two or more identified human faces;
- extracting, by the analysis module, one or more histogram-of-oriented-gradients (HoG) features from each ROI; and
- computing, by the analysis module, a set of facial metrics based on the one or more HoG features for each of the multiple human faces.
25. The method of claim 1 wherein the generating is further based on speech information from the individual.
26-27. (canceled)
28. A computer program product embodied in a non-transitory computer readable medium for robotic assistance comprising code which causes one or more processors to perform operations of:
- obtaining, by an imagery module associated with an autonomous mobile robot, a plurality of images of an individual;
- identifying, by an analysis module associated with the autonomous mobile robot, cognitive state data including facial data for the individual in the plurality of images;
- calculating a facial expression metric based on the facial data for the individual;
- generating, by the analysis module, a cognitive state metric for the individual based on the facial expression metric; and
- causing the autonomous mobile robot to initiate one or more responses, wherein the one or more responses are based on the cognitive state metric.
29. A computer system for robotic assistance comprising:
- a memory which stores instructions;
- one or more processors coupled to the memory wherein the one or more processors, when executing the instructions which are stored, are configured to: obtain, by an imagery module associated with an autonomous mobile robot, a plurality of images of an individual; identify, by an analysis module associated with the autonomous mobile robot, cognitive state data including facial data for the individual in the plurality of images; calculate a facial expression metric based on the facial data for the individual; generate, by the analysis module, a cognitive state metric for the individual based on the facial expression metric; and cause the autonomous mobile robot to initiate one or more responses, wherein the one or more responses are based on the cognitive state metric.
Type: Application
Filed: Feb 4, 2020
Publication Date: Jun 4, 2020
Applicant: Affectiva, Inc. (Boston, MA)
Inventors: Boisy G. Pitre (Opelousas, LA), Rana el Kaliouby (Milton, MA), Abdelrahman N. Mahmoud (Somerville, MA), Seyedmohammad Mavadati (Watertown, MA), Daniel McDuff (Cambridge, MA), Panu James Turcot (Pacifica, CA), Gabriele Zijderveld (Somerville, MA)
Application Number: 16/781,334