cv2multizoom


Namecv2multizoom JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/cv2multizoom
SummaryFast multiple zooms on a picture using cv2 and ffmpeg
upload_time2022-12-29 02:43:20
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords zoom ffmpeg cv2
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Fast multiple zooms on a picture using cv2 and ffmpeg


```python
# Allowed image formats: url/path/buffer/base64/PIL/np
# ffmpeg must be installed 
from cv2multizoom import multizoom
multizoom(
    img=r"https://github.com/hansalemaos/screenshots/raw/main/splitted1.png",
    howmanyzooms=10,  # number of output pictures might be a little less than howmanyzooms
    outputfolder=r"F:\cv2mergepics\tt4",  # will be created if it does not exist
    zoomfactor_start=1,
    zoom_speed=2.5,
    framerate=29.97,
    zfill=7,  # 0000001.png instead of 1.png
    prefix="zoompics_",
    threads=5,
)


```


<img src="https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000000.png"/>


<img src="https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000001.png"/>


<img src="https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000002.png"/>


<img src="https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000003.png"/>


<img src="https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000004.png"/>


<img src="https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000005.png"/>


<img src="https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000006.png"/>


<img src="https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000007.png"/>


<img src="https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000008.png"/>




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/cv2multizoom",
    "name": "cv2multizoom",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "zoom,ffmpeg,cv2",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/5d/fd/0256f4ee536636fb5d45460c0060d2b72f6fcb6ef90d7e65af117aee6585/cv2multizoom-0.10.tar.gz",
    "platform": null,
    "description": "\n# Fast multiple zooms on a picture using cv2 and ffmpeg\n\n\n```python\n# Allowed image formats: url/path/buffer/base64/PIL/np\n# ffmpeg must be installed \nfrom cv2multizoom import multizoom\nmultizoom(\n    img=r\"https://github.com/hansalemaos/screenshots/raw/main/splitted1.png\",\n    howmanyzooms=10,  # number of output pictures might be a little less than howmanyzooms\n    outputfolder=r\"F:\\cv2mergepics\\tt4\",  # will be created if it does not exist\n    zoomfactor_start=1,\n    zoom_speed=2.5,\n    framerate=29.97,\n    zfill=7,  # 0000001.png instead of 1.png\n    prefix=\"zoompics_\",\n    threads=5,\n)\n\n\n```\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000000.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000001.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000002.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000003.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000004.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000005.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000006.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000007.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000008.png\"/>\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Fast multiple zooms on a picture using cv2 and ffmpeg",
    "version": "0.10",
    "split_keywords": [
        "zoom",
        "ffmpeg",
        "cv2"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "d889c543833f9ace2a07c57260faebba",
                "sha256": "f206cd6e7ccf666fca8bf42e7740473cd14ff14c4c261b143bedeefc32106d0e"
            },
            "downloads": -1,
            "filename": "cv2multizoom-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d889c543833f9ace2a07c57260faebba",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5500,
            "upload_time": "2022-12-29T02:43:18",
            "upload_time_iso_8601": "2022-12-29T02:43:18.789041Z",
            "url": "https://files.pythonhosted.org/packages/0a/80/2ec161f842134563dfd9492fbad12ce71bd8221b6570ffb4f980bd4dd927/cv2multizoom-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "ebf6194785be0dbc7270b808ebbed042",
                "sha256": "c6b6c4bb0ee078710899e81f9483e6c3d702c4f802335d81c468116d67e9c6bc"
            },
            "downloads": -1,
            "filename": "cv2multizoom-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "ebf6194785be0dbc7270b808ebbed042",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4094,
            "upload_time": "2022-12-29T02:43:20",
            "upload_time_iso_8601": "2022-12-29T02:43:20.217158Z",
            "url": "https://files.pythonhosted.org/packages/5d/fd/0256f4ee536636fb5d45460c0060d2b72f6fcb6ef90d7e65af117aee6585/cv2multizoom-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-29 02:43:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "cv2multizoom",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "cv2multizoom"
}
        
Elapsed time: 0.03162s