METHOD AND APPARATUS FOR CLASSIFYING VIDEO DATA
20180191995 ยท 2018-07-05
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
H04N7/18
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. (canceled)
2. A method of classifying video data representing activity within a space to be monitored, the method comprising: receiving, at a controller, video monitor data from a camera located in a monitored space; receiving, at the controller, sensor data indicative of a condition occurring within the monitored space, defining, at the controller, a plurality of elements within the video monitor data, wherein each of the plurality of elements includes an associated classification code selected by the controller using the received sensor data; and communicating, from the controller to a non-volatile storage device, instructions to store the video monitor data and associated classification codes, wherein the associated classification codes represent values on a monitored activity scale extending from a low activity value to a high activity value.
3. The method of claim 2, wherein the sensor data is received from a passive infrared detector.
4. The method of claim 2, wherein the associated classification code selected comprises a class code, a number of sensor samples used to compute the class code, and a time point in the video monitor data at which the element begins.
5. The method of claim 2, wherein the instructions to store the video monitor data and associated classification codes include instructions to store only when received sensor data indicates high activity in the monitored space.
6. The method of claim 2, further comprising: calculating an average level of activity for all elements of the plurality of elements; and determining classification codes representing periods of activity that is at least a calculated average level of activity for elements within the monitored space.
7. The method of claim 2, further comprising receiving video monitor data from a plurality of video recording devices, wherein the classification code associated with each element identifies a specific video recording device of the plurality of video recording devices which was used to obtain the video data of the respective element.
8. The method of claim 7, further comprising generating a single stream of video data from the plurality of video recording devices using classification codes to determine which of the plurality of video recording devices to use for the single stream of video data.
9. The method of claim 2, further comprising: receiving a user selection of a classification code; and displaying elements associated with the classification code associated with the user selection.
10. The method of claim 9, further comprising: receiving a user input representing a request to display elements representing periods of activity within the monitored space above a calculated average level of activity for elements within the monitored space; determining at least one classification code associated with elements representing periods of activity within the monitored space above the calculated average level of activity for elements within the monitored space; and displaying elements associated with the determined at least one classification code.
11. The method of claim 2, wherein the sensor data comprises motion data obtained from a motion sensor.
12. The method of claim 2, wherein the sensor data comprises audio data obtained from a sound sensor.
13. The method of claim 2, wherein the sensor data comprises pressure data obtained from a pressure sensor.
14. The method of claim 2, wherein the sensor data is obtained by the sensor device during a time period of capture of a respective element by the video monitor device.
15. The method of claim 2, further comprising ensuring, by the controller, the plurality of elements within the video monitor data have an equal duration of time.
16. The method of claim 2, further comprising: receiving a user input representing a request to display all elements defined by more than two sensor activations within a predetermined time; and displaying all elements defined by more than two sensor activations within the predetermined time.
17. The method of claim 2, further comprising deleting video monitor data based on determining at least one classification code associated with elements representing periods of activity within the monitored space below a calculated average level of activity for elements within the monitored space.
18. A system for classifying video data, the system comprising: a video data buffer; a program memory configured to store readable instructions; and a controller configured to read and execute instructions stored in the program memory, wherein the readable instructions comprise instructions to cause the controller to: receive, at the video data buffer, video monitor data from a camera located in a monitored space; receive sensor data indicative of a condition occurring within the monitored space; define a plurality of elements within the received video monitor data, wherein each of the defined plurality of elements includes an associated classification code selected using the received sensor data; and communicate instructions to store the video monitor data and associated classification codes, wherein the associated classification codes represent values on a monitored activity scale extending from a low activity value to a high activity value.
19. The system of claim 18, further comprising: the sensor device; a video recording device configured to capture the video data; and a storage device configured to store the video data.
20. The system of claim 19, wherein the sensor device comprises at least one of a motion sensor, a pressure sensor, and a sound sensor.
21. A non-transitory computer-readable memory storing computer program code to cause a computer to: receive video monitor data from a camera located in a monitored space; receive sensor data indicative of a condition occurring within the monitored space; define a plurality of elements within the received video monitor data, wherein each of the defined plurality of elements includes an associated classification code selected using the received sensor data; and communicate instructions to store the video monitor data and associated classification codes, wherein the associated classification codes represent values on a monitored activity scale extending from a low activity value to a high activity value.
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+Nt.sub.s).
[0036] At step S12 the time parameter is updated according to an equation:
Time=(t+Nt.sub.s)+t.sub.s
Where the parameters take the values set out above.
[0037] Processing then returns to step S5 where i is set to 0, and a classification code for a programme element beginning at time [t+(Nt.sub.s)+t t.sub.s] is determined in the manner described above.
[0038] Using the process described with reference to
[0039] Referring to
[0040] Using the process described with reference to
[0041] 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.
[0042] 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
[0043] 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.
[0044] Referring now to
[0045]
[0046] 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.
[0047] It can be seen that the embodiment of the invention as described with reference to
[0048] 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.
[0049] 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.
[0050] 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.
[0051] 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.