IP Library Granted Patent US 11,580,745
Granted Patent B2
US 11,580,745 · App. 16/639,420 · Granted Feb 14, 2023

Video visual relation detection methods and systems

Inventors: Tongwei Ren (Nanjing, CN); Jingfan Guo (Nanjing, CN); Tat-Seng Chua (Singapore, SG); Xindi Shang (Singapore, SG)
Assignee: NATIONAL UNIVERSITY OF SINGAPORE
G06V20/49G06T7/11G06T7/246G06V20/46
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 11,580,745
App. No.
16/639,420
Granted
Feb 14, 2023
Kind
B2
Abstract

Methods and systems for detecting visual relations in a video are disclosed. A method comprises: decomposing the video sequence into a plurality of segments; for each segment, detecting objects in frames of the segment; tracking the detected objects over the segment to form a set of object tracklets for the segment; for the detected objects, extracting object features; for pairs of object tracklets of the set of object tracklets, extracting relativity features indicative of a relation between the objects corresponding to the pair of object tracklets; forming relation feature vectors for pairs of object tracklets using the object features of objects corresponding to respective pairs of object tracklets and the relativity features of the respective pairs of object tracklets; and generating a set of segment relation prediction results from the relation features vectors; generating a set of visual relation instances for the video sequence by merging the segment prediction results from different segments; and generating a set of visual relation detection results from the set of visual relation instances.

Claims (40)

1. A video processing method of detecting visual relations in a video sequence, the method comprising:

decomposing the video sequence into a plurality of segments, each segment comprising a plurality of successive frames corresponding to a temporal portion of the video sequence and each segment overlapping with one or more neighboring segments by at least one frame;

for each segment,

detecting objects in frames of the segment;

tracking the detected objects over the segment to form a set of object tracklets for the segment;

for the detected objects, extracting object features;

for pairs of detected objects, wherein each pair of detected objects comprises a first object which serves as a subject and a second object which serves as an object, extracting relativity features indicative of a relation between the subject and the object;

forming relation feature vectors for pairs of detected objects in the segment using the object features of objects corresponding to respective pairs of object tracklets and the relativity features of the respective pairs of detected objects; and

generating a set of segment relation prediction results for the segment from the relation features vectors;

generating a set of visual relation instances, corresponding to pairs of subject and object, for the video sequence by merging the segment relation prediction results from different segments; and

generating a set of visual relation detection results, corresponding to pairs of subject and object, from the set of visual relation instances.

2. A method according to claim 1 , wherein each segment has a length of frames L and the length of overlap is L/2.

3. A method according to claim 1 , wherein the visual relation detection results comprise a set of indications of a relation subject, a relation predicate and a relation object, wherein the relation subject and the relation object are detected objects and the relation predicate indicates a relation between the relation subject and the relation object.

4. A method according to claim 1 , wherein the object tracklets comprise a bounding box in each of a plurality of frames of the segment and a trajectory for the bounding box across the plurality of frames of the segment.

5. A method according to claim 1 , wherein the relation between the subject and the object corresponding to the pair of object tracklets, comprises at least one of the relative size, the relative position and the motion between the subject and object.

6. A method according to claim 1 , wherein generating the set of visual relation detection results from the set of visual relation instances comprises ranking the visual relation instances according to a confidence score and selecting the visual relation instances having the highest confidence scores as the visual relation detection results.

7. A method according to claim 1 , wherein merging the segment relation prediction results from different segments comprises applying a greedy algorithm to merge pairs of object tracklets across successive segments.

8. A method according to claim 1 , wherein generating the set of segment relation prediction results from the relation features vectors comprises applying a softmax function to set of relation feature vectors.

9. A method according to claim 1 , wherein detecting objects in frames of the segment comprises detecting objects belonging to one of a set of pre-defined categories.

10. A method according to claim 1 , wherein the visual relations comprise at least one dynamic relation which changes across the video sequence.

11. A computer readable medium carrying processor executable instructions which when executed on a processor cause the processor to carry out a method according to claim 1 .

12. A video processing system comprising a processor and a data storage device, the data storage device storing computer executable instructions operable by the processor to:

decompose a video sequence into a plurality of segments, each segment comprising a plurality of successive frames corresponding to a temporal portion of the video sequence and each segment overlapping with one or more neighboring segments by at least one frame;

for each segment,

detect objects in frames of the segment;

track the detected objects over the segment to form a set of object tracklets for the segment;

for the detected objects, extract object features;

for pairs of detected objects, wherein each pair of detected objects comprises a first object which serves as a subject and a second object which serves as an object, extract relativity features indicative of a relation between the subject and the object;

form relation feature vectors for pairs of detected objects in the segment using the object features of objects corresponding to respective pairs of object tracklets and the relativity features of the respective pairs of detected objects; and

generate a set of segment relation prediction results for the segment from the relation features vectors;

generate a set of visual relation instances, corresponding to pairs of subject and object, for the video sequence by merging the segment relation prediction results from different segments; and

generate a set of visual relation detection results, corresponding to pairs of subject and object, from the set of visual relation instances.

13. A video processing system according to claim 12 , wherein each segment has a length of frames L and the length of overlap is L/2.

14. A video processing system according to claim 12 , wherein the visual relation detection results comprise a set of indications of a relation subject, a relation predicate and a relation object, wherein the relation subject and the relation object are detected objects and the relation predicate indicates a relation between the relation subject and the relation object.

15. A video processing system according to claim 12 , wherein the object tracklets comprise a bounding box in each of a plurality of frames of the segment and a trajectory for the bounding box across the plurality of frames of the segment.

16. A video processing system according to claim 12 , wherein the relation between the subject and the object corresponding to the pair of object tracklets, comprises at least one of the relative size, the relative position and the motion between the subject and the object.

17. A video processing system according to claim 12 , wherein the data storage device comprises instructions operable by the processor to generate the set of visual relation detection results from the set of visual relation instances by ranking the visual relation instances according to a confidence score and selecting the visual relation instances having the highest confidence scores as the visual relation detection results.

18. A video processing system according to claim 12 , wherein the data storage device comprises instructions operable by the processor to merge the segment relation prediction results from different segments by applying a greedy algorithm to merge pairs of object tracklets across successive segments.

19. A video processing system according to claim 12 , wherein the data storage device comprises instructions operable by the processor to generate the set of segment relation prediction results from the relation features vectors by applying a softmax function to set of relation feature vectors.

20. A video processing system according to claim 12 , wherein the data storage device comprises instructions operable by the processor to detect objects in frames of the segment by detecting objects belonging to one of a set of pre-defined categories.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 14, 2020
From: REN, TONGWEI; GUO, JINGFAN; CHUA, TAT-SENG; SHANG, XINDI
To: NATIONAL UNIVERSITY OF SINGAPORE
Reel/Frame 051825/0017 →
Continuity (2)
Provisional Application 62546641 · Aug 17, 2017
Related Publication 20210133461A1 · May 6, 2021