get-random-samples-of-picture


Nameget-random-samples-of-picture JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/get_random_samples_of_picture
SummaryGet samples from a picture
upload_time2022-12-29 07:20:05
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords cv2 image samples crop
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Get samples from a picture 

```python
$pip install get-random-samples-of-picture
from get_random_samples_of_picture import get_random_samples

samples = get_random_samples(
    "https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000001.png", # Allowed image formats: url/path/buffer/base64/PIL/np
    width=100,
    heigth=200,
    samples=10,
    save_folder="f:\\samples_from_pic", # will be ignored if None
    prefix="papag_",  # will be ignored if save_folder=None
    zfill=8,  # will be ignored if save_folder=None
)


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


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


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


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


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


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


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


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


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


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


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





            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/get_random_samples_of_picture",
    "name": "get-random-samples-of-picture",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "cv2,image,samples,crop",
    "author": "Johannes Fischer",
    "author_email": "<aulasparticularesdealemaosp@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/e7/43/96c490ff35afadf0fc567668000153c02d0527a4efe287ad88b0553e1a7d/get_random_samples_of_picture-0.10.tar.gz",
    "platform": null,
    "description": "\n# Get samples from a picture \n\n```python\n$pip install get-random-samples-of-picture\nfrom get_random_samples_of_picture import get_random_samples\n\nsamples = get_random_samples(\n    \"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000001.png\", # Allowed image formats: url/path/buffer/base64/PIL/np\n    width=100,\n    heigth=200,\n    samples=10,\n    save_folder=\"f:\\\\samples_from_pic\", # will be ignored if None\n    prefix=\"papag_\",  # will be ignored if save_folder=None\n    zfill=8,  # will be ignored if save_folder=None\n)\n\n\n```\n### Original\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/zoompics_0000001.png\"/>\n\n\n### Samples \n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000000.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000001.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000002.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000003.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000004.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000005.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000006.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000007.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000008.png\"/>\n\n\n<img src=\"https://github.com/hansalemaos/screenshots/raw/main/papag_00000009.png\"/>\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Get samples from a picture",
    "version": "0.10",
    "split_keywords": [
        "cv2",
        "image",
        "samples",
        "crop"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "9c47e8392918b3f29645ad2a48ea2419",
                "sha256": "f933857dc3173e24621f20079866a60f773be58b27154e4538b0c4af9638cb01"
            },
            "downloads": -1,
            "filename": "get_random_samples_of_picture-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9c47e8392918b3f29645ad2a48ea2419",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5447,
            "upload_time": "2022-12-29T07:20:04",
            "upload_time_iso_8601": "2022-12-29T07:20:04.151215Z",
            "url": "https://files.pythonhosted.org/packages/75/3e/b06f2ee1ab4843bcea98cb8b01d57b7e2e5e756a6ba85c127bd5cd5a1e26/get_random_samples_of_picture-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "ef7e693e62cc1c1a9f3a984c4458eab8",
                "sha256": "770e5d52d32b6c39fb92e3051e378ab4306eb5f25ca1f36990fcd39385ff62a2"
            },
            "downloads": -1,
            "filename": "get_random_samples_of_picture-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "ef7e693e62cc1c1a9f3a984c4458eab8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3783,
            "upload_time": "2022-12-29T07:20:05",
            "upload_time_iso_8601": "2022-12-29T07:20:05.585255Z",
            "url": "https://files.pythonhosted.org/packages/e7/43/96c490ff35afadf0fc567668000153c02d0527a4efe287ad88b0553e1a7d/get_random_samples_of_picture-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-29 07:20:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "hansalemaos",
    "github_project": "get_random_samples_of_picture",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "get-random-samples-of-picture"
}
        
Elapsed time: 0.02930s