# 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:
```bash
pip install SlideDetect
```
## Usage
After installation, you can use SlideDetect from the command line. Here's how you can detect slides in a video:
```bash
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:
```bash
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "SlideDetector",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "video processing slide detection PowerPoint",
"author": "gitrandoname",
"author_email": "165725564+gitrandoname@users.noreply.github.com",
"download_url": "https://files.pythonhosted.org/packages/5b/21/772b081d3347ade37659733924caa61958e341b88bfb0f29f1053bb26e3f/SlideDetector-0.1.0.tar.gz",
"platform": null,
"description": "# SlideDetect\r\n\r\nSlideDetect 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.\r\n\r\n## Installation\r\n\r\nSlideDetect 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:\r\n\r\n```bash\r\npip install SlideDetect\r\n```\r\n\r\n## Usage\r\n\r\nAfter installation, you can use SlideDetect from the command line. Here's how you can detect slides in a video:\r\n\r\n```bash\r\nslide-detector <path_to_video> <output_folder> --threshold <threshold_value>\r\n```\r\n* `<path_to_video>`: The path to the video file you want to process.\r\n\r\n* `<output_folder>`: The directory where you want to save the extracted slides.\r\n\r\n* *(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.\r\n\r\nExample:\r\n```bash\r\nslide-detector \"C:\\Users\\Videos\\Example.mp4\" \"C:\\Users\\Videos\\\" --threshold 0.8\r\n```\r\n## Features\r\n* Video Processing: Efficiently processes video files to detect slide changes.\r\n\r\n* Slide Extraction: Saves detected slides as individual PowerPoint slides.\r\n\r\n* Customizable Threshold: Allows the user to set a custom threshold for slide change detection, accommodating different video qualities and styles.\r\n\r\n## Dependencies\r\nSlideDetect depends on the following Python libraries; however, these dependencies will be automatically installed when installing SlideDetect via pip:\r\n\r\n* OpenCV\r\n* NumPy\r\n* python-pptx\r\n* Pillow\r\n* tqdm\r\n\r\n\r\n## License\r\n***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>.***\r\n\r\n## Contributing\r\nContributions to SlideDetect are welcome! Please feel free to report issues, suggest features, or submit pull requests.\r\n\r\n## Contact\r\nIf you have any questions or feedback, please open an issue on the GitHub repository.\r\n\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "A tool for detecting slide changes in videos and saving them as PowerPoint slides.",
"version": "0.1.0",
"project_urls": {
"Source": "https://github.com/gitrandoname/SlideDetect.git",
"Tracker": "https://github.com/gitrandoname/SlideDetect/issues"
},
"split_keywords": [
"video",
"processing",
"slide",
"detection",
"powerpoint"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "69e8ac64cd2f9e34876a1ec41cb9cb95f674d4e0d7f8658480d19c18eb16c201",
"md5": "b11c8d97114f79105ed0ccc9521d4ebc",
"sha256": "c08d71227c5562a864f9e006e1bc1759ab7c295b93fc5d704340586504e34f72"
},
"downloads": -1,
"filename": "SlideDetector-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b11c8d97114f79105ed0ccc9521d4ebc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 17486,
"upload_time": "2024-04-02T02:33:30",
"upload_time_iso_8601": "2024-04-02T02:33:30.168773Z",
"url": "https://files.pythonhosted.org/packages/69/e8/ac64cd2f9e34876a1ec41cb9cb95f674d4e0d7f8658480d19c18eb16c201/SlideDetector-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5b21772b081d3347ade37659733924caa61958e341b88bfb0f29f1053bb26e3f",
"md5": "e8c5d42cb82c516cf4202eaf0c6a96aa",
"sha256": "0544610172bc36824eeb349ea1f55f405eb938cbc429a2bd35e65473c057019f"
},
"downloads": -1,
"filename": "SlideDetector-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e8c5d42cb82c516cf4202eaf0c6a96aa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 16752,
"upload_time": "2024-04-02T02:33:32",
"upload_time_iso_8601": "2024-04-02T02:33:32.176748Z",
"url": "https://files.pythonhosted.org/packages/5b/21/772b081d3347ade37659733924caa61958e341b88bfb0f29f1053bb26e3f/SlideDetector-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-02 02:33:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gitrandoname",
"github_project": "SlideDetect",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "slidedetector"
}