Mustafa Chasmai | Tamajit banerjee
Part of an assignment for the course COP290, 2021 by Prof. Rijurekha Sen. Course Website: here.
Use homography transform to correct camera angle and then crop the warped image to get the region of interest.
From left to right: the original image, after being warped (corrected) and the final crop.
Queue density is density of all vehicles queued (either standing or moving) which are waiting for red signal in the straight stretch of road going towards north. Dynamic density is the density of those vehicles which are not standing but moving in that same stretch. From a camera view video of the road, we estimated the queue and dynamic density of traffic on that road as time passed.
Plot of the estimated queue and dynamic density for different frames in the video.
Further improving the latency or throughput of the algorithm using mult-threading and sub-sampling. Explored the various trade-offs involved in designing a real-life system.