{ "info": { "author": "Sida Liu", "author_email": "sliu1@uvm.edu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "# sida-cs228\r\n\r\n## Installation\r\n\r\n```bash\r\npip install sida-cs228\r\n```\r\n\r\n## Usage\r\n\r\n### Moving the data of the hands to make them standardized\r\n\r\n```python\r\nimport sida.cs228.standardize as std\r\ndata = ... # shape (5,4,6,n)\r\nstd_data = std.do(data)\r\n```\r\n\r\n### Show one hand, or save it as a file\r\n\r\n```python\r\nfrom sida.cs228.show import show_hand\r\ndata = ... # shape (5,4,6,n)\r\nshow_hand(data[:,:,:,0], view_point=\"front\", scale=\"unit\") # show the first hand\r\nshow_hand(data[:,:,:,1], view_point=\"side\", scale=\"fit\", fname=\"hand1.png\") # save the side view of the second hand to a png file\r\n```\r\n\r\n## Standardizing steps\r\n\r\nThe shape of the argument `data` should be: `(5,4,6,n)`, where `n` can be any integer.\r\n\r\nThe meaning of the shape is: `5` fingers, `4` bones, `6` coordinates, `n` hands.\r\n\r\nThe result of `do` function will satisfy those conditions:\r\n\r\n```bash\r\n(1) the base of index finger on the origin,\r\n\r\n(2) the tip of the metacarpal bone of the index finger will on the point (0,1,0),\r\n\r\n(3) the tip of the metacarpal bone of the baby finger will also on the x-y plane,\r\n\r\n(4) the tip of the metacarpal bone of the thumb will be on the +z side.\r\n```\r\n\r\nAfter standardization, the front view will be like this:\r\n\r\n![Front view](images/Liu_train2_std_front.png)\r\n\r\nAnd the side view will be like this:\r\n\r\n![Side View](images/Liu_train2_std_side.png)\r\n\r\nThe main source code is in this file:\r\n\r\nhttps://github.com/liusida/sida-cs228/blob/master/sida/cs228/standardize.py\r\n\r\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/liusida/sida-cs228/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "sida-cs228", "package_url": "https://pypi.org/project/sida-cs228/", "platform": "", "project_url": "https://pypi.org/project/sida-cs228/", "project_urls": { "Homepage": "https://github.com/liusida/sida-cs228/" }, "release_url": "https://pypi.org/project/sida-cs228/0.0.3/", "requires_dist": [ "numpy", "matplotlib" ], "requires_python": "", "summary": "", "version": "0.0.3" }, "last_serial": 5971385, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "856e70e95cf2fe6ae6d40c50ac837823", "sha256": "67f07e80984476b127769defd56f57bd7e80b70b8d6c6655a219d25e598154cf" }, "downloads": -1, "filename": "sida_cs228-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "856e70e95cf2fe6ae6d40c50ac837823", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4668, "upload_time": "2019-10-14T12:19:12", "url": "https://files.pythonhosted.org/packages/2c/fa/f4d9ef2aa42a16c0309fd2302692d4939f42eaa07f8ce1c1e3d676bad5f4/sida_cs228-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "22d778b78bb01a462d4936541be950cd", "sha256": "a687360248c896bf40f3ce6896bec12c303b18e9a91926fb404039e9c4afff2d" }, "downloads": -1, "filename": "sida_cs228-0.0.1.tar.gz", "has_sig": false, "md5_digest": "22d778b78bb01a462d4936541be950cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1326365, "upload_time": "2019-10-14T12:19:17", "url": "https://files.pythonhosted.org/packages/0d/e2/e4e940e0145e12c03e3a16980d28fd6adf009afd9c0c9eabab11d454405b/sida_cs228-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9bc3277a7833d10ed1f2c7844eff5bc4", "sha256": "48c17b071febdcda2c33af0acfbfc33a41371741ae86cc73d944c1545c14b7ea" }, "downloads": -1, "filename": "sida_cs228-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "9bc3277a7833d10ed1f2c7844eff5bc4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5355, "upload_time": "2019-10-14T12:36:00", "url": "https://files.pythonhosted.org/packages/3b/80/ffc42080aea5b67919c8e55457772f8f11c57b78be05e2dbf412ae768fb0/sida_cs228-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b560491e5ca1ca34f4fb19c8b84ce8d", "sha256": "769982a7cd9379cefec8bd1d10109be0f06ecb65d0b01e4542205bbdef00c0c0" }, "downloads": -1, "filename": "sida_cs228-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3b560491e5ca1ca34f4fb19c8b84ce8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1327307, "upload_time": "2019-10-14T12:36:03", "url": "https://files.pythonhosted.org/packages/bc/24/1416f62c7875afd506acfa195bfe201e65c78966422238b3b1a9cdc50fde/sida_cs228-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d32a8e849f353255bcbf53f602e12a00", "sha256": "e6217a43205bd806fd47f1c1b1ca7ca476a92e50af9f825edc16b79bae167f62" }, "downloads": -1, "filename": "sida_cs228-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "d32a8e849f353255bcbf53f602e12a00", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5457, "upload_time": "2019-10-14T12:51:14", "url": "https://files.pythonhosted.org/packages/45/49/254328f1e1cf8dab756e582836eae5eaf40418d3c9176ab6af86d7af26d6/sida_cs228-0.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e81bc0cdb887b50f57af30b75bff272", "sha256": "aed22a88f43bf22eaeff75be544ad820b1ca3ce599773fa539125479039534c9" }, "downloads": -1, "filename": "sida_cs228-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7e81bc0cdb887b50f57af30b75bff272", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1327428, "upload_time": "2019-10-14T12:51:17", "url": "https://files.pythonhosted.org/packages/bc/e3/8921d2bea44737d77fe83ac1aa049842b09a18be1c6f59e6480f33feb3c4/sida_cs228-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d32a8e849f353255bcbf53f602e12a00", "sha256": "e6217a43205bd806fd47f1c1b1ca7ca476a92e50af9f825edc16b79bae167f62" }, "downloads": -1, "filename": "sida_cs228-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "d32a8e849f353255bcbf53f602e12a00", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5457, "upload_time": "2019-10-14T12:51:14", "url": "https://files.pythonhosted.org/packages/45/49/254328f1e1cf8dab756e582836eae5eaf40418d3c9176ab6af86d7af26d6/sida_cs228-0.0.3-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7e81bc0cdb887b50f57af30b75bff272", "sha256": "aed22a88f43bf22eaeff75be544ad820b1ca3ce599773fa539125479039534c9" }, "downloads": -1, "filename": "sida_cs228-0.0.3.tar.gz", "has_sig": false, "md5_digest": "7e81bc0cdb887b50f57af30b75bff272", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1327428, "upload_time": "2019-10-14T12:51:17", "url": "https://files.pythonhosted.org/packages/bc/e3/8921d2bea44737d77fe83ac1aa049842b09a18be1c6f59e6480f33feb3c4/sida_cs228-0.0.3.tar.gz" } ] }