{"id":16410231,"url":"https://github.com/danasilver/seam-carving","last_synced_at":"2025-10-26T22:19:20.469Z","repository":{"id":152244022,"uuid":"58690789","full_name":"danasilver/seam-carving","owner":"danasilver","description":"Seam carving for content-aware image resizing.","archived":false,"fork":false,"pushed_at":"2016-05-17T03:37:25.000Z","size":6580,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-07T23:11:38.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danasilver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-05-13T01:55:46.000Z","updated_at":"2023-04-25T07:13:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"80962ed8-7e51-4ee9-8e51-417f16ce0f1c","html_url":"https://github.com/danasilver/seam-carving","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danasilver/seam-carving","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2Fseam-carving","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2Fseam-carving/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2Fseam-carving/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2Fseam-carving/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danasilver","download_url":"https://codeload.github.com/danasilver/seam-carving/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2Fseam-carving/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270758215,"owners_count":24640199,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-11T06:23:34.798Z","updated_at":"2025-10-26T22:19:20.373Z","avatar_url":"https://github.com/danasilver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Seam Carving\n\nMiddlebury College CS453 (Computer Vision) Final Project\n\nDana Silver and Shannon Ovitt\n\n[Final Report](http://www.cs.middlebury.edu/~dsilver/vision/seam-carving/)\n\n### Install OpenCV\n\nOn OS X:\n\n```sh\n$ brew install opencv\n```\n\n* [Linux](http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html)\n* [Windows](http://docs.opencv.org/2.4/doc/tutorials/introduction/windows_install/windows_install.html)\n\n### Usage\n\nNon-interactive usage:\n\n```sh\n$ python seamcarve.py image width height\n```\n\n* `image` the image to resize\n* `width` the new width for the image, smaller than the image's width\n* `height` the new height for the image, smaller than the image's height\n\nInteractive usage:\n\n```sh\n$ python seamcarve.py image --interactive\n```\n\nBoth options will open a new window that will animate the seams being removed.\nPress any key when the animation is done to close the window.\n\nSee the\n[final report](http://www.cs.middlebury.edu/~dsilver/vision/seam-carving/)\nfor full implementation details and results.\n\n### References\n\n* [Seam Carving for Content-Aware Image Resizing](http://www.faculty.idc.ac.il/arik/SCWeb/imret/imret.pdf) (PDF)\n* [Seam Carving for Content-Aware Image Resizing](http://www.faculty.idc.ac.il/arik/SCWeb/imret/) (Project Page)\n* [Seam carving, Wikipedia](https://en.wikipedia.org/wiki/Seam_carving)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanasilver%2Fseam-carving","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanasilver%2Fseam-carving","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanasilver%2Fseam-carving/lists"}