Abstract:
Disclosed is a method and system for automatically forming a group to share a media file or adding the media file to an existing group. The method and system includes receiving, by a processor, a media file comprising an image, identifying, by the processor, the face of a first person in the image and the face of a second person in the image, identifying, by the processor, a first profile of the first person from the face of the first person and a second profile of the second person from the face of the second person, automatically forming, by the processor, a group of recipients in a messaging application, the forming of the group of recipients based on the first profile and the second profile, the group of recipients comprising the first person and the second person; and sharing, by the processor, the media file with the group.