{"id":17694746,"url":"https://github.com/avojak/image-morphing","last_synced_at":"2025-03-12T22:33:01.128Z","repository":{"id":74884644,"uuid":"253374954","full_name":"avojak/image-morphing","owner":"avojak","description":"Implementation of image morphing","archived":true,"fork":false,"pushed_at":"2020-05-03T22:20:08.000Z","size":26637,"stargazers_count":12,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T12:50:44.438Z","etag":null,"topics":["image-morphing","opencv-python","scipy"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/avojak.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":"2020-04-06T02:17:49.000Z","updated_at":"2024-12-18T05:12:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"2705b033-476d-4a03-a46e-7162dcf16235","html_url":"https://github.com/avojak/image-morphing","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avojak%2Fimage-morphing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avojak%2Fimage-morphing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avojak%2Fimage-morphing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avojak%2Fimage-morphing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avojak","download_url":"https://codeload.github.com/avojak/image-morphing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243307050,"owners_count":20270253,"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":["image-morphing","opencv-python","scipy"],"created_at":"2024-10-24T13:49:36.229Z","updated_at":"2025-03-12T22:33:01.122Z","avatar_url":"https://github.com/avojak.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# image-morphing\n\n[![Build Status](https://travis-ci.com/avojak/image-morphing.svg?token=7woVhJy8YaHrvHwYkFnY\u0026branch=master)](https://travis-ci.com/avojak/image-morphing)\n\nImplementation of image morphing with a web front-end. Images are uploaded, \nand the user selects corresponding points in the images.\n\nDemo video: https://www.youtube.com/watch?v=S3hfBqrwQms\n\n![Input Home Page](examples/inputs.png)\n\n![Results Page](examples/outputs.png)\n\nThis was created for the CS 445 Spring 2020 Final Project at the University of Illinois at Urbana-Champaign.\nThere are plenty of things that could be better but it works, and again this was for a school project!\n\n## Building\n\nInstall the following pre-requisite software:\n\n* Python 3\n* Docker (only if building the Docker image)\n* ImageMagick (only if running the test server locally)\n\n### Building the Python Packages\n\nTo build only the Python packages:\n\n```bash\n$ pip install -r requirements.txt\n$ make lib web\n```\n\n### Building the Docker Image (Recommended)\n\nTo build the Docker image:\n\n```bash\n$ make image\n```\n\nTo build everything:\n\n```bash\n$ make all\n```\n\nNote that building all only makes sense if you intend to consume the Python packages directly. Otherwise simply\nbuilding the Docker image will produce a portable distribution.\n\n## Running\n\n### Test Server\n\nTo run locally for testing:\n\n```bash\n$ export FLASK_APP=webmorphing; flask run\n```\n\nThe UI will be available at [http://localhost:5000](http://localhost:5000).\n\n### Docker Image\n\nA Docker image is also produced and can be run with the following command:\n\n```bash\n$ docker run -it -p 8080:8080 avojak/image-morphing:{version}\n```\n\nThe UI will be available at [http://localhost:8080](http://localhost:8080).\n\n## Example Results\n\n![Sample Morph](examples/morph.gif)\n\n![Sample Morph](examples/morphing-4.gif)\n\n\n\n## Technologies Used\n\n* [OpenCV](https://pypi.org/project/opencv-python/) - Image IO, computing affine transformations\n* [Scipy](https://pypi.org/project/scipy/) - Computing Delaunay triangulations\n* [Matplotlib](https://pypi.org/project/matplotlib/) - Creating plots\n* [ImageMagick](http://www.imagemagick.org) - Producing the animated GIF\n* [Flask](https://pypi.org/project/Flask/) - Web server\n* [Bootstrap](https://getbootstrap.com) - Making a half-decent looking UI\n* [Docker](https://www.docker.com) - Portable distribution\n\n## Attribution\n\n* Cat: [Matthew Kerslake](https://unsplash.com/@mattkerslake?utm_source=unsplash\u0026utm_medium=referral\u0026utm_content=creditCopyText) on [Unsplash](https://unsplash.com/s/photos/cat?utm_source=unsplash\u0026utm_medium=referral\u0026utm_content=creditCopyText)\n* Young Anakin: [Comic Vine](https://comicvine1.cbsistatic.com/uploads/original/11125/111250671/4775035-a1.jpg)\n* Old Anakin: [Fandom](https://vignette.wikia.nocookie.net/swfanon/images/8/89/AnakinEstGrumpy.jpg/revision/latest/top-crop/width/360/height/450?cb=20120219201211)\n* Darth Vader: [BGR](https://boygeniusreport.files.wordpress.com/2015/08/darth-vader.jpg?quality=98\u0026strip=all)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favojak%2Fimage-morphing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favojak%2Fimage-morphing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favojak%2Fimage-morphing/lists"}