The present disclosure relates to video analytics and video signal processing for use in advanced video surveillance systems.
There is growing interest in using high resolution digital cameras or “mega-pixel imagers” in security and surveillance systems. Greater resolution improves accuracy in identifying people and objects and offers digital zoom for more detail. However, there is a practical limit to the volume of video data that can be transmitted from an imager chip, thus limiting access to video details and constraining mega- pixel cameras from delivering their true potential, i.e., all the video data they can capture. For example, the AV-3100, which is sold and manufactured by Arecont Vision of Altadena, Calif., is one of the fastest 3 mega-pixel cameras currently on the market, but the AV-3100 cannot operate at its full video transfer rate of 30 frames per second. Standard security surveillance cameras deliver images of about 0.4 mega-pixel resolution at a rate of about 30 frames per second. Even 2 mega-pixel resolution at 22 frames per second requires more than a 40 megabytes per second (Mbps) data transmission rate from an imager chip. Most users have difficulty processing streams of data at 40 Mbps. New communications and storage systems lack the bandwidth to handle data rates 5 to 10 times faster than previous generation data rates. When faster speeds become possible, surveillance systems become prohibitively expensive.
One technique for managing large volumes of data entails transferring from the imager chip a portion (e.g., one-eighth of the number of pixels or a VGA quantity of pixels) of the video information to a central location for analysis. This approach carries risk of loss upon transfer of important video data that would represent an event or behavior of interest but post-transfer analysis would not detect. To overcome bandwidth limitations, some companies such as Arecont Vision or CoVi Technologies post-process video information from an imager chip to compress the volume of data transmitted to the rest of a surveillance system. Some modern data compression schemes that conform to industry standards, such as MPEG-1, MPEG-2, and H.263, offer only content-agnostic, lossy data compression. Although most new compression standards (e.g., MPEG-4 and MPEG-4 AVC) allow for object level prioritization of bandwidth allocation and multiple alternatives for scalability (in the case of MPEG-4 SVC), they fail to consider the relative importance of the video content, i.e., different areas within a field of view, such as an area containing human figures v. an area containing a moving tree branch.
While traditional data compression schemes treat all bits of data as though they were of equal value, there is need for an intelligent spatial and temporal resolution allocation mechanism that selectively assigns value to spatio-temporal portions of video content. The resolution allocation mechanism should automatically assign a high value if the data contain relevant and useful subjects within a scene, or a low value if the data contain subjects that provide no useful information. There are currently some tools available for use in intelligently allocating spatio-temporal resolution. For instance, one such value assessment tool offered by video analytics manufacturers is capable of detecting the presence of human beings, vehicles, license plates, and other items of interest.
A smart, automated active video surveillance system enables a camera equipped with a high-resolution mega-pixel imager to selectively zoom into a scene and perform a windowing process that entails capturing high quality, high resolution images simultaneously at multiple locations, without losing the overview of the whole scene, while processing only the fraction of the video data representing one or more locations where important action is taking place. A preferred embodiment is a system that provides with no moving parts full 360-degree panoramic viewing with 2× all-digital zoom capability. Another preferred embodiment implements a system with a narrower fixed focal length with over 20× the number of pixels of a standard 01 resolution camera to provide about 5× all-digital zoom. The system carries out a method that allows for continuous video surveillance and thereby improves upon cameras that are limited to either focusing at close range or viewing an entire scene. The system overcomes such a limitation, which otherwise would entail making a choice that could allow important events to elude detection. The video surveillance system is implemented with a control subsystem that dynamically allocates resolution so that important details within a scene receive appropriate scrutiny while uninteresting areas are imaged at a lower resolution.
A preferred system disclosed therefore entails first achieving high- resolution image capture capability, and then deploying that capability selectively and efficiently. Obtaining high resolution, high quality video images is accomplished by choosing optimal camera lenses, and combining the lenses with technology that maximizes light sensitivity and signal-to-noise ratios of digital light sensors in the imager. The resolution is then intelligently allocated by careful selection of subject matter within the field of view of the camera using a combination of preset user inputs, real-time image analysis, and feedback-controlled automatic sub-sampling.
Video analysis is performed on-board the video surveillance camera so as to avoid transmission of a complete frame of high-resolution megapixel video data from the imager through a communication medium for storage or processing. This is accomplished, not by merely re-formatting the video data or through bulk data compression, but instead by using pattern recognition techniques to perform judicious sub-sampling of the full image frame. A non-uniformly sampled frame of video can be constructed with higher spatial and temporal resolution allocated to portions of the image with important content. This sampling scheme allows construction of super-resolution video from standard resolution data and display of the resulting images, using MPEG-4 techniques compliant with existing standards.
The system can provide multiple, interleaved windows, with video analytics performed in parallel on all windows so that multiple cameras can be replaced with one camera. In general, an object's distance from the camera, size, and speed determine the spatial and temporal resolution necessary in any given part of the video image. For instance, for security and surveillance applications, the texture of the sky or the shapes of clouds are not so important as a readable license plate; the video analysis techniques described are capable of distinguishing the license plate from the sky when it comes to allocating imaging resolution.
This method serves to reduce, by at least a factor of about ten, the original volume of data to a more meaningful and more manageable data subset of the full frame of video data. The data subset includes carefully selected portions of the overall scene, which the imager is then directed to release for storage in a buffer memory. The data subset, formed by immediately sub-sampling the original volume of data residing within the imager, can be chosen in many different ways. One way is to choose, for example, every fourth, tenth, or n-th pixel, resulting in a uniformly sub-sampled low resolution image. Another way is to pre-define certain windows within the overall scene, sample those at high or low resolution, and ignore the rest of the data. A third way is a two-step process in which a uniformly sub-sampled low resolution image is analyzed and then further segmented by identifying areas of interest to be captured at high resolution. A magnified view can then be constructed from the resulting sub-sampled image, and the process may be repeated by a second stage of analysis if needed. If further image detail is desired for the selected portions of the image, the original high resolution data corresponding to those selected portions, can be retrieved and stored in the buffer memory for analysis. Regardless of the method of sub-sampling, the camera transmits to a network or other communication medium video data representing a smaller portion than the capacity of the imager and thereby reflecting the relative importance of the video content. Transmitting and storing a judiciously chosen data subset rather than the entire data set is what allows for the superior efficiency of the disclosed method.
Another preferred embodiment uses a high resolution mega-pixel imager to combine iris scanning and facial recognition. In this embodiment, the portion of an image that includes, for example, a face is visible with sufficiently fine resolution to perform accurate facial recognition analysis. At the same time, the camera can show even higher resolution of an eye to execute biometrics matching of the iris. It is also possible to magnify details of other distinctive facial features to add further recognition capability. All of these functions can be provided with a camera that has a wide field of view and no moving parts.
Additional aspects and advantages will be apparent from the following detailed description of preferred embodiments, which proceeds with reference to the accompanying drawings.
Each high image data capacity video camera 52 comprises a programmable integrated circuit imager 56 that includes image sensors 60 and has digital zoom capability and a buffer memory 62 that stores frames of image data acquired by imager 56. The storage capacity of buffer memory 62 is sufficient to store multiple frames of image data acquired by imager 56. At least three frames of image data storage capacity are preferred to store image data representing times before, during, and after an event of interest has occurred. An output 64 of buffer memory 62 is applied to video analytics engine 58 and through a communications medium or network 66 to a display 68.
A user may manually define areas of an overall scene for monitoring, increased resolution, and video analytics processing. For instance, in a scene monitored by a security camera inside a bank, one video camera 52, instead of four separate cameras, may be used to monitor four teller windows. Each teller window may be pre-designated as a region of interest, either manually, or by a self-learning algorithm that detects motion over a period of time. Video analytics engine 58 then processes concurrently all four of the windowed areas as though they were images acquired by four separate low-resolution cameras. Imager 56 may be instructed to provide sequentially at an output a windowed frame of each defined region of interest. Thereafter, the frames from each of the multiple images are interleaved and sent from imager 56. The above-described process is repeated, starting with the first teller window region of interest. Video data sent from imager 56 are then processed to recognize activity in each of the windows.
A software-implemented resolution manager 80 instructs by way of a feedback control path 82 a transfer from imager 56 to buffer memory 62 of data representing a raw image corresponding to unmagnified panoramic view 72. Imager 56 has a specified maximum number of image pixels that establish its characteristic maximum image resolution. These raw image data provided at output 64 of buffer memory 62 are accessible by a first analytics engine stage 90 of video analytics engine 58. First analytics engine stage 90 detects a level of interest and calculates sub-sample ratios 92 for different portions of the raw image in response to the level of interest detected. Resolution manager 80, by way of control path 82, controls imager 56 to acquire a first series of sub-sampled video data corresponding to a first field of view at a first image resolution, such as unmagnified panoramic view 72, of video camera 52. Imager 56 delivers the sub-sampled video data in the first series to buffer memory 62 for analysis by first analytics engine stage 90. First analytics engine stage 90 detects a region of interest in the scene, such as motion of an object warranting further investigation. First analytics engine stage 90 in response assigns to a location exhibiting motion a low sub-sample ratio, which corresponds to a high- magnification image. Having detected an object of interest within a field of view, first analytics engine stage 90 sends to resolution manager 80 approximate x- and y-coordinates specifying the location of the object in the scene acquired by imager 56 of video camera 52. Resolution manager 80, by way of control path 82, controls imager 56 to acquire a second series of sub-sampled video data corresponding to a second field of view of the scene at a second image resolution. Imager 56 delivers the sub-sampled video data in the second series to buffer memory 62. The sub- sampled video data in the second series represents, at the second image resolution, a windowed view of the detected region of interest in the first field of view of the scene. The windowed view can be, for example, magnified view window 74 representing a zoomed-in image portion of unmagnified panoramic view 72. Each of the first and second series of sub-sampled video data corresponds to fewer image pixels than the specified maximum number of image pixels of imager 56. The zoomed-in portion of the image data can be read out of buffer memory 62 on its output 64 for delivery through communications network 66 to display 68 for presentation in magnified view window 74, for example, as view portion 76. The specified portion of the scene shown in view window 70 generally changes dynamically frame-by-frame, i.e., over different series of sub-sampled video data, as the object of interest moves across the scene. First analytics engine stage 90 accordingly continually adjusts in real time the x- and y-coordinates of the location of the object in the scene. Alternatively, a user can manually pre-set a priori sub-sample ratios 98 for various locations if they are in regions of particular interest known in advance (e.g., building entrances and exits).
If the windowed view is determined to be of further interest, a second analytics engine stage 100 may be activated to perform such analysis functions as character recognition, biometrics matching, human or vehicle identification, video capture, or alarm signal 102 transmission to a user. Resolution manager 80 uses results obtained by first analytics engine stage 90 from the second series of sub-sampled video data to again control imager 56, by way of control path 82, acquire a third series of sub-sampled video data corresponding to a third field of view of the scene at a third image resolution, such as a more highly magnified zoomed-in image portion for closer detailed analysis. Second analytics engine stage 100 speculatively allocates resolution for communication and storage. Second analytics engine stage 100 may deliver images through communications network 66 for presentation on display 68 or for storage in a storage medium or an information storage database 104 containing relevant information and space to store, for later communication, images and data relating to image content. A data compression subsystem 106 may be used to compress the image data before they are delivered to communications network 66 for storage or display.
The above-described process carried out by two-stage video analytics engine 58 on selected portions of image data acquired by imager 56 constitutes judicious sub-sampling of the full image observed by video camera 52 and pattern recognition analysis of the sub-sampled portions acquired. Image data representing or data corresponding to the image content of magnified views 76 and 78 constructed from the sub-sampled image of panoramic view 72 are delivered for display or storage through communications network 66 without transfer of all or a bulk-data compressed representation of all of the full image observed by video camera 52. The transfer to communications network 66 of the acquired image portion is accomplished at nominal video transmission rates with the image detail resolution specified for the particular application.
Components enclosed in a dash-line box 110 shown in
With respect to video camera 52, if pan, tilt, and zoom (PTZ) capabilities are required for 360-degree viewing, two embodiments compatible with the system disclosed are possible. First, because fine control during close-up shots is accomplished through the use of digital zoom, video camera 52 can be mounted on a simple, coarse stepping, low-cost pan and tilt mechanism implemented with simple DC drive motors without the need for fine pitch, highly accurate, encoded servo motors that require sophisticated controls to smooth the movements. Second, with a sufficiently large resolution programmable mega-pixel imager 56 (about 80 mega-pixels) and the use of 360 degree optics, this embodiment enables with no moving parts a full 360 degree imager with about 5× digital zoom in any direction, as opposed to the 2× digital zoom provided by an 8 mega-pixel imager. Once again, this embodiment does not lose the full field of view while zooming in and simultaneously provides close-up views of multiple locations in the full field of view.
Image sensors 60 within programmable imager 56 feature a pixel design that provides a high signal-to-noise ratio (SNR) useful for imaging in low-light situations, and a wide dynamic range to handle variable light or high-contrast areas within a scene. A wide dynamic range allows for accurate data retention in the darkest and brightest parts of an image. A preferred method of achieving a wide dynamic range is implemented in a Fill Factory 4T4S pixel design available from Cypress Semiconductor of San Jose, Calif. Each pixel comprising an image is associated with a hardware image sensor 60 that captures photons at an adjustable rate. With reference to
While a multiple slope integration approach can significantly improve dynamic range, it can also introduce artifacts that become problematic for analytics engines. For instance, when the intensity of a portion of an image is very close to an inflection point voltage at which a pixel changes its capacitance photon capture rate, as the image becomes slightly brighter or dimmer, it will undergo color distortion. Distortion can be eliminated by correcting pixel data based on an ideal smooth curve. Either a formula or a look-up table can be used to calculate a correction factor applied to each pixel read-out. More correction is needed when pixel data are close to the threshold of inflection-point voltages 156 where capacitance levels change. When they are approximately half way between inflection point voltages 156, the pixel data need the least amount of correction. Applying the correction factor amounts to a simple addition function and is, therefore, not computationally intensive. A dual slope design with only one inflection point needs more correction, especially near the single inflection point.
An alternative approach to achieving wide dynamic range is a pixel capture technique known as Synchronous Shutter or Global Snapshot, also available from Cyprus Semiconductor of San Jose, Calif. This approach captures data from all pixels simultaneously, and reads out the data sequentially, requiring extra transistors in each pixel or pixel group for data storage from capture until read out. With this method, it is possible to read out the pixel data more than once during a frame period. This is known as Non-Destructive Read-out (NOR), because the pixel continues to gather photons for a full frame period, while reading out the data multiple times during that period.
Data from multiple read-outs can be used to re-create a single frame with a wider dynamic range. In effect, each read-out time corresponds to an inflection point in the above illustration, but in the time domain rather than in the voltage domain. Such a multiple read-out approach is superior because the data can also be used to improve the SNR. Since multiple read-outs of fight intensity are taken during a single frame, these data can be averaged into a single light intensity measurement. This averaging process reduces most types of noise present in the measurement.
The ability to make Non-Destructive Read-outs provides an added benefit when combined with system 50 because NDRs optimize the dynamic range for windowed regions of interest In a typical security and surveillance application, a scene 70 contains mostly background information. The background may be highly dynamic, but it usually does not contain the most critical information. Rather, objects in the foreground are typically of most interest. These can be people, vehicles entering or leaving the field of view, or objects moved or left behind. It is these regions of interest where most of the critical information is contained; therefore, there is benefit in optimizing the capture of these pixel data.
It is not uncommon for parts of a scene to be obscured as a result of pixel saturation. For example, with reference to
When important areas in a scene are captured with intelligently managed timing, then it is also possible to intelligently optimize video frame rates. For example, if regions of interest contain poorly lit areas, then extended frame durations or integration times can be selected to improve SNR for those darker regions. Or, if Port lnd2-4626141_1.DOC 0037686/00002 regions of interest contain very bright areas, then NOR can be used to provide a wider dynamic range in the brighter regions. More specifically, when video analytics engine 58 analyzes sub-sampled video data in the first series of sub-sampled video data to recognize an object in an area of the region of interest, resolution manager 80 controls imager 56 to acquire one of the first and second series of sub-sampled video data at a frame rate set in response to the brightness levels of the object and the area. The frame rate is set to provide a frame integration time that is adequate to provide a brightness level contrast between the object and the area to render them visually distinguishable from each other. Resolution manager 80 can also control imager 56 to acquire the first and second series of sub-sampled video data at, respectively, different first and second frame rates.
Dynamic range adjustment can save the computational cost of providing wide dynamic range to a whole scene, when only portions of the scene are important. In this case, regions of interest can be assured of the necessary dynamic range needed for viewing, while ignoring the computational efforts to expand or correct the dynamic range of regions that have no value. When combined with analytics as disclosed, this process of dynamic range adjustment can be handled intelligently in response to objects or areas of interest. For these reasons, even though the disclosed embodiments can work with any approach to dynamic range, a preferred approach is through NOR, in which analytics can provide feedback to intelligently activate or deactivate NOR, or to adjust and optimize the dynamic range where needed.
Currently available, inexpensive high resolution programmable imagers 56 are mainly used in cell phones and other low cost, high volume consumer applications. For example, an 8 mega-pixel imager (model MT9E001, available from Micron Technology, Inc. of Boise, Id.) consumes only about 50% more real estate on a CMOS silicon chip than a traditional 0.4 mega-pixel imager (model 01, available from Pixim, Inc. of Mountain view, Calif.). The increase in resolution is accomplished using much smaller pixels, each measuring 1.75×1.75 square microns compared with 6×6 square microns for the model 01 imager, so that the total pixel area is approximately 12 times smaller. A pixel with 1/12 the area can capture only 1/12 the number of photons; therefore, a video camera 52 containing an 8 mega-pixel programmable imager 56 would offer poor performance in low light conditions. This might be adequate for a typical cell phone camera, or even a typical consumer camera, but it is inadequate for most security and surveillance needs. Therefore, chips like the MT9E001 have not been used in professional security cameras.
Outdoor security applications, in which mega-pixel imagers would be most valuable, require roughly the same light sensitivity as does the traditional model 01 imager, which, for good image recognition, is less than 1 lux of light through a 1.2 f-stop lens. With improved low noise operation and higher SNR, the MT9E001 gains about a factor of two in light sensitivity, not a factor of 12. Furthermore, imagers used in most zoom cameras are typically ¼-inch (6.4-millimeter) format chips (measured diagonally), compared to the ⅓-inch (8.5-millimeter) format chips for traditional cameras with fixed focal length lenses. The smaller format makes it easier to design a good compact zoom lens. However, the smaller chip size also reduces light sensitivity by about 78%. The smaller format combined with the reduced pixel size leaves somewhere between a 3× and 6× difference in light sensitivity between the MT9E001 imager and a ¼-inch (6.4-millimeter) model 01 imager used in a typical zoom camera.
One way to offset reduced light sensitivity is to combine a high resolution programmable imager with a pixel architecture such as the 4T4S architecture previously mentioned, which combines and averages light energy gathered across groups of four pixels. This effectively turns an 8 mega-pixel imager into a 2 mega-pixel imager with an improvement of roughly 4× in light sensitivity, thus reducing the gap in light sensitivity from 1/12 to only ⅓.
Another way to address the problem of reduced light sensitivity is through the use of specialized optics. Traditional security cameras use fixed focal length lenses with f-stops in the 1.0-1.8 range, with 1.4 being typical. Zoom lenses, used in the same outdoor camera applications as mega-pixel cameras, have f-stops of 1.4 or higher when adjusted for the widest field of view, and typically 2.8 or higher when adjusted for telephoto operation. For example, the Tamron ZC25 f-stop varies from 1.6 (wide angle) to 3.7 (telephoto), and the Sony IX45A f-stop ranges from 1.4 (wide angle) to 3.0 (telephoto). Varifocal lenses, also popular for security applications, allow the installer to manually set the field of view, with a minimum f-stop of 1.4.
It is possible to improve the optical quality of surveillance camera 52 by using fixed focal length lenses 54 with f-stops of about 0.7 and higher, but this requires a fixed field of view. Since the light sensitivity of a camera is inversely proportional to the square of the f number, a lens with an f-stop of 0.7 allows four times more light to reach the sensor than does an f-stop of 1.4, and 16 times more light than does an f-stop of 2.8. Therefore, when combined with a 0.7 f-stop lens, even the low cost MT9E001 could be used in a camera with nearly the same sensitivity as that of the Sony zoom lens camera when the lens is adjusted for the highest magnification. This could be adequate in many applications. These new lenses are also designed to be compatible with a mega-pixel imager designed for imaging fine detail, with much higher image resolution than that provided by a typical 1.4 mega pixel imager.
Since varifocal and zoom lenses cannot be practicably designed with less than a 1.0 f-stop, the 0.7 f-stop lenses are preferably available with a selection of view angles. For example, a mega-pixel camera 52 may use lenses 54 with varying view angles such as fields of view of 90 degrees, 60 degrees, 45 degrees, and 30 degrees. Any of these could be selected based upon the application. Surveillance of a parking lot may require a 90 degree lens, while looking down a long fence line or border crossing zone may need a 30 degree lens. The 8 mega-pixel imager enables about a 5× true digital zoom, so in many cases no additional mechanical zoom is needed.
Combining an 8 mega-pixel imager implemented with pixel averaging and a 0.7 f-stop fixed focal length lens further yields a factor of 4× light sensitivity improvement, making the camera more light sensitive than a traditional security camera when the imager is in its 2 mega-pixel mode. When finer detail is required, the camera can switch image resolution to 8 mega-pixel mode and still be roughly equal to the light sensitivity of a typical zoom lens or varifocal camera, when adjusted for maximum magnification. Thus, an 8 mega-pixel camera can be built using pixel averaging and a fixed focal length lens with light sensitivity that is higher than that of a typical model 01 resolution color security camera. Or a lower cost imager can be used to produce a camera that is about ⅓ as sensitive compared to a zoom lens camera with its widest field of view, but with equivalent sensitivity when the zoom lens camera is adjusted for maximum magnification.
Another benefit of using fixed focal length lenses is that a video analytics engine 58 can roughly calculate the location of an object based upon its size in the scene, as long as the field of view is known, which is determined by the focal length of the lens. For example, if a person appears to be 120 pixels tall in an image, where 2448 pixels represent 45 degrees, then the system can calculate that the person is roughly 5% of the 45 degrees, or about 2.25 degrees tall in the field of view from the position of the camera, which corresponds to 5 feet, 10 inches (1.8 meters). Assuming that the camera is mounted at about the height of a person's head, a 90 degree triangle describes the line from the camera to the top of the person's head and the top of the person's head to the ground. Trigonometry can be used to calculate the distance from the camera to the person as 148.5 feet (45.3 meters). The system disclosed can then display on-screen distance estimates whenever a person is detected.
Alternatively, if a site map has been installed in the system showing the camera location, it is also possible to roughly indicate on that map a person's location at the time of detection. The same can be done with vehicles, based on average distances between headlights and average sizes of most cars and trucks measured over a period of time. These distances would not be exact but could give an illustration on a map that would make it easier for security guards to track what is going on at the site. Moreover, a GPS locating tool can, upon installation, give the longitude and latitude of the camera location, which can then be displayed on an aerial map.
Active video surveillance system 50 is implemented with programmable imager 56 having mega-pixel resolution. Imager 56 responds to customized control software comprising two-stage analytics engine 58 and, in a fraction of the duration of a single frame, acquires and provides a video stream of image data representing portions of an entire image. For instance, if video camera 52 allows for an image capture rate of 30 frames per second, in 10% of the duration of a single frame (10% of 1/30 of a second, or 1/300 of a second) resolution manager 80 provides to programmable imager 56 x- and y-coordinates of the pixels to be viewed from the whole scene, along with the degree of magnification desired. The operational control of resolution manager 80 allows imager 56 to toggle between sub-sampled view 72 of the whole scene and one or more magnified views 76 and 78. Sub-sampled view 72 displays a lower resolution image of the whole scene, the lower resolution image representing a subset or a combination of pixel data. Sub-sampling can be accomplished within programmable imager 56 in several different ways. One way is to group pixels and retain a representative subset of data from each group, regularly spaced throughout the image, as shown in
A preferred embodiment uses a third approach 178, which entails averaging data from neighboring pixels and treating the average as one pixel, as shown in
As shown in
The shared pixel approach of sub-sampling has several benefits. First, as illustrated above, it produces images with better SNR and better quality in low light situations, both of which are desirable for security applications. Second, a higher SNR reduces the number of false detections of objects caused by noise in the analytics engine. Third, since a much larger pixel area is used for gathering photons, a high quality image can be captured much faster. If images of an overall scene can be captured in 10%-20% of a normal frame period, there remains 80%-90% of the time for capturing magnified images of the windowed areas. Since the windowed areas may not be sub-sampled, it is better to allow for close-to-normal frame periods to generate better quality images in these areas. A faster capture rate also reduces the SNR through a reduction in signal strength. Fourth, the sub- sampled image of the overall scene is often video data that are needed for archival or live viewing purposes, when a high quality image is particularly valuable.
There are cases in which capturing high quality images at lower light levels and for magnified windows requires longer capture periods. Longer capture periods translate into longer frame periods, lowering the frame rate. This is desirable for high quality images in low light level scenes, especially for scenes without high velocity motion. For example, in the case of facial recognition, a human face may represent 20% of the area of an entire 8 mega-pixel image, but an actual resolution of only 0.4 mega-pixels may be all that is needed to accurately represent the face. A 4:1 ratio of sub-sampling would, therefore, be used in the face portion of the image. At the same time, a zoomed-in window may be displaying an iris of an individual's eye. This may take up only 2% of the area of the entire 8 mega-pixel image. In this case, the magnified image of the iris would not be sub-sampled at all but would display the full concentration of pixels at their highest resolution while showing only 2% of the whole image. Increasing the integration time by lowering the frame rate to improve image quality is made easier when a small portion of the image is being sampled.
Using efficient sub-sampling, even an 80 mega-pixel imager 56 may provide only small amounts of data, while still accessing all of the available resolution when needed. For example, a single image may be sub-sampled by a ratio of 80:1, yielding a video display resolution of 1 mega-pixel. The 1 mega-pixel image would be scanned by video analytics 58 to detect objects of interest. If there were, for example, four different areas where objects are detectable by video analytics 58, programmable imager 56 would, in response, zoom in and display magnified windows 74 of each of the four areas simultaneously, and each magnified portion would then be analyzed by a second stage of video analytics 100. If each window represented 0.25 mega-pixels, the total amount of video data being transmitted by the mega-pixel imager is just 1 mega-pixel, all of which can be displayed at 30 frames per second with current technology.
Furthermore, a “super resolution” video playback can be created using temporal frame filling to make 10 frames per second appear as though there are 30 frames per second. Instead of repeatedly imaging static background areas of a scene, the unchanging parts are temporally interpolated to fill in frames that are sampled at a higher rate in the dynamic areas. The result is video data that contain the equivalent of an 8 mega-pixel image, because zooming can be performed on areas where important action is taking place and areas of unchanging background are integrated over time and by the other techniques mentioned above. This provides significant savings in storage and transmission bandwidth, at the expense of more processing to reconstruct the video data for playback.
The process of determining where accuracy is needed in a scene can be established manually by an installer who configures a video surveillance system in advance, or it can occur automatically as a result of a sophisticated video analytics capability continuously recognizing where important activity is taking place in real time. The automatic process can be set up to dynamically adjust based upon the activity present, or it can designate windows of higher resolution that are consistently captured, irrespective of whether activity is present
Analyzing sub-sampled images to automatically decide which portions of a scene are of interest is carried out by two-stage video analytics engine 58. In a preferred embodiment, imager 56 acquires a first series of sub-sampled video data that correspond to a first field of view of the scene representing either substantially the full field of view of the scene at a resolution that is less than the characteristic maximum image resolution of imager 56 or a portion of the full field of view of the scene. The portion of the full field of view of the scene can be at a resolution that is substantially equal to or is less than the characteristic maximum image resolution of imager 56. First analytics engine stage 90 analyzes the sub-sampled video data in the first series to identify moving objects with low pixel resolution. Typically, as few as four pixels, moving as a group, would be recognized as a moving object As a general rule, the smaller the pixel count required to detect the object, the better the video analytics can detect small objects, but the more false triggers it creates. For this reason, when small pixel count objects are detected, some movement tracking is usually performed to help filter out noise. Even a small pixel count that is moving consistently is a good indicator of an object of interest. When the object size has a higher pixel count, less filtering is performed through tracking, because video analytics engine 58 performs filtering with more accurate recognition of the shape and movement patterns of the object. First analytics engine stage 90 avoids, however, triggering detection in response to a single pixel changing state to prevent an unmanageable number of detections.
Analysis of the sub-sampled video data in the first series can be performed by first analytics engine stage 90 to control imager 56 to change the position coordinates of the windowed view in the first field of view of the scene to track motion of the moving object or objects identified. Motion tracking can be performed using different range resolutions of the windowed view. Analysis of sub-sampled video data in the second series can be performed by second analytics engine stage 100 to recognize one or more objects in a detected region of interest in the scene and to control imager 56 to change the position coordinates of the windowed field of view to track the motion of each of the recognized objects through the first field of view of the scene. The windowed view is of a size that covers all of the objects recognized.
Moreover, the analysis of sub-sampled video data in the second series can be performed by second analytics engine stage 100 to recognize a characteristic in the region of interest and, upon verification of the characteristic, control imager 56 to acquire a continual stream of second series of sub-sampled video data representing successive observations of the windowed view of the detected region of interest to closely observe for a time the recognized characteristic.
When first video analytics engine stage 90 reviews a scene in a sub-sampled view, the process of determining which regions require a more detailed view with further analysis is called speculative processing. Thus, first analytics engine stage 90 entails speculating on regions that include objects or activities of interest. It is also possible to speculatively allocate resolution by predicting where interesting activities may occur. For example, given the predicted trajectory of a vehicle, resolution and processing for future frames of video data can be appropriately allocated, enabling efficient use of the computational budget available in power-conscious embedded systems.
When very high resolution images contain a great degree of detail, speculative processing on a severely sub-sampled image may fail to detect objects or activity of interest. For example, in the case of an 8 mega-pixel imager using a 16:1 sub-sample ratio 92, it is possible that objects may be too far away for first analytics engine stage 90 to detect them. In a sub-sampled view, objects may occupy only one or two pixels, which may not provide sufficient indication that they represent an object of interest. In the extreme case of an 80 mega-pixel imager, a sub-sampled view of an entire scene contained in a 0.5 mega-pixel image represents a sub-sample ratio of 160:1. Consequently, objects of 50 to 100 pixels in the fully magnified view may be completely lost when sub-sampled at such a low rate.
Therefore, for speculative processing to capture important activity or objects, there is a limit to the degree of sub-sampling allowed. A ratio of 16:1 is recommended as the maximum sub-sample ratio based on current methods used in video analytics. In some cases, first analytics engine stage 90 may generate too many false detections, thus requiring a smaller sub-sampling ratio. Otherwise, objects and activities of interest could be missed. In the case of very high resolution imagers, the regions of interest are narrowed to perform the first stage of analytics. If this is not done, the volume of image data becomes unmanageable, both in terms of cost (imager chip is expensive) and performance (speed of data processing slows at high volume).
The case of a 360 degree digital dome camera 52 illustrates limitations of speculative processing. An 80 mega-pixel imager 56 is used with 360 degree mirror optics to create an all-solid state dome camera with a 360 degree field of view at the horizon. The dome camera is downward-looking so that it sees the ground below, but not the sky above it, as shown in
Some portions of a scene may contain images of very small objects located far away, while other portions do not. For example, close-up objects on the ground, as in magnified views 76 and 78, can easily be analyzed in a sub-sampled closer range view that produces a 1 mega-pixel image. However, near the horizon, a much more detailed view of scene 72 is used if one does not want to miss important activity or objects.
Monitoring through the first stage of analytics entails selection of regions of interest where there is a closer range view. With reference to
Accurately selecting the correct region of interest to focus on is of major importance in the windowing process. Often there exist some regions of great interest, and other regions of little or no interest For example, roadways may be important to monitor for traffic, while the sky above the horizon may be completely irrelevant (except, perhaps, for approaching aircraft). In fact, entire regions of a scene may simply fall outside the area of concern.
There are two ways of selecting the correct regions of interest. One way is to manually pre-select regions 98 requiring monitoring, in which case system 50 determines whether an object is of interest according to criteria previously defined by a user during system set-up, or according to pre-assigned stored default settings. For instance, a user may pre-select a portion of a scene where intruders could be seen entering or leaving, such as a building entrance or exit. The user may also designate in advance different portions of the same scene that are of no interest and should be ignored. In a scene that looks out at a harbor, the user may wish to ignore pedestrians walking along a boardwalk next to the water but may wish to detect and focus on approaching boats, ships, or other watercraft in the harbor. The user also specifies the level of magnification required for first video analytics engine stage 90. To do this, the installer calibrates system 50 by indicating an approximate size of a window that would embrace the objects of interest, such as vehicles or people, in various portions of the scene.
A preferred approach is to automate the selection process by integrating video analytics engine 58 that can recognize objects and activity over time and optimize sub-sample ratios to capture critical activity. The automated approach is more reliable and requires no manual set-up. Ideally, spatial and temporal resolution are automatically allocated in response to apportioning the size or resolution of a window and to assessing the location and speed of an object. Some video analytics processors can determine the locations of moving objects by observing their positions relative to the horizon. For example, in the case of the harbor scene, water near the horizon is farthest away. Therefore, objects detected there trigger magnified windows, or higher spatial resolution, for a closer range view, compared with objects located in the foreground near the boardwalk, which require more pixels on target before a magnified closer range view is warranted. On the other hand, objects near the horizon appear to be moving slower, so they can be sampled at a slower rate, i.e., with less temporal resolution, than objects in the foreground that appear to be moving faster. Thus, depending on the location and speed of the object detected within the large scene, the magnified portion of the scene will be appropriately sub-sampled to display the degree of spatio-temporal resolution needed. If an object far off on the horizon is of interest, for example, full resolution of the magnified image will be displayed and sent to second video analytics engine stage 100. Algorithms like this help reduce the number of unnecessary windows displayed for second stage analysis.
A detailed example of the resolution allocation scheme using 01 tile decomposition is illustrated in
A detailed example of the resolution allocation scheme using CIF tile decomposition is illustrated in
A significant difference between existing video analytics and the video analytics disclosed is that the resulting video stream described herein may be played back as though it were a full resolution video stream. When the video is replayed, the decomposed image is recomposed with the available resolution streams. No video screens can currently display an 8 mega-pixel video stream, so it would at first look like a 01 or 1 mega-pixel video. Zooming in, which is necessary to see detail, may be performed in any area where critical data have been captured in higher resolution. For instance, a user may zoom in on a car and then zoom in further on its license plate. In areas lacking critical data, either high resolution pixel data are discarded, such as in passing clouds in the sky, or the detail, if needed, may be assembled over a longer time. In most cases a high level of detail is unnecessary, except where pertinent motion is detected. However, buildings and other stationary objects may be captured in high resolution by integrating lower resolution images over many frames to capture greater detail. Traditional image smoothing and anti-aliasing algorithms can be used on the recomposed image as a further enhancement.
In other cases, large portions of a whole scene may be exhibiting activity. For example, in the case of the harbor scene, it is possible that 30% of the scene is filled by the boardwalk area where people are regularly walking by. This portion of the image, when magnified enough to perform accurate second stage analytics, will still require a resolution of only 0.4 mega-pixels, which is the current standard resolution of a security surveillance camera. This still leaves plenty of the resolution budget to zoom in on multiple watercraft detected in the harbor.
Although first analytics engine stage 90 can automatically calibrate sub- sample ratios in areas where activity is expected, monitoring for unusual activity, such as an intruder, is also desirable. Automatic selection of sub-sampling ratios 92 for these regions can be approached in two ways. First, video analytics engine stage 90 can detect motion, such as pedestrians or vehicles passing through a designated region and calibrate that region. Alternatively, the installer can “borrow” set-up ratios from another region that has already been calibrated. For example, if one hill area normally has no activity and is roughly the same distance away as a roadway that has been calibrated, set-up conditions for the roadway can be copied and applied to the hill area. Once this camera calibration has taken place, the embodiments described herein can take advantage of this information to determine when to zoom in for second stage video analysis.
In areas of an image where potential objects or motion of interest are detected, resolution manger 80 generates a series of x-y coordinates to encompass all regions requiring higher resolution. All of these regions of interest are, in preferred embodiments, represented by signals corresponding to analysis output data provided at the output of programmable imager 56 during the same capture period, between alternating frames of the overall sub-sampled scene. These selected regions of interest may still be sub-sampled, although at a lower ratio than the overall scene. More specifically, second analytics engine stage 100 analyzes the sub-sampled video data in the second series of sub-sampled video data to recognize a characteristic of a region of interest Such a characteristic could include objects detected in the region, activity in the region, elements in a person's eye, and fiducial points on a person's face. In the case of recognition of objects, the analysis of the sub-sampled video data in the first series is preferably performed at a lower image resolution to detect the region of interest, and the analysis of the sub-sampled video data in the second series is performed at a higher image resolution to more accurately recognize the object present in the region of interest. The image resolution of the second series of sub-sampled video data can be determined by recognition of the size of the object over time for the video image data produced by video camera 52. (If first analytics engine stage 90 analyzes the sub-sampled video data in the first series to recognize the size of an object detected in the region, the image resolution of the second series of sub-sampled video data can also be determined over time for the video image data produced.)
For example, if large objects or large areas of motion were selected, they may require a sub-sample of 2:1 or 4:1. All of the pixel data from these regions of interest would then preferably be sent to second analytics engine stage 100, where more accurate analysis would be performed on higher resolution data. In a preferred embodiment, second analytics engine stage 100 has much higher recognition capability and requires more pixels on target to do its recognition. For example, whereas the first stage of video analytics processing may detect an apparent object that occupies 4 or 5 pixels in a scene, a magnified window uses 50 or 60 pixels to display the same object. Second video analytics engine stage 100 recognizes this object as a vehicle, a human, a boat, or some other, perhaps unknown, object.
As explained previously, this second analytics engine stage 100 is not necessary, but is preferred, and could be followed by other, even higher resolution stages of analysis. More specifically, resolution manager 80, by way of control path 82, controls imager 56 to acquire a third series of sub-sampled video data corresponding to the scene. The sub-sampled video data in the third series represents a recognized characteristic in a magnified localized portion of the windowed view of the region of interest. For example, if video analytics engine 58 detected letters, numbers, or other identifying characters, or if images of an iris or other facial characteristics were needed in more detail, new x-y coordinates are selected requiring even lower ratios of sub-sampling to capture finer details. More detailed windows are preferably all captured during a third interleaving period within the normal frame period. Examples of second-stage video analytics include facial recognition, biometrics matching, detection of activity, and detection and recognition of moving objects.
After an object is detected by second video analytics engine stage 100, in some applications all that is desired is to zoom in on the object, capture a magnified image, and store it along with other analysis output data for future use. Once a magnified window displays an object and area of interest, analysis output data describing these subjects is automatically captured. For example, if a car pulls into a parking lot, it may be desirable to zoom in on the license plate and then perform license plate recognition on the characters. The license plate number may be stored in database 104 with the video data so that it is searchable later, or so that the analysis output data can be compared against another database of wanted or stolen vehicles. After capturing the license information, camera 52 may not need to zoom in on the license plate again, but the user may wish to zoom in on the faces of the people getting out of the car and store this information. Later, when people approach the same car, fiducial points on their faces are compared with fiducial points on the faces of the people who originally left the car to determine whether they match. In response, alarm 102 may be sent to a user, or the video data may simply be stored and logged in database 104, depending on user-specified instructions residing in system 50. If the magnified window displays an image devoid of objects of interest, then the video data are not captured or stored, and therefore trigger no further response.
Video camera 52 produces video image data in response to light propagating from the scene such that the first and second series of sub-sampled video data correspond to images of, respectively, the first and second fields of view of the scene. The sub-sampled video data in the first and second series can be delivered from imager 56 as interleaved images of, respectively, the first and second fields of view of the scene. The images corresponding to the first and second fields of view can have different image resolutions and be transmitted through communication network 66 to a destination, such as information storage database 104, either in combination as a single video stream or separately as two video streams representing the first and second fields of view at the different image resolutions.
The summary capability of active video surveillance system 50 is demonstrated in
It will be obvious to those having skill in the art that many changes may be made to the details of the above-described embodiments without departing from the underlying principles of the invention. The scope of the present invention should, therefore, be determined only by the following claims.
This application is a continuation of U.S. patent application Ser. No. 12/039,085, filed Feb. 28, 2008, the contents of which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 12039085 | Feb 2008 | US |
Child | 15409439 | US |