Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevintab95/de_kfe
Key Frame Extraction using Differential Evolution
https://github.com/kevintab95/de_kfe
differential-evolution extracts-key-frames genetic-algorithm keyframe opencv video-processing
Last synced: 18 days ago
JSON representation
Key Frame Extraction using Differential Evolution
- Host: GitHub
- URL: https://github.com/kevintab95/de_kfe
- Owner: kevintab95
- Created: 2017-05-13T14:20:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-04T09:42:28.000Z (about 6 years ago)
- Last Synced: 2024-10-13T04:33:07.437Z (about 1 month ago)
- Topics: differential-evolution, extracts-key-frames, genetic-algorithm, keyframe, opencv, video-processing
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 34
- Watchers: 2
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DE_KFE
Key Frame Extraction using Differential EvolutionPython scripts that implement DE for extraction of key frames from a video stream.
NOTE: This repository is intended as a backup for my final year project files.
Requirements:
* Python 2.7
* Additional Python libraries:
* cv2
* skimage
* imageioThis repository contains five python scripts:
1. DE_SSIM.py
This script uses Average SSIM as the fitness function.
Input: JPEG images (frames from a video)
Output: GIF image containing all the extracted key frames.
2. DE_Entropy.pyThis script uses Average Entropy Difference as the fitness function.
Input: JPEG images (frames from a video)
Output: GIF image containing all the extracted key frames.
3. DE_Euclidean.pyThis script uses Average Euclidean Distance as the fitness function.
Input: JPEG images (frames from a video)
Output: GIF image containing all the extracted key frames.
4. DE_LIVE.pyThis script uses Average Euclidean Distance as the fitness function. It extracts key frames from a live video,
it will output a GIF image containing the extracted key frames periodically
(depending on how many frames to read and number of key frames required).
Input: JPEG images (output from capture_xframes)
Output: GIF image containing all the extracted key frames.
5. capture_xframes.pyThis script captures webcam stream and saves the frames as JPEG files.