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)```
Metadata
Release files for slide-extractor 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| slide_extractor-2.0.1.tar.gz | 6.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| slide_extractor-2.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / slide_extractor-2.0.1.tar.gz
| Download URL | slide_extractor-2.0.1.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6150cd6e1a73075799abf36b60494873b8eb9ef71951133d05fa731fdb96ebbd
|
|
BLAKE2b-256 checksum How to use checksums |
0c7fc4692edbaa7cd4f5273908363f5c2e6341d885a7a0b6a8ec370cee7ad2e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / slide_extractor-2.0.1-py3-none-any.whl
| Download URL | slide_extractor-2.0.1-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afd0c822269efdcce91962145e2d1deda8074b643c59dbb9a14eaaf3da991d78
|
|
BLAKE2b-256 checksum How to use checksums |
133a2487965e1ebd7def26c3e4030087c01775ee7426db0fde82c493197ff179
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for slide-extractor 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.