The HDMI Closed Captioning Filter is a Python program that runs on a Raspberry Pi and allows you to filter out swear words from closed captioning tracks in movies and TV shows. The program uses the OpenCV library to parse HDMI input, detects the name of the movie or TV show, pulls the closed captioning track from the internet, searches for swear words, and removes them from the closed captioning track.
To install the HDMI Closed Captioning Filter on your Raspberry Pi, follow these steps:
- Clone the repository to your Raspberry Pi using the following command:
git clone https://github.com/Darkcatching73/hdmi-closed-captioning-filter.git
-
Navigate to the directory where the program is located using the cd command. For example, if the program is in the hdmi-closed-captioning-filter directory, you can navigate to it using the command cd hdmi-closed-captioning-filter.
-
Run the installer script using the command
sudo ./install.sh.
The installer will check for any missing dependencies and prompt you to install them.
- Once the installer has finished, you can run the program using the following command:
python3 hdmi_closed_captioning_filter.py
To use the HDMI Closed Captioning Filter, simply connect an HDMI source to your Raspberry Pi and run the program. The program will automatically detect the name of the movie or TV show and pull the closed captioning track from the internet.
If any swear words are detected in the closed captioning track, they will be censored and the audio will be muted.
Config support is coming soon, this project is still in its developmental phases
If you would like to contribute to the HDMI Closed Captioning Filter, feel free to fork the repository and submit a pull request. We welcome any and all contributions to the project.