Many aspects of the present surveillance security system and method can be better understood with reference to the following drawings. The components in the drawings are not necessarily to scale, emphasis instead being placed upon clearly illustrating the principles of the inventive system and method. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Reference will now be made to the drawings to describe a preferred embodiment of the present surveillance security system and preferred embodiments of the present surveillance security method.
Referring to
Referring to
The output module 106 includes a digital to analog converter (DAC) 202 and a display device 204. The DAC 202 converts the image data delivered from the DEMUX 104 to analog signals, and sends the analog signals to the display device 204. The display device 204 displays the images. In other alternative embodiments, the display device 204 may process the data image digitally, and the DAC 202 can be omitted.
The memory module 108 includes a codec unit 212 and a storage unit 214. The codec unit 212 is electrically coupled to the controller 110. The codec unit 212 may code the image data delivered by the DEMUX 104 according to a control instruction sent by the controller 110. To be more exactly, when the record process is required, the controller 110 sends a write instruction to the codec unit 212. The codec unit 212 codes the image data accordingly, and then generates coded image data. The coded image data are sent to the storage unit 214 to be stored. Alternatively, the storage unit 214 may store the image data that has not been coded, furthermore, the storage unit 214 may be connected to the controller 110 to receive the control instruction, that way, the coded unit 212 may be omitted. That is, the storage unit 214 records the image data delivered by the DEMUX 104 when the write instruction is sent by the controller 110.
The controller 110 includes a central processing unit (CPU) 112, a sampling module 114, and a control-signal generating module 116. Generally, the CPU 112 communicates with the sampling module 114 and the control-signal generating module 116 via a bus 118, for enabling or disabling working processes thereof.
The sampling module 114 includes a frame-capturing unit 302, an image register 304, a frame count unit 306, and a clock circuit 308. The frame-capturing unit 302 is connected to the DEMUX 104 and the clock circuit 308. The frame-capturing unit 302 is used for capturing an image frame from the image data forwarded by the DEMUX 104 when the clock circuit 308 sends a capture enable signal. The frame-capturing unit 302 sends the image frame to the image register 304, and sends an add frame signal to the frame count unit 306 simultaneously. When the add frame signal is received, the frame count unit 306 updates a frame counter by incrementing the frame counter by one. When the frame counter stored in the frame count unit 306 reaches a predetermined frame count, the frame count unit 306 sends an image send signal to the image register 304, for instructing the image register 304 to send the image frames to the control-signal generating module 116. Here, the predetermined frame count should be at least two. As an example, two image frames are described below. The clock circuit 308 is connected with the frame-capturing unit 302, for sending a capture enable signal to the frame-capturing unit 302 at a predetermined interval.
The control-signal generating module 116 includes an image comparator 310, a state comparator 312, a state register 314, and a write gate 316. The image comparator 310 is connected to the image register 304, for comparing the two image frames sent from the image register 304. The image comparator 310 generates a current state signal that indicates whether the object in the monitored area is in a motion state or in a stationary state. The current state signal is sent to the state register 314 to be stored.
The state comparator 312 is connected to the image comparator 310 and is for receiving the current state signal generated based on a current comparison. The state comparator 312 is also connected to the state register 314 for receiving a previous state signal generated based on a previous comparison. The state comparator 312 generates a record control signal according to the current state signal and the previous state signal, and sends the record control signal to the write gate 316. The write gate 316 thus sends either of a write enable signal or a write disable signal to the codec unit 212 (if necessary) or the storage unit 214, thus controlling the record process of the memory module 108.
Referring now to
Secondly, in step 504, two image frames are captured from the image data.
Next, in step 506, the two image frames are compared to determine whether the object is in the motion or the stationary state.
In step 508, if the object is in the stationary state, the previous state of the object is retrieved.
In step 510, if the object is in the motion state, or if the previous state of the object retrieved in the step 508 shows that the object is previously in the motion state, the record process of the image data is enabled.
In step 512, the record process is enabled and sustained for a predetermined time. Step 502 is executed then, for starting a new iteration.
If in the step 508 shows that the object is previously in the stationary state, the record process is not enabled, and step 502 will then be executed to start a new iteration.
A second exemplary embodiment of the surveillance security method with reference to the surveillance security system 10 is illustrated in
Firstly, the imaging-capturing unit 102 captures the stream of images from the object to be detected in the monitored area to generate the image data, and sends the image data to the DEMUX 104 (step 702).
Secondly, the DEMUX 104 forwards the image data to the output module 106, the memory module 108, and the controller 110 (step 704).
Thirdly, the CPU 112 sends a start instruction to the bus 118, for instructing the frame-capturing unit 302, the frame count unit 306, and the clock circuit 308 in working (step 706).
Next, the frame-capturing unit 302 captures an image frame from the image data. The frame-capturing unit 302 sends the image frame to the image register 304 and sends the add frame signal to the frame count unit 306 simultaneously. The clock circuit 308 starts to time at the same time (step 708).
The image register 304 stores the image frame, and the frame count unit 306 updates the frame counter by incrementing the frame counter by one after receiving the add frame signal (step 710). If a default value of the frame counter is 0, it becomes 1 when a first image frame is captured and stored, and 2 when a second image frame is captured and stored.
The frame count unit 306 detects whether the frame counter has reached a predetermined count (step 712).
If the frame counter is less than the predetermined count, the frame-capturing unit 302 does not take an image frame until the clock circuit 308 reaches the predetermined interval. That is, the frame-capturing unit 302 is delayed (step 714).
The clock circuit 308 sends the enabling signal to the capturing unit 302 when the clock circuit 308 reaches the predetermined interval (step 716), and then step 708, step 710, and step 712 will be executed.
If the frame counter is not less than the predetermined count, the frame count unit 306 sends the image send signal to the image register 304, for instructing the image register 304 to send the two image frames to the control signal generating module 116 (step 718).
The image comparator 310 compares the two image frames, and generates a difference value of the image frames (step 720).
The difference value is compared with a predetermined threshold to compute whether the object is in the motion or stationary state. The current state signal is generated based on the compared result, and the current state signal is sent to the state comparator 312 and the state register 314 (step 722). For example, when the difference value is less than the threshold, it is concluded that the object is in the stationary state; when the difference value is greater than the threshold, it is concluded that the object is in the motion state.
The state comparator 312 receives the previous state signal sent by the state register 314, and compares the previous state signal with the current state signal sent by the image comparator 304, and generates a record control signal that is to be sent to the write gate 316 (step 724). A relationship between the current state signal, the previous state signal, and the record control signal is listed in the table below.
The write gate 316 generates the write enable signal according to the “enable” record control signal that is sent by the state comparator (step 726).
The codec unit 212 codes the image data sent from the DEMUX 104 according to the write enable signal, and the storage unit 214 stores the coded image data (728). In another embodiment, the coding process may be omitted.
The write enable signal sent by the write gate 316 lasts for a predetermined enabled time (step 730). The enabled time may, as an example, be 1 minute.
At the end of the enabled time, the write gate 316 sends a restart signal to the CPU 112 through the bus 118 to instruct the frame-capturing unit 302, the frame count unit 306, and the clock circuit 308 to start another iteration (step 732).
The write gate 316 generates the write disable signal according to the “disable” record control signal which is sent by the state comparator (step 734).
The codec unit 212 disables the coding process of the image data according to the write disable signal, and the storage unit 214 disables the storage process of the image data (step 736). That is, the coding or storage process stops if the write disable signal is received, or the coding or storage process remains disabled if it isn't in process when receiving the write disable signal. After that, the frame-capturing unit 302, the frame count unit 306, and the clock circuit 308 starts another iteration.
Based on the above surveillance security system and method, the image data taken from the object will be recorded only when the object is in a motion state, thus the image data can be recorded selectively. Thus, only useful information will be recorded, and a large amount of useless stationary image data will not be recorded, storing space can be saves.
Number | Date | Country | Kind |
---|---|---|---|
200610063218.7 | Oct 2006 | CN | national |