{"id":15292514,"url":"https://github.com/alyssaq/stasm","last_synced_at":"2025-04-13T11:12:14.785Z","repository":{"id":57471149,"uuid":"135399360","full_name":"alyssaq/stasm","owner":"alyssaq","description":"python wrapper for stasm - face points detector","archived":false,"fork":false,"pushed_at":"2019-01-05T14:05:39.000Z","size":966,"stargazers_count":8,"open_issues_count":3,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T11:12:09.593Z","etag":null,"topics":["face-points-detection","opencv","python3"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alyssaq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-30T06:40:21.000Z","updated_at":"2022-08-01T02:34:06.000Z","dependencies_parsed_at":"2022-09-10T02:11:35.107Z","dependency_job_id":null,"html_url":"https://github.com/alyssaq/stasm","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/alyssaq%2Fstasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyssaq%2Fstasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyssaq%2Fstasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alyssaq%2Fstasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alyssaq","download_url":"https://codeload.github.com/alyssaq/stasm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703198,"owners_count":21148118,"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":["face-points-detection","opencv","python3"],"created_at":"2024-09-30T16:18:31.850Z","updated_at":"2025-04-13T11:12:14.765Z","avatar_url":"https://github.com/alyssaq.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# stasm\nPython wrapper of Stasm for finding features in faces.\n\nThis has been tested with Python 3.6.5, 3.7 and OpenCV 3.4.1.\n\nTo use:\n`$ pip install stasm`\n\n## Description\n[Stasm](http://www.milbo.users.sonic.net/stasm/) is a C++ software library for finding features in faces. PyStasm is a library wrapper with simplified Pythonic syntax using the Python C API built on top of [OpenCV](http://opencv.org/) and [NumPy](http://www.numpy.org/). For example, to get a list of facial landmarks from an image:\n```python\nimport cv2, stasm\nimg = cv2.imread(imgpath, cv2.IMREAD_GRAYSCALE)\nlandmarks = stasm.search_single(img)\n```\nA full Python version of the minimal Stasm C++ [example](http://www.milbo.users.sonic.net/stasm/minimal.html) is located in the [documentation](http://pythonhosted.org/PyStasm).\n\n## Requirements\n* numpy \u003e= 1.10\n* [OpenCV](http://opencv.org/) \u003e= 3.0\n\n## Installation\nThe recommended way to install stasm is through [PyPI](https://pypi.python.org/pypi/stasm):\n```\n$ pip install stasm\n```\nTo build from source, make sure you have the OpenCV headers and libraries in your include/library paths and then run:\n```\n$ python setup.py install\n```\n\n## Common errors\n`ImportError: libopencv_core.so.3.4: cannot open shared object file: No such file or directory`.   \nRun: `export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib`\n\n## Documentation\nFor information specific to this wrapper, take a look at the PyStasm [API reference](http://pythonhosted.org/PyStasm). For further information about Stasm consult the [user manual](http://www.milbo.org/stasm-files/stasm4.pdf). To build the PyStasm docs:\n```\n$ pip install Sphinx\n$ python setup.py build_ext --inplace\n$ cd doc\n$ make html\n```\n\n## License\nBoth this software and Stephen Milborrow's original Stasm library are subject to the terms of the BSD-style Stasm License Agreement, available in `LICENSE.txt`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyssaq%2Fstasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falyssaq%2Fstasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyssaq%2Fstasm/lists"}