Machine learning during crowd gatherings to identify inappropriate behaviors
A machine learning system processes crowd data to identify inappropriate behaviors, addressing the challenge of detecting nefarious actors in large gatherings by automating anomaly detection and improving recognition of crowd behaviors, enhancing crowd safety through real-time alerts and continuous learning.
Patent Information
- Application Number
- PCT/US2024/025739
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-21
- Filing Date
- 2024-04-22
- Publication Date
- 2024-10-24
AI Technical Summary
Identifying inappropriate behaviors in large crowd gatherings is challenging due to the size of the crowd, making it difficult for security and surveillance crews to detect nefarious actors using traditional video and audio surveillance methods.
A machine learning system that processes audio, image, and video files from crowd gatherings to identify inappropriate behaviors by training machine learning modules with labeled training samples, calculating similarity metrics, and generating alerts for undesirable activities, with the option for human review and updating of training data.
The system effectively identifies and alerts security personnel to inappropriate behaviors in real-time, improving crowd safety by automating the detection of anomalies and updating its algorithms for better recognition of typical and anomalous crowd behaviors.
Smart Images

Figure US2024025739_24102024_PF_FP_ABST
Abstract
Description
MACHINE LEARNING DURING CROWD GATHERINGS TO IDENTIFYINAPPROPRIATE BEHAVIORSCROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application No. 63 / 497,565, filed April 21, 2023, entitled “MACHINE LEARNING DURING EVENT GATHERINGS TO IDENTIFY INAPPROPRIATE BEHAVIORS,” the contents of which is incorporated herein by reference in its entirety.BACKGROUND
[0001] Large gatherings of people at events, such as football or soccer matches, can result in unintended consequences. For example, nefarious actors called “hooligans” are more frequently entering these large gatherings to disrupt the gatherings, to create mayhem during the gatherings, and / or to intimidate others including players at the gatherings (e.g., through racial and / or physical intimidation). In some instances, these nefarious actors through their inappropriate acts can cause injury and even death during the events.
[0002] Identifying these nefarious actors can be challenging due to the tremendous size of the crowd. Typically, security and surveillance crews employed by the venues use video and audio surveillance technology to scan the crowd and identify the nefarious actors. For example, human employees may monitor cameras that visually scan a venue, looking for individuals acting out of the ordinary with respect to the crowd in the venue. This is a daunting task as some of these gatherings can have upwards of 100,000 attendees. In other words, identifying bad actors at large gatherings can often be like finding a needle in a haystack.SUMMARY
[0003] Systems and methods herein provide for identifying inappropriate behavior during event gatherings via machine learning. Systems and methods herein provide for identifying inappropriate behavior at events via machine learning. In some embodiments, a system includes a storage element operable to store a plurality of training samples, the trainingsamples comprising one or more of: audio files obtained from targeted scenes of audiences of a plurality of prior events; image files obtained from targeted scenes of audiences of a plurality of prior events; and video files obtained from targeted scenes of audiences of a plurality of prior events, wherein each of the audio files, image files, or video files includes a label indicating an audience activity of a prior event. The system may also include a processing system operable to implement one or more machine learning modules, to train the machine learning modules with the training samples, and to process, through the trained machine learning modules, at least one of: audio files obtained from targeted scenes of an audience during an event; image files obtained from targeted scenes of the audience during the event; or video files obtained from targeted scenes of the audience during the event. The processing system is also operable to identify an undesirable audience activity during the event in response to processing, and to generate an alert indicating undesirable audience activity during the event.
[0004] In accordance with one embodiment, the present specification provides a method of monitoring crowd behavior. The method includes storing a plurality of training samples, each training sample comprising an image having a content, each training sample further comprising a label that is descriptive of the content. The method further includes training a machine learning module with the training samples so that the machine learning module learns to analyze the image of each sample so as to identify the content and assign the correct label. The method further includes processing an event image depicting a portion of a crowd during a crowd gathering and calculating, during processing, a similarity metric between an event image content of the event image and the content of one of the plurality of training samples. Further, the method includes determining that the similarity metric exceeds a similarity threshold, electronically assigning to the event image content the label corresponding to the content, and adding the event image to the plurality of training samples.
[0005] Some embodiments can also comprise processing a second event image depicting a second portion of the crowd during the crowd gathering, determining, during processing, that a second image content of the second event image is not sufficiently similar to the content of any of the plurality of training samples, and referring the second event image to a review system for further review.
[0006] Another embodiment comprises receiving a reviewer input comprising a second event label and a determination that the second event content is inappropriate, and adding thesecond event image to the plurality of training samples. Some such embodiments comprise capturing a location of the second portion of the crowd and a time that the second event image was captured. Additional embodiment can comprise generating a security alert concerning a crowd behavior at the location of the second portion of the crowd, the security alert presenting the second event image and the second event label.
[0007] Yet other embodiments comprise receiving a reviewer input comprising a second event label and a determination that the second event content is appropriate, and adding the second event image to the plurality of training samples.
[0008] A further embodiment comprises processing the event image and assigning a classification to the event image content. In some such embodiments, the classification is one of a flag, a smoke device, a pyrotechnic device, a concerted movement, a crowd chant, and a typical crowd behavior.
[0009] In still other embodiments, the event image is a spectrogram of an audio recording, and comprising filtering the spectrogram to create a chromagram, and processing the chromagram to determine that the chromagram depicts a crowd chant. Some such embodiments comprise electronically calculating a similarity metric between the chromagram and a chromagram training sample graphically depicting a known chant having a known chant label, determining that the similarity metric exceeds a similarity threshold, and assigning the known chant label to the chromagram. As used herein, a chromagram is used to refer to a chroma feature, such as chroma-based features that relate to the pitch and harmony of audio samples that allow visual representation of the chroma features.
[0010] Additional such embodiments comprise electronically calculating a similarity metric between the chromagram and a chromagram training sample graphically depicting a known chant having a known chant label, determining that the similarity metric does not exceed a similarity threshold, and directing display of a request for review on a reviewer computing device.
[0011] Still other embodiments can comprise receiving an input from the reviewer computing device, the input comprising a new chant label, associating the new chant label with the chromagram, and saving the chromagram and new chant label as one of the plurality of training samples.
[0012] In accordance with another embodiment, the present specification provides a system, comprising a storage element operable to store a plurality of training samples. The training samples comprise one or more of audio files obtained from targeted scenes of audiences of a plurality of prior gatherings; image files obtained from targeted scenes of audiences of a plurality of prior gatherings; and video files obtained from targeted scenes of audiences of a plurality of prior gatherings, wherein each of the audio files, image files, or video files includes a label indicating an audience activity of a prior gatherings. A processing system is operable to implement one or more machine learning modules, to train the machine learning modules with the training samples, and to process, through the trained machine learning modules, at least one of: audio files obtained from targeted scenes of an audience during a gathering; image files obtained from targeted scenes of the audience during the gathering; or video files obtained from targeted scenes of the audience during the gathering. The processing system is further operable to identify an undesirable audience activity during the event in response to processing, and to generate an alert indicating undesirable audience activity during the event.
[0013] In some such embodiments, the processing system is further operable to store, in the storage element as additional training samples, at least a portion of audio files, image files, and video files obtained from the targeted scenes of the audience during the gathering.
[0014] In accordance with yet another embodiment, the present specification provides a method, comprising storing a plurality of training samples, wherein the training samples comprise one or more of: audio files obtained from targeted scenes of a crowd at one or more prior gatherings; image files obtained from targeted scenes of the crowd at the one or more prior gatherings; and video files obtained from targeted scenes of the crowd at the one or more prior gatherings, wherein each of the audio files, image files, or video files includes a label associating the audio file, image file or video file with a recognized content. The method further includes implementing one or more machine learning modules and training the one or more machine learning modules with the training samples so that the one or more machine learning modules learns to correctly identify recognized content in the one or more audio files, image files or video files and to assign the label corresponding to the recognized content, wherein the recognized content is an unacceptable crowd action. The method further includes processing at least one of: audio files obtained from targeted scenes of a crowd during a crowd gathering; image filesobtained from targeted scenes of the crowd during the crowd gathering; or video fdes obtained from targeted scenes of the crowd during the crowd gathering. The method also comprises detecting, during processing, the unacceptable crowd action in the at least one of: audio fdes obtained from targeted scenes of the crowd during the crowd gathering; image fdes obtained from targeted scenes of the crowd during the crowd gathering; or video fdes obtained from targeted scenes of the crowd during the crowd gathering, and generating an alert indicating unacceptable crowd action during the gathering.
[0015] Some such embodiments comprise creating a new training sample comprising data concerning the detecting of the unacceptable crowd action, and storing the new training sample with the plurality of training samples.
[0016] The various embodiments disclosed herein may be implemented in a variety of ways as a matter of design choice. For example, some embodiments herein are implemented in hardware whereas other embodiments may include processes that are operable to implement and / or operate the hardware. Other exemplary embodiments, including software and firmware, are described below.BRIEF DESCRIPTION OF THE FIGURES
[0017] Some embodiments of the present invention are now described, by way of example only, and with reference to the accompanying drawings. The same reference number represents the same element or the same type of element on all drawings.
[0018] FIG. l is a schematic diagram depicting a system for use at a stadium, in accordance with some embodiments.
[0019] FIG. 2 is a block diagram of an exemplary machine learning process, in accordance with some embodiments.
[0020] FIG. 3 is a block diagram of an exemplary computing system in which a computer readable medium provides instructions for performing methods herein, in accordance with some embodiments.
[0021] FIG. 4 is a schematic diagram depiction a portion of a framework for analysis of observation data in accordance with some embodiments.
[0022] FIG. 5 illustrates a process flow diagram for an exemplary machine learning process, in accordance with some embodiments.
[0023] FIG. 6 is a block diagram of a machine learning training and operation process, in accordance with some embodiments.
[0024] FIG. 7 is a schematic representation of a crowd from a gathering in which the crowd is displaying multiple flags.
[0025] FIG. 8 depicts an embodiment of a computer display configured for review by a reviewer in accordance with some embodiments.
[0026] FIG. 9A depicts a first portion of a sound block recorded and saved by the system in accordance with an embodiment.
[0027] FIG. 9B depicts a second portion of the sound block recorded and saved by the system in accordance with the embodiment of FIG. 9A.
[0028] FIG. 10A is a chromagram image generated from the sound block portion of FIG. 9A.
[0029] FIG. 10B is a chromagram image generated from the sound block portion of FIG. 9B.
[0030] FIG. 11 is a block diagram of an exemplary convolutional neural network that may be used in a machine learning module, in accordance with some embodiments.DESCRIPTION
[0031] The figures and the following description illustrate specific exemplary embodiments. It will thus be appreciated that those skilled in the art will be able to devise various arrangements that, although not explicitly described or shown herein, embody certain principles and are included within the scope of the embodiments. Furthermore, any examples described herein are intended to aid in understanding the embodiments and are to be construed as being without limitation to such specifically recited examples and conditions. As a result, the embodiments are not limited to any of the examples described below.
[0032] FIG. 1 schematically depicts a stadium venue 25 having a system for monitoring a crowd attending a gathering at the stadium. As depicted, the system includes one or more observation modules 18-1 - 18-N (wherein “N” is an integer greater than or equal to “1” and not necessarily equal to any other “N” reference herein). The illustrated observation modules 18 can each include one or more cameras and / or microphones that are operable to record video and / or still images and / or audio of scenes 20 among the crowd in the venue. The observation modules 18 can be either separate and distinct components or can be consolidated into single modules,and can be consolidated in a single location in the venue or dispersed about the stadium. The observation modules 18 can be configured with a clock so as to associate a recording with a time, and can also be configured to identify the portion of the crowd within the venue being captured with the scene 20. Each scene 20 depicts a portion of the crowd as observed by the modules 18 at or over a period of time.
[0033] A processing system 14 may be communicatively coupled to the observation modules 18, such as by a wired or wireless connection. The processing system 14 may include computer hardware such as a processor, a communication interface, a storage element (e.g., a solid state storage device, a hard disk drive, etc.), computer memory, and input / output (VO) modules, etc. for use in processing images / video and audio captured by the observation modules 18.
[0034] The processing system 14 may be implemented in a variety of ways as a matter of design choice. For example, processing system 14 may employ an on-site computing system that is communicatively coupled to the observation modules 18 so as to process the audio, images, and / or video captured during the gathering. Alternatively or additionally, the processing system 14 may transfer the audio, images, and / or video to a remote based computing system 12, which in some embodiments, may be a cloud-based computing system 12 for processing.
[0035] The processing system 14 may be operable to detect inappropriate behavior at the event 10 via machine learning. For example, the observation modules 18 may be configured to continuously scan and record scenes 20-1 - 20-N of a crowd during the event 10. Such scenes 20 include relatively large groups of people, and are intended to sample behavior of the group of behavior rather than of any one individual. The audio, video, and / or still images obtained by the observation modules 18 may be transferred in substantially real-time to the processing system 14. The processing system 14 includes a machine learning module 16 (e.g., a collection of hardware such as graphics cards, software, firmware, and various combinations thereof). The machine learning module 16 can be trained with comparable audio, video, and / or images, and may process the audio, video, and / or images of the scenes 20 from the observation modules 18 and identify and / or learn crowd behaviors in order to help security reviewers identify inappropriate behavior.
[0036] With reference next to FIG. 2, a generalized block diagram of one embodiment of operation of the system 14, including the machine learning module 16, is depictedschematically. As discussed above, the observation modules 18 are configured to scan and record scenes 20 of the crowd during a gathering. As depicted at block 200, the system can analyze such captured scenes 20 and identify features of such scenes. Features can include several unique aspects, such as the presence of a flag or banner, as well as a symbol and / or text on the flag or banner. Multiple scenes 20 from different locations around the venue can be so analyzed so as to develop a sense of what is typical crowd behavior and movement. Scenes 20 from different locations around the venue can be compared (see block 202) with one another and with the determination of what is common, and the system can then identify (see block 204) anomalous features and the scenes 20 having such anomalous features.
[0037] The system can then compare the anomalous features and scenes 20 to one another and find commonalities in the features. Such anomalous features and associated scenes 20 can be grouped together (see block 206) to form grouped events. As such, all scenes / events depicting the same or a similar anomalous feature, such as a flag having a particular symbol, are grouped together.
[0038] Continuing with reference to FIG. 2, the system can access a database having stored therein data from previously-encountered events (and groups thereof) to compare the similarity between the just-grouped events and the events saved in the database (see block 208). Preferably, the events saved in the database have been previously labeled with a descriptive term (i.e., orange flag) and / or a security judgment (i.e., “inappropriate” or “acceptable”). Grouped events that are determined to be sufficiently similar to saved events can be assigned the same label as the saved events (see block 210), and can be added to the database. Also, if the grouped events are determined to show inappropriate behavior, an alert can be generated (see block 212). The machine learning module 14 can be configured to calculate a similarity metric between events and between grouped events and previously-saved events in order to determine whether similarity exceeds a similarity threshold.
[0039] If, after reviewing the database, the system determines that a just-grouped event has not been encountered before, the system can submit the just-grouped anomalous events, or a sample image or video clip from the grouped events, for human security review (see block 214). The reviewer can then assign (see block 216) one or more labels to the group, and an alert 218 can be generated if the event is determined by the reviewer to be inappropriate.
[0040] As depicted in block 219, the processing experience described above, including whether the system automatically assigns a label or whether such a label is assigned by a reviewer, can be added to the database to enable further training of the machine learning module 16. Using such additional information, the machine learning module 16 can update algorithms to, for example, more efficiently and more confidently recognize and group anomalous features and events. Also, the machine learning module 16 can update algorithms to more readily recognize anomalous features and record scenes more focused on the anomalous features than typical crowd-behavior features.
[0041] It is to be understood that various configurations of computing systems can be employed to support the processing system 14 and machine learning module 16. FIG. 3 depicts an example of such a computing system 400 configured to determine group behavior, which computing system can be coupled with observation modules 18 such as are part of a security camera / mi crophone system. The computing system 400 can receive audio and / or video data from the observation modules. The machine learning module 16 can take the form of a computer program product accessible from a computer readable storage medium (CRSM) 406 of the computing system 400 providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, the CRSM 406 can be any apparatus that can tangibly store the program for use by or in connection with the instruction execution system, apparatus, or device, including the computer system 400.
[0042] The CRSM 406 can be any tangible electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device). Examples of a CRSM 406 include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), NAND flash memory, a read-only memory (ROM), electrically erasable programmable read-only memory (“EEPROM”), a rigid magnetic disk and an optical disk, or any other medium which can be used to store the desired information, and which can be accessed by the processor(s). Some examples of optical disks include compact disk - read only memory (CD-ROM), compact disk - read / write (CD-R / W) and digital versatile disc (DVD).
[0043] The computing system 400, suitable for storing and / or executing program code, can include one or more processors 402 coupled directly or indirectly to memory 408 through a system bus 410. The memory 408 can include local memory employed during actual executionof the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code is retrieved from bulk storage during execution. Input / output or I / O devices 404 (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I / O controllers. Network adapters may also be coupled to the system to enable the computing system 400 to become coupled to other data processing systems, such as through host systems interfaces 412, or remote printers or storage devices through intervening private or public networks. Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.
[0044] The computing system 400 supports software for performing the machine learning processing. With reference next to FIG. 4, a framework for an embodiment of machine learning software is depicted. As shown, each camera or microphone is configured to provide data to a dedicated media recording system 302. The data can be provided as, for example, raw video, which includes full-resolution images and a full framerate, and / or as an analysis stream having lower resolution images and / or a lower framerate. The media recording systems 302 record the data provided by the associated cameras and microphones, along with information about the data such as time of capture, identification of the venue, and location of the scene within the venue. The data can also be cut into distinct time periods. The recordings can be provided to a file system 304. A media file watcher module 306 can receive such recorded media and provide selected individual frames, video clips and / or audio clips depicting scenes to an event system 308.
[0045] The event system 308 comprises an event detection system 310 that electronically analyzes media data and identifies, or generates 312, an event from a scene having particular features. The event system includes an event grouping system 314 that analyzes multiple events to determine similarities and differences between them, and can calculate a similarity metric between each event. The event grouping system 314 generates 316 groups of events that share sufficient similarities in their features so that the similarity metric between them exceeds a similarity threshold. Grouped events can then be combined with an application database 318 for comparison to other, previous events and training data. The application 320 then applies and updates algorithms for determining whether the grouped events are similar toprevious events and training data that depict acceptable or inappropriate behavior in a manner as discussed above.
[0046] It is to be noted that portions of the software can be run on various local computing systems 400, such as a system that may already be in place at the venue. To facilitate portability and compatibility, various portions of the software, such as the media recording systems, media file watcher and the event system can each be packaged in a virtual containerized environment such as are provided in connection with Docker platforms.
[0047] FIG. 5 illustrates a process flow for an event system of a machine learning system configured in connection with an embodiment. In this embodiment, raw data input, such as, for example, a timeline 604, raw video data 606, and / or raw audio data 608 (collectively, raw data input), may be captured by one or more sensors, such as one or more imaging sensors, audio sensors, a clock, or any combination of sensors. The system may analyze the raw data input and create, or identify, scenes having features 602, which may be associated with one or more time bound instances, and may include one or more images, video clips, audio clips, or otherwise. The features may be stored as individual files for further processing. Preferably the features highlight important aspects of a particular time-bound instance, such as a graphic pattern that would suggest the presence of a flag, a group movement pattern that would suggest brawling by crowd members, a group movement pattern that would suggest that a group of crowd members are making concerted gestures, such as a team sign (acceptable) or a racist hand gesture (inappropriate). Features could also include certain chants emitted by one or more portions of the crowd. Such chants can be detected by the system identifying sound patterns that differ from typical crowd noise.
[0048] At block 610, the system calculates and generates anomaly scores. In some cases, the anomaly scores may be associated with each feature and may be determined by comparing the one or more images, video clips, and / or audio clips with others, and calculating a similarity metric. The similarity metric, here anomaly scores, may be determined by any suitable method, such as will be discussed elsewhere herein, and may include determining a deviation from expected data on the one or more images, video clips, and / or audio clips. More specifically, it is anticipated that most of the crowd will be acting in typical, expected ways, and analysis of provided data will show many common patterns. The system thus can compare each scene and / or feature to other detected scenes and features and calculate anomaly scores that areindicative of the difference of the particular scored feature versus typical observed and analyzed features. For example, in a typical crowd, a flag or banner is likely to stand out as relatively anomalous.
[0049] At block 612, the system determines noticeable events. The noticeable events typically are identified when an anomaly score exceeds a threshold value. Such noticeable events may include a behavior, an item, or a sound, such as, for example, a poster, a flag, a chant, a sign, concerted motion of a portion of the crowd, or otherwise.
[0050] At block 614, the noticeable events are used to generate events 614. The event may be classified or categorized as a recognized sound, image, motion, or behavior. In some cases, the event may be saved as a video clip, an audio clip, and / or a still image. The events may be compared with other generated events, and similarity scores (another type of similarity metric) can be calculated when comparing events to one another. At block 616, events whose similarity scores relative to one another exceed a similarity threshold may be grouped together in a cluster or group. For example, where an audio clip is digitized for signal processing, an audio waveform associated with a first audio clip can be compared with an audio waveform of a second audio clip. If the similarity between the waveforms exceeds a threshold similarity score, the first and second audio clips may be clustered together. Similarly, behaviors within the stadium venue that exhibit similarities above a threshold value may be grouped together, such as by clustering audio clips, video clips, still images, or a combination that exhibit similarities. In this way, events having a substantial similarity are grouped together and represent a cluster of similar events.
[0051] At block 618, a super event is stored, which may be a collection of clustered events. Each super event may include two or more sub events 620 that are all indicative of the super event, which may include a similar behavior, sound, or image. As an example, image data from five cameras located throughout the venue may each capture an image of a banner being displayed by one or more attendees of the event. In some cases, and in connection with the process in FIG. 5, each image of the banner may receive an anomaly score indicating that the system determines the banner is anomalous relative to typical crowd video. Each instance of the banner across the multiple images may be stored separately as an event file. The system may then compare each such event file and determine that each image of the banner includes a similar histogram, by calculating a similarity score from comparing such images. Each of the images ofthe banner may thus be clustered together as a group. One of the images can be identified as a representative image of the group of images. The cluster of images may be stored as a super event containing all the sub events.
[0052] In a manner as discussed above in connection with FIG. 2, the representative image of the super event may be compared with labeled events stored in a database and, if a similarity score between the super event and one of the labeled events exceeds a similarity threshold, the system will determine that they are substantially the same, and will assign the same label to the super event. For example, in soccer it is common to see fans bring the same flag to each of a favorite team’s matches. Thus, a system may have identified the flag as an event from a previous match, and the flag image may have been previously labeled and saved in the database. In a current crowd gathering in which the flag is identified as a super event, the flag will be identified as similar to the saved flag event, and assigned the same label.
[0053] If the representative image is determined to not be sufficiently similar to any saved events, the image may be sent for further review by a human reviewer, who will label the image, as will be discussed in more detail below in connection with FIG. 8. Such labeling may be as simple as “acceptable” or “unacceptable”, or may include multiple layers such as a classification layer identifying the event as a “flag”, a second layer labelling the type of symbol on the flag, and a third layer labelling the flag / symbol as “acceptable” or “unacceptable”.
[0054] The machine learning module 16 may employ any of a variety of machine learning algorithms to learn and identify crowd behaviors. In some instances, the machine learning module 16 may employ one or more of a variety of machine learning algorithms. Just a few examples of machine learning algorithms that may be implemented by the machine learning module 16 include a supervised learning algorithm, a semi -supervised learning algorithm, an unsupervised learning algorithm, a regression analysis algorithm, a reinforcement learning algorithm, a self-learning algorithm, a feature learning algorithm, a sparse dictionary learning algorithm, an anomaly detection algorithm, a generative adversarial network algorithm, a transfer learning algorithm, and an association rules algorithm.
[0055] The discussion above refers to a database having data from previous experience with events. This database enables continuous improvement as the machine learning module 16 updates algorithms based on its experience. At least a portion of the database can be created for initial, and continuing, training of the machine learning module 16. Generally, machine learningalgorithms are trained on numerous files (e.g., thousands if not hundreds of thousands of files). To illustrate, FIG. 6 is a block diagram of an exemplary machine learning system 100 that is trained on a plurality of image files 102-1 - 102-N. Each of the image files 102 includes an image 104 and a label 106. Each image 104 is that of a scene from a previous crowd gathering portraying behaviors of crowd members at the gathering, although the images 104 are not necessarily from the same gathering. In fact, the image files 102 may be from any number of previous large gatherings and may be from different venues.
[0056] As mentioned, each of the image files 102 includes a label 106 indicating a behavior of one or more crowd members gathered at a venue. And at least a portion of these labels 106 have been formed based on human impressions at the gatherings. For example, a person associated with a security team at a gathering (i.e., a reviewer) may receive, on a display of the computer system, an event image of one or more audience members displaying a banner at the event, as described above. The reviewer may then determine, based on personal experiences and training, whether the behavior of the one or more audience members displaying the banner is appropriate behavior, inappropriate behavior, or something in between, and as discussed above may assign a label indicating as much.
[0057] After a sufficient collection of image files 102 (e.g., thousands if not hundreds of thousands) has been obtained and saved, the image files 102 with their respective images 104 and labels 106 are processed through the machine learning module 16 implemented by the computing system 14 to train the machine learning module 16. For training, the machine learning module 16 iteratively reviews each image file 102 and can update its algorithms to recognize feature patterns and, ideally, correctly assign labels based on its combined experience with the training image files. Once trained, the machine learning module 16 may process new, or input, image files 102-1 (where the reference “I” indicates input) in substantially real time as recorded scenes, and generated events, during a crowd gathering (e.g., the gathering of FIG. 1) such that the machine learning module 16 can determine the behavior in the input image file 102- I. The machine learning module 16 may then output a label 106-OUT to an output module 114 indicating that behavior. And, if the label indicates inappropriate behavior at the gathering, the output module 114 may generate an alert that alerts security personnel to address the situation. The alert can include a location of the inappropriate event at the venue.
[0058] Once the image file 102-1 has been processed and a label 106 has been associated with the image file 102-1, the image file 102-1 may then be saved to the database and used as subsequent training data. In some cases, this process may involve human verification before being used as training data so as to prevent a “garbage in / garbage out” model or false positives. For example, after a crowd gathering is finished, reviewers may be presented with the events and labels generated and assigned by the machine learning module 16 during the gathering, and given the opportunity to approve or modify the label(s) automatically assigned by the machine learning module 16. The updated, verified training database can then be used at future gatherings and for additional training of the machine learning module 16.
[0059] An example of operation of the machine learning module 16 can next be discussed in connection with FIG. 7, which schematically depicts a crowd 500 at a venue in which the crowd 500 is displaying several different flags 502 and banners. The flags may come in various sizes and shapes, as depicted. Some of the flags exhibit commonalities such as, for example, a common graphical logo Gl. Other flags 502 may contain textual messages (i.e., T1 & T2), which can be arranged in various manners, such as horizontally depicted, vertically depicted, or spread over multiple lines of text.
[0060] An image or scene 20 having a flag 502 or banner will have different, or anomalous, features than an image or scene depicting only a typical crowd seated or standing. In operation, the machine learning module can first learn which features suggest that an anomalous feature depicts a flag. Such learning can occur during training, when the machine learning module encounters many training images classified and labeled as flags. Similarly, through experience and training, the machine learning module will adjust its algorithms to identify flags having a range of sizes and shapes. The machine learning module 16 can thus identify each such instance, or event, as a flag 502.
[0061] After recognizing the feature as a flag 502 or banner, the machine learning module can identify the features, or content, of the flag itself, and can generate an event for each such flag. Such flag events can then be compared so as to group similar flag events. For example, each flag depicting a first graphic Gl can be group together as flag group Gl. The machine learning module can then access its database to find whether a graphic similar to Gl has previously been encountered and labeled. If so, the same label will be applied to flag group Gl, and the labelled event will be added to the database. If not, a representative image from thegrouped flag events can be forwarded to a reviewer for further labeling. Once labelling is complete the experience is saved in the database and used to update the machine learning module’s algorithm(s).
[0062] As an example of machine learning, perhaps the machine learning module 16 will successfully group all flags 502 having the first graphic Gl, but may be confused by the flag having multiple instances of the graphic Gl. More particularly, a similarity metric between this flag and other Gl -bearing flags may not exceed a similarity threshold, and thus the multipleinstance flag may not be grouped with the other Gl-bearing flags. Assuming the Gl graphic exists already in the database, the grouped flags will be labeled, but the flag event with multiple instances of Gl will be sent for further review.
[0063] With reference next to FIG. 8, a reviewer computer display 510 can display the multipl e-Gl flag event, along with known information about the event, such as an image 512, a time of capture 514, venue 516 at which the image was captured, a location 518 within the venue of the scene depicted in the image, a classification 520 of the type of behavior or item displayed in the image 512, and a label 522, if assigned. In this example, no label has yet been assigned. A radio button 524 can be selected by the reviewer in order to label the multi-Gl flag event. The reviewer can then label such flag 502 similarly as the other flags having only a single instance of Gl. The machine learning module 16 can then adjust its algorithm to include flags with multiple instances of a graphic, thus improving its accuracy and efficiency. As such the system helps update the machine learning module algorithm(s) to more effectively (in the future) calculate similarity metrics.
[0064] Continuing with reference to the crowd 500 depicted in FIG. 7, the machine learning module 16, through iterative training and continued experiences, can learn to identify particular text (Tl) on a flag 502, whether that text is depicted horizontally on a single line, spread over multiple lines, depicted vertically, and / or in different fonts and colors. The processing system 14 may process such images through the machine learning module 16 so as to identify the banner and its text Tl and determine whether the banner being displayed is appropriate or not. For example, during a Netherlands national team soccer match, observation modules 18 may capture an image of a banner with the text (Tl) “ECHTE MANNEN DRAGEN ORANJE”, a soccer slogan of the Netherlands, which when translated into English means “real men wear orange”. As this is a common slogan, the example presupposes that the slogan isincluded in the database. The machine learning module 16 may process that image against the training data to determine that the banner is an appropriate behavior such that no action needs to be taken against the individuals displaying the banner. Also, the system can assign the same label to the banner as that which had been assigned previously to previous events bearing the same slogan, enhancing the data contributing to confident recognition of such text.
[0065] Notably, in some embodiments, the system may include text translation functionality to translate the banner text into the language of the reviewers in order to facilitate review as needed. For example, the processing system 14 may perform an optical character recognition (OCR) on the images 104 of the image files it receives and then automatically translate the OCR’d text in the images 104. This may be useful, as some gatherings, particularly soccer matches, can have large swaths of audiences that speak languages different than that of the hosting venue. The processing system 14 may operate in a similar fashion with audio files it receives.
[0066] Continuing with reference to FIG. 7, another scene 20 of the crowd may lead to identification of another flag event having text T2, which text T2 may include racially insensitive, obscene, intimidating or otherwise unacceptable language. The machine learning module 16 can locate and identify the text as being inappropriate and label it as such depending on training data. In such an instance, the processing system 14 may then generate an alert to nearby security personnel to quickly address the situation.
[0067] The above examples have been specifically drawn to flags and banners. It is to be understood, however, that a broad range of crowd behaviors and concerns can be analyzed. For example, occasionally crowd members may set off smoke bombs / generators and / or use unauthorized fireworks or other pyrotechnics. The machine learning module can be trained to identify features common to such behavior and to generate security alerts quickly.
[0068] Also, even in scenes that involve only crowd members, the machine learning system can learn to recognize the pattern differences between typical, randomized crowd movement and coordinated crowd movement. For example, sometimes groups of crowd members will coordinate in making particular gestures, such as hand gestures, intended to communicate some message. Often such gestures are just coordinatedly cheering on or supporting their respective team, but occasionally such gestures can send inappropriate, inflammatory messages. The machine learning module can learn to recognize the features inscenes including groups of crowd members making such coordinated gestures, label such features, or have them labeled by reviewers, and generate alerts as appropriate. And the more often the machine learning module experiences such features the more it can update its algorithms to become more confident and effective in recognizing and labelling such events.
[0069] Similarly, certain other crowd behaviors differ from typical random crowd movement. For example, brawling or fighting involves different crowd movement features than does typical cheering and / or coordinated gesturing. The machine learning module can be trained with labeled images and video to recognize and label such crowd behavior and generate alerts as appropriate.
[0070] The machine learning module 16 may also be operable to identify inappropriate language (e.g., chants). For example, the microphone of the observation module 18 may capture a chant by multiple audience members in a particular scene 20-1 of the audience. The processing system 14 may identify the language of the chant (e.g., Dutch, English, French, etc.) and determine whether the chant is appropriate behavior (e.g., audience members cheering for their team) or inappropriate behavior (e.g., derogatory and / or racially insensitive and intimidating). In this instance, the processing system 14 may perform acoustic location to determine the source of the chant such that security personnel may address the situation.
[0071] With reference next to FIGS. 9 and 10, in one embodiment, the observation modules 18 obtain an audio recording of crowd noise in one scene 20. For processing, the audio recording can be divided into multiple blocks 550 (see FIG. 9A & 9B) of, for example, 3 or 6 seconds duration. Each recorded audio block 550 can be processed to form a two-dimensional spectrogram, thus converting the audio data to a graphical image representation. The spectrograms can be further processed in a manner that will focus on human voices, such as by filtering out high-frequency sound. In some embodiments typical crowd noise can also be filtered out. The filtered spectrograms can thus become chromagrams 555 (see FIGS. 10A & 10B) graphically depicting human-voice-made sound wavelengths. The machine learning module 16 can be trained to recognize repeating patterns in the chromagrams, which indicate the presence of a chant event.
[0072] When the machine learning module 16 has detected that the sound blocks 550 indicate a chant event, the scene is classified as such, and further processing is undertaken to develop a “fingerprint” of the chant event as depicted in the chromagrams 555. In a mannerconsistent with other processing methods as discussed above, the chromagram fingerprint is compared with fingerprints of other chant events, and similar chant events can be grouped. A representative of the chat events can have its fingerprint compared with known and labeled chromagrams 555 from prior chant events stored in the database, and similarity metrics can be calculated. If the system determines that the new chant event fingerprint is sufficiently similar to that of a prior chant event stored in the database, such as by having a similarity score exceeding a similarity threshold value, the new chant will be assigned the same label as that assigned to the prior chant event. If no previous chant sufficiently matches the new chant event, the new chant event can be sent to a reviewer for review and labeling. With reference again to FIG. 8, this may entail displaying known information about the chant event and displaying a control 530 to enable the reviewer to listen to the original chant event audio recording made by the observation modules. The reviewer can play and listen to the original audio recording and make the judgment to label the chant correctly.
[0073] In some embodiments, the machine learning module 16 may be implemented as an artificial neural network, such as a convolutional neural network. In this regard, the hardware used to implement the machine learning module 16 may be based on various graphics cards that are suitable for the parallel processing typically involved in implementing a neural network.
[0074] For example, neural networks, such as the machine learning module 16, lend themselves to various forms of parallel processing so as to expedite the training of the neural network. Some hardware implementations that may be used to implement the machine learning module 16 within the computing system 14 include graphics cards capable of such parallel processing. However, the machine learning module 16 may be implemented in any combination of hardware, software, and firmware.
[0075] FIG. 11 illustrates one exemplary deep learning system 220 that may be used to classify objects seen in observed imagery, observed audio, and / or observed video. Generally, the deep learning system 220 is trained on real data (e.g., collected imagery, audio, and / or video). In other embodiments, however, synthetically derived images, audio, and / or video (e g., based on a priori knowledge) may be used in conjunction with real data to train the system 220, or may be used to fully train the system 220.
[0076] In some embodiments, the system 220 comprises a feature learning component configured from a chain of convolution and rectified linear unit (ReLU) modules 224-1 - 224-Nand pooling modules 226-1 - 226-N. The system 220 also includes a classification module that comprises a deconvolution module 232, a neural network 234, and an output module 236.
[0077] To illustrate, the system 220 may be first trained with a plurality of input images 222-1 - 222-N (e.g., thousands of images) having known features and classifications. The convolution modules 224 turn the images 222 into features and the neural network 234 associates predictions with the features. Once trained, another image 222 may be input to the system 220 such that the system 220 can classify features in the image 222 (e.g., objects in a scene).
[0078] In some embodiments, the system 220 is configured as a series of layered convolution modules 224 and pooling modules 226 as dense network layers. The testing dataset may be evaluated after each full training cycle while the validation dataset may be evaluated at the end of the training process. The network training process can be deemed to be sufficient when the total loss error metric is consistent between testing and training datasets, and the performance is in line with various audience behavior definitions.
[0079] In some cases, the visual computer interface as in FIG. 8 can also be used to show a representation of an alert so as to allow a human operator to review the alert. In such a case, a representation of the image - or a link to play the audio - of the alert-generating event can be displayed for review by the reviewer.
[0080] According to some embodiments, the systems and methods described herein may be implemented by combining embodiments of the described computing system with existing hardware located at a venue. For example, many venues, such as sports venues, may already have some type of security system in place that may include one or more cameras and / or microphones. In some embodiments, the systems described herein may be integrated into existing security systems that are configured to capture audio and / or video data. The captured audio and / or video data may be passed to the computing system 400 that is configured to determine group behavior within the venue. While a sporting event has been used as an example location for the systems and methods described herein, it should be apparent that any large group event or gathering could benefit from the systems and methods presented herein, such as, without limitation, concerts, festivals, parades, political events, sporting events, conventions, airports, theme parks, and others.
[0081] In some embodiments, the processing system 14 may also be operable to access certain preregistration data of audience members. For example, audience members may purchasetickets to the event. But the right to access the event may also include having the audience member preregister through an app on their personal device (e.g., a smart phone) to provide certain identifying information of the audience member. Generally, the majority of this information is retained within the audience member’s personal device and only certain personally identifiable information is transmitted to the processing system 14 in accordance with various privacy laws at the locale of the event.
[0082] Any of the above embodiments herein may be rearranged and / or combined with other embodiments. Accordingly, the concepts herein are not to be limited to any particular embodiment disclosed herein. Additionally, the embodiments can take the form of entirely hardware or comprising both hardware and software elements. Portions of the embodiments may be implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
[0083] Those skilled in the art will appreciate that, in some implementations, the functionality provided by the processes and systems discussed above may be provided in alternative ways, such as being split among more software programs or routines or consolidated into fewer programs or routines. Similarly, in some implementations, illustrated processes and systems may provide more or less functionality than is described, such as when other illustrated processes instead lack or include such functionality respectively, or when the amount of functionality that is provided is altered. In addition, while various operations may be illustrated as being performed in a particular manner (e.g., in serial or in parallel) and / or in a particular order, those skilled in the art will appreciate that in other implementations the operations may be performed in other orders and in other manners. Those skilled in the art will also appreciate that the data structures discussed above may be structured in different manners, such as by having a single data structure split into multiple data structures or by having multiple data structures consolidated into a single data structure. Similarly, in some implementations, illustrated data structures may store more or less information than is described, such as when other illustrated data structures instead lack or include such information respectively, or when the amount or types of information that is stored is altered. The various methods and systems as illustrated in the figures and described herein represent example implementations. The methods and systems may be implemented in software, hardware, or a combination thereof in other implementations.Similarly, the order of any method may be changed, and various elements may be added, reordered, combined, omitted, modified, etc., in other implementations.
[0084] The accompanying drawings are part of the disclosure and are incorporated into the present specification. The drawings illustrate examples of embodiments of the disclosure and, in conjunction with the description and claims, serve to explain, at least in part, various principles, features, or aspects of the disclosure. Certain embodiments of the disclosure are described more fully below with reference to the accompanying drawings. However, various aspects of the disclosure may be implemented in many different forms and should not be construed as being limited to the implementations set forth herein. Like numbers refer to like, but not necessarily the same or identical, elements throughout.
[0085] The disclosure sets forth example embodiments and, as such, is not intended to limit the scope of embodiments of the disclosure and the appended claims in any way. Embodiments have been described above with the aid of functional building blocks illustrating the implementation of specified functions and relationships thereof. The boundaries of these functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternate boundaries can be defined to the extent that the specified functions and relationships thereof are appropriately performed.
[0086] The foregoing description of specific embodiments will so fully reveal the general nature of embodiments of the disclosure that others can, by applying knowledge of those of ordinary skill in the art, readily modify and / or adapt for various applications such specific embodiments, without undue experimentation, without departing from the general concept of embodiments of the disclosure. Therefore, such adaptation and modifications are intended to be within the meaning and range of equivalents of the disclosed embodiments, based on the teaching and guidance presented herein. The phraseology or terminology herein is for the purpose of description and not of limitation, such that the terminology or phraseology of the specification is to be interpreted by persons of ordinary skill in the relevant art in light of the teachings and guidance presented herein.
[0087] The breadth and scope of embodiments of the disclosure should not be limited by any of the above-described example embodiments but should be defined only in accordance with the following claims and their equivalents.
[0088] Conditional language, such as, among others, “can,” “could,” “might,” or “may,” unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain implementations could include, while other implementations do not include, certain features, elements, and / or operations. Thus, such conditional language generally is not intended to imply that features, elements, and / or operations are in any way required for one or more implementations or that one or more implementations necessarily include logic for deciding, with or without user input or prompting, whether these features, elements, and / or operations are included or are to be performed in any particular implementation.
[0089] A person of ordinary skill in the art will recognize that any process or method disclosed herein can be modified in many ways. The process parameters and sequence of the steps described and / or illustrated herein are given by way of example only and can be varied as desired. For example, while the steps illustrated and / or described herein may be shown or discussed in a particular order, these steps do not necessarily need to be performed in the order illustrated or discussed.
[0090] The various exemplary methods described and / or illustrated herein may also comprise additional steps in addition to those disclosed. Further, a step of any method as disclosed herein can be combined with any one or more steps of any other method as disclosed herein.
Claims
What is claimed is:
1. A method of monitoring crowd behavior, comprising: storing a plurality of training samples, each training sample comprising an image having a content, each training sample further comprising a label that is descriptive of the content; training a machine learning module with the training samples so that the machine learning module learns to analyze the image of each sample so as to identify the content and assign a correct label; processing an event image depicting a portion of a crowd during a crowd gathering; calculating, during processing, a similarity metric between an event image content of the event image and the content of one of the plurality of training samples; determining that the similarity metric exceeds a similarity threshold; electronically assigning to the event image content the label corresponding to the content; and adding the event image to the plurality of training samples.
2. The method of Claim 1, comprising: processing a second event image depicting a second portion of the crowd during the crowd gathering; determining, during processing, that a second image content of the second event image is not sufficiently similar to the content of any of the plurality of training samples; and referring the second event image to a review system for further review.
3. The method of Claim 2, comprising receiving a reviewer input comprising a second event label and a determination that the second event content is inappropriate, and adding the second event image to the plurality of training samples.
4. The method of Claim 3, comprising capturing a location of the second portion of the crowd and a time that the second event image was captured.
5. The method of Claim 4, comprising generating a security alert concerning a crowd behavior at the location of the second portion of the crowd, the security alert presenting the second event image and the second event label.
6. The method of Claim 2, comprising receiving a reviewer input comprising a second event label and a determination that the second event content is appropriate, and adding the second event image to the plurality of training samples.
7. The method of Claim 1, comprising processing the event image and assigning a classification to the event image content.
8. The method of Claim 7, wherein the classification is one of a flag, a smoke device, a pyrotechnic device, a concerted movement, a crowd chant, and a typical crowd behavior.
9. The method of Claim 1, wherein the event image is a spectrogram of an audio recording, and comprising filtering the spectrogram to create a chromagram, and processing the chromagram to determine that the chromagram depicts a crowd chant.
10. The method of Claim 9, comprising electronically calculating a similarity metric between the chromagram and a chromagram training sample graphically depicting a known chant having a known chant label, determining that the similarity metric exceeds a similarity threshold, and assigning the known chant label to the chromagram.
11. The method of Claim 9, comprising electronically calculating a similarity metric between the chromagram and a chromagram training sample graphically depicting a known chant having a known chant label, determining that the similarity metric does not exceed a similarity threshold, and directing display of a request for review on a reviewer computing device.
12. The method of Claim 11, comprising receiving an input from the reviewer computing device, the input comprising a new chant label, associating the new chant label with the chromagram, and saving the chromagram and new chant label as one of the plurality of training samples.
13. A system, comprising: a storage element operable to store a plurality of training samples, the training samples comprising one or more of: audio files obtained from targeted scenes of audiences of a plurality of prior gatherings; image files obtained from targeted scenes of audiences of a plurality of prior gatherings; and video files obtained from targeted scenes of audiences of a plurality of prior gatherings, wherein each of the audio files, image files, or video files includes a label indicating an audience activity of a prior gatherings; anda processing system operable to implement one or more machine learning modules, to train the machine learning modules with the training samples, and to process, through the trained machine learning modules, at least one of: audio files obtained from targeted scenes of an audience during a gathering; image files obtained from targeted scenes of the audience during the gathering; or video files obtained from targeted scenes of the audience during the gathering, the processing system being further operable to identify an undesirable audience activity during an event in response to processing, and to generate an alert indicating undesirable audience activity during the event.
14. The system of Claim 13, wherein the processing system is further operable to store, in the storage element as additional training samples, at least a portion of audio files, image files, and video files obtained from the targeted scenes of the audience during the gathering.
15. A method, comprising: storing a plurality of training samples, the training samples comprising one or more of: audio files obtained from targeted scenes of a crowd at one or more prior gatherings; image files obtained from targeted scenes of the crowd at the one or more prior gatherings; and video files obtained from targeted scenes of the crowd at the one or more prior gatherings, wherein each of the audio files, image files, or video files includes a label associating the audio file, image file or video file with a recognized content; implementing one or more machine learning modules; training the one or more machine learning modules with the training samples so that the one or more machine learning modules learns to correctly identify recognized content in the one or more audio files, image files or video files and to assign the label corresponding to the recognized content, wherein the recognized content is an unacceptable crowd action; processing at least one of: audio files obtained from targeted scenes of a crowd during a crowd gathering; image files obtained from targeted scenes of the crowd during the crowd gathering; or video files obtained from targeted scenes of the crowd during the crowd gathering; detecting, during processing, the unacceptable crowd action in the at least one of: audio files obtained from targeted scenes of the crowd during the crowd gathering; image files obtained from targeted scenes of the crowd during the crowd gathering; or video files obtained from targeted scenes of the crowd during the crowd gathering; andgenerating an alert indicating unacceptable crowd action during the gathering.
16. The method of Claim 15, comprising creating a new training sample comprising data concerning the detecting of the unacceptable crowd action, and storing the new training sample with the plurality of training samples.
Citation Information
Patent Citations
Geospatial monitoring system providing unsupervised site identification and classification from crowd-sourced mobile data (CSMD) and related methods
US20200334278A1
Real-time detection and alert of mental and physical abuse and maltreatment in the caregiving environment through audio and the environment parameters
US20220108704A1
Real-time crowd measurement and management systems and methods thereof
US20220254161A1
Crowd behavior anomaly detection based on video analysis
WO2021069053A1
Cited By
Method and related device for creating personality skills
CN119849543A
