{"id":19901353,"url":"https://github.com/lissy93/pax","last_synced_at":"2025-09-13T01:41:35.060Z","repository":{"id":69393698,"uuid":"174637807","full_name":"Lissy93/pax","owner":"Lissy93","description":"📸 A script which removes flashes from a video stream","archived":false,"fork":false,"pushed_at":"2023-10-11T21:50:29.000Z","size":44798,"stargazers_count":24,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-02T23:35:55.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lissy93.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-03-09T02:16:52.000Z","updated_at":"2024-08-06T08:04:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec8ad454-f183-4bbb-b9bd-251863c75a06","html_url":"https://github.com/Lissy93/pax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lissy93/pax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lissy93%2Fpax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lissy93%2Fpax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lissy93%2Fpax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lissy93%2Fpax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lissy93","download_url":"https://codeload.github.com/Lissy93/pax/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lissy93%2Fpax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274907821,"owners_count":25371819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-12T02:00:09.324Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T20:14:43.730Z","updated_at":"2025-09-13T01:41:35.048Z","avatar_url":"https://github.com/Lissy93.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ePax 📸\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003ci\u003eDetects and removes camera flashes from a video stream\u003c/i\u003e\u003cbr\u003e\n\u003c/p\u003e\n\n## Intro\n\nThe 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.\n\n_This project is a proof of concept, and as such it is yet optimised for production.\u003cbr\u003e_\n_It was built at [StartHack 19](https://starthack.ch/) by myself and [Ollie](https://github.com/OlliePoole), and won first place :)_\n\n## Example\n\n| Before        | After         |\n| ------------- |:-------------:|\n| ![Demo before running script](docs/before.gif) | ![Demo after running script](docs/after.gif) |\n| ![Chart showing luminosity against frame, before](docs/before-chart-grey.png) | ![Chart showing luminosity against frame, after](docs/after-chart-grey.png) |\n\n## Usage Instructions\n\nOnce you've cloned and cd'd into the repo, use Python 3 to run the Pax script, for example:\n\n    python3 main.py -i path/to/your/video.mp4 -o path/to/your/dest.mp4 -c mp4v\n\nWhere the `--ifile` is your input, `--ofile` is your output, and `--codec` is your chosen, and installed codec\n\n## How It Works\n\n\u003ca href=\"https://vimeo.com/777919376\"\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg width=\"300\" src=\"https://i.ibb.co/HCycD07/alicia-ollie-pax-video-thumbnail.png\" /\u003e\n    \u003cbr\u003e\n    \u003ci\u003eWatch Interview\u003c/i\u003e\n  \u003c/p\u003e\n\u003c/a\u003e\n\nThe general flow of the program:\n\n![Flow Chart](docs/flow-chart.png)\n\n\n\u003c!-- License + Copyright --\u003e\n\u003cp align=\"center\"\u003e\n  \u003ci\u003eDeveloped at \u003ca href=\"https://starthack.ch/\"\u003eStartHack 19\u003c/a\u003e, won 1st place 🏆\u003c/i\u003e\u003cbr\u003e\n  \u003ci\u003e© \u003ca href=\"https://aliciasykes.com\"\u003eAlicia Sykes\u003c/a\u003e and \u003ca href=\"https://github.com/OlliePoole\"\u003eOllie Poole\u003c/a\u003e 2019\u003c/i\u003e\u003cbr\u003e\n  \u003ci\u003eLicensed under \u003ca href=\"https://gist.github.com/Lissy93/143d2ee01ccc5c052a17\"\u003eMIT\u003c/a\u003e\u003c/i\u003e\u003cbr\u003e\n  \u003ca href=\"https://github.com/lissy93\"\u003e\u003cimg src=\"https://i.ibb.co/4KtpYxb/octocat-clean-mini.png\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- Dinosaur --\u003e\n\u003c!-- \n                        . - ~ ~ ~ - .\n      ..     _      .-~               ~-.\n     //|     \\ `..~                      `.\n    || |      }  }              /       \\  \\\n(\\   \\\\ \\~^..'                 |         }  \\\n \\`.-~  o      /       }       |        /    \\\n (__          |       /        |       /      `.\n  `- - ~ ~ -._|      /_ - ~ ~ ^|      /- _      `.\n              |     /          |     /     ~-.     ~- _\n              |_____|          |_____|         ~ - . _ _~_-_\n--\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flissy93%2Fpax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flissy93%2Fpax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flissy93%2Fpax/lists"}