DEV Community

Mate Technologies
Mate Technologies

Posted on

πŸš€ VID2IMG Pro β€” Extract & Anonymize Video Frames Like a Pro

If you’ve ever needed to turn a video into high-quality images β€” whether for AI datasets, photogrammetry, or privacy-safe content β€” you know it’s not as simple as hitting β€œexport frames.”

That’s exactly why I built VID2IMG Pro.

πŸ‘‰ Get it here: https://gum.new/gum/cmk5ut3j8000i04l1fdp098nh

🎯 What is VID2IMG Pro?

VID2IMG Pro is a powerful desktop application that lets you:

Extract frames from videos at custom intervals
Automatically anonymize faces and license plates
Generate clean datasets for AI or 3D reconstruction
Process 360Β° videos safely
Export optimized image sequences

All wrapped in a modern UI powered by ttkbootstrap.

πŸ”₯ Key Features
🎬 Smart Frame Extraction
Supports MP4, AVI, MOV
Custom frame intervals (e.g., every 10 frames)
Batch-ready workflow
πŸ”’ Built-in Anonymization
Face detection + blur
License plate pixelation
Privacy-ready outputs for public datasets
🌍 360° Video Support
Handles equirectangular formats
Prevents distortion artifacts during processing
🧠 Photogrammetry Mode

Perfect for tools like:

Meshroom
RealityCapture
Metashape

Includes:

Lossless PNG output
Sequential naming
Consistent resolution
πŸ“Š Live Feedback UI
Real-time logging
Progress bar tracking
Thread-safe UI updates
🧩 Tech Stack

Here’s what powers VID2IMG Pro:

import tkinter as tk
import ttkbootstrap as tb
import cv2
import numpy as np
import threading
Tkinter + ttkbootstrap β†’ Modern GUI
OpenCV β†’ Video processing & detection
Multithreading β†’ Smooth, non-blocking UI
βš™οΈ How It Works

  1. Load a Video cap = cv2.VideoCapture(video_path.get())
  2. Loop Through Frames ret, frame = cap.read()
  3. Apply Anonymization (Optional) faces = face_cascade.detectMultiScale(gray, 1.2, 5) frame[y:y+h, x:x+w] = cv2.GaussianBlur(roi, (51, 51), 0)
  4. Save Frames cv2.imwrite(path, frame)
  5. Update UI Safely app.after(0, lambda: func(*args)) πŸ’‘ Real-World Use Cases πŸ€– AI Dataset Creation

Extract labeled frames while anonymizing sensitive data.

🚁 Drone Footage Processing

Convert aerial video into usable still frames.

πŸ™οΈ Privacy-Compliant Recording

Blur faces and plates automatically for legal compliance.

🧱 3D Reconstruction

Generate perfect input for photogrammetry pipelines.

πŸ–₯️ UI Highlights
Clean two-panel layout
Live scrolling logs
Progress tracking
Built-in help guide
Start/Stop control with threading safety
🧠 Developer Notes

A few important design decisions:

Thread-safe UI updates using:
app.after(0, ...)
Graceful stop handling with:
stop_event = threading.Event()
Resource packaging support:
getattr(sys, '_MEIPASS', ...)

This makes it fully compatible with PyInstaller builds.

πŸ“¦ Why This Tool Matters

Most frame extractors:

❌ Ignore privacy
❌ Lack automation
❌ Break on large workloads

VID2IMG Pro fixes that by combining:

Performance
Privacy
Professional workflow features
πŸš€ Try It Out

πŸ‘‰ Download VID2IMG Pro:
https://gum.new/gum/cmk5ut3j8000i04l1fdp098nh

πŸ’¬ Final Thoughts

This project was built with real-world workflows in mind β€” not just as a utility, but as a production-ready tool.

If you’re working with:

AI
Video processing
Computer vision
3D reconstruction

…this will save you hours.

Top comments (0)