METHOD AND APPARATUS FOR CLASSIFYING VIDEO DATA
20210250543 · 2021-08-12
Assignee
Inventors
Cpc classification
G06V20/41
PHYSICS
G08B13/19645
PHYSICS
G06V20/52
PHYSICS
G08B13/19697
PHYSICS
H04L67/12
ELECTRICITY
G08B13/19671
PHYSICS
International classification
H04N5/92
ELECTRICITY
Abstract
A method of classifying video data representing activity within a space to be monitored. A method comprises storing video data obtained from a camera configured to monitor the space. Sensor data indicative of a condition occurring within the space is obtained, and a plurality of programme elements are defined within the video data. Each programme element has an associated classification code, and each classification code is selected using the sensor data.
Claims
1. A system comprising: a storage device; and a controller configured to: receive video data of a monitored space, wherein the video data comprises a plurality of programme elements, each programme element being associated with a classification code representing a level of activity in the monitored space, wherein the level of activity comprises at least a sound level within the monitored space; and store each programme element of the plurality of programme elements in the storage device in response to, at least, the classification code corresponding to the programme element meeting a criteria.
2. The system of claim 1, wherein the controller is configured to compare, for each programme element of the plurality of programme elements, the classification code corresponding to the programme element with the criteria.
3. The system of claim 1, wherein the criteria comprises a predetermined level of activity.
4. The system of claim 1, wherein the classification code represents a calculated average level of activity within a time period of the programme element.
5. The system of claim 1, wherein each classification code is based on a plurality of samples of sensor data obtained by a sensor during a time period of capture of the programme element.
6. The system of claim 1, wherein each classification code represents a value on a scale extending from a low value to a high value, wherein the scale represents a relative level of activity within the monitored space.
7. The system of claim 1, wherein each classification code represents a value of a non-binary monitored activity scale extending from a low activity value to a high activity value.
8. The system of claim 1, wherein the system comprises a buffer configured to store the received video data.
9. The system of claim 1, wherein the system comprises a plurality of buffers configured to store different received programme elements.
10. The system of claim 1, wherein the controller is further configured to: receive the video data from a camera; receive sensor data from a sensor; define the plurality of programme elements in the video data; and associate the classification code with each programme element based on the sensor data.
11. A method implemented by a controller in communication with a storage device, the method comprising: receiving video data of a monitored space, wherein the video data comprises a plurality of programme elements, each programme element being associated with a classification code representing a level of activity in the monitored space, wherein the level of activity comprises at least a sound level within the monitored space; and storing each programme element of the plurality of programme elements in the storage device in response to, at least, the classification code corresponding to the programme element meeting a criteria.
12. The method of claim 11, wherein the method further comprises comparing, for each programme element of the plurality of programme elements, the classification code corresponding to the programme element with the criteria.
13. The method of claim 11, wherein the criteria comprises a predetermined level of activity.
14. The method of claim 11, wherein the classification code represents a calculated average level of activity within a time period of the programme element.
15. The method of claim 11, wherein each classification code is based on a plurality of samples of sensor data obtained by a sensor during a time period of capture of the programme element.
16. The method of claim 11, wherein each classification code represents a value on a scale extending from a low value to a high value, wherein the scale represents a relative level of activity within the monitored space.
17. The method of claim 11, wherein each classification code represents a value of a non-binary monitored activity scale extending from a low activity value to a high activity value.
18. The method of claim 11, wherein the method further comprises storing the received video data in a buffer.
19. The method of claim 11, wherein the method further comprises storing different received programme elements in a plurality of buffers.
20. A system comprising: a means for receiving video data of a monitored space, wherein the video data comprises a plurality of programme elements, each programme element being associated with a classification code representing a level of activity in the monitored space, wherein the level of activity comprises at least a sound level within the monitored space; and a means for storing each programme element of the plurality of programme elements in response to, at least, the classification code corresponding to the programme element meeting a criteria.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
DETAILED DESCRIPTION
[0027] Referring to
[0028] Referring to
[0029] The classification data 6 is used to identify programme elements within the video data 5 and classifies programme elements in terms of their level of activity within an area of being monitored by the video camera 2. Thus, an operator viewing the video data 5 can use the classification data 6 to identify periods of relatively high activity. This has particular value in a security system in which a security operative can quickly locate parts of the video data which perhaps relate to suspicious activity.
[0030] Referring to
[0031] In the described embodiment of the present invention, the sensor 3 outputs a binary value. That is, the sensor 3 outputs a ‘1’ if activity is sensed, and ‘0’ if no activity is sensed. The binary values obtained and stored at step S6 are summed at step S9. At step S10, the result of the summation of step S9 is used to determine a classification code for a programme element beginning at time t. The summation will take a value in the range 0 to N. Thus, if N+1 different classification codes are defined, the result of the summation can itself be the classification code. However, if a more limited scale is desired it will be readily apparent how the value in the range 0 to N+1 can be used to determine a classification code at step S10. The classification code determined at step S10 is stored as part of classification data 6 at step S11. The classification code can suitably be stored as part of a tuple of the form:
(C,N,t,t.sub.s)
Where:
[0032] C is a classification code determined as described above;
[0033] N is a number of samples of sensor data obtained from the sensor 3 used to compute that classification code;
[0034] t is a time point within the video data 5 at which programme element classified using the same classification code begins; and
[0035] t.sub.s is a sample time (i.e. a time interval between the capture of subsequent samples of the N sample). Using data within the tuple set out above it will be appreciated that a unique portion of the video data 5 is identified with which the classification code C is associated. That portion begins at time t and ends at time (t+N×t.sub.s).
[0036] At step S12 the time parameter is updated according to an equation:
Time=(t+N×t.sub.s)+t.sub.s
[0037] Where the parameters take the values set out above.
[0038] Processing then returns to step S5 where i is set to 0, and a classification code for a programme element beginning at time [t+(N×t.sub.s)+t t.sub.s] is determined in the manner described above.
[0039] Using the process described with reference to
[0040] Referring to
[0041] Using the process described with reference to
[0042] In the embodiments of the invention described above, the sensor 3 has been described as a motion sensor, and more particularly PIR detector. It will be appreciated that other motion detectors such as, for example, active infrared sensors are equally applicable for use in the invention. Furthermore, the sensor 3 need not be a motion sensor. In some embodiments of the present invention the sensor 3 takes the form of a microphone, and a sound level detected by the microphone is used as input to the controller 1. In such embodiments of the invention, the output of the sensor 3 may not be a binary output, but instead be an analogue value indicative of sound value measured in decibels. In such embodiments of the invention it will be readily apparent to one skilled in the art that a simple thresholding algorithm can be used so as to define binary values of the type described above. That is, if the sound level is above a predetermined value a ‘1’ value is generated, while if the sensor output is below the predetermined value a ‘0’ value is generated. The present invention is also applicable where the sensor 3 is a pressure sensor placed, for example, on a floor and thus detecting movement within a room.
[0043] It will also be appreciated that the sensor 3 can be a plurality of different sensors, the outputs of which are combined by the controller 1 to generate classification codes. For example a motion detector can be used to compute classification code in the manner described with reference to
[0044] The present invention is also applicable to a system in which recording by the video camera 2 is triggered by the sensor 3. Classification codes can then be applied to captured video data in the manner described above. The present invention is also applicable to systems in a plurality of video cameras monitoring different spaces, in which it is desired to record a single stream of video data. In such systems, the single stream of video data is, at any one time, generated by the output of a single video camera. This video camera from which video data is stored can suitably be selected by appropriately positioning various sensors and using this data as the basis for camera selection. In such embodiments of the invention, the classification data relating to the video data 5 can simply indicate the camera from which the appropriate video data was captured. This can be determined on the basis of which sensor triggered recording. In such embodiments of the present invention, an operator may know that suspicious activity occurred within an area monitored by a particular camera, and can use the classification data 6 to locate parts of the video data 5 which were provided by that video camera.
[0045] Referring now to
[0046]
[0047] The video data buffer 7 can conveniently be implemented as a plurality of buffers arranged in parallel, each holding a different programme element. In this way, a plurality of programme elements may be stored in the video data buffer 7 before a decision is made as to whether such programme elements should be stored as part of the video data 5 stored on the non-volatile storage device 4. Each of the plurality of buffers is provided with a flag indicating whether its data can be overwritten. This flag is set when data is written to a respective buffer, and unset when data is copied to the video data 5 or a decision is taken that the programme element is not to be stored. The implementation of such a buffering arrangement will be readily apparent to one of ordinary skill in the art.
[0048] It can be seen that the embodiment of the invention as described with reference to
[0049] In some embodiments of the present invention, the classification data 6 may periodically be used to identify portions of the video data 5 representing periods of relatively low activity. Having identified such periods of the video data 5, this video data may be deleted so as to create more free space on the non-volatile storage device 4.
[0050] The manipulation and viewing of a classified stream of video data can be carried out using various developments made by the present applicant and described in US Patent Application publication No. US2004/0070594 (application Ser. No. 10/435,178) the contents of which are herein incorporated by reference. The adaptation of such techniques to the viewing of video data captured using the methods described above will be readily apparent.
[0051] In particular, in some embodiments of the present invention, a user may simply specify that they are interested in periods of the recorded video data 5 which represent periods of relatively high activity. On receiving such a request, the controller 1 may interrogate the classification data 6 to determine an average activity level using stored classification codes. Having determined such an average activity level classification codes representing periods of above average activity are identified, and the corresponding video data is received from the video data 5.
[0052] The embodiments of the invention described above are intended only to be examples of ways in which the present invention may be put into effect, and are in no way intended to limit the scope of the claims. Indeed, it will be readily apparent to one of ordinary skill in the art that various amendments can be made to the embodiments described above without departing from the spirit and scope of the present invention as defined by the appended claims.