{"id":18548738,"url":"https://github.com/jakeoeding/rippy","last_synced_at":"2026-05-04T07:32:55.898Z","repository":{"id":134310088,"uuid":"378242518","full_name":"jakeoeding/rippy","owner":"jakeoeding","description":"A Python seam carving implementation","archived":false,"fork":false,"pushed_at":"2022-03-26T15:34:18.000Z","size":82530,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T08:14:24.073Z","etag":null,"topics":["numpy","python3","seam-carving"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jakeoeding.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}},"created_at":"2021-06-18T19:03:51.000Z","updated_at":"2022-03-26T15:32:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"daf8a2cd-e6ac-4302-93e8-38167ca5ae37","html_url":"https://github.com/jakeoeding/rippy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeoeding%2Frippy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeoeding%2Frippy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeoeding%2Frippy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeoeding%2Frippy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakeoeding","download_url":"https://codeload.github.com/jakeoeding/rippy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301621,"owners_count":22047907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["numpy","python3","seam-carving"],"created_at":"2024-11-06T20:35:31.049Z","updated_at":"2026-05-04T07:32:55.866Z","avatar_url":"https://github.com/jakeoeding.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rippy\n\nSeam carving is a process that allows you to resize an image while leaving the important parts unaltered.\n\nThe process entails repeatedly finding a path of pixels, or a seam, through an image that is relatively nondescript and then removing it. To find such a seam, we compute the energy at each pixel and then determine the path of smallest cumulative energy from one end of the image to the other.\n\nThe measure for energy that Rippy uses is simply the gradient magnitude.\n\n## Features\nAt the moment, Rippy supports vertical seam removal, horizontal seam removal, or both. If both axes are chosen for removal, the vertical seams will be removed first (despite this being potentially suboptimal).\n\n## Usage\n`python3 rip.py [-h] -img IMG -out OUT [-vert VERT] [-horz HORZ]`\n\n### Required Arguments:\n- Input image path: `-img IMG`\n- Output image path: `-out OUT`\n### Optional Arguments:\n- Show help message and exit: `-h` or `--help`\n- Number of vertical seams to remove: `-vert VERT`\n- Number of horizontal seams to remove: `-horz HORZ`\n\n## Examples\n\n### Vertical Seam Removal\n###### Command:\n`python3 rip.py -img img/broadway_tower.jpg -out img/broadway_tower_carved.jpg -vert 100`\n\n###### Original Image:\n![Broadway Tower](img/broadway_tower.jpg)\n\n###### Carving Process:\n![Vertical carving demo](img/broadway_tower.gif)\n\n###### Resulting Image:\n![Broadway Tower (Carved)](img/broadway_tower_carved.jpg)\n\n### Horizontal Seam Removal\n###### Command:\n`python3 rip.py -img img/corn.jpg -out img/corn_carved.jpg -horz 100`\n\n###### Original Image:\n![Corn](img/corn.jpg)\n\n###### Carving Process:\n![Horizontal carving demo](img/corn.gif)\n\n###### Resulting Image:\n![Corn (Carved)](img/corn_carved.jpg)\n\n### Vertical and Horizontal Seam Removal\n###### Command\n`python3 rip.py -img img/moon.jpg -out img/moon_carved.jpg -vert 100 -horz 100`\n\n###### Original Image:\n![Moon](img/moon.jpg)\n\n###### Carving Process:\n![Vertical and horizontal carving demo](img/moon.gif)\n\n###### Resulting Image:\n![Moon (Carved)](img/moon_carved.jpg)\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeoeding%2Frippy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakeoeding%2Frippy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeoeding%2Frippy/lists"}