https://github.com/lissy93/pax
📸 A script which removes flashes from a video stream
https://github.com/lissy93/pax
Last synced: 9 months ago
JSON representation
📸 A script which removes flashes from a video stream
- Host: GitHub
- URL: https://github.com/lissy93/pax
- Owner: Lissy93
- Created: 2019-03-09T02:16:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T21:50:29.000Z (over 2 years ago)
- Last Synced: 2025-05-02T23:35:55.999Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 42.7 MB
- Stars: 24
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Pax 📸
Detects and removes camera flashes from a video stream
## Intro
The aim in developing this module was to use machine vision to detect and eliminate sudden contrast changes, caused mainly by camera speed light. Video footage containing fast flickering images, such as camera flashes is non-accessible for some people with photosensitive epilepsy. It also generally decreases the viewing quality of clips.
_This project is a proof of concept, and as such it is yet optimised for production.
_
_It was built at [StartHack 19](https://starthack.ch/) by myself and [Ollie](https://github.com/OlliePoole), and won first place :)_
## Example
| Before | After |
| ------------- |:-------------:|
|  |  |
|  |  |
## Usage Instructions
Once you've cloned and cd'd into the repo, use Python 3 to run the Pax script, for example:
python3 main.py -i path/to/your/video.mp4 -o path/to/your/dest.mp4 -c mp4v
Where the `--ifile` is your input, `--ofile` is your output, and `--codec` is your chosen, and installed codec
## How It Works
The general flow of the program:

Developed at StartHack 19, won 1st place 🏆
© Alicia Sykes and Ollie Poole 2019
Licensed under MIT