This relates generally to analysis of visual information, including but not limited to, recognizing persons in a video stream.
Video surveillance produces a large amount of continuous video data over the course of hours, days, and even months. Such video data includes many long and uneventful portions that are of no significance or interest to a reviewer. In some existing video surveillance systems, motion detection is used to trigger alerts or video recording. However, using motion detection as the only means for selecting video segments for user review may still produce too many video segments that are of no interest to the reviewer. For example, some detected motions are generated by normal activities that routinely occur at the monitored location, and it is tedious and time consuming for a reviewer to manually scan through all of the normal activities recorded on video to identify a small number of activities that warrant special attention. In addition, when the sensitivity of the motion detection is set too high for the location being monitored, trivial movements (e.g., movements of tree leaves, shifting of the sunlight, etc.) can account for a large amount of video being recorded and/or reviewed. On the other hand, when the sensitivity of the motion detection is set too low for the location being monitored, the surveillance system may fail to record and present video data on some important and useful events.
It is a challenge to accurately identify and categorize meaningful segments of a video stream, and to convey this information to a user in an efficient, intuitive, and convenient manner. Human-friendly techniques for discovering, categorizing, and notifying users of events of interest are in great need.
Accordingly, there is a need for systems and/or devices with more efficient, accurate, and intuitive methods for entity (e.g., person) and event identification, categorization, and presentation. Such systems, devices, and methods optionally complement or replace conventional systems, devices, and methods for entity and event identification, categorization, and/or presentation.
Users of home monitoring systems can potentially be bombarded with alerts and notifications about unimportant and trivial events if the systems do not employ some recognition/identification and categorization processes. The large number of unnecessary or incomplete information places a larger burden on the users and makes it more difficult to identify and respond to important events. For example, a user who receives motion notifications every time a household member walks in front of the camera may not be able to distinguish the motion notification for a burglar sneaking through the room. Thus, it is beneficial to be able to recognize the type of event that occurred and the persons involved. For example, rather than sending a notification stating that “motion was detected,” the system could send a notification detailing that “an unknown person was detected sneaking through the living room.” The user can see at a glance the nature of the event and request more details (e.g., a clip of the event) and/or generate a response (e.g., alert the authorities).
In addition, recognition of individual people in events enables the systems to associate events with the particular persons involved (e.g., the event could be denoted as including the persons involved). For example, a user may wish to see a summary of all events involving his kids and could bring up a list of all events associated with them. As another example, a user may wish to find a particular event involving a particular person and the system would enable the user to narrow the search to only events involving the particular person.
In one aspect, some implementations include a method for recognizing a person in a video stream. In some implementations, the method includes: (1) obtaining a live video stream; (2) detecting one or more persons in the live video stream; (3) determining, from analysis of the live video stream, personally identifiable information that identifies a first person of the detected one or more persons; (4) determining, based on at least some of the personally identifiable information, that the first person is not a known person to the computing system; (5) in accordance with the determination that the first person is not a known person: (a) storing at least some of the personally identifiable information; and (b) requesting a user to classify the first person; and (6) in accordance with (i) a determination that a predetermined amount of time has elapsed since the request was transmitted and a response was not received from the user, or (ii) a determination that a response was received from the user classifying the first person as a stranger, deleting the stored personally identifiable information.
In some implementations, the determination that the first person is not a known person is made by comparing the personally identifiable information (PII) with previously stored PII of one or more known persons. In some implementations, only a preset number of images are stored (e.g., 100, 200, or 300 images). In some implementations, if the preset number of images (e.g., 300) has already been stored for a particular person, a previously stored image is deleted and the new image is saved (e.g., the oldest previously stored image is deleted, or the previously stored image with the lowest determined quality is deleted). In some implementations, if the PII closely matches previously stored PII for the person, the image is not saved (e.g., too cumulative).
In some implementations, the predetermined amount of time is 1 day, 1 week, 2 weeks, or 1 month. In some implementations, the predetermined amount of time is equal to a subscription storage length associated with the computing system.
In some implementations, the classifications include one or more of: a known person, a trusted person, an authorized person, a stranger, an unknown person, etc. In some implementations, the user designates a person as trusted, known, or unknown. In some implementations, the designation for untrusted persons is stored as well. In some implementations, the designation is associated with the image and/or the PII of the first person.
In some implementations, the computing system comprises one or more cameras communicatively coupled to a remote server system. In some implementations, storing at least some of the PII includes storing an image and corresponding PII for comparison with PII of subsequently detected persons. In some implementations, for each detected person, the method includes: (1) storing an image of the detected person and corresponding PII; (2) in accordance with a determination that the detected person is a known person to the computing system, associating the stored image and corresponding feature characterization information (also sometimes called personally identifiable information) with a label for the known person; and (3) in accordance with a determination that the detected person is not a known person to the computing system, generating a new label for the stored image and corresponding feature characterization information.
In some implementations, determining the personally identifiable information includes: (1) selecting one or images of the first person from the live video stream; and (2) characterizing a plurality of features of the first person based on the one or more images. In some implementations, the plurality of features is characterized based on an analysis of only a portion of the image (e.g., the portion containing the person or the person's face). In some implementations, a camera device determines the portion and sends the portion of the image, but not the remainder of the image, to a server system for further analysis and recognition. In some implementations, the method further includes acquiring from the camera a higher quality version of the portion of the image (e.g., with more pixels) and performing the characterization on the higher quality version. In some implementations, the plurality of features includes one or more features that can personally identify the first person. In some implementations, the plurality of features includes one or more facial features of the first person. In some implementations, the method includes: (1) generating a facial signature for the first person based on the characterization of the plurality of features; and (2) determining that the first person is not a known person is based on a comparison of the generated facial signature with one or more previously stored facial signatures.
In some implementations, the method further comprises: (1) identifying a pose of the first person; and (2) in accordance with a determination that an image of the first person in the identified pose has not previously been stored, storing (i) the image of the first person in the identified pose, and (ii) corresponding pose information. In some implementations, the method includes determining and storing quality information for the image, timing information for the image, location information for the image, and the like.
In some implementations, the method further includes: (1) receiving, from the user, a designation that the first person is not a person; and (2) responsive to the designation, storing the designation in association with the personally identifiable information of the first person. In some implementations, the first person is an image of a person (e.g., a picture or a scene on a display). In some implementations, the first person is an animal rather than a person. In some implementations, the first person is a reflection or shadow of a person. In some implementations, future detections of the first person are not notified as a result of the first person being designated as not a person. In some implementations, future detections of the first person are notified as activity not involving a person.
In some implementations, the method further includes, in accordance with the determination that the first person is not a known person, generating a timely notification of detection of an unknown person. In some implementations, a timely notification is a notification sent within 10 seconds, 1 minute, 10 minutes, or 1 hour. In some implementations, the notification comprises a real-time notification sent within 5 seconds, 10 seconds, or 30 seconds. In some implementations, the notification includes a cropped portion of the image of the first person and a high resolution (e.g., 4K) version of the image showing the camera's field of view.
In some implementations, the method further includes: (1) detecting a second person in the live video stream; (2) characterizing a plurality of features of the second person based on one or more images of the second person in the live video stream; and (3) determining whether the second person is a same person as the first person by comparing the plurality of characterized features of the second person with the stored PII of the first person.
In another aspect, in accordance with some implementations a computing system includes: (1) one or more processors; and (2) memory coupled to the one or more processors, the memory storing one or more programs configured to be executed by the one or more processors. In some implementations, the one or more programs include instructions for: (1) obtaining a live video stream; (2) detecting one or more persons in the live video stream; (3) determining, from analysis of the live video stream, personally identifiable information that identifies a first person of the detected one or more persons; (4) determining, based on at least some of the personally identifiable information, whether the first person is a known person to the computing system; (5) in accordance with a determination that the first person is not a known person: (a) storing at least some of the personally identifiable information; and (b) requesting a user to classify the first person; and (6) in accordance with (i) a determination that a predetermined amount of time has elapsed since the request was transmitted and a response was not received from the user, or (ii) a determination that a response was received from the user classifying the first person as a stranger, deleting the stored personally identifiable information.
In some implementations, detecting the one or more persons includes detecting the one or more persons within a first predefined threshold time (e.g., 5 seconds, 10, seconds, or 30 seconds).
In some implementations: (1) the one or more programs further include instructions for comparing the personally identifiable information of the first person with stored personally identifiable information of one or more persons previously classified by the user; and (2) determining that the first person is not a known person comprises determining that the personally identifiable information of the first person does not match, within a predetermined threshold, the stored personally identifiable information of the one or more persons previously classified by the user.
In some implementations, the one or more programs further include instructions for: (1) determining that the first person is a known person to the computing system; and (2) in accordance with the determination that the first person is a known person, forgoing requesting the user to classify the first person.
In some implementations, the one or more programs further include instructions for forgoing generating a timely notification in accordance with the determination that the first person is a known person. In some implementations, the first person is determined to be a known person without having gone through an enrollment process (e.g., the person is determined to be a known person based on prior candid/unposed images).
In some implementations, the one or more programs further include instructions for generating a timely notification identifying the first person in accordance with the determination that the first person is a known person. In some implementations, the one or more programs further include instructions for: (1) determining a location of the first person; (2) determining whether the first person has previously been authorized by the user to access the location; and (3) generating the timely notification identifying the first person and the location in accordance with a determination that the first person has not previously been authorized to access the location. For example, a child may be allowed to play in the living room, but should not access the workshop, garage, or home office.
In another aspect, some implementations include a non-transitory computer-readable storage medium storing one or more programs. In some implementations, the one or more programs include instructions, which when executed by a computing system, cause the system to: (1) obtain a live video stream; (2) detect one or more persons in the live video stream; (3) determine, from analysis of the live video stream, personally identifiable information that identifies a first person of the detected one or more persons; (4) determine, based on at least some of the personally identifiable information, whether the first person is a known person to the computing system; (5) in accordance with a determination that the first person is not a known person: (a) store at least some of the personally identifiable information; and (b) request a user to classify the first person; and (6) in accordance with (i) a determination that a predetermined amount of time has elapsed since the request was transmitted and a response was not received from the user, or (ii) a determination that a response was received from the user classifying the first person as a stranger, delete the stored personally identifiable information.
In some implementations, the one or more programs further include instructions, which when executed by the computing system, cause the system to: (1) detect the first person by performing facial detection on a first frame in the live video stream; and (2) track the first person through time by analyzing a plurality of video frames in the live video stream, the plurality of video frames subsequent to the first frame. In some implementations, the detecting comprises analyzing the entire frame, whereas the tracking comprises analyzing only a portion of the frames (e.g., only an area at or around the location where the person was detected). In some implementations, the instructions include obtaining one or more additional live video streams; detecting one or more persons in the one or more additional live video streams; and determining whether any of the one or more persons in the one or more additional live video streams are known to the computing system. In some implementations, the instructions include determining, for each detected person of the one or more detected persons in the live video stream and the one or more detected persons in the one or more additional live video streams, whether the detected person is a same person as another of the one or more detected persons in the live video stream or the one or more detected persons in the one or more additional live video streams; and in accordance with a determination that a detected person is a same person as another detected person, tracking the detected person in all corresponding live video streams.
In some implementations, the one or more programs further include instructions, which when executed by the computing system, cause the system to: (1) for each video frame of the first frame and the plurality of video frames, determine an identification quality factor for the video frame; (2) select one or more video frames of the first frame and the plurality of video frames based on the determined identification quality factors; and (3) determine personally identifiable information based on an analysis of the selected one or more images.
In some implementations, the one or more programs further comprise instructions, which when executed by the computing system, cause the system to: (1) determine an activity of the first person based on the tracking of the first person; and (2) send a notification with identification of the first person and the determined activity. In some implementations, the system sends the notification to a user. In some implementations, based on the determined activity, the system sends a notification to the first person (e.g., in addition to, or alternative to, sending a notification to the user). In some implementations, the system instructs the camera that recorded the live video stream (or a nearby device) to provide an audible and/or visual alert upon determining that the activity is a nefarious activity (e.g., stealing a package, looking in a window, breaking a window, kicking a door, etc.). In some implementations, the audible alert comprises a verbal warning to the first person. In some implementations, the verbal warning includes reference to one or more detected qualities of the first person (e.g., the color and/or type of the first person's clothing). For example, the first person is wearing a hat and red jacket and the verbal warning says “You, with the hat and the red jacket, stop what you are doing.”
In some implementations, the one or more programs further include instructions, which when executed by the computing system, cause the system to provide a notification to the first person in accordance with the determination that the first person is not a known person. In some implementations, the system instructs the camera that recorded the live video stream (or another device within audible range of the first person) to emit an audible alert, such as a siren or verbal warning. In some implementations, the system instructs the camera that recorded the live video stream (or another device within visual sight of the first person) to provide a visual alert, such as activation of a light or light ring (e.g., a red light ring). In some implementations, the system determines a time of day for the detection of the first person and provides a notification based on the time of day (e.g., provides a notification upon determining that it is night-time).
In yet another aspect, in accordance with some implementations a method includes: (1) obtaining a plurality of images collected by one or more video cameras in a smart home environment, each image of the plurality of images including a detected person; (2) for each image of the plurality of images, obtaining personally identifiable information of the detected person, the personally identifiable information generated from analysis of the image; (3) grouping the plurality of images into a first group of a plurality of groups based on the personally identifiable information, each group of the plurality of groups representing a unique one of a plurality of detected persons; (4) receiving from a user a request to remove a first image from the first group; and (5) in response to the request: (a) removing the first image from the first group; and (b) disassociating the corresponding personally identifiable information from the first group. In some implementations, the plurality of images includes a plurality of image portions cropped from video feeds of the video cameras, each image portion including a detected person. In some implementations, the plurality of images is grouped based on similarities in the personally identifiable information (PII).
In some implementations: (1) the method further includes presenting to the user one or more images of the first group, including presenting the first image; and (2) the user request to remove the first image corresponds to a user selection of the first image and a subsequent user action.
In some implementations, the method further includes: (1) obtaining a new image including the detected person; (2) obtaining new personally identifiable information of the detected person, the new personally identifiable information generated from analysis of the new image; (3) determining that the new image includes the detected person based on a comparison of the new personally identifiable information with personally identifiable information associated with the first group; and (4) in accordance with the determination that the new image includes the detected person: (a) including the new image in the first group; and (b) associating the new personally identifiable information with the first group.
In some implementations, the method further includes, for each group of the plurality of groups, selecting an image of the group as a profile image for the group.
In some implementations, the profile image is selected based on a determined mood of the detected person in each image. In some implementations, only images of the person while happy are considered for the profile image. In some implementations, the image is selected based on a quality factor for each image. In some implementations, the image is selected based on a pose of the person in each image (e.g., only frontal images are considered).
In some implementations, the method further includes displaying a listing of the one or more groups, the listing including display of the profile image for each group. In some implementations, the listing includes one or more labels for each group (e.g., user labels such as the person's name and/or automated labels such as “Unidentified Person 1”.
In some implementations, the method further includes displaying an event timeline corresponding to at least one of the one or more video cameras, including: (1) displaying on the timeline indication of one or more detected events; and (2) for at least one of the one or more detected events, displaying one or more profile images corresponding to one or more persons in the detected event.
In yet another aspect, some implementations include a server system having one or more processors and memory coupled to the one or more processors, the memory storing one or more programs configured to be executed by the one or more processors. In some implementations, the one or more programs including instructions for: (1) obtaining a plurality of images collected by one or more video cameras in a smart home environment, each image of the plurality of images including a detected person; (2) for each image of the plurality of images, obtaining personally identifiable information of the detected person, the personally identifiable information generated from analysis of the image; (3) grouping the plurality of images into a first group of a plurality of groups based on the personally identifiable information, each group of the plurality of groups representing a unique one of a plurality of detected persons; (4) receiving from a user a request to remove a first image from the first group; and (5) in response to the request: (a) removing the first image from the first group; and (b) disassociating the corresponding personally identifiable information from the first group.
In some implementations, the plurality of images are grouped into the first group in response to a determination that the personally identifiable information corresponding to each image in the plurality of images is within a similarity threshold to other personally identifiable information for the first group. In some implementations, in accordance with a determination that the PII is within a threshold amount to at least one PII of the first group, the image and PII is deemed to be of the first group. In some implementations, in accordance with a determination that the PII is within a threshold amount to an average or mean PII set for the group, the image and PII is deemed to be of the first group.
In some implementations, the one or more programs further include instructions for, for a first image of the plurality of images, adjusting the personally identifiable information based on a determined pose of the person in the image. In some implementations, the pose is normalized when determining the PII (e.g., a person's facial features are extrapolated from a profile-view image of the person).
In some implementations, the one or more programs further include instructions for, for a first image of the plurality of images, adjusting the personally identifiable information based on a camera operating mode. For example, the PII is adjusted to account for the camera being in a low-light mode (e.g., when determining skin tone, hair color, eye color, etc.). In some implementations, PII from low-light mode images is only compared with other PII from low-light mode images.
In some implementations: (1) the request to remove the first image comprises a request to assign the first image to a different group of the plurality of groups; (2) removing the first image from the first group comprises assigning the first image to the different group; and (3) disassociating the personally identifiable information of the first image comprises associating the personally identifiable information with the different group. For example, the user indicates that one of the images was incorrectly deemed to include the same detected person and instead includes a different person known to the user. In some implementations, the different group comprises a new group.
In some implementations, the one or more programs further include instructions for: (1) receiving from the user a request to remove a group of the plurality of groups; and (2) in response to the request: (a) deleting all images in the group; and (b) deleting corresponding personally identifiable information.
In some implementations, the personally identifiable information comprises facial feature information of the detected person. In some implementations, the personally identifiable information comprises a feature signature for the detected person, the feature signature generated based on analysis of the image.
In yet another aspect, some implementations include a non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing system, cause the system to: (1) obtain a plurality of images collected by one or more video cameras in a smart home environment, each image of the plurality of images including a detected person; (2) for each image of the plurality of images, obtain personally identifiable information of the detected person, the personally identifiable information generated from analysis of the image; (3) group the plurality of images into a first group of a plurality of groups based on the personally identifiable information, each group of the plurality of groups representing a unique one of a plurality of detected persons; (4) receive from a user a request to remove a first image from the first group; and (5) in response to the request: (a) remove the first image from the first group; and (b) disassociate the corresponding personally identifiable information from the first group.
In some implementations, the one or more programs further comprise instructions, which when executed by the computing system, cause the system to: (1) receive, from the user, identification information of the detected person for the first group; and (2) remove the first group from the plurality of groups based on the received identification information.
In some implementations: (1) the identification information indicates that the detected person is a stranger to the user; and (2) removing the first group comprises deleting (i) all images in the first group, and (ii) the corresponding personally identifiable information.
In some implementations: (1) the identification information indicates an identity of the detected person; and (2) removing the first group comprises combining the first group with another group representing the same identity. For example, the user identifies the group has images of Joe and the group is combined with another group of images for Joe.
In some implementations: (1) the request to remove the first image comprises a request to delete the first image; (2) removing the first image from the group comprises deleting the first image; and (3) disassociating the personally identifiable information of the first image comprises deleting the personally identifiable information.
In yet another aspect, some implementations include a camera system configured to perform any of the methods described herein. In some implementations, the camera system includes means for performing any of the actions described herein. In some implementations, the camera system includes one or more cameras and a server system.
Thus, systems are provided with more efficient and effective methods for monitoring and facilitating review of events and persons in video streams, thereby increasing the accuracy, effectiveness, efficiency, and user satisfaction with such systems. Such systems and methods may complement or replace conventional systems and methods for event and person monitoring and presentation.
For a better understanding of the various described implementations, reference should be made to the Description of Implementations below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.
Like reference numerals refer to corresponding parts throughout the several views of the drawings.
Due to the potentially large number of events that could occur within a smart home environment (many of which may be trivial) it is beneficial to provide additional details to a user when notifying the user of a given event. For example, rather than merely notifying a user that “motion has been detected,” it is beneficial for a smart home monitoring system to be able to recognize, and inform the user, of the type of event that occurred and the persons/entities involved. This enables the user to more quickly and efficiently make a determination as to whether the event requires any action or further review by the user. Thus, the system may notify the user that “Your neighbor John just left a package at your front door.” In this way, the user can more quickly and easily distinguish important events (e.g., events requiring an immediate response or more detailed review) from trivial ones that do not require further review or response.
Additionally, or alternatively, the monitoring system may use the additional details to make a determination as to whether a notification is needed. Thus, the system may forgo notifying the user of trivial events (e.g., “Your daughter Susan is watching in the living room” or “The tree outside your bedroom window is swaying in the breeze”), instead notifying the user when unrecognized persons are involved or potentially nefarious activities are detected. The system may also use the additional details to determine whether a communication to the detected person is necessary or helpful. For example, the system may determine that a visitor (e.g., an unrecognized person) is attempting to open a window into the home and flash lights or issue an audio alert, such as “You in the suit, you are not authorized to open that window.” As another example, the system may determine that a visitor is an expected friend of an occupant of the home and acknowledge the friend's arrival, e.g., “John has been alerted to your arrival and will greet you momentarily.”
Accordingly, some implementations include a system of multiple network-connected cameras that recognizes the persons in the scenes viewed by the cameras. In some implementations, the system is configured to alert users of the system whether someone appeared in the scene that was not present earlier in the scene. In some implementations, the system builds a library of all the known persons in the scene and presents that to the user for curation. In some implementations, the system does not require a training phase (e.g., where users of the system have to manually enroll) and starts learning immediately based on the persons that it finds in the scenes.
In some implementations, the system includes a camera-side face detection and face signature extraction process with in-cloud aggregation of face signatures from all cameras. In some implementations, the cloud-side service chooses which faces to recognize based on face properties computed when the face is detected. In some implementations, the cloud-side service updates the face library for each structure and allows users to curate it into various categories, such as known, unknown, and not-a-face.
Thus, in some implementations, a reviewing user gets a unique view of the persons in the view of their cameras. They do not have to keep track of several face libraries per camera. Furthermore, the rejection of poor quality and/or incorrectly categorized faces (e.g., via face library merges and deletes) creates a much better user experience.
In some implementations, the system includes server design and architecture for distinguishing known people from unknown people using one or more cameras connected to the internet. In some implementations, the system includes a data flow comprising the flow of video and metadata from the camera/sensor to one or more services in the cloud and eventually to a user of the system for monitoring on their client devices, specifically in relation to surfacing information about known vs. unknown people.
In some implementations, the information about identities of people is presented to the user in the form of push notifications and/or emails in context of a security/monitoring scenario. In some implementations, the information about the identities is also presented in a temporal fashion on a user's timeline of video history. In some implementations, the user is shown a library of identities in the form of images of faces of the people seen on which actions can be taken by the user.
In some instances, the issues of management of sensitive user data related to human face fingerprints and images arise. Details about its storage, curation and deletion are addressed below.
In some implementations, the system includes a client-server architecture comprised of one or more cloud-connected home monitoring visual sensors (e.g., video cameras) that provide input including video to a recognition service in the cloud. In some implementations, the service then recognizes those faces and provides the information to the clients in form of notifications, cuepoints on the timeline and images/snapshots. In some implementations, a cuepoint corresponds to initial detection of an event candidate. For example, detection of motion by a motion sensor, such as a camera. In some implementations, a cuepoint triggers performance of a more thorough event identification process (e.g., analysis of a video segment corresponding to the cuepoint).
In some implementations, the input includes a stream of face track data from camera(s) uploaded alongside with images of faces and video to a service (e.g., a cloud service that supports or provides smart home monitoring services).
In some implementations, this service is responsible for parsing the data, storing video and image data to cloud storage services, and/or forwarding the face track metadata to a second service.
In some implementations, the second service is the service that manages the face signature data and performs facial recognition. In some implementations, upon receiving face metadata from the first service, it matches one or more face signatures to a stored database and creates artifacts such as notifications and cuepoints. In some implementations, the second service updates a ‘face model’ for the person by adding the newly available information to it.
In some implementations, each face track or a group of face tracks is sent to the second service by the first service (after parsing from the stream of data from the camera) as individual requests in a traditional client-server request response pattern. In some implementations, the face track data is sent to the second service in a streaming fashion with a persistent connection between the first service and the second service for a given camera. In some implementations, face tracks are continually recognized for a given camera by the same service as long as the connection is maintained, which is generally as long as the camera maintains a stable connection with the second service.
In some implementations, the service provides for categorizing of faces into one or more buckets, such as ‘Trusted’, ‘Known’, ‘Unknown’, and ‘Not a person’. For example, trusted can be distinguished from known for the purposes of providing different flavors of notifications or cuepoints associated with different privileges within the home. For instance, a user may want an alert for when the camera sees a trusted person but not when it sees a known person, or vice versa.
In some implementations, face images are shown to the user in the form of a ‘face library’ consisting of several snapshots of a face. In various implementations, all snapshots seen by all cameras in the system can be shown or only a subset (e.g., consisting of most informative images) for the identities can be shown. In some implementations, this decision is made by the second service.
In some implementations, a camera continuously sends images of the faces along with face track metadata. In some implementations, the server system stores these images, extracting them out of the metadata for subsequent retrieval by the mobile/desktop clients or by the server system for further processing. In some implementations, the server system receives metadata about the images and stores only a subset of images. In some implementations, until then, the image resides in server system's buffer.
In some implementations, the server system decides which images must be stored and communicates this to the camera. The camera then retrieves one or more of the images (e.g., a high quality version of a designated image) from its buffer, and sends it the server system and/or stores it in a cloud storage service for further use. In some implementations, the cloud service is responsible for managing, presenting and purging the sensitive face signature and image data appropriately.
In some implementations, metadata from one or more face tracks including qualitative and semantic properties of the image is stored by the server system upon completing the recognition process.
In some implementations, the image data is stored in a database organized by different ‘face identities’(e.g., multiple facial images deemed to be of a same individual). In some implementations, each ‘face identity’ includes an image selected as an exemplar. In some implementations, the signatures from the exemplar images are also stored (e.g., either as is or as an aggregation). In some implementations, other information such as time and coordinates in the scene at which the face was seen is also stored. In some implementations, information from the user such as the category/name of the identity is also stored as part of the same database. In some implementations, the database is stored at the camera or ‘structure’ level, where, for example, a structure includes of several cameras belonging to the same household.
In some implementations, special attention is given to the act of the user categorizing an identity as an ‘Unknown’ person. In some implementations, upon receiving the unknown categorization, all the model data is deleted for that identity for the entire structure. In some implementations, the images are deleted as well. In some implementations, the deletion request is received by a first server service and is forwarded to a second server service which deletes the model. In some implementations, the first server service deletes the images. In some implementations, the second server service deletes the images as well as the model(s).
In some implementations, a same or similar set of steps as above are performed for a user request to delete or ‘Forget a face.’ For example, by navigating to the face library, locating the face of interest and clicking ‘Forget this person.’
In some implementations, the service can also handle the deletion of individual ‘exemplar’ tracks and/or face images and signatures through the face library. In some implementations, upon this request, if the deletion of this face image/signature means that all exemplars for the face are deleted, then the face identity is deleted as well.
In some implementations, if the user has not done the initial categorization of a face instance for a given length of time (e.g., for a subscription period), then the face images and model older than the said time are purged (deleted). In some implementations, only data which was captured by the camera whose subscription has expired is deleted. In some implementations, if this means that all face model data for the face identity would be deleted, then the face is deleted as well and it is no longer shown on the categorization screen on the user facing application.
Turning now to the figures,
It is to be appreciated that “smart home environments” may refer to smart environments for homes such as a single-family house, but the scope of the present teachings is not so limited. The present teachings are also applicable, without limitation, to duplexes, townhomes, multi-unit apartment buildings, hotels, retail stores, office buildings, industrial buildings, and more generally any living space or work space.
It is also to be appreciated that while the terms user, customer, installer, homeowner, occupant, guest, tenant, landlord, repair person, and the like may be used to refer to the person or persons acting in the context of some particularly situations described herein, these references do not limit the scope of the present teachings with respect to the person or persons who are performing such actions. Thus, for example, the terms user, customer, purchaser, installer, subscriber, and homeowner may often refer to the same person in the case of a single-family residential dwelling, because the head of the household is often the person who makes the purchasing decision, buys the unit, and installs and configures the unit, and is also one of the users of the unit. However, in other scenarios, such as a landlord-tenant environment, the customer may be the landlord with respect to purchasing the unit, the installer may be a local apartment supervisor, a first user may be the tenant, and a second user may again be the landlord with respect to remote control functionality. Importantly, while the identity of the person performing the action may be germane to a particular advantage provided by one or more of the implementations, such identity should not be construed in the descriptions that follow as necessarily limiting the scope of the present teachings to those particular individuals having those particular identities.
The depicted structure 150 includes a plurality of rooms 152, separated at least partly from each other via walls 154. The walls 154 may include interior walls or exterior walls. Each room may further include a floor 156 and a ceiling 158. Devices may be mounted on, integrated with and/or supported by a wall 154, floor 156 or ceiling 158.
In some implementations, the integrated devices of the smart home environment 100 include intelligent, multi-sensing, network-connected devices that integrate seamlessly with each other in a smart home network (e.g., 202
In some implementations, the one or more smart thermostats 102 detect ambient climate characteristics (e.g., temperature and/or humidity) and control a HVAC system 103 accordingly. For example, a respective smart thermostat 102 includes an ambient temperature sensor.
The one or more smart hazard detectors 104 may include thermal radiation sensors directed at respective heat sources (e.g., a stove, oven, other appliances, a fireplace, etc.). For example, a smart hazard detector 104 in a kitchen 153 includes a thermal radiation sensor directed at a stove/oven 112. A thermal radiation sensor may determine the temperature of the respective heat source (or a portion thereof) at which it is directed and may provide corresponding blackbody radiation data as output.
The smart doorbell 106 and/or the smart door lock 120 may detect a person's approach to or departure from a location (e.g., an outer door), control doorbell/door locking functionality (e.g., receive user inputs from a portable electronic device 166-1 to actuate bolt of the smart door lock 120), announce a person's approach or departure via audio or visual means, and/or control settings on a security system (e.g., to activate or deactivate the security system when occupants go and come). In some implementations, the smart doorbell 106 includes some or all of the components and features of the camera 118. In some implementations, the smart doorbell 106 includes a camera 118.
The smart alarm system 122 may detect the presence of an individual within close proximity (e.g., using built-in IR sensors), sound an alarm (e.g., through a built-in speaker, or by sending commands to one or more external speakers), and send notifications to entities or users within/outside of the smart home network 100. In some implementations, the smart alarm system 122 also includes one or more input devices or sensors (e.g., keypad, biometric scanner, NFC transceiver, microphone) for verifying the identity of a user, and one or more output devices (e.g., display, speaker). In some implementations, the smart alarm system 122 may also be set to an “armed” mode, such that detection of a trigger condition or event causes the alarm to be sounded unless a disarming action is performed.
In some implementations, the smart home environment 100 includes one or more intelligent, multi-sensing, network-connected wall switches 108 (hereinafter referred to as “smart wall switches 108”), along with one or more intelligent, multi-sensing, network-connected wall plug interfaces 110 (hereinafter referred to as “smart wall plugs 110”). The smart wall switches 108 may detect ambient lighting conditions, detect room-occupancy states, and control a power and/or dim state of one or more lights. In some instances, smart wall switches 108 may also control a power state or speed of a fan, such as a ceiling fan. The smart wall plugs 110 may detect occupancy of a room or enclosure and control supply of power to one or more wall plugs (e.g., such that power is not supplied to the plug if nobody is at home).
In some implementations, the smart home environment 100 of
In some implementations, the smart home environment 100 includes one or more network-connected cameras 118 that are configured to provide video monitoring and security in the smart home environment 100. The cameras 118 may be used to determine occupancy of the structure 150 and/or particular rooms 152 in the structure 150, and thus may act as occupancy sensors. For example, video captured by the cameras 118 may be processed to identify the presence of an occupant in the structure 150 (e.g., in a particular room 152). Specific individuals may be identified based, for example, on their appearance (e.g., height, face) and/or movement (e.g., their walk/gait). Cameras 118 may additionally include one or more sensors (e.g., IR sensors, motion detectors), input devices (e.g., microphone for capturing audio), and output devices (e.g., speaker for outputting audio). In some implementations, the cameras 118 are each configured to operate in a day mode and in a low-light mode (e.g., a night mode). In some implementations, the cameras 118 each include one or more IR illuminators for providing illumination while the camera is operating in the low-light mode. In some implementations, the cameras 118 include one or more outdoor cameras. In some implementations, the outdoor cameras include additional features and/or components such as weatherproofing and/or solar ray compensation.
The smart home environment 100 may additionally or alternatively include one or more other occupancy sensors (e.g., the smart doorbell 106, smart door locks 120, touch screens, IR sensors, microphones, ambient light sensors, motion detectors, smart nightlights 170, etc.). In some implementations, the smart home environment 100 includes radio-frequency identification (RFID) readers (e.g., in each room 152 or a portion thereof) that determine occupancy based on RFID tags located on or embedded in occupants. For example, RFID readers may be integrated into the smart hazard detectors 104.
The smart home environment 100 may also include communication with devices outside of the physical home but within a proximate geographical range of the home. For example, the smart home environment 100 may include a pool heater monitor 114 that communicates a current pool temperature to other devices within the smart home environment 100 and/or receives commands for controlling the pool temperature. Similarly, the smart home environment 100 may include an irrigation monitor 116 that communicates information regarding irrigation systems within the smart home environment 100 and/or receives control information for controlling such irrigation systems.
By virtue of network connectivity, one or more of the smart home devices of
As discussed above, users may control smart devices in the smart home environment 100 using a network-connected computer or portable electronic device 166. In some examples, some or all of the occupants (e.g., individuals who live in the home) may register their device 166 with the smart home environment 100. Such registration may be made at a central server to authenticate the occupant and/or the device as being associated with the home and to give permission to the occupant to use the device to control the smart devices in the home. An occupant may use their registered device 166 to remotely control the smart devices of the home, such as when the occupant is at work or on vacation. The occupant may also use their registered device to control the smart devices when the occupant is actually located inside the home, such as when the occupant is sitting on a couch inside the home. It should be appreciated that instead of or in addition to registering devices 166, the smart home environment 100 may make inferences about which individuals live in the home and are therefore occupants and which devices 166 are associated with those individuals. As such, the smart home environment may “learn” who is an occupant and permit the devices 166 associated with those individuals to control the smart devices of the home.
In some implementations, in addition to containing processing and sensing capabilities, devices 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, and/or 122 (collectively referred to as “the smart devices”) are capable of data communications and information sharing with other smart devices, a central server or cloud-computing system, and/or other devices that are network-connected. Data communications may be carried out using any of a variety of custom or standard wireless protocols (e.g., IEEE 802.15.4, Wi-Fi, ZigBee, 6LoWPAN, Thread, Z-Wave, Bluetooth Smart, ISA100.5A, WirelessHART, MiWi, etc.) and/or any of a variety of custom or standard wired protocols (e.g., Ethernet, HomePlug, etc.), or any other suitable communication protocol, including communication protocols not yet developed as of the filing date of this document.
In some implementations, the smart devices serve as wireless or wired repeaters. In some implementations, a first one of the smart devices communicates with a second one of the smart devices via a wireless router. The smart devices may further communicate with each other via a connection (e.g., network interface 160) to a network, such as the Internet 162. Through the Internet 162, the smart devices may communicate with a server system 164 (also called a central server system and/or a cloud-computing system herein). The server system 164 may be associated with a manufacturer, support entity, or service provider associated with the smart device(s). In some implementations, a user is able to contact customer support using a smart device itself rather than needing to use other communication means, such as a telephone or Internet-connected computer. In some implementations, software updates are automatically sent from the server system 164 to smart devices (e.g., when available, when purchased, or at routine intervals).
In some implementations, the network interface 160 includes a conventional network device (e.g., a router), and the smart home environment 100 of
In some implementations, smart home environment 100 includes a local storage device 190 for storing data related to, or output by, smart devices of smart home environment 100. In some implementations, the data includes one or more of: video data output by a camera device (e.g., camera 118), metadata output by a smart device, settings information for a smart device, usage logs for a smart device, and the like. In some implementations, local storage device 190 is communicatively coupled to one or more smart devices via a smart home network (e.g., smart home network 202,
In some implementations, some low-power nodes are incapable of bidirectional communication. These low-power nodes send messages, but they are unable to “listen”. Thus, other devices in the smart home environment 100, such as the spokesman nodes, cannot send information to these low-power nodes.
In some implementations, some low-power nodes are capable of only a limited bidirectional communication. For example, other devices are able to communicate with the low-power nodes only during a certain time period.
As described, in some implementations, the smart devices serve as low-power and spokesman nodes to create a mesh network in the smart home environment 100. In some implementations, individual low-power nodes in the smart home environment regularly send out messages regarding what they are sensing, and the other low-powered nodes in the smart home environment—in addition to sending out their own messages—forward the messages, thereby causing the messages to travel from node to node (i.e., device to device) throughout the smart home network 202. In some implementations, the spokesman nodes in the smart home network 202, which are able to communicate using a relatively high-power communication protocol, such as IEEE 802.11, are able to switch to a relatively low-power communication protocol, such as IEEE 802.15.4, to receive these messages, translate the messages to other communication protocols, and send the translated messages to other spokesman nodes and/or the server system 164 (using, e.g., the relatively high-power communication protocol). Thus, the low-powered nodes using low-power communication protocols are able to send and/or receive messages across the entire smart home network 202, as well as over the Internet 162 to the server system 164. In some implementations, the mesh network enables the server system 164 to regularly receive data from most or all of the smart devices in the home, make inferences based on the data, facilitate state synchronization across devices within and outside of the smart home network 202, and send commands to one or more of the smart devices to perform tasks in the smart home environment.
As described, the spokesman nodes and some of the low-powered nodes are capable of “listening.” Accordingly, users, other devices, and/or the server system 164 may communicate control commands to the low-powered nodes. For example, a user may use the electronic device 166 (e.g., a smart phone) to send commands over the Internet to the server system 164, which then relays the commands to one or more spokesman nodes in the smart home network 202. The spokesman nodes may use a low-power protocol to communicate the commands to the low-power nodes throughout the smart home network 202, as well as to other spokesman nodes that did not receive the commands directly from the server system 164.
In some implementations, a smart nightlight 170 (
Other examples of low-power nodes include battery-operated versions of the smart hazard detectors 104. These smart hazard detectors 104 are often located in an area without access to constant and reliable power and may include any number and type of sensors, such as smoke/fire/heat sensors (e.g., thermal radiation sensors), carbon monoxide/dioxide sensors, occupancy/motion sensors, ambient light sensors, ambient temperature sensors, humidity sensors, and the like. Furthermore, smart hazard detectors 104 may send messages that correspond to each of the respective sensors to the other devices and/or the server system 164, such as by using the mesh network as described above.
Examples of spokesman nodes include smart doorbells 106, smart thermostats 102, smart wall switches 108, and smart wall plugs 110. These devices are often located near and connected to a reliable power source, and therefore may include more power-consuming components, such as one or more communication chips capable of bidirectional communication in a variety of protocols.
In some implementations, the smart home environment 100 includes service robots 168 (
As explained above with reference to
In some implementations, each of the video sources 501 includes one or more video cameras 118 that capture video and send the captured video to the server system 164 substantially in real-time. In some implementations, each of the video sources 501 includes a controller device (not shown) that serves as an intermediary between the one or more cameras 118 and the server system 164. The controller device receives the video data from the one or more cameras 118, optionally performs some preliminary processing on the video data, and sends the video data to the server system 164 on behalf of the one or more cameras 118 substantially in real-time. In some implementations, each camera has its own on-board processing capabilities to perform some preliminary processing on the captured video data before sending the processed video data (along with metadata obtained through the preliminary processing) to the controller device and/or the server system 164.
In accordance with some implementations, each of the client devices 220 includes a client-side module. The client-side module communicates with a server-side module executed on the server system 164 through the one or more networks 162. The client-side module provides client-side functionality for the event monitoring and review processing and communications with the server-side module. The server-side module provides server-side functionality for event monitoring and review processing for any number of client-side modules each residing on a respective client device 220. The server-side module also provides server-side functionality for video processing and camera control for any number of the video sources 501, including any number of control devices and the cameras 118.
In some implementations, the server system 164 includes one or more processors 212, a video storage database 210, an account database 214, an I/O interface to one or more client devices 216, and an I/O interface to one or more video sources 218. The I/O interface to one or more clients 216 facilitates the client-facing input and output processing. The account database 214 stores a plurality of profiles for reviewer accounts registered with the video processing server, where a respective user profile includes account credentials for a respective reviewer account, and one or more video sources linked to the respective reviewer account. The I/O interface to one or more video sources 218 facilitates communications with one or more video sources 501 (e.g., groups of one or more cameras 118 and associated controller devices). The video storage database 210 stores raw video data received from the video sources 501, as well as various types of metadata, such as motion events, event categories, event category models, event filters, and event masks, for use in data processing for event monitoring and review for each reviewer account.
Examples of a representative client device 220 include a handheld computer, a wearable computing device, a personal digital assistant (PDA), a tablet computer, a laptop computer, a desktop computer, a cellular telephone, a smart phone, an enhanced general packet radio service (EGPRS) mobile phone, a media player, a navigation device, a game console, a television, a remote control, a point-of-sale (POS) terminal, a vehicle-mounted computer, an ebook reader, or a combination of any two or more of these data processing devices or other data processing devices.
Examples of the one or more networks 162 include local area networks (LAN) and wide area networks (WAN) such as the Internet. The one or more networks 162 are implemented using any known network protocol, including various wired or wireless protocols, such as Ethernet, Universal Serial Bus (USB), FIREWIRE, Long Term Evolution (LTE), Global System for Mobile Communications (GSM), Enhanced Data GSM Environment (EDGE), code division multiple access (CDMA), time division multiple access (TDMA), Bluetooth, Wi-Fi, voice over Internet Protocol (VoIP), Wi-MAX, or any other suitable communication protocol.
In some implementations, the server system 164 is implemented on one or more standalone data processing apparatuses or a distributed network of computers. In some implementations, the server system 164 also employs various virtual devices and/or services of third party service providers (e.g., third-party cloud service providers) to provide the underlying computing resources and/or infrastructure resources of the server system 164. In some implementations, the server system 164 includes, but is not limited to, a server computer, a handheld computer, a tablet computer, a laptop computer, a desktop computer, or a combination of any two or more of these data processing devices or other data processing devices.
The server-client environment shown in
In some implementations, a video source 501 (e.g., a camera 118) transmits one or more streams of video data to the server system 164. In some implementations, the one or more streams may include multiple streams, of respective resolutions and/or frame rates, of the raw video captured by the camera 118. In some implementations, the multiple streams may include a “primary” stream with a certain resolution and frame rate, corresponding to the raw video captured by the camera 118, and one or more additional streams. An additional stream may be the same video stream as the “primary” stream but at a different resolution and/or frame rate, or a stream that captures a portion of the “primary” stream (e.g., cropped to include a portion of the field of view or pixels of the primary stream) at the same or different resolution and/or frame rate as the “primary” stream.
In some implementations, one or more of the streams are sent from the video source 501 directly to a client device 220 (e.g., without being routed to, or processed by, the server system 164). In some implementations, one or more of the streams is stored at the camera 118 (e.g., in memory 406,
In some implementations, the server system 164 transmits one or more streams of video data to a client device 220 to facilitate event monitoring by a user. In some implementations, the one or more streams may include multiple streams, of respective resolutions and/or frame rates, of the same video feed. In some implementations, the multiple streams include a “primary” stream with a certain resolution and frame rate, corresponding to the video feed, and one or more additional streams. An additional stream may be the same video stream as the “primary” stream but at a different resolution and/or frame rate, or a stream that shows a portion of the “primary” stream (e.g., cropped to include portion of the field of view or pixels of the primary stream) at the same or different resolution and/or frame rate as the “primary” stream, as described in greater detail in U.S. patent application Ser. No. 15/594,518.
Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures, or modules, and thus various subsets of these modules may be combined or otherwise rearranged in various implementations. In some implementations, the memory 306, optionally, stores a subset of the modules and data structures identified above. Furthermore, the memory 306, optionally, stores additional modules and data structures not described above.
The event start data 31681 includes date and time information such as a timestamp and optionally includes additional information such as information regarding the amount of motion present, a motion start location, amount of audio present, characteristics of the audio, and the like. Similarly, the event end data 31684 includes date and time information such as a timestamp and optionally includes additional information such as information regarding the amount of motion present, a motion start location, amount of audio present, characteristics of the audio, and the like.
The event segments 31682 includes information regarding segmentation of the motion event ‘i’. In some instances, event segments are stored separately from the raw video data 31683. In some instances, the event segments are stored at a lower display resolution than the raw video data. For example, the event segments are optionally stored at 480p or 780p and the raw video data is stored at 1080i or 1080p. Storing the event segments at a lower display resolution enables the system to devote less time and resources to retrieving and processing the event segments. In some instances, the event segments are not stored separately and the segmentation information includes references to the raw video data 31683 as well as date and time information for reproducing the event segments. In some implementations, the event segments include one or more audio segments (e.g., corresponding to video segments).
The event features data 31685 includes information regarding event features such as event categorizations/classifications, object masks, motion masks, identified/recognized/tracked motion objects (also sometimes called blobs), information regarding features of the motion objects (e.g., object color, object dimensions, velocity, size changes, etc.), information regarding activity in zones of interest, and the like. The scene features data 31686 includes information regarding the scene in which the event took place such as depth map information, information regarding the location of windows, televisions, fans, the ceiling/floor, etc., information regarding whether the scene is indoors or outdoors, information regarding zones of interest, and the like. In some implementations, the event features data includes audio data, such as volume, pitch, characterizations, and the like.
The associated user information 31687 includes information regarding users associated with the event such as users identified in the event, users receiving notification of the event, and the like. In some instances, the associated user information 31687 includes a link, pointer, or reference to a user profile 3163 for to the user. The associated devices information 31688 includes information regarding the device or devices involved in the event (e.g., a camera 118 that recorded the event). In some instances, the associated devices information 31688 includes a link, pointer, or reference to a device profile 3165 for the device.
The user profile 3163-j corresponds to a user ‘j’ associated with the smart home network (e.g., smart home network 202) such as a user of a hub device 204, a user identified by a hub device 204, a user who receives notifications from a hub device 204 or from the server system 164, and the like. In some instances, the user profile 3163-j includes user preferences 31631, user settings 31632, associated devices information 31633, and associated events information 31634. In some instances, the user profile 3163-j includes only a subset of the above data. In some instances, the user profile 3163-j includes additional user information not shown, such as information regarding other users associated with the user ‘j’.
The user preferences 31631 include explicit user preferences input by the user as well as implicit and/or inferred user preferences determined by the system (e.g., server system 164 and/or client device 220). In some instances, the inferred user preferences are based on historical user activity and/or historical activity of other users. The user settings 31632 include information regarding settings set by the user ‘j’ such as notification settings, device settings, and the like. In some instances, the user settings 31632 include device settings for devices associated with the user ‘j’.
The associated devices information 31633 includes information regarding devices associated with the user ‘j’ such as devices within the user's smart home environment 100 and/or client devices 220. In some instances, associated devices information 31633 includes a link, pointer, or reference to a corresponding device profile 3165. Associated events information 31634 includes information regarding events associated with user ‘j’ such as events in which user ‘j’ was identified, events for which user i was notified, events corresponding to a smart home environment 100 of user ‘j’, and the like. In some instances, the associated events information 31634 includes a link, pointer, or reference to a corresponding event record 3168.
The device profile 3165-k corresponds to a device ‘k’ associated with a smart home network (e.g., smart home network 202) such a hub device 204, a camera 118, a client device 220, and the like. In some instances, the device profile 3165-k includes device settings 31651, associated devices information 31652, associated user information 31653, associated event information 31654, and environmental data 31655. In some instances, the device profile 3165-k includes only a subset of the above data. In some instances, the device profile 3165-k includes additional device information not shown such as information regarding whether the device ‘k’ is currently active.
The device settings 31651 include information regarding the current settings of device ‘k’ such as positioning information, mode of operation information, and the like. In some instances, the device settings 31651 are user-specific and are set by respective users of the device ‘k’. The associated devices information 31652 includes information regarding other devices associated with device ‘k’ such as other devices linked to device i and/or other devices in the same smart home network as device ‘k’. In some instances, the associated devices information 31652 includes a link, pointer, or reference to a respective device profile 3165 corresponding to the associated device.
The associated user information 31653 includes information regarding users associated with the device such as users receiving notifications from the device, users registered with the device, users associated with the smart home network of the device, and the like. In some instances, the associated user information 31653 includes a link, pointer, or reference to a user profile 3163 corresponding to the associated user.
The associated event information 31654 includes information regarding events associated with the device ‘k’ such as historical events involving the device ‘k’. In some instances, the associated event information 31654 includes a link, pointer, or reference to an event record 3168 corresponding to the associated event.
The environmental data 31655 includes information regarding the environment of device ‘k’ such as information regarding whether the device is outdoors or indoors, information regarding the light level of the environment, information regarding the amount of activity expected in the environment (e.g., information regarding whether the device is in a private residence versus a busy commercial property), information regarding environmental objects (e.g., depth mapping information for a camera), and the like.
The characterization data 3184-m corresponds to a person ‘m’ detected by within the smart home environment 100. In some implementations, characterization data for persons designated as strangers is deleted. In some implementations, characterization data is deleted for persons who do not give consent to having their personally identifiable information stored. As shown in
The associated person identifier 31841 includes a label or other identifier for the person represented by the characterization data. In some implementations, the label is applied by a user upon review of the corresponding image. In some implementations, the identifier 31841 is assigned by the system in accordance with a determination that the characterization data 3184 matches, or is similar to, other characterization data associated with the identifier.
The associated image identifier 31842 identifies one or more images from which the characterization data 3184 was generated. In some implementations, there is a one-to-one mapping between the characterization data and the images, while in some other implementations, there is a many-to-one or one-to-many mapping. In some implementations, the associated image identifier 31842 includes a pointer or logical storage address for the one or more images.
The quality information 31843 includes a quality factor for the characterization data 3184. In some implementations, the quality factor is based on one or more of: a blurriness of the image, a resolution of the image, an amount of the person that is visible in the image, how many features of the person are visible in the image, and a distance between the person and the camera that captured the image.
The pose information 31844 identifies a pose of the detected person. In some implementations, the pose information 31844 includes information regarding an angle between the camera that captured the image and the detected person. In some implementations, the pose information 31844 includes information regarding a portion of the person's face that is visible in the image.
The timing information 31845 includes information regarding when the image was captured by the camera. In some implementations, the timing information 31845 indicates the time of day, the day, the month, the year, etc. that the image was captured. In some implementations, the characterization data 3184 includes operating information for the camera indicating the mode of operation and settings of the camera (e.g., indicating whether the camera was in a low-light mode when the image was captured). In some implementations, the timing information 31845 is used in conjunction with a device profile 3165 for the camera to determine operating information for the camera at the time the image was captured.
The confidence information 31846 indicates a confidence that the associated person identifier 31841 is accurate. In some implementations, the confidence information 31846 is based on a similarity between the characterization data 3184 and other characterization data for the associated person. In some implementations, the confidence information 31846 includes a confidence score for the characterization data 3184. In some implementations, in accordance with a determination that the confidence score is below a predetermined threshold, the association to the person is reevaluated and/or the characterization data 3184 and associated image is flagged as potentially having an incorrect associated person identifier 31841. In some implementations, flagged characterization data 3184 is presented to a user for confirmation or reclassification.
The location information 31847 includes information regarding a location for the image and/or the detected person. In some implementations, the location information 31847 indicates a location for the camera that captured the image. In some implementations, the location information 31847 identifies the camera that captured the image. In some implementations, the location information 31847 indicates a room or portion of the smart home environment that was captured in the image. In some implementations, the location information 31847 indicates a GPS or coordinates-based location for the image.
The physical feature information 31848 includes information regarding the physical features of the detected person. In some implementations, the physical feature information 31848 includes characterization of the person's physical features (e.g., nose, ears, eyes, and hair). In some implementations, the physical feature information 31848 includes information regarding the person's speech, gait, and/or posture. In some implementations, the physical feature information 31848 includes information regarding the person's dimensions, such as the distance between the person's eyes or ears, or the length of the person's arms or legs. In some implementations, the physical feature information 31848 includes information regarding of the person's age, gender, and/or ethnicity. In some implementations, the physical feature information 31848 includes information regarding the person's clothing and/or accessories (e.g., whether the person is wearing a hat, glass, gloves, and/or rings).
The behavioral information 31849 includes information regarding the behavior of the detected person. In some implementations, the behavioral information 31849 includes information regarding the detected person's mood and/or mannerisms.
The built-in sensors 490 include, for example, one or more thermal radiation sensors, ambient temperature sensors, humidity sensors, IR sensors, occupancy sensors (e.g., using RFID sensors), ambient light sensors, motion detectors, accelerometers, and/or gyroscopes.
The radios 440 enable one or more radio communication networks in the smart home environments, and allow a smart device 204 to communicate with other devices. In some implementations, the radios 440 are capable of data communications using any of a variety of custom or standard wireless protocols (e.g., IEEE 802.15.4, Wi-Fi, ZigBee, 6LoWPAN, Thread, Z-Wave, Bluetooth Smart, ISA100.5A, WirelessHART, MiWi, etc.) custom or standard wired protocols (e.g., Ethernet, HomePlug, etc.), and/or any other suitable communication protocol, including communication protocols not yet developed as of the filing date of this document.
The communication interfaces 404 include, for example, hardware capable of data communications using any of a variety of custom or standard wireless protocols (e.g., IEEE 802.15.4, Wi-Fi, ZigBee, 6LoWPAN, Thread, Z-Wave, Bluetooth Smart, ISA100.5A, WirelessHART, MiWi, etc.) and/or any of a variety of custom or standard wired protocols (e.g., Ethernet, HomePlug, etc.), or any other suitable communication protocol, including communication protocols not yet developed as of the filing date of this document.
The memory 406 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid state memory devices; and, optionally, includes non-volatile memory, such as one or more magnetic disk storage devices, one or more optical disk storage devices, one or more flash memory devices, or one or more other non-volatile solid state storage devices. The memory 406, or alternatively the non-volatile memory within the memory 406, includes a non-transitory computer readable storage medium. In some implementations, the memory 406, or the non-transitory computer readable storage medium of the memory 406, stores the following programs, modules, and data structures, or a subset or superset thereof:
Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures, or modules, and thus various subsets of these modules may be combined or otherwise rearranged in various implementations. In some implementations, the memory 406, optionally, stores a subset of the modules and data structures identified above. Furthermore, the memory 406, optionally, stores additional modules and data structures not described above.
The server system 164 receives one or more video stream(s) 504 from the video source 501 and optionally receives event candidate information 502, such as preliminary characterization information for detected entities and events (e.g., entity and event metadata from processing performed at the camera 118), and source information 503 such as device settings for a camera 118 (e.g., a device profile 3165 for camera 118). In some implementations, the event processor 505 communicates with the video source 501, e.g., to request additional images such as high definition images or metadata for the video stream(s) 504. The server system sends alerts for events 512, alerts for detected persons 524, event timeline information 513, and/or video data 528 (e.g., video clips corresponding to the detected persons and/or events) to the client device 220. The server system 164 optionally receives user information from the client device 220, such as event information 514 (e.g., edits to event categories), and zone definitions 515, and persons data 526 (e.g., classification of detected persons).
A data processing pipeline processes video information (e.g., a live video feed) received from a video source 501 (e.g., including a camera 118 and an optional controller device) and/or audio information received from one or more smart devices in real-time (e.g., within 10 seconds, 30 seconds, or 2 minutes) to identify and categorize events occurring in the smart home environment, and sends real-time event alerts (e.g., within 10 seconds, 20 seconds, or 30 seconds) and a refreshed event timeline (e.g., within 30 seconds, 1 minute, or 3 minutes) to a client device 220 associated with a reviewer account for the smart home environment. The data processing pipeline also processes stored information (such as stored video feeds from a video source 501) to reevaluate and/or re-categorize events as necessary, such as when new information is obtained regarding the event and/or when new information is obtained regarding event categories (e.g., a new activity zone is obtained from the user).
After video and/or audio data is captured at a smart device, the data is processed to determine if any potential event candidates or persons are present. In some implementations, the data is initially processed at the smart device (e.g., video source 501 or camera 118). Thus, in some implementations, the smart device sends event candidate information, such as event start information, to the server system 164. In some implementations, the data is processed at the server system 164 for event start detection. In some implementations, the video and/or audio data is stored on server system 164 (e.g., in video and source data database 509). In some implementations, the video stream is stored on a server distinct from server system 164. In some implementations, after a motion start is detected, the relevant portion of the video stream is retrieved from storage (e.g., from video and source data database 509).
In some implementations, the event identification process includes segmenting the video stream into multiple segments then categorizing the event candidate within each segment. In some implementations, categorizing the event candidate includes an aggregation of background factors, entity detection and identification, motion vector generation for each motion entity, entity features, and scene features to generate motion features for the event candidate. In some implementations, the event identification process further includes categorizing each segment, generating or updating an event log based on categorization of a segment, generating an alert for the event based on categorization of a segment, categorizing the complete event, updating the event log based on the complete event, and generating an alert for the event based on the complete event. In some implementations, a categorization is based on a determination that the event occurred within a particular zone of interest. In some implementations, a categorization is based on a determination that the event candidate involves one or more zones of interest. In some implementations, a categorization is based on audio data and/or audio event characterization.
The event analysis and categorization process may be performed by the smart device (e.g., the video source 501) and the server system 164 cooperatively, and the division of the tasks may vary in different implementations, for different equipment capability configurations, and/or for different network and server load situations. After the server system 164 categorizes the event candidate, the result of the event detection and categorization may be sent to a reviewer associated with the smart home environment.
In some implementations, the server system 164 stores raw or compressed video data (e.g., in a video and source data database 509), event categorization models (e.g., in an event categorization model database 510), and event masks and other event metadata (e.g., in an event data and event mask database 511) for each of the video sources 501. In some implementations, the video data is stored at one or more display resolutions such as 480p, 780p, 1080i, 1080p, and the like.
In some implementations, the video source 501 (e.g., the camera 118) transmits a live video feed to the remote server system 164 via one or more networks (e.g., the network(s) 162). In some implementations, the transmission of the video data is continuous as the video data is captured by the camera 118. In some implementations, the transmission of video data is irrespective of the content of the video data, and the video data is uploaded from the video source 501 to the server system 164 for storage irrespective of whether any motion event has been captured in the video data. In some implementations, the video data may be stored at a local storage device of the video source 501 by default, and only video portions corresponding to motion event candidates detected in the video stream are uploaded to the server system 164 (e.g., in real-time).
In some implementations, the video source 501 dynamically determines at what display resolution the video stream is to be uploaded to the server system 164. In some implementations, the video source 501 dynamically determines which parts of the video stream are to be uploaded to the server system 164. For example, in some implementations, depending on the current server load and network conditions, the video source 501 optionally prioritizes the uploading of video portions corresponding to newly detected motion event candidates ahead of other portions of the video stream that do not contain any motion event candidates; or the video source 501 uploads the video portions corresponding to newly detected motion event candidates at higher display resolutions than the other portions of the video stream. This upload prioritization helps to ensure that important motion events are detected and alerted to the reviewer in real-time, even when the network conditions and server load are less than optimal. In some implementations, the video source 501 implements two parallel upload connections, one for uploading the continuous video stream captured by the camera 118, and the other for uploading video portions corresponding to detected motion event candidates. At any given time, the video source 501 determines whether the uploading of the continuous video stream needs to be suspended temporarily to ensure that sufficient bandwidth is given to the uploading of the video segments corresponding to newly detected motion event candidates.
In some implementations, the video stream uploaded for cloud storage is at a lower quality (e.g., lower resolution, lower frame rate, higher compression, etc.) than the video segments uploaded for motion event processing.
As shown in
In some implementations, the smart device sends additional source information 503 to the server system 164. This additional source information 503 may include information regarding a device state (e.g., IR mode, AE mode, DTPZ settings, etc.) and/or information regarding the environment in which the device is located (e.g., indoors, outdoors, night-time, day-time, etc.). In some implementations, the source information 503 is used by the server system 164 to perform event detection, entity recognition, and/or to categorize event candidates. In some implementations, the additional source information 503 includes one or more preliminary results from video processing performed by the camera 118 (e.g., categorizations, object/entity recognitions, motion masks, etc.).
In some implementations, the video portion after an event start incident is detected is divided into multiple segments. In some implementations, the segmentation continues until event end information (sometimes also called an “end-of-event signal”) is obtained. In some implementations, the segmentation occurs within the server system 164 (e.g., by the event processor 505). In some implementations, the segmentation comprises generating overlapping segments. For example, a 10-second segment is generated every second, such that a new segment overlaps the prior segment by 9 seconds.
In some implementations, each of the multiple segments is of the same or similar duration (e.g., each segment has a 10-12 second duration). In some implementations, the first segment has a shorter duration than the subsequent segments. Keeping the first segment short allows for real time initial categorization and alerts based on processing the first segment. The initial categorization may then be revised based on processing of subsequent segments. In some implementations, a new segment is generated if the motion entity enters a new zone of interest.
In some implementations, after the event processor module obtains the video portion corresponding to an event candidate, the event processor 505 obtains background factors and performs motion entity detection identification, motion vector generation for each motion entity, and feature identification. Once the event processor 505 completes these tasks, the event categorizer 507 aggregates all of the information and generates a categorization for the motion event candidate. In some implementations, the event processor 505 and the event categorizer 507 are components of the video processing module 3144. In some implementations, false positive suppression is optionally performed to reject some motion event candidates before the motion event candidates are submitted for event categorization. In some implementations, determining whether a motion event candidate is a false positive includes determining whether the motion event candidate occurred in a particular zone. In some implementations, determining whether a motion event candidate is a false positive includes analyzing an importance score for the motion event candidate. The importance score for a motion event candidate is optionally based on zones of interest involved with the motion event candidate, background features, motion vectors, scene features, entity features, motion features, motion tracks, and the like.
In some implementations, the video source 501 has sufficient processing capabilities to perform, and does perform, entity detection, person recognition, background estimation, motion entity identification, the motion vector generation, and/or the feature identification.
The memory 606 includes high-speed random access memory, such as DRAM, SRAM, DDR SRAM, or other random access solid state memory devices; and, optionally, includes non-volatile memory, such as one or more magnetic disk storage devices, one or more optical disk storage devices, one or more flash memory devices, or one or more other non-volatile solid state storage devices. The memory 606, optionally, includes one or more storage devices remotely located from one or more processing units 602. The memory 606, or alternatively the non-volatile memory within the memory 606, includes a non-transitory computer readable storage medium. In some implementations, the memory 606, or the non-transitory computer readable storage medium of the memory 606, stores the following programs, modules, and data structures, or a subset or superset thereof:
Each of the above identified elements may be stored in one or more of the previously mentioned memory devices, and corresponds to a set of instructions for performing a function described above. The above identified modules or programs (i.e., sets of instructions) need not be implemented as separate software programs, procedures, modules or data structures, and thus various subsets of these modules may be combined or otherwise rearranged in various implementations. In some implementations, the memory 606, optionally, stores a subset of the modules and data structures identified above. Furthermore, the memory 606, optionally, stores additional modules and data structures not described above.
The camera 118 performs person detection (904) on the obtained video stream (e.g., utilizing entity detection module 4422). In some implementations, performing person detection comprises analyzing one or more images of the video stream to detect one or more persons. In some implementations, the camera 118 performs person detection only in response to motion or audio being detected. In some implementations, the camera 118 performs person detection only in an area of the scene corresponding to where the motion/audio was detected. In some implementations, the camera 118 performs person detection a set interval (e.g., every 10th, 20th, or 100th frame). In some implementations, the camera 118 performs person detection at a set interval in response to a trigger event (such as the detection of motion or audio in the scene). In some implementations, the camera 118 performs person detection on a downsampled image. In some implementations, the camera 118 performs person detection by applying a face detection algorithm to image data. In some implementations, the camera 118 performs person detection utilizing a face detection library. In some implementations, the person detection (904) is performed by the server system 164. In some implementations, the camera 118 transmits the video stream to the server system 164 and the server system performs the person detection (e.g., in response to a start of a motion or audio event).
In some implementations, in accordance with detection of one or more persons, the camera 118 tracks (906) the detected person(s) (e.g., utilizing video analysis module 442). In some implementations, the camera 118 tracks the detected person(s) by performing person detection at set intervals (e.g., every frame, every 5th frame, or every 25th frame) and linking detected persons at a first time to detected persons at a second time. In some implementations, the camera 118 tracks the detected person(s) by performing a detection algorithm only to a portion of the scene at or near the previously detected person (e.g., within 50 or 100 pixels). In some implementations, the camera 118 tracks the detected person(s) by obtaining a pattern corresponding to the detected person and performing pattern recognition on subsequent frames or images. In some implementations, the person tracking (906) is performed by the server system 164.
In some implementations, information regarding the detected person(s) (e.g., location and tracking information for the person) is utilized in categorizing the event involving the detected person(s) (908). In some implementations, the camera(s) 118 transmit the detected persons information to the server system 164 and the server system 164 utilizes the detected persons information to categorize the event (e.g., a motion event) involving the detected persons (e.g., utilizing video processing module 3146 and/or event categorizer 507).
In some implementations, the camera(s) 118 select (910) one or more images for further analysis of the detected person(s) (e.g., utilizing characterization module 4424). In some implementations, the camera(s) generate a quality factor for each image in which the person is detected and select the one or more images based on the quality factor for each. In some implementations, the camera(s) determine a pose for the detected person(s) in each image and the one or more images are selected based on the determined poses. In some implementations, the camera(s) 118 select the one or more images after a preset amount of time has elapsed since first detection of the person(s) (e.g., 5 seconds, 10 seconds, 30 seconds, or 2 minutes). In some implementations, the image selection is performed by the server system 164.
In some implementations, the camera(s) 118 obtain (912) an image portion from the selected images for each detected person (e.g., utilizing characterization module 4424). For example,
The camera(s) 118 characterize (914) the detected person(s) based on analysis of the image portions (e.g., utilizing characterization module 4424). For example,
The server system 164 performs person recognition (916) for the detected person(s) based on the characterization data (e.g., utilizing entity recognition module 3152). In some implementations, performing person recognition comprises comparing the characterization data of the detected person(s) with stored characterization data of previously detected persons. For example, as illustrated in
The server system 164 stores (918) the selected images, image portions, characterization data, and/or recognition information within a persons database (e.g., persons database 3180). In some implementations, the server system 164 stores a subset of the information based on whether the person was recognized (e.g., the system stores all information for recognized persons, but only a portion of the data for unknown persons).
The server system 164 generates (920) a notification regarding the detected person(s) (e.g., utilizing user-facing frontend 3150). In some implementations, the server system 164 utilizes the person recognition results to characterize the event (908) involving the person(s). In some implementations, the server system 164 generates a notification incorporating information from both the person recognition and the event categorization. In some implementations, the notification specifies whether or not the detected person(s) were recognized (e.g., are known or unknown to the server system 164). In some implementations, the notification enables a user to classify the detected person(s) (e.g., as shown in
The client device 220 receives the notification (e.g., via network interface(s) 604) and presents it to a user of the device (e.g., utilizing user interface module 626 and/or client-side module 628). For example, the client device displays the notification within a smart home application running at the client device as shown in
The server system 164 receives the classification from the client device 220 and updates the persons database accordingly. In accordance with a classification that the detected person is a stranger, the server system 164: (1) deletes (934) the person data for the stranger (e.g., the selected images, image portions, characterization data, and/or recognition information for the stranger); and (2) updates (936) any group to which the stranger was assigned. For example, in some implementations, the server system 164 deletes the group(s) to which the stranger was assigned (e.g., in accordance with a determination that the stranger has not given consent to having his/her personal information stored). In some implementations, the user classification indicates that the stranger's data was misclassified by the system and, in response to receiving the user classification, the system deletes the stranger's data and updates the group(s) so as to not account for any characterization data of the stranger. For example, the system adjusts a profile and/or profile characterization data to remove any incorporation of the stranger's characterization data.
In accordance with the determination that the preset amount of time has elapsed and that a classification has not been received, the server system 164: (1) deletes (944) the person data for the unrecognized person (e.g., the selected images, image portions, characterization data, and/or recognition information for the unrecognized person); and (2) updates (946) any group to which the unrecognized person was assigned. For example, in some implementations, the server system 164 deletes the group(s) to which the unrecognized person was assigned (e.g., in accordance with a determination that the unrecognized person has not given consent to having his/her personal information stored).
In accordance with some implementations, the user interface 1000 also includes a menu icon 1010 for displaying or toggling a menu of additional options. In some implementations, the menu includes options for labeling the person (e.g., as a particular person, such as a neighbor for friend), labeling the event, and/or designating the detected person as a false positive (e.g., not an actual person). In some implementations, the menu includes an option for viewing additional video information from the corresponding camera (e.g., for displaying user interface 1050 in
In light of the principles described above with reference to the figures, we now turn to certain implementations.
Some implementations include a method for recognizing a person in a video stream. In some implementations, the method includes: (1) obtaining a live video stream (e.g., via a camera 118); (2) detecting one or more persons in the live video stream (e.g., utilizing entity detection module 4422); (3) determining, from analysis of the live video stream, personally identifiable information (PII) that identifies a first person of the detected one or more persons (e.g., utilizing characterization module 4424); (4) determining, based on at least some of the personally identifiable information, that the first person is not a known person to the computing system (e.g., utilizing entity recognition module 4426); (5) in accordance with the determination that the first person is not a known person: (a) storing at least some of the personally identifiable information (e.g., storing it as characterization data 3184); and (b) requesting a user to classify the first person (e.g., utilizing user-facing frontend 3150); and (6) in accordance with (i) a determination that a predetermined amount of time has elapsed since the request was transmitted and a response was not received from the user, or (ii) a determination that a response was received from the user classifying the first person as a stranger, deleting the stored personally identifiable information (e.g., deleting the stored PII from persons database 3180).
In some implementations, the determination that the first person is not a known person is made by comparing the personally identifiable information (PII) with previously stored PII of one or more known persons (e.g., as illustrated in
In some implementations, the predetermined amount of time is 1 day, 1 week, 2 weeks, or 1 month. In some implementations, the predetermined amount of time is equal to a subscription storage length associated with the computing system, or with a particular camera.
In some implementations, the classifications include one or more of: a known person, a trusted person, an authorized person, a stranger, an unknown person, etc. In some implementations, the user designates a person as trusted, known, or unknown. In some implementations, the designation is associated with the image and/or the PII of the first person (e.g., is included in associated person identifier 31841).
In some implementations, the computing system comprises one or more cameras (e.g., cameras 118) communicatively coupled to a remote server system (e.g., server system 164). In some implementations, storing at least some of the PII includes storing an image and corresponding PII (e.g., within persons data 522) for comparison with PII of subsequently detected persons. In some implementations, for each detected person, the method includes: (1) storing an image of the detected person and corresponding PII; (2) in accordance with a determination that the detected person is a known person to the computing system, associating the stored image and corresponding feature characterization information with a label for the known person; and (3) in accordance with a determination that the detected person is not a known person to the computing system, generating a new label for the stored image and corresponding feature characterization information.
In some implementations, determining the personally identifiable information includes: (1) selecting one or images of the first person from the live video stream; and (2) characterizing a plurality of features of the first person based on the one or more images. In some implementations, the plurality of features is characterized based on an analysis of only a portion of the image (e.g., image portion 704). In some implementations, a camera device (e.g., a camera 118) determines the portion and sends the portion of the image, but not the remainder of the image, to a server system (e.g., server system 164) for further analysis and recognition. In some implementations, the method further includes acquiring from the camera a higher quality version of the portion of the image (e.g., with more pixels) and performing the characterization on the higher quality version. In some implementations, the plurality of features includes one or more features that can personally identify the first person. In some implementations, the plurality of features includes one or more facial features of the first person. In some implementations, the method includes: (1) generating a facial signature for the first person based on the characterization of the plurality of features; and (2) determining that the first person is not a known person is based on a comparison of the generated facial signature with one or more previously stored facial signatures.
In some implementations, the method further comprises: (1) identifying a pose of the first person (e.g., performed by a camera 118); and (2) in accordance with a determination that an image of the first person in the identified pose has not previously been stored, storing (i) the image of the first person in the identified pose, and (ii) corresponding pose information (e.g., storing within persons database 3180). In some implementations, the method includes determining (e.g., by a camera 118 and/or a server system 164) and storing quality information for the image, timing information for the image, location information for the image, and the like.
In some implementations, the method further includes: (1) receiving, from the user, a designation that the first person is not a person; and (2) responsive to the designation, storing the designation in association with the personally identifiable information of the first person (e.g., as illustrated in
In some implementations, the method further includes, in accordance with the determination that the first person is not a known person, generating a timely notification of detection of an unknown person. In some implementations, a timely notification is a notification sent within 10 seconds, 1 minute, 10 minutes, or 1 hour. In some implementations, the notification comprises a real-time notification sent within 5 seconds, 10 seconds, or 30 seconds. In some implementations, the notification includes a cropped portion of the image of the first person and a high resolution (e.g., 4K) version of the image showing the camera's field of view. In some implementations, the notification comprises one or more of: an email, a push notification, a text message, a voice message, and an audio alert (e.g., via an electronic assistant).
In some implementations, the method further includes: (1) detecting a second person in the live video stream; (2) characterizing a plurality of features of the second person based on one or more images of the second person in the live video stream; and (3) determining whether the second person is a same person as the first person by comparing the plurality of characterized features of the second person with the stored PII of the first person.
In some implementations, detecting the one or more persons includes detecting the one or more persons within a first predefined threshold time (e.g., 5 seconds, 10, seconds, or 30 seconds). For example, the camera is constrained to make a determination as to whether or not a particular image includes a person within the first predefined threshold time, so as to be able to make timely notifications to the user.
In some implementations: (1) the method further includes comparing the personally identifiable information of the first person with stored personally identifiable information of one or more persons previously classified by the user; and (2) determining that the first person is not a known person comprises determining that the personally identifiable information of the first person does not match, within a predetermined threshold, the stored personally identifiable information of the one or more persons previously classified by the user.
In some implementations, the method further includes: (1) determining that the first person is a known person to the computing system; and (2) in accordance with the determination that the first person is a known person, forgoing requesting the user to classify the first person.
In some implementations, the method further includes forgoing generating a timely notification in accordance with the determination that the first person is a known person. In some implementations, the first person is determined to be a known person without having gone through an enrollment process (e.g., the person is determined to be a known person based on prior candid/unposed images).
In some implementations, the method further includes generating a timely notification identifying the first person in accordance with the determination that the first person is a known person. In some implementations, the method further includes: (1) determining a location of the first person; (2) determining whether the first person has previously been authorized by the user to access the location; and (3) generating the timely notification identifying the first person and the location in accordance with a determination that the first person has not previously been authorized to access the location. For example, a child may be allowed to play in the living room, but should not access the workshop, garage, or home office.
In some implementations, the method further includes: (1) detecting the first person by performing facial detection on a first frame in the live video stream; and (2) tracking the first person through time by analyzing a plurality of video frames in the live video stream, the plurality of video frames subsequent to the first frame. In some implementations, the detecting comprises analyzing the entire frame, whereas the tracking comprises analyzing only a portion of the frames (e.g., only an area at or around the location where the person was detected). In some implementations, the method further includes obtaining one or more additional live video streams; detecting one or more persons in the one or more additional live video streams; and determining whether any of the one or more persons in the one or more additional live video streams are known to the computing system. In some implementations, the method further includes determining, for each detected person of the one or more detected persons in the live video stream and the one or more detected persons in the one or more additional live video streams, whether the detected person is a same person as another of the one or more detected persons in the live video stream or the one or more detected persons in the one or more additional live video streams; and in accordance with a determination that a detected person is a same person as another detected person, tracking the detected person in all corresponding live video streams.
In some implementations, the method further includes: (1) for each video frame of the first frame and the plurality of video frames, determining an identification quality factor for the video frame; (2) selecting one or more video frames of the first frame and the plurality of video frames based on the determined identification quality factors; and (3) determining personally identifiable information based on an analysis of the selected one or more images.
In some implementations, the method further includes: (1) determining an activity of the first person based on the tracking of the first person; and (2) sending a notification with identification of the first person and the determined activity. In some implementations, the system sends the notification to a user. In some implementations, based on the determined activity, the system sends a notification to the first person (e.g., in addition to, or alternative to, sending a notification to the user). In some implementations, the server system 164 instructs the camera that recorded the live video stream (or a nearby device) to provide an audible and/or visual alert upon determining that the activity is a nefarious activity (e.g., stealing a package, looking in a window, breaking a window, kicking a door, etc.). In some implementations, the audible alert comprises a verbal warning to the first person. In some implementations, the verbal warning includes reference to one or more detected qualities of the first person (e.g., the color and/or type of the first person's clothing). For example, the first person is wearing a hat and red jacket and the verbal warning says “You, with the hat and the red jacket, stop what you are doing.”
In some implementations, the method further includes providing a notification to the first person in accordance with the determination that the first person is not a known person. In some implementations, the server system 164 instructs the camera that recorded the live video stream (or another device within audible range of the first person) to emit an audible alert, such as a siren or verbal warning. In some implementations, the system instructs the camera that recorded the live video stream (or another device within visual sight of the first person) to provide a visual alert, such as activation of a light or light ring (e.g., a red light ring). In some implementations, the system determines a time of day for the detection of the first person and provides a notification based on the time of day (e.g., provides a notification upon determining that it is night-time).
In some implementations a method includes: (1) obtaining a plurality of images collected by one or more video cameras in a smart home environment, each image of the plurality of images including a detected person; (2) for each image of the plurality of images, obtaining personally identifiable information of the detected person, the personally identifiable information generated from analysis of the image; (3) grouping the plurality of images into a first group of a plurality of groups based on the personally identifiable information, each group of the plurality of groups representing a unique one of a plurality of detected persons; (4) receiving from a user a request to remove a first image from the first group; and (5) in response to the request: (a) removing the first image from the first group; and (b) disassociating the corresponding personally identifiable information from the first group. In some implementations, the plurality of images includes a plurality of image portions cropped from video feeds of the video cameras, each image portion including a detected person. In some implementations, the plurality of images is grouped based on similarities in the personally identifiable information (PII).
In some implementations: (1) the method further includes presenting to the user one or more images of the first group, including presenting the first image; and (2) the user request to remove the first image corresponds to a user selection of the first image and a subsequent user action.
In some implementations, the method further includes: (1) obtaining a new image including the detected person; (2) obtaining new personally identifiable information of the detected person, the new personally identifiable information generated from analysis of the new image; (3) determining that the new image includes the detected person based on a comparison of the new personally identifiable information with personally identifiable information associated with the first group; and (4) in accordance with the determination that the new image includes the detected person: (a) including the new image in the first group; and (b) associating the new personally identifiable information with the first group.
In some implementations, the method further includes, for each group of the plurality of groups, selecting an image of the group as a profile image for the group.
In some implementations, the profile image is selected based on a determined mood of the detected person in each image. In some implementations, only images of the person while happy are considered for the profile image. In some implementations, the image is selected based on a quality factor for each image. In some implementations, the image is selected based on a pose of the person in each image (e.g., only frontal images are considered).
In some implementations, the method further includes displaying a listing of the one or more groups, the listing including display of the profile image for each group. In some implementations, the listing includes one or more labels for each group (e.g., user labels such as the person's name and/or automated labels such as “Unidentified Person 1”.
In some implementations, the method further includes displaying an event timeline corresponding to at least one of the one or more video cameras, including: (1) displaying on the timeline indication of one or more detected events; and (2) for at least one of the one or more detected events, displaying one or more profile images corresponding to one or more persons in the detected event.
In some implementations, the plurality of images are grouped into the first group in response to a determination that the personally identifiable information corresponding to each image in the plurality of images is within a similarity threshold to other personally identifiable information for the first group. In some implementations, in accordance with a determination that the PII is within a threshold amount to at least one PII of the first group, the image and PII is deemed to be of the first group. In some implementations, in accordance with a determination that the PII is within a threshold amount to an average or mean PII set for the group, the image and PII is deemed to be of the first group.
In some implementations, the method further includes, for a first image of the plurality of images, adjusting the personally identifiable information based on a determined pose of the person in the image. In some implementations, the pose is normalized when determining the PII (e.g., a person's facial features are extrapolated from a profile-view image of the person).
In some implementations, the o method further includes, for a first image of the plurality of images, adjusting the personally identifiable information based on a camera operating mode. For example, the PII is adjusted to account for the camera being in a low-light mode (e.g., when determining skin tone, hair color, eye color, etc.). In some implementations, PII from low-light mode images is only compared with other PII from low-light mode images.
In some implementations: (1) the request to remove the first image comprises a request to assign the first image to a different group of the plurality of groups; (2) removing the first image from the first group comprises assigning the first image to the different group; and (3) disassociating the personally identifiable information of the first image comprises associating the personally identifiable information with the different group. For example, the user indicates that one of the images was incorrectly deemed to include the same detected person and instead includes a different person known to the user. In some implementations, the different group comprises a new group.
In some implementations, the method further includes: (1) receiving from the user a request to remove a group of the plurality of groups; and (2) in response to the request: (a) deleting all images in the group; and (b) deleting corresponding personally identifiable information.
In some implementations, the personally identifiable information comprises facial feature information of the detected person. In some implementations, the personally identifiable information comprises a feature signature for the detected person, the feature signature generated based on analysis of the image.
In some implementations, the method further includes: (1) receiving, from the user, identification information of the detected person for the first group; and (2) removing the first group from the plurality of groups based on the received identification information.
In some implementations: (1) the identification information indicates that the detected person is a stranger to the user; and (2) removing the first group comprises deleting (i) all images in the first group, and (ii) the corresponding personally identifiable information.
In some implementations: (1) the identification information indicates an identity of the detected person; and (2) removing the first group comprises combining the first group with another group representing the same identity. For example, the user identifies the group has images of Joe and the group is combined with another group of images for Joe.
In some implementations: (1) the request to remove the first image comprises a request to delete the first image; (2) removing the first image from the group comprises deleting the first image; and (3) disassociating the personally identifiable information of the first image comprises deleting the personally identifiable information.
For situations in which the systems discussed above collect information about users, the users may be provided with an opportunity to opt in/out of programs or features that may collect personal information (e.g., information about a user's preferences or usage of a smart device). In addition, in some implementations, certain data may be anonymized in one or more ways before it is stored or used, so that personally identifiable information is removed. For example, a user's identity may be anonymized so that the personally identifiable information cannot be determined for or associated with the user, and so that user preferences or user interactions are generalized (for example, generalized based on user demographics) rather than associated with a particular user.
Although some of various drawings illustrate a number of logical stages in a particular order, stages that are not order dependent may be reordered and other stages may be combined or broken out. While some reordering or other groupings are specifically mentioned, others will be obvious to those of ordinary skill in the art, so the ordering and groupings presented herein are not an exhaustive list of alternatives. Moreover, it should be recognized that the stages could be implemented in hardware, firmware, software or any combination thereof.
The foregoing description, for purpose of explanation, has been described with reference to specific implementations. However, the illustrative discussions above are not intended to be exhaustive or to limit the scope of the claims to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The implementations were chosen in order to best explain the principles underlying the claims and their practical applications, to thereby enable others skilled in the art to best use the implementations with various modifications as are suited to the particular uses contemplated.
This application is a continuation of U.S. patent application Ser. No. 16/565,365, filed Sep. 9, 2019, which is a continuation of U.S. patent application Ser. No. 15/676,848, filed Aug. 14, 2017 and issued as U.S. Pat. No. 10,410,086 on Sep. 10, 2019, which claims priority to U.S. Provisional Patent Application No. 62/512,697, filed May 30, 2017, each of which is hereby incorporated by reference in its entirety. This application is related to U.S. patent application Ser. No. 15/676,868, filed Aug. 14, 2017; U.S. patent application Ser. No. 15/207,458, filed Jul. 11, 2016; U.S. patent application Ser. No. 15/207459, filed Jul. 11, 2016; and U.S. patent application Ser. No. 15/594,518, filed May 12, 2017, each of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
62512697 | May 2017 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 16565365 | Sep 2019 | US |
Child | 16888379 | US | |
Parent | 15676848 | Aug 2017 | US |
Child | 16565365 | US |