A simple commandline tool to extract slides from videos,lectures and presentations
Project description
slide-extractor
An easy tool to extract slides from presentations ( lectures 😉 )
Usage
slide-extractor -p <path> -s <number> -d <number>
or
slide-extractor -u <youtube url> -s <number> -d <number>
Flags
-p or --path: Provides the path for the video file ( * required)-u or --url: Specifies the url of youtube video you want to get the slides of (Note : Use either -p or -u. If both are given, -p will be preferred)-c or --coor: Specifies the coordinates you want to compare before capturing slides. (Useful when the speaker is also in the frame), See here for how to pass this parameter-s or --skip: Provides the skip seconds for the video.( Captures the video's frames at interval of specified value )-d or --diff: Specifies the difference level between current and previous slide ( a slide is included iff the difference is higher than the specified value)-h or --help: Help Menu
Try adjusting the diff value if you think all slides aren't being captured or too many slides are being captured.
Too Low diff value will make the extractor captures slides even with slight difference.
Too High diff value might make the extractor skip certain slides.
How to pass -c or --coor
Imagine this situation where you want to compare only the area (x1,y1),(x2,y2) pass it as -c [[x1,y1],[x2,y2]].
You will also be shown a sample image which is being considered for the evaluation. Use it as a reference o decide the coordinates.
(0,0)
-------------------------------------------
| |
| (x1, y1) |
| ------------------------ |
| | | |
| | | |
| | ROI | |
| | | |
| | | |
| | | |
| ------------------------ |
| (x2, y2) |
| |
| |
| |
-------------------------------------------(frame max width,frame max height)```
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file slide_extractor-2.0.1.tar.gz.
File metadata
- Download URL: slide_extractor-2.0.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6150cd6e1a73075799abf36b60494873b8eb9ef71951133d05fa731fdb96ebbd
|
|
| MD5 |
6cb3d7adcaf027d55c9937e8926b4be1
|
|
| BLAKE2b-256 |
0c7fc4692edbaa7cd4f5273908363f5c2e6341d885a7a0b6a8ec370cee7ad2e0
|
File details
Details for the file slide_extractor-2.0.1-py3-none-any.whl.
File metadata
- Download URL: slide_extractor-2.0.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd0c822269efdcce91962145e2d1deda8074b643c59dbb9a14eaaf3da991d78
|
|
| MD5 |
68bcda08e0f3e114a6444a5be856809e
|
|
| BLAKE2b-256 |
133a2487965e1ebd7def26c3e4030087c01775ee7426db0fde82c493197ff179
|