Name | holosense JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | Depth perception and spatial localization from MediaPipe face mesh coordinates. Tracks within an inch at 5ft distance from the camera |
upload_time | 2024-06-29 05:50:38 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | Copyright <2024> <Bala Venkataraman> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
ar
spatial
vision
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Holosense
Tracks the location of your face in 3 dimensions relative to the camera, using coordinates from MediaPipe FaceMesh.
## How to use
Holosense is setup like this.
```Python
from holosense import SpatialTracker
spatial_tracker = SpatialTracker(
fov=78.5,
aspectratio=16/9,
eyedistance=4,
eyenosedistance=3,
single_output=True
)
```
The keyword arguments represent the camera's field of view, image aspect ratio, distance between the corners of the eye of the user, distance between the corner of the eye and tip of the nose of the user, and whether the program provides a single set of coordinates (if it is set to true) or a list with the coordinates of both eyes and the nose.
Now, to use the tracker, run:
```Python
res = spatial_tracker.calculatePosition(face_landmarks)
```
where face_landmarks are the facial landmarks determined by mediapipe facemesh
Raw data
{
"_id": null,
"home_page": null,
"name": "holosense",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "AR, spatial, vision",
"author": null,
"author_email": "Bala Venkataraman <balav2k7@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/bf/bd/d25066c0c00c5b894f837196c76a2fdcc314d52e99c844be4c9812d3d871/holosense-0.1.0.tar.gz",
"platform": null,
"description": "# Holosense \n\nTracks the location of your face in 3 dimensions relative to the camera, using coordinates from MediaPipe FaceMesh.\n\n## How to use\n\n\nHolosense is setup like this.\n\n```Python\nfrom holosense import SpatialTracker\n\nspatial_tracker = SpatialTracker(\n fov=78.5,\n aspectratio=16/9,\n eyedistance=4,\n eyenosedistance=3,\n single_output=True\n )\n```\n\nThe keyword arguments represent the camera's field of view, image aspect ratio, distance between the corners of the eye of the user, distance between the corner of the eye and tip of the nose of the user, and whether the program provides a single set of coordinates (if it is set to true) or a list with the coordinates of both eyes and the nose.\n\nNow, to use the tracker, run:\n\n```Python\nres = spatial_tracker.calculatePosition(face_landmarks)\n```\nwhere face_landmarks are the facial landmarks determined by mediapipe facemesh\n\n\n\n\n \n",
"bugtrack_url": null,
"license": "Copyright <2024> <Bala Venkataraman> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \u201cSoftware\u201d), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \u201cAS IS\u201d, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
"summary": "Depth perception and spatial localization from MediaPipe face mesh coordinates. Tracks within an inch at 5ft distance from the camera",
"version": "0.1.0",
"project_urls": {
"documentation": "https://midnight-club-devgroup.github.io/holosense/",
"repository": "https://github.com/balavenkataraman123/Holosense_library"
},
"split_keywords": [
"ar",
" spatial",
" vision"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b22163225db791ae7a522448f21f2e7fe783822466a4423b40b0c5ff66e9e40d",
"md5": "98d88feea7d913c92d1a14edecf200ef",
"sha256": "25075149f7ca0247e6b28cdcd96f00d4274878ab9bd0fcd033a20cf050e37968"
},
"downloads": -1,
"filename": "holosense-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "98d88feea7d913c92d1a14edecf200ef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5292,
"upload_time": "2024-06-29T05:50:37",
"upload_time_iso_8601": "2024-06-29T05:50:37.312800Z",
"url": "https://files.pythonhosted.org/packages/b2/21/63225db791ae7a522448f21f2e7fe783822466a4423b40b0c5ff66e9e40d/holosense-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bfbdd25066c0c00c5b894f837196c76a2fdcc314d52e99c844be4c9812d3d871",
"md5": "9c7a11271346692c9acefd3d791de241",
"sha256": "d321a0c03a38e820723a5f6ada5434507ae9101c20ad139460b66266bba459f5"
},
"downloads": -1,
"filename": "holosense-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "9c7a11271346692c9acefd3d791de241",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4566,
"upload_time": "2024-06-29T05:50:38",
"upload_time_iso_8601": "2024-06-29T05:50:38.881983Z",
"url": "https://files.pythonhosted.org/packages/bf/bd/d25066c0c00c5b894f837196c76a2fdcc314d52e99c844be4c9812d3d871/holosense-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-29 05:50:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "balavenkataraman123",
"github_project": "Holosense_library",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "holosense"
}