| Algorithm 1: Query image injection. |
| 1 Conduct map matching for trajectory
; 2 Estimate the travel speed in road segment ; 3 Determine the image injection period ; 4 Perform object detection and tracking for video frames in ; 5 Randomly select a detected object ; 6 for each video frame within do 7 the bounding box of in ; 8 Randomly select an image from gallery ; 9 Resize with equal size to ; 10 Replace in frame with ; |