A tool for detecting slide changes in videos and saving them as PowerPoint slides.
Project description
SlideDetect
SlideDetect is a Python tool designed to detect slide changes in videos and save them as individual slides in a PowerPoint presentation. It utilizes computer vision techniques to analyze video frames and identify moments where slide content changes, making it an invaluable resource for capturing presentation slides from recorded lectures, webinars, and other video presentations.
Installation
SlideDetect requires Python 3.6 or newer. Before installing SlideDetect, ensure you have Python installed on your system. You can download and install SlideDetect using the following command:
pip install SlideDetect
Usage
After installation, you can use SlideDetect from the command line. Here's how you can detect slides in a video:
slide-detector <path_to_video> <output_folder> --threshold <threshold_value>
-
<path_to_video>
: The path to the video file you want to process. -
<output_folder>
: The directory where you want to save the extracted slides. -
(Optional)
--threshold <threshold_value>
: A numeric threshold value between 0 and 1 for detecting slide changes. Higher values make slide change detection more strict. The default --threshold value is 1 if--threshold <threshold_value>
has no input.
Example:
slide-detector "C:\Users\Videos\Example.mp4" "C:\Users\Videos\" --threshold 0.8
Features
-
Video Processing: Efficiently processes video files to detect slide changes.
-
Slide Extraction: Saves detected slides as individual PowerPoint slides.
-
Customizable Threshold: Allows the user to set a custom threshold for slide change detection, accommodating different video qualities and styles.
Dependencies
SlideDetect depends on the following Python libraries; however, these dependencies will be automatically installed when installing SlideDetect via pip:
- OpenCV
- NumPy
- python-pptx
- Pillow
- tqdm
License
SlideDetect is licensed under the GNU General Public License v3.0 (GPLv3). See the LICENSE file for more details or visit https://www.gnu.org/licenses/gpl-3.0.html.
Contributing
Contributions to SlideDetect are welcome! Please feel free to report issues, suggest features, or submit pull requests.
Contact
If you have any questions or feedback, please open an issue on the GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file SlideDetector-0.1.0.tar.gz
.
File metadata
- Download URL: SlideDetector-0.1.0.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0544610172bc36824eeb349ea1f55f405eb938cbc429a2bd35e65473c057019f |
|
MD5 | e8c5d42cb82c516cf4202eaf0c6a96aa |
|
BLAKE2b-256 | 5b21772b081d3347ade37659733924caa61958e341b88bfb0f29f1053bb26e3f |
File details
Details for the file SlideDetector-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: SlideDetector-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c08d71227c5562a864f9e006e1bc1759ab7c295b93fc5d704340586504e34f72 |
|
MD5 | b11c8d97114f79105ed0ccc9521d4ebc |
|
BLAKE2b-256 | 69e8ac64cd2f9e34876a1ec41cb9cb95f674d4e0d7f8658480d19c18eb16c201 |