US20210319227A1 - System and method for reducing resources costs in visual recognition of video based on static scene summary - Google Patents
System and method for reducing resources costs in visual recognition of video based on static scene summary Download PDFInfo
- Publication number
- US20210319227A1 US20210319227A1 US16/846,357 US202016846357A US2021319227A1 US 20210319227 A1 US20210319227 A1 US 20210319227A1 US 202016846357 A US202016846357 A US 202016846357A US 2021319227 A1 US2021319227 A1 US 2021319227A1
- Authority
- US
- United States
- Prior art keywords
- cluster
- quality
- video frames
- visual recognition
- frames
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/46—Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
- G06V20/47—Detecting features for summarising video content
-
- G06K9/00744—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/231—Hierarchical techniques, i.e. dividing or merging pattern sets so as to obtain a dendrogram
-
- G06K9/00718—
-
- G06K9/00765—
-
- G06K9/6215—
-
- G06K9/6218—
-
- G06K9/6857—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/762—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using clustering, e.g. of similar faces in social networks
- G06V10/7625—Hierarchical techniques, i.e. dividing or merging patterns to obtain a tree-like representation; Dendograms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/41—Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/46—Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/49—Segmenting video sequences, i.e. computational techniques such as parsing or cutting the sequence, low-level clustering or determining units such as shots or scenes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/70—Labelling scene content, e.g. deriving syntactic or semantic representations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/19—Recognition using electronic means
- G06V30/191—Design or setup of recognition systems or techniques; Extraction of features in feature space; Clustering techniques; Blind source separation
- G06V30/1916—Validation; Performance evaluation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/24—Character recognition characterised by the processing or recognition method
- G06V30/248—Character recognition characterised by the processing or recognition method involving plural approaches, e.g. verification by template match; Resolving confusion among similar patterns, e.g. "O" versus "Q"
- G06V30/2504—Coarse or fine approaches, e.g. resolution of ambiguities or multiscale approaches
Definitions
- the present invention relates to techniques that provide identification of images that can provide reduced resource utilization due to reduced sampling of video frames for visual recognition.
- Embodiments may provide techniques that provide identification of images that can provide reduced resource utilization due to reduced sampling of video frames for visual recognition.
- a method of visual recognition processing may be implemented in a computer system comprising a processor, memory accessible by the processor, and computer program instructions stored in the memory and executable by the processor, the method comprising: coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream, sampling a plurality of video frames from each cluster; determining a quality of each cluster, re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
- Sampling the plurality of video frames may comprise sampling two frames in the cluster having a maximum similarity distance or maximum dissimilarity from each other.
- the method may further comprise repeating: the sampling on the re-clustered video frames, determining the quality of each cluster on the re-clustered video frames, and the re-clustering of the video frames of video stream and the visual recognition may improve the quality of the clustering and the re-clustering improves the quality of the visual recognition.
- the method may further comprise once final clusters have been determined, selecting a representative image from each cluster for visual recognition. At least some of the selected representative images from each cluster may represent a center of the cluster.
- a system for visual recognition processing may comprise a processor, memory accessible by the processor, and computer program instructions stored in the memory and executable by the processor to perform: coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream, sampling a plurality of video frames from each cluster; determining a quality of each cluster, re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
- a computer program product for visual recognition processing may comprise a non-transitory computer readable storage having program instructions embodied therewith, the program instructions executable by a computer, to cause the computer to perform a method comprising: coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream, sampling a plurality of video frames from each cluster; determining a quality of each cluster, re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
- FIG. 1 is an exemplary diagram of a system according to embodiments of the present techniques.
- FIG. 2 is an exemplary flow diagram of a process of visual recognition sampling according to embodiments of the present techniques.
- FIG. 3 is an exemplary diagram of clustering according to embodiments of the present techniques.
- FIG. 4 is an exemplary block diagram of a computer system, in which processes involved in the embodiments described herein may be implemented.
- Embodiments may provide techniques that provide identification of images that can provide reduced resource utilization due to reduced sampling of video frames for visual recognition.
- Embodiments may reduce visual recognition (VR) usage costs by performing clustering based on the image similarity, and may perform re-clustering based on the VR results similarity.
- VR sampling may be reduced by up to 60% compared to ‘frame per second’ sampling and up to 20% compared to ‘frame per shot’ sampling.
- digital video data 102 may include a stream or series of still images 104 A-N, known as frames, which are displayed in rapid succession to create the impression of movement, and in addition, may include audio data.
- the frequency (rate) at which consecutive frames are displayed is called the Frame Rate and is expressed in frames per second (fps).
- Frames 104 A-N may be processed by frame analysis processing 106 to perform a number of functions, such as visual or image recognition, video annotation, etc. Such functions may enable automated summarization and organization of large amounts of video data, such as for video recommendations, video surveillance, Internet platforms, etc.
- Frame analysis processing 106 may use machine learning (ML) techniques for video analysis.
- ML machine learning
- One approach is to treat video frames as still images and analyze all frames to generate predictions of the content of the frames.
- processing all video frames is computationally resource intensive even for short video clips, as each video may include many frames. Further, consecutive video frames may overlap with each other in content. Accordingly, the frames to be analyzed may be sampled, that is, only selected frames may be analyzed.
- Common techniques for selecting sample frames to be analyzed may include periodic sampling and shot detection.
- Periodic sampling may select one or more frames on a fixed or adjustable periodic basis, such as one frame per second.
- Shot detection may be used to detect when the content or shot of the frames of the video stream has changed significantly and to select one or more frames based on the occurrence of such a shot change.
- FIG. 2 illustrates a process 200 of operation of model 100 . It is best viewed in conjunction with FIG. 1 .
- Process 200 begins with 202 in which video stream 102 may be coarsely segmented based on scenes present in video stream 102 .
- video stream 102 may be divided into initial coarse groups or clusters 110 A, 110 B, 110 C, etc., based on the scenes of video stream 102 , as determined using, for example, image similarity, not a clustering process, such as is described below.
- image similarity may be determined using a metric in which the visual similarity between images may be measured.
- the images may be represented in a feature space, using, for example, conventional methods such as pixel values, color histograms, descriptors, etc., or using, for example, more advanced methods such as deep representations using Convolutional Neural Networks, etc.
- a metric may be applied to measure how similar the two images are based on the representations. This may be done, for example, using the cosine similarity, or a Gaussian kernel on the L2 norm for example.
- the points may be depicted in a feature space (or a dimensionality-reduced close equivalent) and when grouping these together into clusters, the assumption is that the “distance” between the points is what represents the dissimilarity.
- Each scene segment then may be handled as a separate rough or coarse cluster with the frames in each cluster 110 A, 1101 B, 110 C, etc., being roughly similar.
- sampling may be performed on each cluster 110 A, 110 B, 110 C, etc., using, for example, frames having a large separation or maximum distance (dissimilarity) from each other. For example the first frame in each cluster (or a frame near the beginning of each cluster) and the last frame in each cluster (or a frame near the end of each cluster) may be sampled.
- frames having a large separation or distance are the least similar frames in a cluster.
- the quality of each cluster may be determined using the sampled frames by determining the VR results similarity of the sampled frames within each cluster.
- VR results similarity may be, for example, a metric for how similar the concepts (“tags”) from two images are.
- VR results similarity may measure how similar two groups of words, generated from the images, are. This can be done using, for example, techniques such as bag of words, intersection over union, word-vector representations, etc.
- the sampled frames may be representative of the cluster.
- the quality of a cluster may be based on whether the images in a cluster have high VR results similarity. This allows the determination of whether the initial clustering (which was based on image similarity) is good enough or needs to be refined.
- Visual recognition may then be performed only on these sampled frames. As the sampled frames are at least as similar to the other images in the cluster, the results of the visual recognition should then be representative of the whole cluster. Accordingly, high quality visual recognition may be achieved while performing actual visual recognition only on a relatively small sample of the frames in video stream 102 .
- This visual recognition may generate tags describing the sampled frames and these tags may be used to determine the similarity of each cluster. For example, if the sampled frames are not sufficiently similar based on the generated tags, the similarity of the images in the cluster may not be sufficiently high.
- the frames may be re-clustered.
- Clustering is a method to divide elements (images given their representations) into groups. This may be done based off of the similarity given above. Examples of clustering approaches may include, K-Means, K-Mediods, Spectral Clustering, Density-Based Spectral Clustering, advanced methods such as Deep Embedded Clustering, etc.
- a clustering method that is specifically tailored to the problem may be used. Such a method may be termed Max Distance Cluster Tiling (MDCT), which may, for example, be an unsupervised learning method for efficient visual recognition for video.
- MDCT Max Distance Cluster Tiling
- the frames of the video may be represented in a low-level color feature space and may be assigned to clusters using a maximal distance constraint. Limiting the maximum distance that frames are clustered together may assure that the visual elements in the video are represented, while redundancies may be eliminated.
- MDCT is motivated by the fact that two similar frames, which would return the same visual tags by frame-based visual recognition, will undoubtedly be close together in a low-level color space.
- Conventional clustering can cluster together large scattered groups of points which might have common features but do not necessarily include the same visual tags.
- Embodiments of MDCT may use a technique called greedy cluster aggregation derived from the set cover problem (Slavik 1997), where the frames represent the universe and the sets are frames with a smaller distance than the maximum.
- Embodiments may leverage the greedy algorithm for polynomial time approximation of the NP-hard set cover problem, which features relatively sound bounds on optimality. For example, the frames that cover the most uncovered frames may be chosen as cluster centers, and they may be added in descending order taking into account a cost function composed of the maximum distance of a frame in each cluster.
- Embodiments may cluster (or re-cluster) samples based on a maximum-dissimilarity constraint. Given the goal of inferring concepts on all the images in a cluster, this is important since other methods tend to have both large and small clusters at the same time, which may break the assumption of applying the concepts on the other images in a cluster. Additionally, embodiments may perform an iterative method where we keep dividing more and more until there's an agreement on the sampled VR results. This may be done using MDCT by simply changing the value of the maximum-distance constraint.
- this automatically adjustable clustering may be performed using as criteria the maximum distance between the sampled frames and using the visual recognition results similarity, for example, based on the tags. For example, if the sampled frames are not sufficiently similar, the cluster may be split into two new clusters around the two sampled frames. Likewise, if a sampled frame is more similar to a sampled frame in another cluster than it is to the other sampled frame in its cluster, the frames may be re-clustered so that the more similar frames are in the same cluster. Then 204 - 208 may be repeated until the quality of all or a sufficient number of clusters is sufficiently high based on image similarity and based on visual recognition of the sampled frames during clustering. At 210 , once the clusters have been determined, a representative image, which may represent the cluster centers, may be selected from each cluster for visual recognition.
- the visual recognition may improve the quality of the clustering, while the re-clustering may improve the quality of the visual recognition.
- initial coarse clusters 302 , 304 may be determined using, for example, image similarity as described above.
- sample frames from each initial cluster may be selected.
- sample frames 306 , 308 may be selected from cluster 302
- sample frames 310 , 312 may be selected from cluster 304 .
- sample frame 306 may be an image of a dog
- sample frame 308 may be an image of a cat
- both sample frames 306 and 308 may be images of a bird.
- the quality of clusters 302 and 304 may be determined using, for example, VR results similarity, as described above. In this example, it may be determined that frames 306 and 308 are not sufficiently similar and that frames 310 and 312 are sufficiently similar. In this case, at 208 , cluster 302 may be divided into new clusters 314 , 316 , and cluster 304 may not be divided. Then process 200 may repeat step 204 and select sample frames 318 , 320 from cluster 314 and sample frames 322 , 324 from cluster 316 . Steps 204 - 208 may be repeated until the final clusters are determined, and at 210 , representative frames may be selected from the final clusters.
- Computer system 400 may be implemented using one or more programmed general-purpose computer systems, such as embedded processors, systems on a chip, personal computers, workstations, server systems, and minicomputers or mainframe computers, or in distributed, networked computing environments.
- Computer system 400 may include one or more processors (CPUs) 402 A- 402 N, input/output circuitry 404 , network adapter 406 , and memory 408 .
- CPUs 402 A- 402 N execute program instructions in order to carry out the functions of the present communications systems and methods.
- CPUs 402 A- 402 N are one or more microprocessors, such as an INTEL CORE® processor.
- FIG. 4 illustrates an embodiment in which computer system 400 is implemented as a single multi-processor computer system, in which multiple processors 402 A- 402 N share system resources, such as memory 408 , input/output circuitry 404 , and network adapter 406 .
- the present communications systems and methods also include embodiments in which computer system 400 is implemented as a plurality of networked computer systems, which may be single-processor computer systems, multi-processor computer systems, or a mix thereof.
- Input/output circuitry 404 provides the capability to input data to, or output data from, computer system 400 .
- input/output circuitry may include input devices, such as keyboards, mice, touchpads, trackballs, scanners, analog to digital converters, etc., output devices, such as video adapters, monitors, printers, etc., and input/output devices, such as, modems, etc.
- Network adapter 406 interfaces device 400 with a network 410 .
- Network 410 may be any public or proprietary LAN or WAN, including, but not limited to the Internet.
- Memory 408 stores program instructions that are executed by, and data that are used and processed by, CPU 402 to perform the functions of computer system 400 .
- Memory 408 may include, for example, electronic memory devices, such as random-access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), flash memory, etc., and electro-mechanical memory, such as magnetic disk drives, tape drives, optical disk drives, etc., which may use an integrated drive electronics (IDE) interface, or a variation or enhancement thereof, such as enhanced IDE (EIDE) or ultra-direct memory access (UDMA), or a small computer system interface (SCSI) based interface, or a variation or enhancement thereof, such as fast-SCSI, wide-SCSI, fast and wide-SCSI, etc., or Serial Advanced Technology Attachment (SATA), or a variation or enhancement thereof, or a fiber channel-arbitrated loop (FC-AL) interface.
- RAM random-access memory
- ROM read-only memory
- memory 408 may vary depending upon the function that computer system 400 is programmed to perform.
- exemplary memory contents are shown representing routines and data for embodiments of the processes described above.
- routines along with the memory contents related to those routines, may not be included on one system or device, but rather may be distributed among a plurality of systems or devices, based on well-known engineering considerations.
- the present systems and methods may include any and all such arrangements.
- memory 408 may include segmenting routines 412 , sampling routines 414 , cluster quality routines 416 , re-clustering routines 418 , visual recognition routines 420 , and representative selection routines 422 , video stream data 424 , and operating system 426 .
- Segmenting routines 412 may include software routines to coarsely segment scenes present in video stream data 424 using, for example, image similarity, as described above.
- Sampling routines 414 may include software routines to perform sampling on clusters using, for example, frames having a large separation or distance from each other, as described above.
- Cluster quality routines 416 may include software routines to determine the similarity of the sampled frames within each cluster using, for example, VR results similarity, as described above.
- Re-clustering routines 418 may include software routines to re-cluster the clusters to improve their clustering quality, as described above.
- Visual recognition routines 420 may include software routines to recognize objects in video frames and generate descriptive tags, as described above.
- Representative selection routines 422 may include software routines to select a frame from each cluster that is representative of the images in the cluster, as described above.
- Video stream data 424 may include a stream or series of still images, as described above.
- Operating system 426 may provide overall system functionality.
- the present communications systems and methods may include implementation on a system or systems that provide multi-processor, multi-tasking, multi-process, and/or multi-thread computing, as well as implementation on systems that provide only single processor, single thread computing.
- Multi-processor computing involves performing computing using more than one processor.
- Multi-tasking computing involves performing computing using more than one operating system task.
- a task is an operating system concept that refers to the combination of a program being executed and bookkeeping information used by the operating system. Whenever a program is executed, the operating system creates a new task for it. The task is like an envelope for the program in that it identifies the program with a task number and attaches other bookkeeping information to it.
- Multi-tasking is the ability of an operating system to execute more than one executable at the same time.
- Each executable is running in its own address space, meaning that the executables have no way to share any of their memory. This has advantages, because it is impossible for any program to damage the execution of any of the other programs running on the system. However, the programs have no way to exchange any information except through the operating system (or by reading files stored on the file system).
- Multi-process computing is similar to multi-tasking computing, as the terms task and process are often used interchangeably, although some operating systems make a distinction between the two.
- the present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration
- the computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
- the computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
- the computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
- a non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing.
- a computer readable storage medium is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
- Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network.
- the network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
- a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
- Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages.
- the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
- electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
- These computer readable program instructions may be provided to a processor of a general-purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
- These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
- the computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the blocks may occur out of the order noted in the Figures.
- two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Evolutionary Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Image Analysis (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Television Systems (AREA)
- Studio Circuits (AREA)
Abstract
Embodiments may provide techniques that provide identification of images that can provide reduced resource utilization due to reduced sampling of video frames for visual recognition. For example, in an embodiment, a method of visual recognition processing may be implemented in a computer system comprising a processor, memory accessible by the processor, and computer program instructions stored in the memory and executable by the processor, the method comprising: coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream, sampling a plurality of video frames from each cluster; determining a quality of each cluster, re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
Description
- The present invention relates to techniques that provide identification of images that can provide reduced resource utilization due to reduced sampling of video frames for visual recognition.
- Due to the growth of video data on the Internet, automatic video analysis and recognition of images in video streams has become common. Typically, Machine learning (ML) techniques are used for computer vision tasks, particularly recognizing objects in images. However, visual recognition of a given image is expensive in terms of resource utilization.
- Accordingly, a need arises for techniques that provide identification of images that can provide reduced resource utilization.
- Embodiments may provide techniques that provide identification of images that can provide reduced resource utilization due to reduced sampling of video frames for visual recognition.
- In an embodiment, a method of visual recognition processing may be implemented in a computer system comprising a processor, memory accessible by the processor, and computer program instructions stored in the memory and executable by the processor, the method comprising: coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream, sampling a plurality of video frames from each cluster; determining a quality of each cluster, re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
- In embodiments, coarsely segmenting video frames of video stream may be based on an image similarity of the scenes. Determining the quality of each cluster may be based on a visual recognition results similarity of the clusters. Sampling the plurality of video frames may comprise sampling two frames in the cluster having a maximum similarity distance or maximum dissimilarity from each other. The method may further comprise repeating: the sampling on the re-clustered video frames, determining the quality of each cluster on the re-clustered video frames, and the re-clustering of the video frames of video stream and the visual recognition may improve the quality of the clustering and the re-clustering improves the quality of the visual recognition. The method may further comprise once final clusters have been determined, selecting a representative image from each cluster for visual recognition. At least some of the selected representative images from each cluster may represent a center of the cluster.
- In an embodiment, a system for visual recognition processing may comprise a processor, memory accessible by the processor, and computer program instructions stored in the memory and executable by the processor to perform: coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream, sampling a plurality of video frames from each cluster; determining a quality of each cluster, re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
- In an embodiment, a computer program product for visual recognition processing may comprise a non-transitory computer readable storage having program instructions embodied therewith, the program instructions executable by a computer, to cause the computer to perform a method comprising: coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream, sampling a plurality of video frames from each cluster; determining a quality of each cluster, re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
- The details of the present invention, both as to its structure and operation, can best be understood by referring to the accompanying drawings, in which like reference numbers and designations refer to like elements.
-
FIG. 1 is an exemplary diagram of a system according to embodiments of the present techniques. -
FIG. 2 is an exemplary flow diagram of a process of visual recognition sampling according to embodiments of the present techniques. -
FIG. 3 is an exemplary diagram of clustering according to embodiments of the present techniques. -
FIG. 4 is an exemplary block diagram of a computer system, in which processes involved in the embodiments described herein may be implemented. - Embodiments may provide techniques that provide identification of images that can provide reduced resource utilization due to reduced sampling of video frames for visual recognition. Embodiments may reduce visual recognition (VR) usage costs by performing clustering based on the image similarity, and may perform re-clustering based on the VR results similarity. As a result, VR sampling may be reduced by up to 60% compared to ‘frame per second’ sampling and up to 20% compared to ‘frame per shot’ sampling.
- An
exemplary system 100 utilizing the present techniques is shown inFIG. 1 . As shown inFIG. 1 ,digital video data 102 may include a stream or series of stillimages 104A-N, known as frames, which are displayed in rapid succession to create the impression of movement, and in addition, may include audio data. The frequency (rate) at which consecutive frames are displayed is called the Frame Rate and is expressed in frames per second (fps).Frames 104A-N may be processed byframe analysis processing 106 to perform a number of functions, such as visual or image recognition, video annotation, etc. Such functions may enable automated summarization and organization of large amounts of video data, such as for video recommendations, video surveillance, Internet platforms, etc. -
Frame analysis processing 106 may use machine learning (ML) techniques for video analysis. One approach is to treat video frames as still images and analyze all frames to generate predictions of the content of the frames. However, processing all video frames is computationally resource intensive even for short video clips, as each video may include many frames. Further, consecutive video frames may overlap with each other in content. Accordingly, the frames to be analyzed may be sampled, that is, only selected frames may be analyzed. - Common techniques for selecting sample frames to be analyzed may include periodic sampling and shot detection. Periodic sampling may select one or more frames on a fixed or adjustable periodic basis, such as one frame per second. Shot detection may be used to detect when the content or shot of the frames of the video stream has changed significantly and to select one or more frames based on the occurrence of such a shot change.
-
FIG. 2 illustrates aprocess 200 of operation ofmodel 100. It is best viewed in conjunction withFIG. 1 .Process 200 begins with 202 in whichvideo stream 102 may be coarsely segmented based on scenes present invideo stream 102. For example,video stream 102 may be divided into initial coarse groups orclusters video stream 102, as determined using, for example, image similarity, not a clustering process, such as is described below. For example, image similarity may be determined using a metric in which the visual similarity between images may be measured. For example, the images may be represented in a feature space, using, for example, conventional methods such as pixel values, color histograms, descriptors, etc., or using, for example, more advanced methods such as deep representations using Convolutional Neural Networks, etc. After generating the representations, a metric may be applied to measure how similar the two images are based on the representations. This may be done, for example, using the cosine similarity, or a Gaussian kernel on the L2 norm for example. In order to group the images into the initial coarse clusters, the points may be depicted in a feature space (or a dimensionality-reduced close equivalent) and when grouping these together into clusters, the assumption is that the “distance” between the points is what represents the dissimilarity. - Each scene segment then may be handled as a separate rough or coarse cluster with the frames in each
cluster cluster - At 206, the quality of each cluster may be determined using the sampled frames by determining the VR results similarity of the sampled frames within each cluster. VR results similarity may be, for example, a metric for how similar the concepts (“tags”) from two images are. In practice, VR results similarity may measure how similar two groups of words, generated from the images, are. This can be done using, for example, techniques such as bag of words, intersection over union, word-vector representations, etc.
- If the quality of the cluster is good, that is, if the sampled frames (those most likely to be dissimilar) are sufficiently similar, then the sampled frames may be representative of the cluster. For example, the quality of a cluster may be based on whether the images in a cluster have high VR results similarity. This allows the determination of whether the initial clustering (which was based on image similarity) is good enough or needs to be refined. Visual recognition may then be performed only on these sampled frames. As the sampled frames are at least as similar to the other images in the cluster, the results of the visual recognition should then be representative of the whole cluster. Accordingly, high quality visual recognition may be achieved while performing actual visual recognition only on a relatively small sample of the frames in
video stream 102. This visual recognition may generate tags describing the sampled frames and these tags may be used to determine the similarity of each cluster. For example, if the sampled frames are not sufficiently similar based on the generated tags, the similarity of the images in the cluster may not be sufficiently high. - In this case, at 208, the frames may be re-clustered. Clustering is a method to divide elements (images given their representations) into groups. This may be done based off of the similarity given above. Examples of clustering approaches may include, K-Means, K-Mediods, Spectral Clustering, Density-Based Spectral Clustering, advanced methods such as Deep Embedded Clustering, etc. In embodiments, a clustering method that is specifically tailored to the problem may be used. Such a method may be termed Max Distance Cluster Tiling (MDCT), which may, for example, be an unsupervised learning method for efficient visual recognition for video. In embodiments, the frames of the video may be represented in a low-level color feature space and may be assigned to clusters using a maximal distance constraint. Limiting the maximum distance that frames are clustered together may assure that the visual elements in the video are represented, while redundancies may be eliminated.
- Unlike conventional clustering, MDCT is motivated by the fact that two similar frames, which would return the same visual tags by frame-based visual recognition, will undoubtedly be close together in a low-level color space. Conventional clustering can cluster together large scattered groups of points which might have common features but do not necessarily include the same visual tags.
- Embodiments of MDCT may use a technique called greedy cluster aggregation derived from the set cover problem (Slavik 1997), where the frames represent the universe and the sets are frames with a smaller distance than the maximum. Embodiments may leverage the greedy algorithm for polynomial time approximation of the NP-hard set cover problem, which features relatively sound bounds on optimality. For example, the frames that cover the most uncovered frames may be chosen as cluster centers, and they may be added in descending order taking into account a cost function composed of the maximum distance of a frame in each cluster.
- Embodiments may cluster (or re-cluster) samples based on a maximum-dissimilarity constraint. Given the goal of inferring concepts on all the images in a cluster, this is important since other methods tend to have both large and small clusters at the same time, which may break the assumption of applying the concepts on the other images in a cluster. Additionally, embodiments may perform an iterative method where we keep dividing more and more until there's an agreement on the sampled VR results. This may be done using MDCT by simply changing the value of the maximum-distance constraint.
- For example, this automatically adjustable clustering may be performed using as criteria the maximum distance between the sampled frames and using the visual recognition results similarity, for example, based on the tags. For example, if the sampled frames are not sufficiently similar, the cluster may be split into two new clusters around the two sampled frames. Likewise, if a sampled frame is more similar to a sampled frame in another cluster than it is to the other sampled frame in its cluster, the frames may be re-clustered so that the more similar frames are in the same cluster. Then 204-208 may be repeated until the quality of all or a sufficient number of clusters is sufficiently high based on image similarity and based on visual recognition of the sampled frames during clustering. At 210, once the clusters have been determined, a representative image, which may represent the cluster centers, may be selected from each cluster for visual recognition.
- As visual recognition of sampled frames is used to re-cluster the frames, the visual recognition may improve the quality of the clustering, while the re-clustering may improve the quality of the visual recognition.
- An example of clustering according to the present techniques is shown in
FIG. 3 . It is best viewed in conjunction withFIG. 2 . As shown in this example, at 202, initialcoarse clusters cluster 302, and sample frames 310, 312 may be selected fromcluster 304. In this example,sample frame 306 may be an image of a dog,sample frame 308 may be an image of a cat, and both sample frames 306 and 308 may be images of a bird. At 206, the quality ofclusters frames frames cluster 302 may be divided intonew clusters 314, 316, andcluster 304 may not be divided. Then process 200 may repeatstep 204 and select sample frames 318, 320 fromcluster 314 and sample frames 322, 324 from cluster 316. Steps 204-208 may be repeated until the final clusters are determined, and at 210, representative frames may be selected from the final clusters. - An exemplary block diagram of a
computer system 400, in which processes involved in the embodiments described herein may be implemented, is shown inFIG. 4 .Computer system 400 may be implemented using one or more programmed general-purpose computer systems, such as embedded processors, systems on a chip, personal computers, workstations, server systems, and minicomputers or mainframe computers, or in distributed, networked computing environments.Computer system 400 may include one or more processors (CPUs) 402A-402N, input/output circuitry 404,network adapter 406, andmemory 408.CPUs 402A-402N execute program instructions in order to carry out the functions of the present communications systems and methods. Typically,CPUs 402A-402N are one or more microprocessors, such as an INTEL CORE® processor.FIG. 4 illustrates an embodiment in whichcomputer system 400 is implemented as a single multi-processor computer system, in whichmultiple processors 402A-402N share system resources, such asmemory 408, input/output circuitry 404, andnetwork adapter 406. However, the present communications systems and methods also include embodiments in whichcomputer system 400 is implemented as a plurality of networked computer systems, which may be single-processor computer systems, multi-processor computer systems, or a mix thereof. - Input/
output circuitry 404 provides the capability to input data to, or output data from,computer system 400. For example, input/output circuitry may include input devices, such as keyboards, mice, touchpads, trackballs, scanners, analog to digital converters, etc., output devices, such as video adapters, monitors, printers, etc., and input/output devices, such as, modems, etc.Network adapter 406interfaces device 400 with anetwork 410.Network 410 may be any public or proprietary LAN or WAN, including, but not limited to the Internet. -
Memory 408 stores program instructions that are executed by, and data that are used and processed by, CPU 402 to perform the functions ofcomputer system 400.Memory 408 may include, for example, electronic memory devices, such as random-access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), flash memory, etc., and electro-mechanical memory, such as magnetic disk drives, tape drives, optical disk drives, etc., which may use an integrated drive electronics (IDE) interface, or a variation or enhancement thereof, such as enhanced IDE (EIDE) or ultra-direct memory access (UDMA), or a small computer system interface (SCSI) based interface, or a variation or enhancement thereof, such as fast-SCSI, wide-SCSI, fast and wide-SCSI, etc., or Serial Advanced Technology Attachment (SATA), or a variation or enhancement thereof, or a fiber channel-arbitrated loop (FC-AL) interface. - The contents of
memory 408 may vary depending upon the function thatcomputer system 400 is programmed to perform. In the example shown inFIG. 4 , exemplary memory contents are shown representing routines and data for embodiments of the processes described above. However, one of skill in the art would recognize that these routines, along with the memory contents related to those routines, may not be included on one system or device, but rather may be distributed among a plurality of systems or devices, based on well-known engineering considerations. The present systems and methods may include any and all such arrangements. - In the example shown in
FIG. 4 ,memory 408 may include segmentingroutines 412, samplingroutines 414,cluster quality routines 416,re-clustering routines 418,visual recognition routines 420, andrepresentative selection routines 422,video stream data 424, andoperating system 426. Segmentingroutines 412 may include software routines to coarsely segment scenes present invideo stream data 424 using, for example, image similarity, as described above.Sampling routines 414 may include software routines to perform sampling on clusters using, for example, frames having a large separation or distance from each other, as described above.Cluster quality routines 416 may include software routines to determine the similarity of the sampled frames within each cluster using, for example, VR results similarity, as described above.Re-clustering routines 418 may include software routines to re-cluster the clusters to improve their clustering quality, as described above.Visual recognition routines 420 may include software routines to recognize objects in video frames and generate descriptive tags, as described above.Representative selection routines 422 may include software routines to select a frame from each cluster that is representative of the images in the cluster, as described above.Video stream data 424 may include a stream or series of still images, as described above.Operating system 426 may provide overall system functionality. - As shown in
FIG. 4 , the present communications systems and methods may include implementation on a system or systems that provide multi-processor, multi-tasking, multi-process, and/or multi-thread computing, as well as implementation on systems that provide only single processor, single thread computing. Multi-processor computing involves performing computing using more than one processor. Multi-tasking computing involves performing computing using more than one operating system task. A task is an operating system concept that refers to the combination of a program being executed and bookkeeping information used by the operating system. Whenever a program is executed, the operating system creates a new task for it. The task is like an envelope for the program in that it identifies the program with a task number and attaches other bookkeeping information to it. Many operating systems, including Linux, UNIX®, OS/2@, and Windows®, are capable of running many tasks at the same time and are called multitasking operating systems. Multi-tasking is the ability of an operating system to execute more than one executable at the same time. Each executable is running in its own address space, meaning that the executables have no way to share any of their memory. This has advantages, because it is impossible for any program to damage the execution of any of the other programs running on the system. However, the programs have no way to exchange any information except through the operating system (or by reading files stored on the file system). Multi-process computing is similar to multi-tasking computing, as the terms task and process are often used interchangeably, although some operating systems make a distinction between the two. - The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention. The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
- The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
- Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
- Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
- Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
- These computer readable program instructions may be provided to a processor of a general-purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
- The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
- Although specific embodiments of the present invention have been described, it will be understood by those of skill in the art that there are other embodiments that are equivalent to the described embodiments. Accordingly, it is to be understood that the invention is not to be limited by the specific illustrated embodiments, but only by the scope of the appended claims.
Claims (20)
1. A method of visual recognition processing, implemented in a computer system comprising a processor, memory accessible by the processor, and computer program instructions stored in the memory and executable by the processor, the method comprising:
coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream;
sampling a plurality of video frames from each cluster;
determining a quality of each cluster, wherein determining the quality of each cluster is based on a visual recognition results similarity of the clusters; and
re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
2. The method of claim 1 , wherein coarsely segmenting video frames of video stream is based on an image similarity of the scenes.
3. (canceled)
4. The method of claim 2 , wherein sampling the plurality of video frames comprises sampling two frames in the cluster having a maximum distance or maximum dissimilarity from each other.
5. The method of claim 4 , further comprising:
repeating:
the sampling on the re-clustered video frames;
the determining the quality of each cluster on the re-clustered video frames; and
the re-clustering the video frames of video stream;
wherein the visual recognition improves the quality of the clustering and the re-clustering improves the quality of the visual recognition.
6. The method of claim 5 , further comprising, once final clusters have been determined, selecting a representative image from each cluster for visual recognition.
7. The method of claim 6 , wherein at least some of the selected representative images from each cluster represent a center of the cluster.
8. A system for visual recognition processing, the system comprising a processor, memory accessible by the processor, and computer program instructions stored in the memory and executable by the processor to perform:
coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream;
sampling a plurality of video frames from each cluster;
determining a quality of each cluster, wherein determining the quality of each cluster is based on a visual recognition results similarity of the clusters; and
re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
9. The method of claim 8 , wherein coarsely segmenting video frames of video stream is based on an image similarity of the scenes.
10. (canceled)
11. The system of claim 8 , wherein sampling the plurality of video frames comprises sampling two frames in the cluster having a maximum similarity distance or maximum dissimilarity from each other.
12. The system of claim 11 , further comprising:
repeating:
the sampling on the re-clustered video frames;
the determining the quality of each cluster on the re-clustered video frames; and
the re-clustering the video frames of video stream;
wherein the visual recognition improves the quality of the clustering and the re-clustering improves the quality of the visual recognition.
13. The system of claim 12 , further comprising, once final clusters have been determined, selecting a representative image from each cluster for visual recognition.
14. The system of claim 13 , wherein at least some of the selected representative images from each cluster represent a center of the cluster.
15. A computer program product for visual recognition processing, the computer program product comprising a non-transitory computer readable storage having program instructions embodied therewith, the program instructions executable by a computer, to cause the computer to perform a method comprising:
coarsely segmenting video frames of video stream into a plurality of clusters based on scenes of the video stream;
sampling a plurality of video frames from each cluster;
determining a quality of each cluster, wherein determining the quality of each cluster is based on a visual recognition results similarity of the clusters; and
re-clustering the video frames of video stream to improve the quality of at least some of the clusters.
16. The computer program product of claim 15 , wherein coarsely segmenting video frames of video stream is based on an image similarity of the scenes.
17. The computer program product of claim 16 , wherein sampling the plurality of video frames comprises sampling two frames in the cluster having a maximum similarity distance or maximum dissimilarity from each other.
18. The computer program product of claim 17 , further comprising:
repeating:
the sampling on the re-clustered video frames;
the determining the quality of each cluster on the re-clustered video frames; and
the re-clustering the video frames of video stream; and
wherein the visual recognition improves the quality of the clustering and the re-clustering improves the quality of the visual recognition.
19. The computer program product of claim 18 , further comprising, once final clusters have been determined, selecting a representative image from each cluster for visual recognition.
20. The computer program product of claim 19 , wherein at least some of the selected representative images from each cluster represent a center of the cluster.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/846,357 US11164005B1 (en) | 2020-04-12 | 2020-04-12 | System and method for reducing resources costs in visual recognition of video based on static scene summary |
DE112021002291.1T DE112021002291T5 (en) | 2020-04-12 | 2021-03-17 | REDUCE RESOURCE COSTS IN VISUAL RECOGNITION |
GB2216834.8A GB2612707A (en) | 2020-04-12 | 2021-03-17 | Reducing resources costs in visual recognition |
JP2022554600A JP2023520631A (en) | 2020-04-12 | 2021-03-17 | Reducing resource costs in visual recognition |
CN202180021319.0A CN115280378B (en) | 2020-04-12 | 2021-03-17 | Reducing resource costs in visual recognition |
PCT/IB2021/052209 WO2021209835A1 (en) | 2020-04-12 | 2021-03-17 | Reducing resources costs in visual recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/846,357 US11164005B1 (en) | 2020-04-12 | 2020-04-12 | System and method for reducing resources costs in visual recognition of video based on static scene summary |
Publications (2)
Publication Number | Publication Date |
---|---|
US20210319227A1 true US20210319227A1 (en) | 2021-10-14 |
US11164005B1 US11164005B1 (en) | 2021-11-02 |
Family
ID=78007299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/846,357 Active US11164005B1 (en) | 2020-04-12 | 2020-04-12 | System and method for reducing resources costs in visual recognition of video based on static scene summary |
Country Status (6)
Country | Link |
---|---|
US (1) | US11164005B1 (en) |
JP (1) | JP2023520631A (en) |
CN (1) | CN115280378B (en) |
DE (1) | DE112021002291T5 (en) |
GB (1) | GB2612707A (en) |
WO (1) | WO2021209835A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113965772A (en) * | 2021-10-29 | 2022-01-21 | 北京百度网讯科技有限公司 | Live video processing method and device, electronic equipment and storage medium |
WO2024066429A1 (en) * | 2022-09-26 | 2024-04-04 | 腾讯科技(深圳)有限公司 | Chip layout encoder training method and device, and chip layout screening method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090007202A1 (en) * | 2007-06-29 | 2009-01-01 | Microsoft Corporation | Forming a Representation of a Video Item and Use Thereof |
US20180307943A1 (en) * | 2017-04-25 | 2018-10-25 | The Johns Hopkins University | Method and apparatus for clustering, analysis and classification of high dimensional data sets |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8027541B2 (en) | 2007-03-15 | 2011-09-27 | Microsoft Corporation | Image organization based on image content |
US8170280B2 (en) | 2007-12-03 | 2012-05-01 | Digital Smiths, Inc. | Integrated systems and methods for video-based object modeling, recognition, and tracking |
KR101323369B1 (en) | 2012-09-21 | 2013-10-30 | 한양대학교 에리카산학협력단 | Apparatus and method for clustering video frames |
US9524449B2 (en) | 2013-12-16 | 2016-12-20 | Adobe Systems Incorporated | Generation of visual pattern classes for visual pattern recognition |
EP2960811A1 (en) * | 2014-06-26 | 2015-12-30 | Thomson Licensing | Method and device for analyzing a database comprising a large number of video images |
US10013614B2 (en) | 2016-06-29 | 2018-07-03 | Google Llc | Using an image matching system to improve the quality of service of a video matching system |
CN106682591B (en) * | 2016-12-08 | 2020-04-07 | 广州视源电子科技股份有限公司 | Face recognition method and device |
US10417501B2 (en) * | 2017-12-06 | 2019-09-17 | International Business Machines Corporation | Object recognition in video |
US20190236371A1 (en) * | 2018-01-30 | 2019-08-01 | Deluxe Entertainment Services Group Inc. | Cognitive indexing of images in digital video content |
CN109308460B (en) * | 2018-09-06 | 2021-04-02 | 深兰科技(上海)有限公司 | Article detection method, system and computer readable storage medium |
-
2020
- 2020-04-12 US US16/846,357 patent/US11164005B1/en active Active
-
2021
- 2021-03-17 DE DE112021002291.1T patent/DE112021002291T5/en active Pending
- 2021-03-17 WO PCT/IB2021/052209 patent/WO2021209835A1/en active Application Filing
- 2021-03-17 CN CN202180021319.0A patent/CN115280378B/en active Active
- 2021-03-17 JP JP2022554600A patent/JP2023520631A/en active Pending
- 2021-03-17 GB GB2216834.8A patent/GB2612707A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090007202A1 (en) * | 2007-06-29 | 2009-01-01 | Microsoft Corporation | Forming a Representation of a Video Item and Use Thereof |
US20180307943A1 (en) * | 2017-04-25 | 2018-10-25 | The Johns Hopkins University | Method and apparatus for clustering, analysis and classification of high dimensional data sets |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113965772A (en) * | 2021-10-29 | 2022-01-21 | 北京百度网讯科技有限公司 | Live video processing method and device, electronic equipment and storage medium |
WO2024066429A1 (en) * | 2022-09-26 | 2024-04-04 | 腾讯科技(深圳)有限公司 | Chip layout encoder training method and device, and chip layout screening method and device |
Also Published As
Publication number | Publication date |
---|---|
JP2023520631A (en) | 2023-05-18 |
CN115280378A (en) | 2022-11-01 |
US11164005B1 (en) | 2021-11-02 |
CN115280378B (en) | 2023-08-22 |
DE112021002291T5 (en) | 2023-03-16 |
GB2612707A (en) | 2023-05-10 |
WO2021209835A1 (en) | 2021-10-21 |
GB202216834D0 (en) | 2022-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111767366B (en) | Question and answer resource mining method and device, computer equipment and storage medium | |
US10846403B2 (en) | Detecting malicious executable files by performing static analysis on executable files' overlay | |
US11507840B2 (en) | Region constrained regularized adversarial examples for model interpretability | |
US20220301579A1 (en) | Automatic video tagging | |
US11164005B1 (en) | System and method for reducing resources costs in visual recognition of video based on static scene summary | |
US11481667B2 (en) | Classifier confidence as a means for identifying data drift | |
CN111368878B (en) | Optimization method based on SSD target detection, computer equipment and medium | |
US11475313B2 (en) | Unsupervised, semi-supervised, and supervised learning using deep learning based probabilistic generative models | |
US20210157829A1 (en) | Unsupervised attention based scientific document summarization | |
US11487967B2 (en) | Finetune image feature extraction using environmental data | |
US11403325B2 (en) | Clustering items around predefined anchors | |
US20200372676A1 (en) | Progressive 3d point cloud segmentation into object and background from tracking sessions | |
EP3885934A1 (en) | Video search method and apparatus, computer device, and storage medium | |
US20220261657A1 (en) | Monte-carlo adversarial autoencoder for multi-source domain adaptation | |
CN109960745A (en) | Visual classification processing method and processing device, storage medium and electronic equipment | |
CN110674497B (en) | Malicious program similarity calculation method and device | |
US11900667B2 (en) | Parametric curves based detector network | |
JP7486574B2 (en) | Scalable Structure Learning via Context-Free Recursive Document Decomposition | |
US20220309278A1 (en) | Unsupervised video representation learning | |
RU2671304C1 (en) | Method and system for constructing digital print of video content | |
US20210343039A1 (en) | Dynamic sampling for object recognition | |
CN111428544B (en) | Scene recognition method and device, electronic equipment and storage medium | |
US11500932B2 (en) | Change-point driven feature selection for multi-variate time series clustering | |
CN115311599A (en) | Video classification method, model training method, device, medium and electronic equipment | |
CN117197715A (en) | Training method of video stream processing model, video stream processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW YORK Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BURSHTEIN, YEVGENY;ROTMAN, DANIEL NECHEMIA;PORAT, DROR;AND OTHERS;SIGNING DATES FROM 20200323 TO 20200406;REEL/FRAME:052374/0029 |
|
FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |