ROI Marking for Traffic Surveillance at Cross Roads


Total downloads: 91

This code repository helps in keep an eye on vehicles crossing the junction at any cross junction. It tracks the vehicles crossing the junction by defining the imaginary cross line at each side. The interactive line plotting in python to count the number of crossing vehicles and track them is scripted in this repository.  The tracking algorithm used is mainly background subtraction using GMM along with some morphological operations.

This repository contains:

  • python code
  • input video
Download Code  Discuss Code


Traffic surveillance and interactive on road ROI marking for traffic counting, tracking of vehicles and recording of their time when the vehicle crosses the ROI is written in this code. This repository is the extension of work done here. In extension, interactive ROI marking is introduced in the script which makes it useful for every kind of vehicle tracking work.

How to run

  1. Keep all the files along with Roundabout.MP4 in the same directory.
  2. Move to the directory path from the terminal
  3. pip install -r ../requirements.txt
  4. after installation of every package in the txt file is finished.
  5.  run $python

Input Video

Input video for this repository can be fetched from

The related code for License plate detection and identification can be checked here.

admin is an innovative and first of its kind platform created by Vidhilekha Soft Solutions Pvt Ltd, a Startup recognized by the Department For Promotion Of Industry And Internal Trade, Ministry of Commerce and Industry, Government of India recognised innovative research startup.

26 reviews for ROI Marking for Traffic Surveillance at Cross Roads

  1. venkat.reddy (verified owner)


  2. venkat.reddy (verified owner)


  3. s.j (verified owner)


  4. theo.kontoh (verified owner)


  5. sameer.kumthekar (verified owner)


  6. vankani.arjun (verified owner)

    Nice project !!

  7. sameer.kumthekar (verified owner)

    best one

  8. divyam.verma (verified owner)


  9. divyam.verma (verified owner)

    good work

  10. divyam.verma (verified owner)

    good work

  11. SHENXIAOXIAO (verified owner)

    well done

  12. satrughan.kumar (verified owner)

    well suported content

  13. ratheesh.p m (verified owner)

    Very Helful

  14. ratheesh.p m (verified owner)

    Very Helpful

  15. ratheesh.p m (verified owner)


  16. ratheesh.p m (verified owner)

    good collection

  17. butter.face (verified owner)

    hgjghjfgjfgjgfjfgjfgjhfgjh ghjgfhjfghjfghjf ghjf

  18. chou_aib (verified owner)


  19. omid.mokhlessi (verified owner)


  20. omid.mokhlessi (verified owner)


  21. omid.mokhlessi (verified owner)


  22. omid.mokhlessi (verified owner)


  23. omid.mokhlessi (verified owner)


  24. omid.mokhlessi (verified owner)


  25. sagar.verma (verified owner)


  26. savita yadav (verified owner)


Only logged in customers who have purchased this product may leave a review.