This repository implements computer vision techniques for object segmentation, tracking, and collision risk estimation. The methods in this project are aimed at improving safety in applications such as autonomous vehicles, robotics, and advanced driver-assistance systems (ADAS).
Example Output
In modern intelligent systems, real-time decision making is critical. This project provides an integrated framework that:
- Segments objects in video frames.
- Tracks object movements over time.
- Estimates collision risk based on object trajectories and distances.
By combining these components, the system enhances situational awareness and assists in proactive collision avoidance.
- Segmentation: MASK-RCNN from Detectron2 to accurately separate objects from the background.
- Tracking: Robust tracking algorithms to monitor objects through successive frames.
- Collision Risk Estimation: Analyzes object trajectories to calculate the likelihood of collisions.
- Modular Design: Each component is designed to work independently and can be adapted to different environments or datasets.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Dhrumil-Kotadia/Vision_Based_Segmentation-Tracking-Collision_Risk_Estimation.git cd Vision_Based_Segmentation-Tracking-Collision_Risk_Estimation
-
Install the dependencies:
Ensure you have Python 3 installed. Then run:
pip install -r requirements.txt
(Detectron2 Installation: Link)
After installing the dependencies, update the left and right frames in the data folder and execute code/3d_tracking.py
Contributions are welcome! If you have suggestions or improvements, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes.
- Submit a pull request.
Please ensure your contributions adhere to the project’s coding style and include appropriate tests or documentation updates.
This project is licensed under the MIT License. See the LICENSE file for details.