IP Library Granted Patent US 12,499,573
Granted Patent B2
US 12,499,573 · App. 17/983,841 · Granted Dec 16, 2025

System and method for video instance segmentation via multi-scale spatio-temporal split attention transformer

Inventors: Omkar Thawakar (Abu Dhabi, AE); Sanath Narayan (Abu Dhabi, AE); Hisham Cholakkal (Abu Dhabi, AE); Rao Muhammad Anwer (Abu Dhabi, AE); Muhammad Haris (Abu Dhabi, AE); Salman Khan (Abu Dhabi, AE); Fahad Khan (Abu Dhabi, AE)
Assignee: Mohamed Bin Zayed University of Artificial Intelligence
G06T7/73G06V10/26G06V10/7715G06V10/774G06V10/95G06V20/582G06T2207/30196G06T2207/30261
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,499,573
App. No.
17/983,841
Granted
Dec 16, 2025
Kind
B2
Abstract

A system, method, computer readable storage medium for a computer vision system includes at least one video camera, and video processor circuitry. The method includes inputting a stream of video data and generating a sequence of image frames, segmenting and tracking, by the video analysis apparatus, object instances in the stream of video data, including receiving the sequence of image frames, analyzing the sequence of image frames using a video instance segmentation transformer to obtain a video instance mask sequence from the sequence of image frames, the transformer having a backbone network, a transformer encoder-decoder, and an instance matching and segmentation block, The encoder contains a multi-scale spatio-temporal split attention module to capture spatio-temporal feature relationships at multiple scales across multiple frames. The decoder contains a temporal attention block for enhancing a temporal consistency of transformer queries. The method includes displaying the video instance mask sequence.

Claims (92)

1 . A vehicle computer vision system, comprising:

at least one video camera mounted on a vehicle to capture a stream of video data;

video processor circuitry configured to input the stream of video data and generate a sequence of image frames;

segment and track object instances in the stream of video data, including

receiving the sequence of image frames;

obtaining a video instance mask sequence from the sequence of image frames, via a video instance segmentation transformer having

a backbone network,

a transformer encoder-decoder, and

an instance matching and segmentation block,

wherein the encoder contains a multi-scale spatio-temporal split (MS-STS) attention module to capture spatio-temporal feature relationships at multiple scales across multiple frames of the sequence of image frames, the MT-STS attention module producing multi-scale spatio-temporal enriched features;

wherein the decoder contains a temporal attention block for enhancing a temporal consistency of transformer queries;

wherein the encoder further contains a deformable attention block that outputs baseline features, the baseline features being fused with the multi-scale spatio-temporal enriched features through a convolution operation to obtain encoder output features; and

display a sequence of mask instances.

2 . The vehicle computer vision system of claim 1 , wherein

the MS-STS attention module of the video processor circuitry employs an intra-scale temporal attention block and an inter-scale temporal attention block;

the intra-scale temporal attention block of the video processor circuitry operates on each spatial scale across the multiple frames and produces temporally relevant intermediate features; and

the inter-scale temporal attention block of the video processor circuitry takes the temporally relevant intermediate features output by the intra-scale temporal attention block and learns similarities between the spatial-temporal feature relationships across two neighboring spatial scales.

3 . The vehicle computer vision system of claim 1 , wherein the video processor circuitry is further configured to

during training, use an adversarial loss to improve the spatio-temporal feature relationships which enhances foreground-background separability.

4 . The vehicle computer vision system of claim 1 , wherein

an output of the encoder and the temporally consistent transformer queries from the decoder are used within the instance matching and segmentation block of the video processor circuitry for prediction of the sequence of mask instances.

5 . The vehicle computer vision system of claim 1 , wherein

the temporal attention block of the decoder is connected between a self-attention block and a cross-attention block of the decoder.

6 . The vehicle computer vision system of claim 1 , wherein

the received sequence of image frames includes a sequence of image frames of a road sign of different scales, in motion; and

the multi-scale spatio-temporal split attention module captures the spatio-temporal feature relationships at multiple scales across multiple frames that includes the road sign as the vehicle approaches and passes the road sign.

7 . The vehicle computer vision system of claim 1 , wherein

the received sequence of video image frames includes a sequence of image frames of a road sign of different scales, in motion, and at least one pedestrian also at different scales moving in a direction of a crosswalk; and

the multi-scale spatio-temporal split attention module captures the spatio-temporal feature relationships at multiple scales across multiple frames that includes the road sign as the vehicle approaches the road sign together with the at least one pedestrian moving toward the crosswalk.

8 . The vehicle computer vision system of claim 1 , wherein

the received sequence of video image frames includes a dynamic scene in which people are moving in random directions in a vicinity of a road which the vehicle is traveling, crossing paths with each other;

the multi-scale spatio-temporal split attention module captures the spatio-temporal feature relationships at multiple scales across multiple frames that includes the moving people as the vehicle approaches the moving people; and

the vehicle computer vision system tracks the moving people.

9 . The vehicle computer vision system of claim 1 , wherein

the received sequence of video image frames includes a scene containing a location road sign that displays information of a location;

the multi-scale spatio-temporal split attention module

captures the spatio-temporal feature relationships at multiple scales across multiple frames that includes the information of the location road sign, under conditions of changing scale of the location road sign, subject to various angles of view and partial view of the location road sign, and

recognizes the road sign including the information of the road sign, while the vehicle is moving, under conditions of changing scale of the location road sign, while the vehicle moves relative to the location road sign, and subject to various angles of view and partial view of the location road sign.

10 . The vehicle computer vision system of claim 1 , wherein

the received sequence of video image frames includes a partial scene of a road where the vehicle is traveling that includes a plurality of moving pedestrians entering and leaving the partial scene, at least one cyclist moving at a higher rate of speed relative to the plurality of pedestrians, into the partial scene, and a partial view of a building;

the multi-scale spatio-temporal split attention module captures the spatio-temporal feature relationships at various scales across frames in the video sequence that includes the plurality of pedestrians and the at least one cyclist as the vehicle approaches and passes a section of the road where the pedestrians and the at least one cyclist are approaching to cross; and

the vehicle computer vision system tracks the moving plurality of pedestrians and at least one cyclist.

11 . A non-transitory computer-readable storage medium storing computer program instructions, which when executed in a vehicle computer vision system, the vehicle computer vision system comprising at least one video camera mounted on a vehicle, and video processor circuitry, perform a method comprising:

inputting a stream of video data and generating a sequence of image frames;

segmenting and tracking, by the video processor circuitry, object instances in the stream of video data, including

receiving the sequence of image frames;

analyzing the sequence of image frames using a video instance segmentation transformer to obtain a video instance mask sequence from the sequence of image frames, the transformer having

a backbone network,

a transformer encoder-decoder, and

an instance matching and segmentation block,

wherein the encoder contains a multi-scale spatio-temporal split (MS-STS) attention module to capture spatio-temporal feature relationships at multiple scales across multiple frames, the MT-STS attention module producing multi-scale spatio-temporal enriched features;

wherein the decoder contains a temporal attention block for enhancing a temporal consistency of transformer queries;

wherein the encoder further contains a deformable attention block that outputs baseline features, the baseline features being fused with the multi-scale spatio-temporal enriched features through a convolution operation to obtain encoder output features; and

displaying the video instance mask sequence.

12 . The computer readable storage medium of claim 11 , wherein

the MS-STS attention module employs an intra-scale temporal attention block and an inter-scale temporal attention block, further comprising:

operating, via the intra-scale temporal attention block, on each spatial scale across the multiple frames to produce temporally relevant intermediate features; and

learning, via the inter-scale temporal attention block, similarities between the spatial-temporal feature relationships across two neighboring spatial scales using the temporally relevant intermediate features output by the intra-scale temporal attention block.

13 . The computer readable storage medium of claim 11 , further comprising:

training the video processor circuitry, including improving the spatio-temporal feature relationships using an adversarial loss which enhances foreground-background separability.

14 . The computer readable storage medium of claim 11 , further comprising:

predicting the sequence of mask instances using the output of the encoder and the temporally consistent transformer queries from the decoder.

15 . The computer readable storage medium of claim 11 , wherein:

the video image frame sequence includes a sequence of image frames of a road sign of different scales, in motion; further comprising:

capturing, via the multi-scale spatio-temporal split attention module, the spatio-temporal feature relationships at multiple scales across multiple frames that includes the road sign as the vehicle approaches and passes the road sign.

16 . The computer readable storage medium of claim 11 , wherein

the video image frame sequence includes a sequence of image frames of a road sign of different scales, in motion, and at least one pedestrian also at different scales moving in a direction of a crosswalk; further comprising:

capturing, via the multi-scale spatio-temporal split attention module, the spatio-temporal feature relationships at multiple scales across multiple frames that includes the road sign as the vehicle approaches the road sign together with the at least one pedestrian moving toward the crosswalk.

17 . The computer readable storage medium of claim 11 , wherein

the video image frame sequence includes a dynamic scene in which people are moving in random directions in a vicinity of a road which the vehicle is traveling, crossing paths with each other; further comprising:

capturing, via the multi-scale spatio-temporal split attention module, the spatio-temporal feature relationships at multiple scales across multiple frames that includes the moving people as the vehicle approaches the moving people; and

tracking the moving people.

18 . The computer readable storage medium of claim 11 , wherein

the video image frame sequence includes a scene containing a location road sign that displays information of a location; further comprising:

capturing, via the multi-scale spatio-temporal split attention module, the spatio-temporal feature relationships at multiple scales across multiple frames that includes the information of the location road sign, under conditions of changing scale of the location road sign, subject to various angles of view and partial view of the location road sign; and

recognizing the road sign including the information of the road sign, while the vehicle is moving, under conditions of changing scale of the location road sign, while the vehicle moves relative to the location road sign, and subject to various angles of view and partial view of the location road sign.

19 . The computer readable storage medium of claim 11 , wherein

the video image frame sequence includes a partial scene of a road where the vehicle is traveling that includes a plurality of moving pedestrians entering and leaving the partial scene, at least one cyclist moving at a higher rate of speed relative to the plurality of pedestrians, into the partial scene, and a partial view of a building; further comprising:

capturing, via the multi-scale spatio-temporal split attention module, the spatio-temporal feature relationships at various scales across frames in the video sequence that includes the plurality of pedestrians and the at least one cyclist as the vehicle approaches and passes a section of the road where the pedestrians and the at least one cyclist are approaching to cross; and

tracking the moving plurality of pedestrians and at least one cyclist.

20 . A method for a vehicle computer vision system, the vehicle computer vision system comprising at least one video camera mounted on a vehicle, and video processor circuitry, the method comprising:

inputting a stream of video data and generating a sequence of image frames;

segmenting and tracking, by the video processor circuitry, object instances in the stream of video data, including

receiving the sequence of image frames;

analyzing the sequence of image frames using a video instance segmentation transformer to obtain a video instance mask sequence from the sequence of image frames, having

a backbone network,

a transformer encoder-decoder, and

an instance matching and segmentation block,

wherein the encoder contains a multi-scale spatio-temporal split (MS-STS) attention module to capture spatio-temporal feature relationships at multiple scales across multiple frames, the MT-STS attention module producing multi-scale spatio-temporal enriched features;

wherein the decoder contains a temporal attention block for enhancing a temporal consistency of transformer queries;

wherein the encoder further contains a deformable attention block that outputs baseline features, the baseline features being fused with the multi-scale spatio-temporal enriched features through a convolution operation to obtain encoder output features; and

displaying the video instance mask sequence.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 9, 2022
From: THAWAKAR, OMKAR; NARAYAN, SANATH; CHOLAKKAL, HISHAM; ANWER, RAO MUHAMMAD; HARIS, MUHAMMAD; KHAN, SALMAN; KHAN, FAHAD
To: MOHAMED BIN ZAYED UNIVERSITY OF ARTIFICIAL INTELLIGENCE
Reel/Frame 061709/0231 →
Continuity (1)
Related Publication 20240161334A1 · May 16, 2024
References Cited (21)
US 12112538B2 · Arnab · 2024 [cited by examiner]
US 20230290135A1 · Zhou · 2023 [cited by examiner]
US 20240005663A1 · Lee · 2024 [cited by examiner]
US 20240071064A1 · Chung · 2024 [cited by examiner]
US 20240312194A1 · Li · 2024 [cited by examiner]
CN 112990356B · 2021 [cited by applicant]
W. Zhang, X. He, X. Yu, W. Lu, Z. Zha and Q. Tian, “A Multi-Scale Spatial-Temporal Attention Model for Person Re-Identification in Videos,” in IEEE Transactions on Image Processing, vol. 29, pp. 3365-3373, 2020, doi: 10… [cited by examiner]
Bertasius et al., “Object Detection in Video with Spatiotemporal Sampling Networks”, Computer Vision â ECCV 2018: 15th Euro. Conf., Sep. 8â14, 2018, Part XII, p. 342â357, doi: 10.1007/978-3-030-01258-8_21 (Year: 2018). [cited by examiner]
C. R. Chen, Q. Fan and R. Panda, “CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification,” in 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 2021, pp. … [cited by examiner]
Zhang et al., “I2Net: Mining intra-video and inter-video attention for temporal action localization”, Neurocomputing, vol. 444, 2021, p. 16-29, doi: https://doi.org/10.1016/j.neucom.2021.02.085. (Year: 2021). [cited by examiner]
Isola et al., “Image-to-Image Translation with Conditional Adversarial Networks”, 2018, https://doi.org/10.48550/arXiv.1611.07004 (Year: 2018). [cited by examiner]
Li et al., “Locality-Aware Inter-and Intra-Video Reconstruction for Self-Supervised Correspondence Learning”, 2022, https://doi.org/10.48550/arXiv.2203.14333 (Year: 2022). [cited by examiner]
Liang et al., “Learning Intra-inter Semantic Aggregation for Video Object Detection”, Proceedings of the 2nd ACM ICMAsia, article 20, 2021, doi: 10.1145/3444685.3446273 (Year: 2021). [cited by examiner]
Mao et al, “Generative Transformer for Accurate and Reliable Salient Object Detection”, Journal of Latex Class Files, vol. 14, No. 8, Aug. 2021, DOI 10.1109/TCSVT.2024.3469286 (Year: 2021). [cited by examiner]
Wang et al, “MT-STNets: Multi-Task Spatial-Temporal Networks for Multi-Scale Traffic Prediction”, Proceedings of the 2021 SIAM International Conference on Data Mining (SDM). 2021, 504-512 (Year: 2021). [cited by examiner]
Xizhou Zhu and Weijie Su and Lewei Lu and Bin Li and Xiaogang Wang and Jifeng Dai, Deformable DETR: Deformable Transformers for End-to-End Object Detection, 2021, https://arxiv.org/abs/2010.04159 (Year: 2021). [cited by examiner]
Adria Caelles and Tim Meinhardt and Guillem Braso and Laura Leal-Taixe, DeVIS: Making Deformable Transformers Work for Video Instance Segmentation, Jul. 22, 2022, https://arxiv.org/abs/2207.11103, https://doi.org/10.485… [cited by examiner]
Sudhir Yarram and Jialian Wu and Pan Ji and Yi Xu and Junsong Yuan, Deformable VisTR: Spatio temporal deformable attention for video instance segmentation, Mar. 12, 2022, https://arxiv.org/abs/2203.06318, https://doi.or… [cited by examiner]
Xiao, et al. ; Space-time super-resolution for satellite video: A joint framework based on multi-scale spatial-temporal transformer ; International Journal of Applied Earth Observations and Geoinformation 108 ; Feb. 19,… [cited by applicant]
Yang, et al. ; STA-TSN: Spatial-Temporal Attention Temporal Segment Network for action recognition in video ; PLOS ONE 17(3) ; Mar. 17, 2022 ; 19 Pages. [cited by applicant]
Wang, et al. ; End-to-End Video Instance Segmentation with Transformers ; University of Adelaide ; Oct. 8, 2021 ; 10 Pages. [cited by applicant]