Spatial motion attention for intelligent video analytics
Abstract
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for spatial motion attention for intelligent video analytics. One of the methods includes: obtaining an input image of a region; generating a motion image that characterizes a difference between a value of a pixel at the pixel location in the input image and a value of a pixel at the pixel location in the reference image; generating a feature map using the input image; generating, using the motion image and the feature map, a motion enhanced feature map that has, for one or more pixels that likely indicate movement, a first value that a) indicates that the corresponding pixel in the motion enhanced feature map likely indicates movement and b) is different from a second value for a corresponding pixel in the feature map; and analyzing the motion enhanced feature map.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: obtaining an input image of a geographic region; generating, using the input image and a reference image for the geographic region, a motion image that characterizes, for one or more pixel locations in the input image and the reference image, a difference between a value of a pixel at the pixel location in the input image and a value of a pixel at the pixel location in the reference image; generating a feature map using the input image; generating, using the motion image and the feature map, a motion enhanced feature map that has, for one or more pixels that likely indicate movement, a first value that a) indicates whether the corresponding pixel in the motion enhanced feature map likely indicates movement and b) is different from a second value for a corresponding pixel in the feature map, wherein, for the one or more pixels that likely indicate movement: the first value of the pixel in the motion enhanced feature map is a weighted value of the second value for the corresponding pixel in the feature map, and the first value is weighted higher for a pixel that likely indicates movement than another value for one or more other pixels that likely indicate non-movement; and analyzing, as part of an object analysis process, the motion enhanced feature map.
- Claim 2Depends on #1
The method of claim 1, wherein generating the motion enhanced feature map comprises: generating a modified motion image from the motion image, wherein the modified motion image has a different resolution from the motion image; generating a spatial motion attention map from the modified motion image; and generating the motion enhanced feature map using the spatial motion attention map and the feature map.
- Claim 3Depends on #2
The method of claim 2, wherein: the modified motion image is a downsampled motion image; and generating the modified motion image comprises generating the modified motion image by downsampling the motion image with a kernel size such that dimensions of the downsampled motion image are the same as the feature map.
- Claim 4Depends on #2
The method of claim 2, wherein: the modified motion image is a pooled motion image; and generating the modified motion image comprises generating the modified motion image by pooling the motion image with a kernel size such that dimensions of the pooled motion image are the same as the feature map.
- Claim 5Depends on #2
The method of claim 2, wherein generating the modified motion image comprises: generating a downsampled motion image by downsampling the motion image; and generating the modified motion image from the downsampled motion image using a convolutional neural network block.
- Claim 6Depends on #2
The method of claim 2, wherein generating the modified motion image comprises: generating a pooled motion image by pooling the motion image; and generating the modified motion image from the pooled motion image using a convolutional neural network block.
- Claim 7Depends on #2
The method of claim 2, wherein the spatial motion attention map comprises pixels with values that represent weights to be applied to corresponding pixels in the feature map.
- Claim 8Depends on #2
The method of claim 2, wherein generating the motion enhanced feature map from the spatial motion attention map and the feature map comprises: generating, using the spatial motion attention map and the feature map, a motion modulated feature map that has, for one or more second pixel locations in the spatial motion attention map and the pixel location in the feature map, a value generated by combining a value of a pixel at the pixel location in the spatial motion attention map and a value of a pixel at the pixel location in the feature map; and generating the motion enhanced feature map using at least the motion modulated feature map.
- Claim 9Depends on #1
The method of claim 1, comprising: generating an aggregated motion enhanced feature map using two or more spatial motion modulators and one or more convolutional neural network blocks.
- Claim 10Depends on #1
The method of claim 1, wherein analyzing the motion enhanced feature map comprises analyzing the motion enhanced feature map using at least one of an object classifier, an object detector, an object tracker, or a panoptic segmenter.
- Claim 11Independent Claim
A system comprising one or more computers and one or more storage devices on which are stored instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising: obtaining an input image of a geographic region; generating, using the input image and a reference image for the geographic region, a motion image that characterizes, for one or more pixel locations in the input image and the reference image, a difference between a value of a pixel at the pixel location in the input image and a value of a pixel at the pixel location in the reference image; generating a feature map using the input image; generating, using the motion image and the feature map, a motion enhanced feature map that has, for one or more pixels that likely indicate movement, a first value that a) indicates whether the corresponding pixel in the motion enhanced feature map likely indicates movement and b) is different from a second value for a corresponding pixel in the feature map, wherein, for the one or more pixels that likely indicate movement: the first value of the pixel in the motion enhanced feature map is a weighted value of the second value for the corresponding pixel in the feature map, and the first value is weighted higher for a pixel that likely indicates movement than another value for one or more other pixels that likely indicate non-movement; and analyzing, as part of an object analysis process, the motion enhanced feature map.
- Claim 12Depends on #11
The system of claim 11, wherein generating the motion enhanced feature map comprises: generating a modified motion image from the motion image, wherein the modified motion image has a different resolution from the motion image; generating a spatial motion attention map from the modified motion image; and generating the motion enhanced feature map using the spatial motion attention map and the feature map.
- Claim 13Depends on #12
The system of claim 12, wherein: the modified motion image is a downsampled motion image; and generating the modified motion image comprises generating the modified motion image by downsampling the motion image with a kernel size such that dimensions of the downsampled motion image are the same as the feature map.
- Claim 14Depends on #12
The system of claim 12, wherein: the modified motion image is a pooled motion image; and generating the modified motion image comprises generating the modified motion image by pooling the motion image with a kernel size such that dimensions of the pooled motion image are the same as the feature map.
- Claim 15Depends on #12
The system of claim 12, wherein generating the modified motion image comprises: generating a downsampled motion image by downsampling the motion image; and generating the modified motion image from the downsampled motion image using a convolutional neural network block.
- Claim 16Depends on #12
The system of claim 12, wherein generating the modified motion image comprises: generating a pooled motion image by pooling the motion image; and generating the modified motion image from the pooled motion image using a convolutional neural network block.
- Claim 17Depends on #12
The system of claim 12, wherein the spatial motion attention map comprises pixels with values that represent weights to be applied to corresponding pixels in the feature map.
- Claim 18Depends on #12
The system of claim 12, wherein generating the motion enhanced feature map from the spatial motion attention map and the feature map comprises: generating, using the spatial motion attention map and the feature map, a motion modulated feature map that has, for one or more second pixel locations in the spatial motion attention map and the pixel location in the feature map, a value generated by combining a value of a pixel at the pixel location in the spatial motion attention map and a value of a pixel at the pixel location in the feature map; and generating the motion enhanced feature map using at least the motion modulated feature map.
- Claim 19Independent Claim
One or more non-transitory computer storage media encoded with instructions that, when executed by one or more computers, cause the one or more computers to perform operations comprising: obtaining an input image of a geographic region; generating, using the input image and a reference image for the geographic region, a motion image that characterizes, for one or more pixel locations in the input image and the reference image, a difference between a value of a pixel at the pixel location in the input image and a value of a pixel at the pixel location in the reference image; generating a feature map using the input image; generating, using the motion image and the feature map, a motion enhanced feature map that has, for one or more pixels that likely indicate movement, a first value that a) indicates whether the corresponding pixel in the motion enhanced feature map likely indicates movement and b) is different from a second value for a corresponding pixel in the feature map, wherein, for the one or more pixels that likely indicate movement: the first value of the pixel in the motion enhanced feature map is a weighted value of the second value for the corresponding pixel in the feature map, and the first value is weighted higher for a pixel that likely indicates movement than another value for one or more other pixels that likely indicate non-movement; and analyzing, as part of an object analysis process, the motion enhanced feature map.
- Claim 20Depends on #19
The media of claim 19, wherein generating the motion enhanced feature map comprises: generating a modified motion image from the motion image, wherein the modified motion image has a different resolution from the motion image; generating a spatial motion attention map from the modified motion image; and generating the motion enhanced feature map using the spatial motion attention map and the feature map.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION This application claims the benefit of U.S. Provisional Application No. 63/253,870, filed Oct. 8, 2021, the contents of which are incorporated by reference herein. TECHNICAL FIELD This disclosure application relates generally to monitoring systems, and more particularly, to video analytics. SUMMARY Techniques are described for spatial motion attention for video analytics. Video analytics solutions may monitor a region of interest from a stationary camera. In such cases, video analytics algorithms may pay special attention to moving objects in the field of view of the stationary camera. Motion images such as frame difference images and background subtraction images may capture apparent motion in a video stream, but such motion images may be prone to noise due to the background motion and lighting changes. Effectively using motion images to guide video analytics to focus on actual moving objects may be a challenge. An approach to this challenge may be to use motion images to enhance feature maps in a deep learning-based video analytics pipeline. For example, a motion image may be generated from a current frame and a prior frame, and a feature map may also be generated from the current frame. The feature map may then be enhanced with the motion image so that more accurate results are obtained when the enhanced feature map is analyzed compared to when the feature map without enhancements from the motion image is analyzed. For example, the enhanced feature map may have more weighted values for areas that correspond to areas in the motion image that reflect more motion and less weighted values for areas that correspond to areas in the motion image that reflect less motion. The enhanced feature maps may then be used for task specific analysis such as object classification, object detection, object tracking, panoptic segmentation, or other tasks. In general, one innovative aspect of the subject matter described in this specification ca
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (5)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (2)
- PCT International Search Report and Written Opinion in International Appln. No. PCT/US2022/077498, mailed on Jan. 17, 2023, 11 pages.
- International Preliminary Report on Patentability in International Appln. No. PCT/US2022/077498, mailed on Apr. 18, 2024, 6 pages.