slide-extractor


Nameslide-extractor JSON
Version 2.0.1 PyPI version JSON
download
home_pagehttps://github.com/Slide-extractor-beta/slide-extractor
SummaryA simple commandline tool to extract slides from videos,lectures and presentations
upload_time2023-12-10 22:28:43
maintainer
docs_urlNone
authorVivek Anand
requires_python>=3.5
licenseMIT
keywords slide-extractor slide_extractor extractor slide slide extractor
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # slide-extractor
An easy tool to extract slides from presentations ( lectures 😉 )

<h3>Usage</h3>

`slide-extractor -p <path> -s <number> -d <number>` <br>
or <br>
`slide-extractor -u <youtube url> -s <number> -d <number>`

<h5>Flags</h5>

- `-p or --path` : Provides the path for the video file <b>( * required)</b>
- `-u or --url`  : Specifies the url of youtube video you want to get the slides of (<strong>Note :</strong> 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]]`. <br>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)```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Slide-extractor-beta/slide-extractor",
    "name": "slide-extractor",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "slide-extractor,slide_extractor,extractor,slide,slide extractor",
    "author": "Vivek Anand",
    "author_email": "vivek17212797@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0c/7f/c4692edbaa7cd4f5273908363f5c2e6341d885a7a0b6a8ec370cee7ad2e0/slide_extractor-2.0.1.tar.gz",
    "platform": null,
    "description": "# slide-extractor\r\nAn easy tool to extract slides from presentations ( lectures \u00f0\u0178\u02dc\u2030 )\r\n\r\n<h3>Usage</h3>\r\n\r\n`slide-extractor -p <path> -s <number> -d <number>` <br>\r\nor <br>\r\n`slide-extractor -u <youtube url> -s <number> -d <number>`\r\n\r\n<h5>Flags</h5>\r\n\r\n- `-p or --path` : Provides the path for the video file <b>( * required)</b>\r\n- `-u or --url`  : Specifies the url of youtube video you want to get the slides of (<strong>Note :</strong> Use either -p or -u. If both are given, -p will be preferred)\r\n- `-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\r\n- `-s or --skip` : Provides the skip seconds for the video.( Captures the video's frames at interval of specified value )\r\n- `-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)\r\n- `-h or --help` : Help Menu\r\n\r\nTry adjusting the `diff` value if you think all slides aren't being captured or too many slides are being captured.\r\n\r\nToo Low `diff` value will make the extractor captures slides even with slight difference.\r\n\r\nToo  High `diff` value might make the extractor skip certain slides.\r\n\r\n## How to pass `-c` or `--coor`\r\n\r\nImagine this situation where you want to compare only the area (x1,y1),(x2,y2) pass it as `-c [[x1,y1],[x2,y2]]`. <br>You will also be shown a sample image which is being considered for the evaluation. Use it as a reference o decide the coordinates.\r\n```\r\n(0,0)\r\n-------------------------------------------\r\n|                                         | \r\n|    (x1, y1)                             |\r\n|      ------------------------           |\r\n|      |                      |           |\r\n|      |                      |           | \r\n|      |         ROI          |           |  \r\n|      |                      |           |   \r\n|      |                      |           |   \r\n|      |                      |           |       \r\n|      ------------------------           |   \r\n|                           (x2, y2)      |    \r\n|                                         |             \r\n|                                         |             \r\n|                                         |             \r\n-------------------------------------------(frame max width,frame max height)```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple commandline tool to extract slides from videos,lectures and presentations",
    "version": "2.0.1",
    "project_urls": {
        "Download": "https://github.com/Slide-extractor-beta/slide-extractor/archive/refs/tags/v1.0.0-beta.tar.gz",
        "Homepage": "https://github.com/Slide-extractor-beta/slide-extractor"
    },
    "split_keywords": [
        "slide-extractor",
        "slide_extractor",
        "extractor",
        "slide",
        "slide extractor"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "133a2487965e1ebd7def26c3e4030087c01775ee7426db0fde82c493197ff179",
                "md5": "68bcda08e0f3e114a6444a5be856809e",
                "sha256": "afd0c822269efdcce91962145e2d1deda8074b643c59dbb9a14eaaf3da991d78"
            },
            "downloads": -1,
            "filename": "slide_extractor-2.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "68bcda08e0f3e114a6444a5be856809e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 6767,
            "upload_time": "2023-12-10T22:28:40",
            "upload_time_iso_8601": "2023-12-10T22:28:40.511120Z",
            "url": "https://files.pythonhosted.org/packages/13/3a/2487965e1ebd7def26c3e4030087c01775ee7426db0fde82c493197ff179/slide_extractor-2.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c7fc4692edbaa7cd4f5273908363f5c2e6341d885a7a0b6a8ec370cee7ad2e0",
                "md5": "6cb3d7adcaf027d55c9937e8926b4be1",
                "sha256": "6150cd6e1a73075799abf36b60494873b8eb9ef71951133d05fa731fdb96ebbd"
            },
            "downloads": -1,
            "filename": "slide_extractor-2.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6cb3d7adcaf027d55c9937e8926b4be1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 6023,
            "upload_time": "2023-12-10T22:28:43",
            "upload_time_iso_8601": "2023-12-10T22:28:43.274628Z",
            "url": "https://files.pythonhosted.org/packages/0c/7f/c4692edbaa7cd4f5273908363f5c2e6341d885a7a0b6a8ec370cee7ad2e0/slide_extractor-2.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-10 22:28:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Slide-extractor-beta",
    "github_project": "slide-extractor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "slide-extractor"
}
        
Elapsed time: 0.18110s