# US 2022/0292809 A1 · Methods and systems for grouping of media based on similarities between features of the media

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292809 A1
- Document ID: US20220292809A1
- Status: Published application
- Kind: A1
- Application number: 17/434,669
- Filed: 2021-03-03
- Published: 2022-09-15
- Earliest claimed: 2020-03-17
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Shwetank CHOUDHARY; Tanmay BANSAL; Punuru Sri LAKSHMI; Chittur Ravichander KARTHIK; Mahender RAMPELLI; Nandini NARAYANASWAMY; Praveen Bangre Prabhakar RAO; Dwaraka Bhamidipati SREEVATSA
- Web page: https://patentgrep.com/patent/US20220292809A1

## CPC

- G06V 20/48: {Matching video sequences}
- G06F 18/2135: based on approximation criteria, e.g. principal component analysis
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06F 18/24143: {Distances to neighbourhood prototypes, e.g. restricted Coulomb energy networks [RCEN]}
- G06F 18/24147: {Distances to closest patterns, e.g. nearest neighbour classification}
- G06F 18/24323: {Tree-organised classifiers}
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/00: Machine learning
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/762: using clustering, e.g. of similar faces in social networks
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- G06V 10/82: using neural networks
- G06V 2201/10: Recognition assisted with metadata
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Methods and systems for grouping of media based on similarities between features of media data are provided. A method of managing a plurality of images may include: identifying a threshold distance for clustering the plurality of images based on a degree of similarity between the plurality of images; extracting a plurality of feature vectors corresponding to the plurality of images; and generating at least one cluster comprising at least two images among the plurality of images, based on cosine distances between feature vectors corresponding to the at least two images being less than the threshold distance.

## Claims

### Claim at position 1

-15. (canceled)

### Claim 16

A method of managing a plurality of images, the method comprising:
identifying a threshold distance for clustering the plurality of images based on a degree of similarity between the plurality of images;
extracting a plurality of feature vectors corresponding to the plurality of images; and
generating at least one cluster comprising at least two images among the plurality of images, based on cosine distances between feature vectors corresponding to the at least two images being less than the threshold distance.

### Claim 17 (depends on 16)

The method of claim 16, wherein the extracting of the plurality of feature vectors corresponding to the plurality of images comprises:
identifying spatial features and global features of each of the plurality of images; and
generating each of the plurality of feature vectors corresponding to each of the plurality of images by summarizing the spatial features and the global features of each of the plurality of images.

### Claim 18 (depends on 17)

The method of claim 17, wherein the spatial features comprise at least one of a shape and a contour of at least one object superimposed on a background of each of the plurality of images, a position of the at least one object, and a relative position of the at least one object with respect to at least one other object in each of the plurality of images.

### Claim 19 (depends on 17)

The method of claim 17, wherein the global features comprise at least one of pixel density, texture, density of color, and color distribution across each of the plurality of images.

### Claim 20 (depends on 16)

The method of claim 16, wherein the degree of similarity between the plurality of images is categorized into one of a duplicate category, a near-duplicate category, a similar category, a near-similar category, and a dissimilar category, wherein the threshold distance corresponds to one of the duplicate category, the near-duplicate category, the similar category, and the near-similar category.

### Claim 21 (depends on 20)

The method of claim 20, wherein, when the threshold distance corresponds to the duplicate category, the at least two images in each cluster of the at least one cluster are determined to be duplicates;
when the threshold distance corresponds to the near-duplicate category, the at least two images in each cluster of the at least one cluster are determined to be duplicates or near-duplicates;
when the threshold distance corresponds to the similar category, the at least two images in each cluster of the at least one cluster are determined to be duplicates, near-duplicates, or similar; and
when the threshold distance corresponds to the near-similar category, the at least two images in each cluster of the at least one cluster are determined to be duplicates, near-duplicates, similar, or near-similar.

### Claim 22 (depends on 16)

The method of claim 16, further comprising identifying a reference image among the plurality of images,
wherein the generating the at least one cluster comprises generating a first cluster comprising the reference image and at least one image of the plurality of images, and
wherein a cosine distance between one of the feature vectors that corresponds to the reference image and at least one feature vector corresponding to the at least one image in the first cluster is less than the threshold distance.

### Claim 23 (depends on 16)

The method of claim 16, further comprising:
identifying metadata pertaining to each of the plurality of images; and
grouping the plurality of images based on the metadata.

### Claim 24 (depends on 23)

The method of claim 23, wherein the metadata comprises at least one of a timestamp indicating a date and a time when each of the plurality of images was captured and a location where each of the plurality of images was captured.

### Claim 25

An electronic device for managing a plurality of images, the electronic device comprising:
a memory storing at least one instruction; and
at least one processor configured to execute the at least one instruction to:
identify a threshold distance for clustering the plurality of images based on a degree of similarity between the plurality of images;
extract a plurality of feature vectors corresponding to the plurality of images; and
generate at least one cluster comprising at least two images among the plurality of images, based on cosine distances between feature vectors corresponding to the at least two images being less than the threshold distance.

### Claim 26 (depends on 25)

The electronic device of claim 25, wherein the at least one processor is further configured to execute the at least one instruction to:
identify spatial features and global features of each of the plurality of images; and
generate each of the plurality of feature vectors corresponding to each of the plurality of images by summarizing the spatial features and the global features of each of the plurality of images.

### Claim 27 (depends on 26)

The electronic device of claim 26, wherein the spatial features comprises at least one of a shape and a contour of at least one object superimposed on a background of each of the plurality of images, a position of the at least one object, and a relative position of the at least one object with respect to at least one other object in each of the plurality of images.

### Claim 28 (depends on 26)

The electronic device of claim 26, wherein the global features comprise at least one of pixel density, texture, density of color, and color distribution across each of the plurality of images.

### Claim 29 (depends on 25)

The electronic device of claim 25, wherein the degree of similarity between the plurality of images is categorized into one of a duplicate category, a near-duplicate category, a similar category, a near-similar category, and a dissimilar category, wherein the threshold distance corresponds to one of the duplicate category, the near-duplicate category, the similar category, and the near-similar category.

### Claim 30 (depends on 29)

The electronic device of claim 29, wherein when the threshold distance corresponds to the duplicate category, the at least two images in each cluster of the at least one cluster are determined to be duplicates;
when the threshold distance corresponds to the near-duplicate category, the at least two images in each cluster of the at least one cluster are determined to be duplicates or near-duplicates;
when the threshold distance corresponds to the similar category, the at least two images in each cluster of the at least one cluster are determined to be duplicates, near-duplicates, or similar; and
when the threshold distance corresponds to the near-similar category, the at least two images in each cluster of the at least one cluster are determined to be duplicates, near-duplicates, similar, or near-similar.

### Claim 31 (depends on 25)

The electronic device of claim 25, wherein the at least one processor is further configured to execute the at least one instruction to identify a reference image among the plurality of images, and generate a first cluster comprising the reference image and at least one image of the plurality of images, and
wherein a cosine distance between one of the feature vectors that corresponds to the reference image and at least one feature vector corresponding to the at least one image in the first cluster is less than the threshold distance.

### Claim 32 (depends on 25)

The electronic device of claim 25, wherein the at least one processor is further configured to execute the at least one instruction to:
identify metadata pertaining to each image of the plurality of images; and
group the plurality of images based on the metadata.

### Claim 33 (depends on 32)

The electronic device of claim 32, wherein the metadata comprises at least one of a timestamp indicating a date and a time when each of the plurality of images was captured and a location where each of the plurality of images was captured.

### Claim 34

A non-transitory computer-readable storage medium storing instructions that are executable by at least one processor to perform a method of managing a plurality of images, the method comprising:.
identifying a threshold distance for clustering the plurality of images based on a degree of similarity between the plurality of images;
extracting a plurality of feature vectors corresponding to the plurality of images; and
generating at least one cluster comprising at least two images among the plurality of images, based on cosine distances between feature vectors corresponding to the at least two images being less than the threshold distance.

### Claim 35 (depends on 34)

The non-transitory computer-readable storage medium of claim 34, wherein the extracting the plurality of feature vectors comprises: identifying the plurality of feature vectors based on spatial features and global features of each of the plurality of images.
