Skip to content

introverthacker11/CompVision-AIVisionLock-ObjectTrackingSystem___r38

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Military Object Tracking (Template Matching)

Title Image


Live App Link:

Click here to open app


📌 Project Overview

This project is a single-object military target tracking system built using OpenCV and Streamlit.
It uses adaptive template matching to track a military vehicle (tank, jeep, etc.) in video streams.
The app provides an interactive interface to upload videos, set an initial bounding box (ROI), and export the tracked video.


🛠 Features

  • Upload a video in MP4, AVI, or MOV formats
  • Preview the first frame with pixel grid to set bounding box accurately
  • Manual Bounding Box (x, y, width, height) input
  • Adaptive template matching for robust tracking
  • Visual overlays: bounding box, crosshair, aim circle
  • FPS display for performance monitoring
  • Export tracked video with annotations and aim lock indicators
  • Temporary storage for uploaded videos ensures smooth processing

⚙️ Tech Stack

  • OpenCV (cv2) → Template matching and video processing
  • NumPy → Array manipulation and pixel-level operations
  • Streamlit → Web interface and UI
  • Matplotlib → Preview first frame with grids
  • Python Standard Libraries → time, os, tempfile for file handling

👨‍💻 Developers

  • Rayyan Ahmed
  • Google Certified AI Prompt Specialist
  • IBM Certified LLM Fine Tuning Expert
  • Hugging Face Certified LLM Fundamentalist
  • AI Expertise: Python, OOPs, DSA, EDA, DataBases, ML, DL, CV, NLP, LLM, GenAI, AgenticAI

📂 Project Structure

├── LICENSE
├── README.md
├── Sot Architecture.png
├── app.py
└── app2.py
└── requirements.txt
└── sot-3.ipynb

📝 Usage

  1. Open the app link in your browser
  2. Upload the video file you want to track
  3. Preview the first frame to estimate bounding box coordinates
  4. Enter x, y, width, height values in the sidebar
  5. Set a custom output filename
  6. Click 🚀 Start Tracking
  7. Download the processed video when ready

💡 Notes & Tips

  • Coordinates start from the top-left corner (0,0)
  • Accurate bounding box improves tracking performance
  • Tracking template updates every 10 frames to adapt to changes
  • Bright or dark frames are automatically inverted for better template matching

⚖️ MIT License

Don't use without permission This project is developed for educational purposes and demo use.
Please do not use for actual military applications.

About

Single Object Tracking System - Applied on Military vehicles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published