Welcome to the Subtitle Area Capture Tool! This utility is designed to enable users to effortlessly capture subtitles from any section of their screen, and automatically copy the captured subtitles to the clipboard. Whether you're working with video playback tools, streaming platforms, or any other medium - our tool is optimized to streamline the subtitle capturing process.
Before you can run the Subtitle Area Capture Tool, ensure you have the necessary dependencies installed.
- Install the Requirements:
pip install -r requirements.txt
Make sure you're in the root directory of the project when running this command.
To initiate the tool, you need to provide the type of subtitle color you are working with. The available options are black and white.
python japan_sub.py --mask [black/white]For example, if your video has black subtitles:
python japan_sub.py --mask blackAfter calling the script with the appropriate arguments:
- Mark the Top-Left Corner: Click on the top-left corner of the area where the subtitles appear.
- Mark the Top-Right Corner: Click on the top-right corner of the subtitle area.
Post these steps, the script will automatically begin capturing subtitles from the defined area and copying them to your clipboard.
Your contributions are always welcome! Please fork the repository and make changes as you'd like. Pull requests are encouraged.
If you encounter any bugs or have suggestions, please file an issue in the GitHub issue tracker, or better yet, submit a pull request!
This project is licensed under the terms of the MIT License.