This project implements an automated video summarization framework that extracts representative keyframes from videos using scene detection and semantic feature analysis.
The proposed LMSKE pipeline combines scene segmentation, CLIP-based feature extraction, clustering, and redundancy filtering to generate a concise visual summary while preserving important content from the original video.
The framework consists of the following stages:
- Video Input
- Scene Detection using PySceneDetect
- Frame Sampling
- CLIP Feature Extraction
- K-Means Clustering
- Representative Keyframe Selection
- Redundancy Removal
- Summary Generation
- Python
- OpenCV
- PyTorch
- CLIP (ViT-B/32)
- Scikit-learn
- PySceneDetect
- NumPy
- Matplotlib
The framework generates:
- Representative keyframes
- Keyframe timestamps
- Keyframe visualization grid
- Compression ratio analysis
- Performance comparison metrics
.
├── LMSKE_Project.ipynb
├── README.md
├── requirements.txt
├── images/
│ └── pipeline.png
└── sample_output/
├── keyframes_grid.png
├── keyframe_timestamps.png
└── performance_metrics.png
- Real-time video summarization
- Multi-modal video understanding
- Video caption generation
- Transformer-based shot understanding
- Adaptive keyframe selection strategies
- Zaed Rizwan
- Deepanshu



