{"id":25726759,"url":"https://github.com/billy-enrizky/image_shuffle","last_synced_at":"2026-02-17T00:31:23.452Z","repository":{"id":264123846,"uuid":"884647368","full_name":"billy-enrizky/image_shuffle","owner":"billy-enrizky","description":"A Python utility for shuffling and augmenting image data stored as .npy files. Designed to enhance machine learning datasets by generating randomized variations of image arrays through grid-based shuffling, split operations, and rotations.","archived":false,"fork":false,"pushed_at":"2025-01-29T15:18:27.000Z","size":1777,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"new_branch","last_synced_at":"2025-10-09T17:04:11.304Z","etag":null,"topics":["data-processing","image-processing","image-shuffler","numpy","shuffler"],"latest_commit_sha":null,"homepage":"https://billy-enrizky.github.io/image_shuffle/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/billy-enrizky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-07T06:11:45.000Z","updated_at":"2025-09-18T11:34:21.000Z","dependencies_parsed_at":"2024-11-22T06:26:15.472Z","dependency_job_id":"58bae46d-8aae-47a7-9a33-baea13d5ea76","html_url":"https://github.com/billy-enrizky/image_shuffle","commit_stats":null,"previous_names":["billy-enrizky/image_shuffle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/billy-enrizky/image_shuffle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billy-enrizky%2Fimage_shuffle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billy-enrizky%2Fimage_shuffle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billy-enrizky%2Fimage_shuffle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billy-enrizky%2Fimage_shuffle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billy-enrizky","download_url":"https://codeload.github.com/billy-enrizky/image_shuffle/tar.gz/refs/heads/new_branch","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billy-enrizky%2Fimage_shuffle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29526663,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T21:45:09.491Z","status":"ssl_error","status_checked_at":"2026-02-16T21:44:58.452Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-processing","image-processing","image-shuffler","numpy","shuffler"],"created_at":"2025-02-25T23:18:45.447Z","updated_at":"2026-02-17T00:31:23.424Z","avatar_url":"https://github.com/billy-enrizky.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# image-shuffler\n\nSplit an image into n-pieces and shuffle them.\n\n![Comparison](https://raw.githubusercontent.com/gabrielstork/image-shuffler/main/images/comparison.png)\n\n## Download\n\nYou can simply:\n\n```sh\npip install image-shuffler\n```\n\nOr you can also:\n\n1. Clone the repository to your local machine.\n2. Enter the directory.\n3. Download necessary modules/libraries.\n\n```sh\ngit clone https://github.com/gabrielstork/image-shuffler.git\ncd image-shuffler\npip install -r requirements.txt\n```\n\n## How to use\n\nFirst, you need to import the `Shuffler` class.\n\n```python\nfrom image_shuffler import Shuffler\n```\n\nThen, instantiate it passing a valid path of an image as its argument.\n\n```python\nimage = Shuffler('lenna.png')\n```\n\nNow, to actually shuffle, you need to use the `shuffle()` method. The `matrix` parameter defines the number of pieces that will be in `x` and `y`, in this case, there will be a total of 16 pieces (you can see it in the image on the top of this file).\n\n```python\nimage.shuffle(matrix=(4, 4))\n```\n\nTo take a look at the shuffled image, you can use the `show()` method (a new window will pop up).\n\n```python\nimage.show()\n```\n\nNo arguments are needed to save the image. It will be saved in the same directory as the oringinal one and, in this case, with `shuffled_lena.png` as its name.\n\n```python\nimage.save()\n```\n\n[![forthebadge](https://forthebadge.com/images/badges/made-with-python.svg)](https://github.com/gabrielstork)\n[![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)](https://github.com/gabrielstork)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilly-enrizky%2Fimage_shuffle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbilly-enrizky%2Fimage_shuffle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbilly-enrizky%2Fimage_shuffle/lists"}