Computer-implemented method and computer program for generating a thumbnail from a video stream or file, and video surveillance system

The system addresses the challenge of missed detections and improved presentation in video surveillance by generating thumbnails from video streams based on audio analytics, enabling quick identification and response to significant sound events in surveillance areas.

GB2612118BActive Publication Date: 2024-10-02MILESTONE SYSTEMS
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
GB2021015244
Authority / Receiving Office
GB · GB
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-10-22
Publication Date
2024-10-02
Estimated Expiration
2041-10-22

AI Technical Summary

Technical Problem

Current video surveillance systems rely on computer and human vision for identifying objects and events, which can lead to missed detections and require improved methods for presenting relevant information, especially in generating thumbnails for video streams or files, particularly for sound events before they are captured by cameras.

Method used

A computer-implemented method and system that generates thumbnails from video streams or files based on detected sound events, using audio analytics to identify significant sound events and associate them with corresponding video frames, allowing for quick visual representation and review of objects or events of interest.

Benefits of technology

Enables operators to quickly identify and respond to important events in a surveillance area by generating relevant thumbnails for sound events, improving detection and presentation of video data, and allowing for efficient review of multiple thumbnails to determine necessary actions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000001_0000
    Figure 00000001_0000
  • Figure 00000002_0000
    Figure 00000002_0000
  • Figure 00000003_0000
    Figure 00000003_0000
Patent Text Reader

Abstract

A method of generating a thumbnail of a video stream or file of a surveillance area in a video management system, comprises: setting, in the video management system, at least one sound event (e.g. corresponding to an accident) to be detected in at least one audio stream or file corresponding to the video stream or file; detecting, in the audio stream(s) or file(s), at least one point in time at which the sound event occurs; generating the thumbnail based on at least part of the frame(s) of the video stream or file, wherein the frame is selected based on the point in time; and displaying the thumbnail in the video management system. The method may further comprise: determining a distance between a sound source that causes the sound event in the surveillance area and a video capturing device from which the video stream or file originates; and selecting the frame based on the point in time and the distance.
Need to check novelty before this filing date? Find Prior Art

Description

23 10 23 5 Technical Field of the Invention

[0001] The present invention relates to a computer-implemented method and a computer program for generating a thumbnail from a video stream or file, and to a video surveillance system. In particular, the present 10 invention relates to the field of video surveillance where there is a need for processing video streams and / or files showing different objects or events of interest and generating thumbnails thereof. 15 Background of the Invention

[0002] Video surveillance systems generally include a large number of video cameras which record video data upon detection of an object and / or activity in the field-of-view of one or more video cameras. These video cameras 20 are usually configured to stream video data all the time but can alternatively be activated upon detection of an object and / or activity by one or more sensors which operate all the time, and which cover a wider area than that of the video cameras. The recording by a video 25 camera can advantageously be activated when an object and / or activity appears in a target area of the video camera and deactivated the rest of the time. More precisely, the recording by a video camera is usually based on motion detection but can also be based on object 30 recognition, although object recognition is likely to produce a significant number of false positives (i.e. objects incorrectly considered as being other objects). Alternatively, and / or additionally, the recording may be triggered and / or stopped by an operator in a Video 5 Management Software (VMS). Such a way of operating allows to limit the recording of video streams or files to potentially important events and to limit the storage capacity needed for operating the video surveillance system, as compared to recording video streams or files 10 on a permanent basis. 23 10 23

[0003] The recorded video streams or files are generally stored in one or more recording servers and can be accessed by an operator or user who wishes to 15 retrieve video streams or files of an object or activity of interest. The operator may rely on metadata generated by video analytics software and query the metadata with one or more search plugins to find relevant video streams or files. The one or more search plugins are 20 advantageously able to query metadata in different databases, which can be external and / or independent from one another (or have no natural way of sharing information). Such databases may advantageously be created by different participants (e.g. partners or 25 third parties). These different databases may advantageously comprise metadata related to the same video streams or files, e.g. one database may comprise metadata related to colors of vehicles and another database may comprise metadata related to the makes 30 and / or models of vehicles which are detected by one or more video cameras. One database may also comprise metadata related to the weather in the video streams or 23 10 23 files to which it relates. Alternatively, and / or additionally, the operator may also search video streams 5 or files based on the video streams or files themselves (rather than based on metadata), for instance by running motion analysis on the video streams or files.

[0004] The metadata may also be accessed via on-10 demand queries over web resources, or in any other appropriate way.

[0005] The metadata can also advantageously be supplied in the form of a metadata stream in the VMS. It 15 will be appreciated that the VMS may also be a Video Management System, in the form of a physical device or hardware running appropriate software.

[0006] It is therefore usually possible to attach (or 20 combine or associate) metadata from different sources to video streams or files originating from a single video camera, or from different video cameras. In other words, there is in some instances no need for a one-to-one relationship between one piece of metadata and a video 25 camera.

[0007] Many video analytics software modules are available which can analyse video surveillance data and detect specific objects or activity.  These will 30 typically attach metadata to the video stream indicating 23 10 23 a time and position in the frame where the objects or activity have been detected, together with data describing the nature of the detected object or activity. Examples of types of objects which can be detected are 5 people, cars, licence plates etc. Some object recognition algorithms are sophisticated enough to categorise people by age and gender, and metadata can indicate characteristics of detected objects such as colour or type of vehicle or age of a person or gender 10 of a person. Some video analytics modules can also detect activity such as patterns of behaviour such as loitering, and these can also be indicated by metadata included in the video surveillance data and associated with the video data. Once metadata has been included in video 15 surveillance data, it can be used to conduct searches for particular objects or events. For example, a search could be carried out for a black SUV, or a person of a particular age, gender and hair colour, or a vehicle with a particular licence plate. 20

[0008] Video analytics software which generate metadata can be run in various locations. Analytics software can be run on the video camera, on an analytics server, a recording server or at a client device. In a 25 cloud-based system, video analytics may be run in the cloud.

[0009] The above solutions rely on computer and / or human vision for identifying objects and / or activity (or 30 events) of interest in a surveillance area. This poses a risk that objects and / or activity of interest may not be detected, for instance if an algorithm does not detect an object and / or that something is happening. 23 10 23 5

[0010] Furthermore, there is sometimes a need to detect objects and / or events of interest before they are captured by a video camera.

[0011] In addition, there is a need to improve the 10 way the video streams or files are presented (or displayed) to an operator (or user), which show objects or events of interest for the operator, whether they are captured in a live fashion (live mode) or retrieved from a video database (playback mode). There is sometimes 15 also a need to define more relevant thumbnails for these video streams or files.

[0012] The technical solutions presented in the present disclosure and appended claims aim to address at 20 least one of the above problems, in particular by using at least one audio stream or file corresponding to a video stream or file for which a corresponding thumbnail is to be generated. In particular, the invention aims to generate thumbnails which show relevant or important 25 images with regard to sound events of interest that occur in the surveillance area. More in particular, the invention aims to define a point in time (e.g. a timestamp) for generating a thumbnail based on a detection of a sound event in the surveillance area. 30 This allows an operator to get a quick visual representation of an object and / or event of interest for him / her in a surveillance area, based on a sound associated with the object or event of interest. It is also possible to show a large number of such thumbnails, 5 which he / she will be able to review quickly to identify whether he / she should act in relation to any objects and / or events of interest detected in the surveillance area . 23 10 23 10 Summary of the Invention

[0013] The present invention provides a computer-implemented method of generating a thumbnail from a video stream or file according to claim 1. 15

[0014] The invention also provides a computer program for video processing according to claim 21.

[0015] The invention also provides a video surveillance system according to claim 22. 20

[0016] Preferred but optional features of the invention are defined in the dependent claims 2-20. Brief Description of the Drawings 25

[0017] Embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings in which: Figure 1 schematically illustrates a first embodiment of a video surveillance system according to the present 30 invention; 23 10 23 Figure 2 illustrates a graphical user interface allowing a user to search for objects and / or events of interest in a recording server; Figure 3 is a flowchart of a first embodiment of a 5 computer-implemented method of generating a thumbnail from a video stream or file according to the present invention; Figure 4 illustrates a second embodiment of a computer-implemented method of generating a thumbnail from a video 10 stream or file according to the present invention; Figure 5 illustrates a second embodiment of a video surveillance system according to the present invention; and Figures 6 and 7 illustrate example thumbnails generated 15 according to the invention. Detailed Description of the Invention

[0018] Figure 1 shows an example of a first embodiment of a video surveillance system 100 according to the 20 invention. The system 100 comprises a client apparatus 120, a management server 130, a video processing apparatus 140, a thumbnail generating apparatus 150, an indexing server 160, a recording server 170, an event server 180, a plurality of video cameras 110a, 110b, 25   110c and a plurality of microphones 115a, 115b, 115b' connected to the recording server 170. In this embodiment, the microphone 115a captures sounds corresponding to video streams or files captured by the video camera 110a, the microphones 115b, 115b' capture 30 sounds corresponding to the video streams or files 23 10 23 captured by the video camera 110b and the video camera 110c has a built-in microphone. Note that the invention is not limited to this configuration. One or more of the aforementioned servers or apparatuses may also be 5 combined into a single apparatus or server. For instance, the functions of the client apparatus 120, video processing apparatus 140 and thumbnail generating apparatus 150 can be carried out by a single apparatus, for instance the client apparatus 120. Similarly, the 10 functions of the management server 130, indexing server 160, recording server 170 and event server 180 may be carried out by a single server, for instance the recording server 170. The invention is not limited to this configuration. Other servers or apparatuses may be 15 present in the system 100. For example, an archiving server (not illustrated) may be provided for archiving older data stored in the recording server 170 which does not need to be immediately accessed from the recording server 170, but which the user does not desire to delete 20 permanently. A fail-over recording server (not illustrated) may be provided in case a main recording server fails. An analytics server can also run analytics software for image analysis, for example motion or object detection, facial recognition, event detection. The 25 functions of some of these apparatuses or servers may also be spread across different apparatuses or servers. For instance, the functions of the thumbnail generating apparatus 150 may be spread across the client apparatus 120 and the recording server 170. 30 23 10 23

[0019] The plurality of video surveillance cameras 110a, 110b, 110c and microphones 115, 115b, 115b' send video and audio data to the recording server 170. A client apparatus 120 is for instance a fixed terminal 5 which provides an interface via which an operator can view video data live from the video cameras 110a, 110b, 110c, or recorded video data from the recording server 170. The client apparatus 120 preferably runs the VMS. The client apparatus 120 may also be a mobile phone or 10 be in the form of a software program that is used to see and display video streams or files and related thumbnails. The client may also be web-based and run in a browser. 15

[0020] The video cameras 110a, 110b,  110c capture image data and send this to the recording server 170 as a plurality of video data streams. The microphones 115a, 115b, 115b' capture audio data and send this to the recording server 170 as a plurality of audio data 20 streams.

[0021] The recording server 170 stores the video and audio data streams captured by the video cameras 110a, 110b, 110c and microphones 115a, 115b, 115b' as video 25 and audio files, respectively. Alternatively, the video and audio streams could be stored in a combined fashion, e.g. as MPEG (Moving Picture Experts Group) files or combined streams. Video and / or audio data is streamed back from the recording server 170 to the client 30 apparatus 120 depending on which live or recorded streams 23 10 23 (or files) are selected by an operator to be viewed or listened to. Within the context of the present invention, the term 'video stream' should be construed as meaning a continuous flow of video data which can be received in 5 a live mode from a video capturing device or in a playback mode from a database, and the term 'video file' should be construed as meaning a file storing video data regardless of its format. It will be appreciated that the present invention can likewise be used with video 10 streams and / or video files, which may represent or be video sequences (i.e. parts of video streams or files having known start and end times) . It will further be appreciated that a video stream may comprise or consist in a plurality of video files. Typically, a VMS receives 15 video streams from one or more video cameras and / or from one or more databases located in one or more recording servers. Similarly, the term 'audio stream' should be construed as meaning a continuous flow of audio data which can be received in a live mode from an audio 20 capturing device or in a playback mode from a database, and the term 'audio file' should be construed as meaning a file storing audio data regardless of its format. It will be appreciated that the present invention can likewise be used with audio streams and / or audio files, 25 which may represent or be audio sequences (i.e. parts of audio streams or files having known start and end times). It will further be appreciated that an audio stream may comprise or consist in a plurality of audio files. Typically, a VMS receives audio streams from one or more 30 microphones and / or from one or more databases located in one or more recording servers. It will also be appreciated that, within the context of the present invention, a video stream may correspond to an audio stream or an audio file, and that a video file may 5 correspond to an audio stream or an audio file. 23 10 23

[0022] The client apparatus 120 is configured to communicate via a first network / bus 121 with the management server 130, the video processing apparatus 10   140, the thumbnail generating apparatus 150, the indexing server 160 and the recording server 170. The recording server 170 communicates with the cameras 110a, 110b, 110c via a second network / bus 122. Note that the invention is not   limited to these particular 15 networks / busses 121, 122 and that the aforementioned apparatuses and servers may be connected in a different way. For instance, the client apparatus 120, video processing apparatus 140, thumbnail generating apparatus 150, indexing server 160, recording server 170 and event 20 server 180 may be directly connected to the management server 130 which then acts as an interface between them. Alternatively, the management server 130, video processing apparatus 140, thumbnail generating apparatus 150, indexing server 160, recording server 170 and event 25 server 180 may be directly connected to the client apparatus 120 which then acts as an interface between them.

[0023] The management server 130 includes management 30 software for managing information regarding the 23 10 23 configuration of the surveillance / monitoring system 100 such as conditions for alarms, details of attached peripheral devices (hardware), which data streams are recorded in which recording server, etc.. The management 5 server 130 also manages user information such as operator permissions. When a client apparatus 120 is connected to the system, or a user logs in, the management server 130 determines if the user is authorised to view video data. The management server 130 also initiates an 10 initialisation or set-up procedure during which the management server 130 sends configuration data to the client apparatus 120. The configuration data defines the video cameras in the system, and which recording server (if there are multiple recording servers) each camera is 15 connected to. The client apparatus 120 then stores the configuration data in a cache. The configuration data comprises the information necessary for the client apparatus 120 to identify video cameras and obtain data from video cameras and / or recording servers. Note that 20 the invention is not limited to this particular example and that the configuration data may be stored in another apparatus or server of the video surveillance system.

[0024] Object detection / recognition can be applied to 25 the video data by object recognition software. The object recognition software generates metadata (or content metadata) which is associated with the video stream and defines where in a frame an object has been detected. The content metadata may also define what type of object 30 or activity (event) has been detected e.g. person, car, 23 10 23 dog, bicycle, alarm, movement. Other types of video analytics software can also generate content metadata, such as behaviour detection (e.g. loitering detection), licence plate recognition, or facial recognition. 5

[0025] The object detection / recognition software, or any video analytics software that generates metadata, may be run on the client apparatus 120, or on an analytics server, or on the recording server 170, or may 10 run on a video camera itself. It is not essential to the present invention where the metadata is generated. The metadata may be stored in the recording server with the video surveillance data and streamed to the client apparatus with or without its associated video data. 15

[0026] The event server 180 runs audio analytics and detects sounds or sound events of interest in the surveillance area. When the event server 180 detects a predetermined sound event, it advantageously generates 20 data or metadata corresponding to the sound event. The data or metadata can be generated by any appropriate piece of software known to a person skilled in the art. For instance, the data or metadata may be generated by an artificial neural network (ANN) which has been pre-25 trained using supervised learning, i.e. using audio files labelled with ordinary sounds (which are not of interest) and sounds corresponding to the predetermined sound events of interest to be detected. 23 10 23

[0027] The predetermined sound event to be detected may for instance correspond to a predetermined sound level or a change in a sound level in the audio stream or file. For instance, if we know that a sound level of 5   55 decibels (e.g. humans talking) is supposed to occur but suddenly drops below this level, something could be wrong, and the operator may want to be notified. The predetermined sound event may also correspond to a change (or variation) in a sound level in the audio stream or 10 file, e.g. an increase by 30% of the sound level. Thus, the overall sound level or a difference to a noise floor may be a good indicator of an emergency.

[0028] It is also known that sound levels usually 15 drop quickly as the distance from the sound source increases, in particular due to sound absorption by objects in the environment. Thus, it may be advantageous to also consider a distance from the sound source (for instance a distance between the sound source and a video 20 capturing device associated with the audio stream or file) when considering a predetermined sound event corresponding to a predetermined sound level or a change in a sound level in the audio stream or file. 25

[0029] The predetermined sound event to be detected may also correspond to a predetermined rise time or fall time of a sound in the audio stream or file. For instance, a short rise time within a sound in the audio stream or file may be a good indicator of an emergency. 30 10 23 10 23 15 20 25 30

[0030] The predetermined sound event to be detected may also correspond to a type of sound, e.g. a sound of a car crash. Other examples will be given below with reference to the lists 210 and 250 in Figure 2.

[0031] The event server 180 preferably notifies the operator of the sound event through the client apparatus 120. According to the invention, this notification can be in the form of a thumbnail of a video stream or file corresponding to the audio stream or file based on which the event server 180 has detected the predetermined sound event. This notification is displayed in the video management system. It will be appreciated that the client apparatus 120 may handle such a notification in any appropriate way. For instance, the notification may be an alert sent to the operator, to prompt him / her to visualise the thumbnail. Indeed, when a sound event is detected in a live mode, it may be advantageous in some cases not to distract the operator with one or more thumbnails. For instance, when an operator monitors several live video streams, he / she may prefer or need to continue watching the live video streams for a certain period of time prior to reviewing the thumbnail(s) .

[0032] A computer-implemented method of generating such a thumbnail will be described later with reference to Figure 3.

[0033] Alternatively, or additionally, the generated data, video and / or audio metadata may be stored in one or more servers. Preferably, the thumbnails are generated and cached in the client apparatus 120 and erased after use or after a predetermined time, or when the client's cache is erased. The said one or more 5 servers may store, for the sound event which occurs, information regarding a type of the sound event and a time at which the said sound event is detected. 23 10 23

[0034] The video surveillance system of Figure 1 is 10 only an example and other architectures are possible without departing from the present invention. For example, the system of Figure 1 is an "on premises" system, but the present invention can also be implemented in a cloud-based system. In a cloud-based system, the 15 video cameras stream data to the cloud, and at least the recording server 170 is in the cloud. Additionally, video analytics and / or audio analytics may be carried out in the cloud. The client apparatus requests the video data to be viewed by the user from the cloud. 20

[0035] The client apparatus 120 can alternatively and for instance acquire the metadata from the indexing server 160 or from the recording server 170. Alternatively, the video data acquired by the client 25 apparatus 120 may include the video, audio and / or event metadata generated by analytics carried out elsewhere (e.g. at an analytics server, recording server or video camera).

[0036] There are further alternative ways in which the invention could be implemented. For example, the search of video streams or files could be carried out at the indexing server 160 or recording server 170, with 5 the search query being sent from the client apparatus 120 . 23 10 23

[0037] In the present example, the generated metadata is indexed in an organized manner on an indexing server 10   160 which can be queried by the user via the client apparatus 120, for instance via a graphical user interface (GUI) such as the one shown in Figure 2.

[0038] The GUI of Figure 2 comprises two search 15 plugins (SPs) 200, 240, that can search for specific kinds of content in audio streams or files stored in the recording server 170 and return specific video streams or files as search results matching different search queries. Note that the invention is not limited to this 20 and that the SPs could search for content in combined video and audio streams or files. In the present example the first search plugin 200 can search for predetermined sound events 210 associated with vehicles, such as a car start up sound, a car crash sound, a car explosion sound, 25 a car horn beeping sound, and a car alarm sound. The first search plugin 210 may allow a user to limit their search to a particular date 220 and time window 230. The second search plugin 240 can search for predetermined sound events 250 associated with people, such as a scream 30 sound, a crying sound, a yelling sound or a sound of a 23 10 23 person using manual tools (such as a drill). Similarly, the second search plugin 240 may allow a user to limit their search to a particular date 260 and time window 270 . 5

[0039] The present invention is however not limited to this example and can involve one search plugin, more than two search plugins and / or different means for searching in audio streams or files (and / or combined 10 video and audio streams or files, combined video and audio streams and / or combined video and audio files).

[0040] The user may search different sound events of the same type, or a combination of different types of 15 sound events, provided the user defines at least two different search criteria. For instance, the user may search for sound events involving, at the same time, vehicles and people. 20

[0041] Figure 3 illustrates a flow chart of a computer-implemented method of generating a thumbnail of a video stream or file of a surveillance area in a video management system, which essentially comprises four steps . 25

[0042] In a first step S300, an operator will set, in the video management system, at least one sound event to be detected in at least one audio stream or file corresponding to the video stream or file. The step 300 30 for instance consists in selecting one or more 23 10 23 predetermined sound events in one or more lists of sound events, such as selecting "car alarm" and "crying" in the sound event lists 210,   250 of Figure 2. Alternatively, at least one predetermined sound event to 5 be detected may be set by default in the VMS or set by an administrator of the VMS.

[0043] In a second step S310, one or more computers will detect, in the said at least one audio stream or 10 file, at least one point in time at which the said at least one sound event occurs. In other words, the one or more computers which implement the method will wait for a relevant sound (predetermined sound event) to occur. This detection can be carried out in a distributed 15 manner, for instance, using the event server 180 and indexing server 160 as described above. This detection can be carried out in real time or in a delayed manner. If no relevant sound is detected (e.g. a bird sound is detected but this does not correspond to any one of the 20 predetermined sound events of interest for the operator) , the one or more computers repeat the step S310 until a relevant sound is detected.

[0044] In a third step S320, the said one or more 25 computers will generate a thumbnail based on at least part of at least one frame of the said video stream or file, wherein the said frame is selected based on the said point in time. This step can, for instance, be carried out by the thumbnail generating apparatus 150 30 described above. For instance, the thumbnail may 23 10 23 correspond to the full frame of the video stream or file recorded at the said point in time. Alternatively, the thumbnail may correspond to a part of the frame of the video stream or file recorded at the said point in time. 5 According to another alternative, the frame or part thereof may have been recorded at another point in time (a revised point in time), calculated based on the said point time, as will be described more in detail below. Accordingly, the 'based on the said point in time' 10 wording should not be construed to mean 'corresponding to the said point in time' but rather to mean that the frame is selected using the said point in time, i.e. either to directly select a frame or as a starting point to select a frame. It will be appreciated that this 15 revised point in time comes on top of any advance / delay that may be used to synchronise the audio stream or file with the video stream or file, if need be.

[0045] Finally, in a fourth step S330, the one or 20 more computers will display the said thumbnail in the video management system.

[0046] It will be appreciated that the steps S310 to S330 may be carried out in a live fashion, as the sound 25 event occurs, or in a delayed manner following a search by an operator using the GUI of Figure 2. Alternatively, the step S310 may be carried out in a live fashion and the steps S320 and S330 may be carried out in a delayed manner. According to another alternative, the steps S310 30 and S320 may be carried out in a live fashion and the 23 10 23 step S330 may be carried out in a delayed manner. In particular, the thumbnail may be generated following a search or request from an operator using the GUI of Figure 2. This corresponds to a playback mode, where the 5 operator wishes to see thumbnails for video streams or files recorded in the past. It will be appreciated that thumbnails can be generated in live mode and / or when doing playback, provided that an audio stream or file and a corresponding video stream or file have been 10 recorded at the same time.

[0047] The VMS and / or recording server 170 may also be configured to allow an administrator to access a management program allowing to set whether to save and / or 15 allowing to delete all the video streams or files from a video capturing device and / or all the audio streams or files from an audio capturing device in the recording server. The operator and the administrator are typically not given the choice to delete individual video and / or 20 audio streams or files, for security reasons. The VMS and / or recording server 170 may also be configured not to save those video and audio streams or files dismissed by the operator in the first place. The VMS and / or recording server 170 may also be configured to allow an 25 operator to delete other pieces of data and / or metadata like video and / or audio bookmarks.

[0048] It will also be appreciated that some or preferably all of the steps S300 to S330 may be carried 30 out in the VMS .

[0049] When it is possible to precisely locate the source of the sound event, it may be advantageous to generate the thumbnail in step S330 based on a part of one frame of the video stream or file, which corresponds 5 to a zoomed part around the centre of the said frame, e.g. by applying a 5x or lOx zoom around the centre of the frame. It will be appreciated however that it is also possible to apply such a zoom when it is not possible to precisely locate the source of the sound 10 event. 23 10 23

[0050] A second embodiment of the computer-implemented method of generating a thumbnail will now be described with reference to Figure 4. Note that common 15 steps between the methods of Figures 3 and 4 are given the same reference numerals and a description thereof will be omitted.

[0051] In an optional step S315, which takes place 20 between the steps S310 and S320, the one or more computers which implement the second embodiment of the method according to the present invention determine a distance between a sound source that causes the sound event in the surveillance area and a video capturing 25 device from which the said video stream or file originates. It will be appreciated that the step S315 may be carried out each time that a thumbnail is to be generated, as modern CPUs can determine such a distance between a sound source and a video capturing device in 30 virtually no time. 23 10 23

[0052] The 'video capture device' may comprise one or more video cameras . In the event that the video capturing device comprises several video cameras generating the 5 said video stream or file (e.g. several video cameras generating a panoramic video stream or file), it is possible to determine the distance in step S315 by substantially determining a distance between the sound source and a geometric median of the different video 10 cameras (i.e. a fictious point representing a geometric centre of the different video cameras capturing the video stream or file).

[0053] The determination in step S315 can be carried 15 out in a number of different ways. For instance, this distance may be manually input. If no precise distance can be determined, an average distance may be input corresponding to an average distance between different possible sound sources in the surveillance area and the 20 video capturing devices from which the video stream or file originates. Using an average distance is one of the best options when only one audio capturing device (e.g. microphone) is used, when only one audio capturing device has captured the predetermined sound event in the 25 surveillance area, and / or when only one audio capturing device is associated to a video capturing device from which the video stream or file originates.

[0054] Alternatively, determining the said distance 30 between the sound source that causes the sound event in 23 10 23 the surveillance area and the video capturing device from which the said video stream or file originates comprises determining a focal distance between the video capturing device and a point in the surveillance area 5 where the video capturing device focuses on and setting the said distance to that focal distance or a corresponding value thereof. This is another one of the best options when only one audio capturing device (e.g. microphone) is used, when only one audio capturing device 10 has captured the predetermined sound event in the surveillance area, and / or when only one audio capturing device is associated to a video capturing device from which the video stream or file originates. 15

[0055] As another alternative, a distance sensor may be used to detect where something moves or changes in the surveillance area and determine a distance between this moving / changing object and the video capturing device. This method cannot provide accurate results in 20 all cases because different things could change in the surveillance area and the sound could originate from something not moving / changing in the surveillance area.

[0056] According to a preferred alternative, passive 25 acoustic location is used to determine the said distance. This can be achieved by techniques known to the skilled person. For instance, two or more, preferably three or more audio capturing devices (e.g. microphones) located in different locations are used to triangulate a location 30 of the sound source. This method uses the time the sound 23 10 23 arrives at each audio capturing device and the position of each audio capturing device, which can be determined using GPS (i.e. a GPS position of each audio capturing device will be saved in one or more of the computers 5 which implement the method, or in one or more servers and accessed by the one or more of the computers which implement the method). Before sounds are received at the different audio capturing devices, the distances between the different audio capturing devices are determined and 10 used for determining a distance between the sound source that causes the sound event and the video capturing device .

[0057] The determination can be improved by 15 considering factors which influence passive acoustic localization, such as whether there is a line of sight between the sound source and the video capturing device, the medium in which sound and light travel, elements and surfaces in the surveillance area (or environment) 20 likely to reverberate sound, etc. Reverberation typically occurs in surveillance areas like carparks, airports, shopping malls, office hallways, etc. Thus, the determination can be improved by calibrating or tuning the VMS to the surveillance area, or more 25 generally speaking by knowing the surveillance area, and for instance by taking into account one or more factors which affect sound propagation in the surveillance area.

[0058] It is thus possible to consider a distance 30 between a sound source that causes the sound event in 23 10 23 the surveillance area and a video capturing device from which a video stream or file originates, to select a frame of the video stream or file to be used for generating the thumbnail. Knowing that light travels 5 faster (around 299 792 458 m / s in vacuum) than sound (around 343 m / s in air), the video capturing device will capture an event almost instantly while the audio capturing device will capture a sound related to the event with a delay (i.e. considering it will take some 10 time for sound to arrive at the audio capturing device) . (More relevant values for the speeds of light and sound may be chosen depending on a type of medium in which the audio capturing device and video capturing device are located, as explained above.) For instance, if the sound 15 source is very far from the video capturing device, the predetermined sound event will be captured with a greater delay than when the sound source is located closer to the video capturing device. 20

[0059] Thus, it may be advantageous to select a frame for generating the thumbnail based on the distance between the sound source and the video capturing device. For instance, it may be advantageous to select a frame of the video stream or file recorded at a time before 25 the sound event is detected or alternatively recorded a number of frames before the sound event is detected. As a more precise example, when the sound source is very far from the video capturing device, it is possible to select a frame of the video stream or file recorded 300 30 milliseconds before the sound event is detected or 10 23 10 23 15 20 alternatively recorded 3 frames before the sound event is detected. Conversely, when the sound source is closer, it is possible to select a frame of the video stream or file recorded 100 milliseconds before the said point in time or 1 frame before the said point in time. The particular numbers given above (300ms, 100ms, 3 frames and 1 frame) are merely examples and the invention is not limited thereto. This will allow to generate a thumbnail which shows the event beginning to occur, thus a relevant thumbnail for the operator. Alternatively, it is also possible to select a frame of the video stream or file recorded at a time after (e.g. 300 milliseconds after) the sound event is detected or alternatively recorded a number of frames after (e.g. 3 frames after) the sound event is detected. For instance, selecting a frame from after the said point in time will allow to generate a thumbnail which better shows an accident scene after the fact, rather than when the accident begins to occur. In other words, the frame (or part thereof) for generating the thumbnail may be selected with a certain advance / delay relative to the point in time at which the predetermined sound event is detected, i.e. based on the said point in time and the said distance between the sound source and the video capturing device. 25 30

[0060] It may also be advantageous to consider the sound event itself or a type thereof for determining which frame to select. For instance, a rise or fall time, length, pitch, or loudness of the detected sound could be used for determining which frame to select, e.g. in 23 10 23 the event of an unusually loud sound, the one or more computers could select a frame corresponding to the said point in time as it is not known what triggered the sound. Conversely, in the event of a sound event of a 5 known type, the one or more computers could select a frame corresponding to a predetermined advance / delay (or alternatively number of frames) relative to the said point in time. For instance and as explained above, in the event of an accident, the one or more computers could 10 select a frame captured after the fact. Conversely, in some situations it may be advantageous to select a frame captured before the said point in time.

[0061] It may also be advantageous to associate sound 15 events which are detected in the surveillance area with known visual metadata. For instance, if a predetermined sound event corresponding to a squealing sound of tires is detected in an audio stream or file, a piece of metadata can be coupled to the corresponding video stream 20 or file to indicate a moving car. This piece of metadata may later be searched via one or more of the above-mentioned search plugins.

[0062] It will be appreciated that the audio 25 capturing device and video capturing device may be located far away from each other. For instance, they can be separated by several kilometres, thanks to the high resolutions (and / or upscaled resolutions) provided by modern video cameras. For instance, a video camera may 30 be 5 or 10 kilometres away from a microphone (virtually) attached to it in the VMS. It will also be appreciated that these millisecond advances / delays (or alternatively number of frames) can dramatically change the content of a thumbnail for events which occurs at high speed (such 5 as car crashes). 23 10 23

[0063] Accordingly, in an optional step S316 which follows the optional step S315, it is possible to apply a time correction value to the said point in time, based 10 on the distance between the sound source that causes the sound event in the surveillance area and the video capturing device from which the said video stream or file originates, based on the sound event itself (e.g. its length, pitch or loudness) and / or based on a type 15 thereof (as explained above).

[0064] Preferably, the time correction value is calculated based on the following formula: time correction value = base value for sound event — 20    diStanCe °f S°md S°UrCe fr°m Vide° CaptUTin3 speed of sound wherein 'base value for sound event' corresponds to a predetermined value associated with the sound event or a type thereof. This base value can be set by a user, for instance manually input in the VMS; 25 'distance of sound source from video capturing device' corresponds to the determined distance between the sound source that causes the sound event in the surveillance area and the video capturing device from which the said video stream or file originates; and 'speed of sound' corresponds to a speed at which sound travels from the said sound source towards the said video capturing device. 10 23 10 23 15 20 30

[0065] For instance, when the sound event corresponds to a car crash, and it has been determined that the video capturing device is positioned 100 meters away from the car crash (calculated as explained above), the based value for such a sound event (car crash) can be set to 300 milliseconds (or 0.3 second) so the operator is able to determine how serious the crash is. Using the speed of sound in the air, the calculated time correction value is equal to 0.3 second - (100 meters / 343 meters / second) = 8.45 milliseconds (or 10 milliseconds for the sake of simplification).

[0066] A revised point in time can then be calculated using the following formula: revised point in time = point in time + time correction value. For instance, referring to the car crash example above, and assuming that the car crash sound was detected at 11:00:00am, the revised point in time will be 11:00:00am + 10 milliseconds = 11:00:00:010am. It is thus advantageous to display a thumbnail based on one frame (or part thereof) captured at 11:00:00:010am.

[0067] In some instances, and in particular when the 'base value for sound event' is set to 0, the said revised point in time may be before the said point in time, because the time correction value is a negative number. Accordingly, the 'base value for sound event' may be set such that the frame selected for generating the thumbnail is selected before or after the point in time at which the sound even is detected. The choice of whether to select a frame before (negative time correction value) or after (positive time correction value) the said point in time will depend on the needs of the operator or of an administrator or will depend on a particular use case / scenario. 10 23 10 23 15 20

[0068] It may further be advantageous to generate two thumbnails, one corresponding for instance to the revised point in time, and the other one corresponding to the said point in time and / or to another revised point in time. For instance, in the event of an accident, and using the above car crash example, it may be advantageous to generate a thumbnail corresponding to the moment the car crash is detected (at 11:00:00am), which corresponds to the said point in time, and another thumbnail corresponding to the revised point in time (at 11:00:00:010am) . In this way, the operator is able to determine the importance of the event by comparing the two thumbnails. The two thumbnails may be displayed in any appropriate way, for instance one after the other, as two parts of a split image or overlaid such that the operator is able to switch between them with his / her cursor .

[0069] The thumbnail(s) may advantageously include one or more bounding boxes which highlight the sound source(s) or part(s) thereof. 23 10 23 5

[0070] Next, in an optional step S317, the one or more computers may advantageously generate a notification to notify the operator that a thumbnail has been generated or can be generated, and displayed (step S320) . This notification can be an alert sent to the 10 operator as described above, to prompt him / her to visualise the thumbnail, as explained above. In this way, some or all of the generated thumbnails could be made available to the operator in a separate thumbnail library (or separate screen in the VMS) and the 15 notification (s) could prompt the operator to check the thumbnail library. The step S317 is more advantageously implemented in a live mode rather than in a playback mode. It will be appreciated that the alert can be of any appropriate kind, for instance an audio or visual 20 alert. It will also be appreciated that the step S317 is independent from the steps S315 and S316 and may be implemented as such in the flowchart of Figure 3. It will further be appreciated that the steps S317 and S320 may be combined into a single step, wherein the 25 notification is in the form of a thumbnail, as explained above .

[0071] The method of Figure 4 then proceeds to steps S320 and S330, described above. 30 10 23 10 23 15 20 25 30

[0072] Figure 5 illustrates a second embodiment of a video surveillance system according to the present invention. This second embodiment mainly differs from the first embodiment of a video surveillance system of Figure 1 by the fact that the client apparatus 120 embodies the functions of the management server 130, the video processing apparatus 140 and the thumbnail generating apparatus 150, and the recording server embodies the functions of the indexing server 160. Moreover, the system includes only one video capturing device (video camera) and three audio capturing devices (microphones 1-3) attached to the video capturing device .

[0073] Within the context of the present invention, the 'attached to' wording should be construed as meaning that an audio capturing devices captures sounds propagating in the surveillance area and more precisely in a field-of-view of a video capturing device to which it is attached, thus relates or corresponds to that video capturing device by capturing sounds related to its field-of-view. In other words, the 'attached to' wording should not be construed as meaning that there necessarily is a physical link or connection between the audio and video capturing devices. The relationship between the audio capturing device(s) and the corresponding video capturing device (s) may be determined and seen in the VMS .

[0074] Each audio capturing device is preferably attached to a single video capturing device (video camera) to facilitate identification of relevant video streams or files corresponding to sound events which occurs in the surveillance area. However, it is advantageous to attach several audio capturing devices 5 to each video capturing device. 23 10 23

[0075] Alternatively, or additionally, it may be advantageous if the at least one audio capturing device is disposed such that it can capture sounds outside of 10 a field-of-view of a corresponding video capturing device. This allows, for instance, the operator to detect and respond to sound events before they are visible in the video stream or file and / or on the generated thumbnail. 15

[0076] Alternatively, or additionally, it may be advantageous to use a motion detection algorithm for detecting at least one event of interest in the surveillance area in addition to the at least one audio 20 capturing device for detecting the said sound event. This allows, for instance, to determine or better determine the time it takes for sound to travel to the video capturing device. 25

[0077] When several audio capturing devices are used in the surveillance area, it may be advantageous when a sound arrives at one of the different audio capturing devices, to wait for a predetermined time (e.g. 500 milliseconds) before checking whether that sound has 30 also arrived at another one of the said different audio 23 10 23 capturing devices and after that, calculating the said distance between the sound source that causes the sound event in the surveillance area and the video capturing device from which the said video stream or file 5 originates. This is because the sound will arrive at different audio capturing devices at different times and it may efficient to triangulate a location of the sound source as described above. Note again that the invention is not limited to the above example of 500ms. 10

[0078] The computer-implemented method as defined in any one of the above embodiments and examples may be implemented in the form of a computer program or VMS. 15

[0079] In the surveillance system of Figure 5, the recording server 170 includes two databases, namely a video database 170a and an audio database 170b. The event server 180 is configured to parse the audio streams or files stored in the audio database 170b to search for 20 predetermined sound events. It will be appreciated that the invention is not limited to this configuration and that the event server 180 may be configured to detect predetermined sound events in audio streams or files before they are even recorded in the audio database 170b. 25 In other words, the event server 180 monitors the sound events that take place. It will also be appreciated that the recording server may record video streams or files including audio streams or files, e.g. video streams or files including audio data, such as those generated by 30 the video camera with an integrated microphone 110c. It 23 10 23 will be appreciated that video streams or files including audio streams or files can also be generated by a video capturing device and an audio capturing device which are not part of the same device, i.e. which are separate 5 devices as the video camera 110a and the microphone 115a. The recording server 170 may also record video and audio streams or files in a single database, or in more than two databases. In the example embodiment of Figure 5, the camera 110 has three microphones 115, 115' , 115' ’ 10 virtually attached to it in the VMS. It will be appreciated that the invention is not limited to this specific configuration.

[0080] Figures 6 and 7 are examples of thumbnails 15 generated according to the present invention. The thumbnail 600 is generated upon request by an operator using the search plugin 200 of Figure 2. The thumbnail 600 shows a car whose car alarm has gone off and incidentally, a suspect walking nearby. The thumbnail 20   600 shows a sign indicative of the sound event or a type thereof, e.g. here a bell sign indicative of an alarm sound event. The thumbnail 700 shows a crying child with a balloon in a shopping mall, which was generated upon request by an operator using the search plugin 240 of 25 Figure 2. The thumbnail 700 shows a sign indicative of the sound event or a type thereof, e.g. here a sign indicative of a person event. The size, position and choice of sign is not limited to the above examples. For instance, the sign may be positioned next to the 30 thumbnail rather than actually on it. 23 10 23

[0081] The VMS may be configured such that the audio stream or file and / or the video stream or file (or one or more parts thereof) corresponding to the thumbnail 5 are played when the operator selects or moves his / her cursor on the thumbnail.

[0082] The thumbnails may also be colour-coded, to allow an operator to observe a large number of thumbnails 10 and guickly identify those of particular interest for him / her. Such a colour coding may be configured by the operator in the VMS.

[0083] Different thumbnails may be displayed in 15 different sizes, based on their importance for the operator (which can be set in the VMS).

[0084] While the present invention has been described with reference to various embodiments and examples, it 20 is to be understood that the invention is not limited to the disclosed embodiments and examples. The present invention can be implemented in various forms without departing from the principal features of the present invention as defined by the claims. 25

Claims

23 10 231. A computer-implemented method of generating a thumbnail of a video stream or file of a surveillance area in a video management system, comprising:5        setting, in the video management system, at leastone sound event to be detected in at least one audio stream or file corresponding to the video stream or file;detecting, in the said at least one audio stream or file, at least one point in time at which the said at10 least one sound event occurs;determining a distance between a sound source that causes the sound event in the surveillance area and a video capturing device from which the said video stream or file originates; and15        selecting the said frame based on the said point intime and the said distance, by using the said distance to calculate a time correction value and applying the said time correction value to the said point in time to calculate a revised point in time; and20        generating the thumbnail based on at least part ofat least one frame of the said video stream or file, wherein the said frame is selected based on the said revised point in time; anddisplaying the said thumbnail in the video 25 management system.

2. A computer-implemented method according to the preceding claim, whereinselecting the said frame is based on the said point 30 in time, on the said distance, and on a length, pitch or23 10 23loudness of the said sound event or a type of the sound event.

3. A computer-implemented method according to claim 2, 5 wherein the time correction value is calculated based onthe following formula:time correction value = base value for sound event —distance of sound source from video capturing device speed of soundwherein 'base value for sound event' corresponds to a 10 predetermined value associated with a length, pitch or loudness of the sound event or a type of the sound event; 'distance of sound source from video capturing device' corresponds to the determined distance; and'speed of sound' corresponds to a speed at which sound 15 travels from the said sound source towards the said video capturing device.

4. A computer-implemented method according to claim 3, wherein the said revised point in time is calculated 20 based on the following formula:revised point in time = point in time + time correction value.

5. A computer-implemented method according to the preceding claim, wherein the said base value is set by 25 a user.

6. A computer-implemented method according to any one of claims 3 to 5, wherein when the sound event corresponds to a predetermined sound level in the said 30 audio stream or file, the base value is set to 0.23 10 237. A computer-implemented method according to any one of claims 1 to 5, further comprising setting the base value such that when the sound event to be detected in 5 the video management system corresponds to an accident in the surveillance area, the time correction value is a positive number.

8. A computer-implemented method according to any one 10 of claims 1 to 7, wherein determining the said distance comprises determining a focal distance between the video capturing device and a point in the surveillance area where the video capturing device focuses on and setting the said distance to that focal distance.

159. A computer-implemented method according to any one of claims 1 to 7, wherein determining the said distance comprises using passive acoustic location.20   10. A computer-implemented method according to thepreceding claim, wherein determining the said distance comprises triangulating a location of the said sound source using different audio capturing devices.25   11. A computer-implemented method according to claim10, wherein when a sound arrives at one of the different audio capturing devices, waiting for a predetermined time before checking whether that sound has arrived at another one of the said different audio capturing 30 devices, and if so calculating the said distance.23 10 2312. A computer-implemented method according to claim 9, wherein determining the said distance comprises using a distance sensor configured to measure a distance between a moving object in the surveillance area that causes the 5 said sound event and the said at least one video capturing device.

13. A computer-implemented method according to any of the previous claims, further comprising storing in one 10 or more servers, for the sound event which occurs, a type of the sound event, a time at which the said sound event is detected, and the video stream or file.

14. A computer-implemented method according to claim 15   13, further comprising calculating the said distanceafter a request from a user for obtaining the thumbnail.

15. A computer-implemented method according to any one of the preceding claims, wherein the said sound event 20 corresponds to a predetermined sound level or a change in a sound level in the audio stream or file.

16. A computer-implemented method according to any one of claims 1 to 14, wherein the said sound event 25 corresponds to a type of sound.

17. A computer-implemented method according to any one of the preceding claims, further comprising displaying in or next to the thumbnail a sign indicative of the 30 sound event or a type thereof.23 10 2318. A computer-implemented method according to any one of the previous claims, wherein the said audio stream or file is captured by at least one audio capturing device and wherein the said video stream or file is captured by 5 a video camera, and wherein the said audio capturing device is disposed for capturing sounds outside of a field-of-view of the said video camera.

19. A computer-implemented method according to any one 10 of the previous claims, further comprising using a motion detection algorithm for detecting at least one event of interest in the surveillance area and at least one audio capturing device for detecting the said sound event.15   20. A computer-implemented method according to any oneof the previous claims, wherein the said audio stream or file is captured by at least one audio capturing device and wherein the said video stream or file is captured by a video camera, and wherein the said at least one audio 20 capturing device is attached to the said video camera in the video management system and not attached to other video cameras in the video management system.

21. A computer program which, when run on a computer, 25 causes the computer to carry out the method according to any one of the preceding claims.

22. A video surveillance system comprising a video management system, an apparatus configured to generate 30 a thumbnail of a video stream or file of a surveillance area in the video management system, a plurality of video23 10 23cameras and at least one audio capturing device, the apparatus comprising one or more processors configured to :set, in the video management system, at least one 5 sound event to be detected in at least one audio stream or file corresponding to the video stream or file;detect, in the said at least one audio stream or file, at least one point in time at which the said at least one sound event occurs;10        determine a distance between a sound source thatcauses the sound event in the surveillance area and a video capturing device from which the said video stream or file originates; andselect the said frame based on the said point in 15 time and the said distance, by using the said distance to calculate a time correction value and applying the said time correction value to the said point in time to calculate a revised point in time; andgenerate a thumbnail based on at least part of at 20 least one frame of the said video stream or file, wherein the said frame is selected based on the said revised point in time; anddisplay the said thumbnail in the video management system.

Citation Information

Patent Citations

  • Monitoring method

    US20150106721A1

  • Timeline-Video Relationship Processing for Alert Events

    US20180115788A1

  • Systems for reviewing sporting activities and events

    WO2016007988A1

  • Video search device and network surveillance camera system including same

    WO2021167374A1