{"id":15700095,"url":"https://github.com/justusschock/shapedata","last_synced_at":"2025-05-12T13:10:52.736Z","repository":{"id":104435726,"uuid":"168357536","full_name":"justusschock/shapedata","owner":"justusschock","description":"library to modify images and the corresponding landmarks","archived":false,"fork":false,"pushed_at":"2020-02-05T14:14:39.000Z","size":562,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-31T22:23:07.863Z","etag":null,"topics":["delira","image-augmentation","image-manipulation","image-processing","image-transformation","keypoints","landmark-detection","landmarking","landmarks","landmarks-resizer","shape","shape-analysis"],"latest_commit_sha":null,"homepage":"https://shapedata.rtfd.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justusschock.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":"2019-01-30T14:35:35.000Z","updated_at":"2023-02-06T10:18:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"0da23010-e1e9-4b84-ac52-5f022e6e99db","html_url":"https://github.com/justusschock/shapedata","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/justusschock%2Fshapedata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justusschock%2Fshapedata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justusschock%2Fshapedata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justusschock%2Fshapedata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justusschock","download_url":"https://codeload.github.com/justusschock/shapedata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745163,"owners_count":21957317,"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":["delira","image-augmentation","image-manipulation","image-processing","image-transformation","keypoints","landmark-detection","landmarking","landmarks","landmarks-resizer","shape","shape-analysis"],"created_at":"2024-10-03T19:45:38.266Z","updated_at":"2025-05-12T13:10:52.709Z","avatar_url":"https://github.com/justusschock.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ShapeData\n\n[![PyPI version](https://badge.fury.io/py/shapedata.svg)](https://badge.fury.io/py/shapedata) [![Build Status](https://travis-ci.com/justusschock/shapedata.svg?token=GsT2RFaJJMxpqLAN3xuh\u0026branch=master)](https://travis-ci.com/justusschock/shapedata) [![Documentation Status](https://readthedocs.org/projects/shapedata/badge/?version=master)](https://shapedata.readthedocs.io/en/master/?badge=master) [![codecov](https://codecov.io/gh/justusschock/shapedata/branch/master/graph/badge.svg?token=PeQndVRdEQ)](https://codecov.io/gh/justusschock/shapedata) ![LICENSE](https://img.shields.io/github/license/justusschock/shapedata.svg)\n\nThis repository contains image classes to perform transformations on images with landmarks (similar to [menpo](https://github.com/menpo/menpo) but with much less dependencies). It also provides some basic Datasets for [delira](https://github.com/justusschock/delira)\n\n## Installation\nThis package can be installed via `pip install shapedata`\n\n## Basic Usage\nTo load a single image with landmarks you can simply do\n\n```python\nimport shapedata\nimg = shapedata.SingleShapeSingleImage2D.from_files(\"./example_files/lenna.png\")\n```\n\nand to view this image do\n```python\nfrom matplotlib import pyplot as plt\nimg.view(view_landmarks=True)\nplt.show()\n```\n\nTo augment the image you can use `img.transform()` to transform the image with the origin as transformation base or `img.transform_about_centre()` to use the images's center as transformation base.\nTransformations as `img.translate()`, `img.rotate()`, `img.rescale()` or `img.resize()` are also implemented and will fall back on `img.transform()` or `img.transform_about_centre()`\n\nTo access the image itself you can do `img.img` and accessing the landmarks works with `img.lmk` for instances of `SingleShapeSingleImage`\nFor further usage have a look at the datasets and docstrings.\n\n## Licensing\nCopyright (C) 2020 by RWTH Aachen University                      \n http://www.rwth-aachen.de                                             \n\n  License:                                                                                                                                             \n This software is dual-licensed under:                                 \n • Commercial license (please contact: lfb@lfb.rwth-aachen.de)         \n • AGPL (GNU Affero General Public License) open source license        \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustusschock%2Fshapedata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustusschock%2Fshapedata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustusschock%2Fshapedata/lists"}