Skip to content

ProjectGlyphMotion/Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Project GlyphMotion πŸŒ€βœ¨

This script performs object tracking on input videos using YOLOv8 and allows you to specify bounding box colors. It supports threading for I/O, system resource monitoring, and preserves original video audio using FFmpeg.


πŸš€ Features

  • βœ… YOLOv8 Object Detection and Tracking
  • 🎨 Customizable Bounding Box Color
  • βš™οΈ Threaded Frame Reading/Writing
  • πŸ“Š Real-Time CPU/GPU/RAM Monitoring
  • 🧠 GPU Acceleration (CUDA supported)
  • πŸ”ˆ Preserve Audio using FFmpeg
  • πŸ’Ύ Automatic Output Directory Creation
  • πŸ”„ Progress Bar with tqdm

πŸ› οΈ Setup

Clone the Repository

git clone https://github.com/ProjectGlyphMotion/Script && cd Script

Install Dependencies

pip install -r requirements.txt
  • Ensure FFmpeg is installed and accessible from the command line.

  • If you want to use GPU power to process the video, ensure NVIDIA CUDA is installed properly.

  • Cuda can be a pain in the πŸ‘HOLE if you have a 30 or 40 series card, here is a FIX


πŸ§ͺ Usage

Run the script and enter the input video path when prompted:

python3 ot.py                      

For custom RGB colours (Default is Green)

πŸ”΅ Blue

python3 ot.py --box_color 0,0,255  

πŸ”΄ Red

python3 ot.py --box_color 255,0,0  

🟒 Green

python3 ot.py --box_color 0,255,0  

πŸ“‚ Output

  • Videos are saved in the output/ directory.
  • Format: <original_name>_processed.mp4

βœ… Example Result


πŸ“ƒ License

MIT License Β© 2025 Sayan Sarkar & Shitij Halder

Credits

Made with ❀️ by Sayan and Shitij

This project is based on the Ultralytics YOLOv8, an acclaimed real-time object detection and image segmentation model.

About

Script | Project GlyphMotion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages