Systems and methods for automatically clustering similar objects in images
Abstract
A method for automatically clustering similar objects in images includes accessing a plurality of video frames of a video. The method further includes identifying a plurality of objects from the plurality of video frames. The method further includes generating a plurality of composite vectors for the plurality of objects by: generating a plurality of vectors for each particular object of the plurality of objects extracted from the plurality of video frames; and generating a particular composite vector for each particular object by combining the plurality of vectors for the particular object. The method further includes determining, using the composite vectors for the plurality of objects, a plurality of similar objects. The method further includes displaying images of one or more of the plurality of similar objects in a graphical user interface.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 0.
Claims (17 — 3 Independent, 14 Dependent)
- Claim 1Independent Claim
A system comprising: a camera; one or more memory units; and one or more computer processors communicatively coupled to the one or more memory units and configured to perform operations comprising: access a plurality of video frames of a video; identify a plurality of objects from the plurality of video frames by: generating, using a segmentation algorithm, a plurality of masks, each mask comprising a set of neighboring pixels that are determined to be related; and extracting the plurality of objects from the plurality of video frames based on the generated plurality of masks; generate a plurality of composite vectors for the plurality of objects by: generating a plurality of vectors for each particular object of the plurality of objects extracted from the plurality of video frames; and generating a particular composite vector for each particular object by combining the plurality of vectors for the particular object; determine, using the composite vectors for the plurality of objects, a plurality of similar objects; and display images of one or more of the plurality of similar objects in a graphical user interface.
- Claim 2Depends on #1
The system of claim 1, wherein the plurality of vectors that are generated for each particular object of the plurality of objects extracted from the plurality of video frames comprises: an appearance vector that is a mathematical representation of the appearance of the particular object; a behavior vector that is a mathematical representation of the behavior or movement of the particular object; and a shape vector that is a mathematical representation of the size or shape of the particular object.
- Claim 3Depends on #1
The system of claim 1, the operations further comprising displaying a user-editable label for the plurality of similar objects in the graphical user interface.
- Claim 4Depends on #1
The system of claim 1, wherein determining, using the composite vectors for the plurality of objects, the plurality of similar objects comprises calculating a plurality of similarity scores for the plurality of objects using the composite vectors for the plurality of objects, each similarity score denoting the similarity between two of the plurality of objects.
- Claim 5Depends on #4
The system of claim 4, wherein determining, using the composite vectors for the plurality of objects, the plurality of similar objects comprises: accessing a user-selection of a selected object of the plurality of objects; calculating similarity scores between the selected object and other objects of the plurality of objects; and selecting the other objects of the plurality of objects whose calculated similarity scores with the selected object meets a predetermined similarity value.
- Claim 6Depends on #4
The system of claim 4, wherein determining, using the composite vectors for the plurality of objects, the plurality of similar objects comprises: automatically calculating similarity scores between each particular object and every other object of the plurality of objects; and clustering the plurality of objects based on the calculated similarity scores.
- Claim 7Independent Claim
A method by a computing system for automatically clustering similar objects in images, the method comprising: accessing a plurality of video frames of a video; identifying a plurality of objects from the plurality of video frames by: generating, using a segmentation algorithm, a plurality of masks, each mask comprising a set of neighboring pixels that are determined to be related; and extracting the plurality of objects from the plurality of video frames based on the generated plurality of masks; generating a plurality of composite vectors for the plurality of objects by: generating a plurality of vectors for each particular object of the plurality of objects extracted from the plurality of video frames; and generating a particular composite vector for each particular object by combining the plurality of vectors for the particular object; determining, using the composite vectors for the plurality of objects, a plurality of similar objects; and displaying images of one or more of the plurality of similar objects in a graphical user interface.
- Claim 8Depends on #7
The method of claim 7, wherein the plurality of vectors that are generated for each particular object of the plurality of objects extracted from the plurality of video frames comprises: an appearance vector that is a mathematical representation of the appearance of the particular object; a behavior vector that is a mathematical representation of the behavior or movement of the particular object; and a shape vector that is a mathematical representation of the size or shape of the particular object.
- Claim 9Depends on #7
The method of claim 7, further comprising displaying a user-editable label for the plurality of similar objects in the graphical user interface.
- Claim 10Depends on #7
The method of claim 7, wherein determining, using the composite vectors for the plurality of objects, the plurality of similar objects comprises calculating a plurality of similarity scores for the plurality of objects using the composite vectors for the plurality of objects, each similarity score denoting the similarity between two of the plurality of objects.
- Claim 11Depends on #10
The method of claim 10, wherein determining, using the composite vectors for the plurality of objects, the plurality of similar objects comprises: accessing a user-selection of a selected object of the plurality of objects; calculating similarity scores between the selected object and other objects of the plurality of objects; and selecting the other objects of the plurality of objects whose calculated similarity scores with the selected object meets a predetermined similarity value.
- Claim 12Depends on #10
The method of claim 10, wherein determining, using the composite vectors for the plurality of objects, the plurality of similar objects comprises: automatically calculating similarity scores between each particular object and every other object of the plurality of objects; and clustering the plurality of objects based on the calculated similarity scores.
- Claim 13Independent Claim
One or more computer-readable non-transitory storage media embodying instructions that, when executed by a processor, cause the processor to perform operations comprising: access a plurality of video frames of a video; identify a plurality of objects from the plurality of video frames by: generating, using a segmentation algorithm, a plurality of masks, each mask comprising a set of neighboring pixels that are determined to be related; and extracting the plurality of objects from the plurality of video frames based on the generated plurality of masks; generate a plurality of composite vectors for the plurality of objects by: generating a plurality of vectors for each particular object of the plurality of objects extracted from the plurality of video frames; and generating a particular composite vector for each particular object by combining the plurality of vectors for the particular object; determine, using the composite vectors for the plurality of objects, a plurality of similar objects; and display images of one or more of the plurality of similar objects in a graphical user interface.
- Claim 14Depends on #13
The one or more computer-readable non-transitory storage media of claim 13, wherein the plurality of vectors that are generated for each particular object of the plurality of objects extracted from the plurality of video frames comprises: an appearance vector that is a mathematical representation of the appearance of the particular object; a behavior vector that is a mathematical representation of the behavior or movement of the particular object; and a shape vector that is a mathematical representation of the size or shape of the particular object.
- Claim 15Depends on #13
The one or more computer-readable non-transitory storage media of claim 13, wherein determining, using the composite vectors for the plurality of objects, the plurality of similar objects comprises calculating a plurality of similarity scores for the plurality of objects using the composite vectors for the plurality of objects, each similarity score denoting the similarity between two of the plurality of objects.
- Claim 16Depends on #15
The one or more computer-readable non-transitory storage media of claim 15, wherein determining, using the composite vectors for the plurality of objects, the plurality of similar objects comprises: accessing a user-selection of a selected object of the plurality of objects; calculating similarity scores between the selected object and other objects of the plurality of objects; and selecting the other objects of the plurality of objects whose calculated similarity scores with the selected object meets a predetermined similarity value.
- Claim 17Depends on #15
The one or more computer-readable non-transitory storage media of claim 15, wherein determining, using the composite vectors for the plurality of objects, the plurality of similar objects comprises: automatically calculating similarity scores between each particular object and every other object of the plurality of objects; and clustering the plurality of objects based on the calculated similarity scores.
Technical Overview & Description
PRIORITY This application claims the benefit, under 35 U.S.C. § 119 (e), of U.S. Provisional Patent Application No. 63/602,104, filed Nov. 22, 2023, the entirety of which is herein incorporated by reference for all purposes. TECHNICAL FIELD This disclosure generally relates to object recognition in images, and more specifically to systems and methods for automatically extracting objects from images. BACKGROUND Object recognition in the field of computer vision involves identifying and labeling objects that are depicted in images and videos. For example, objects in a video captured by a security camera may be manually labeled by a user in order to train a computer vision model. Ideally, images such as the frames of a video can be processed by a system so that all objects within the images may be identified and labeled with 100% accuracy. However, current systems and methods for identifying and labeling objects in images are not always accurate, may be slow, may be performed manually by a person, or may require excessive computer resources. SUMMARY The present disclosure achieves technical advantages as systems, methods, and computer-readable storage media for automatically identifying and labeling objects in images. The functionality for automatically identifying and labeling objects in images may include utilizing an extraction module, a clustering module, and an indexing module. The extraction module analyzes images (e.g., video frames from video cameras) in order to automatically identify and extract objects from the images. The clustering module groups the identified objects from the images into groups based on similarity. The indexing module indexes the identified objects into an index that may be used to automatically identify future objects across multiple physical locations. In some embodiments, the present disclosure provides for a system integrated into a practical application with meaningful limitations that may include analyzing video frames of a video in
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.