htsilicon


Namehtsilicon JSON
Version 0.2 PyPI version JSON
download
home_page
SummaryA Hand tracking module
upload_time2023-01-02 11:29:49
maintainer
docs_urlNone
authorAdvaith S
requires_python
license
keywords python hand tracking
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            

<h1 align="center">
  <br>
  <img src="https://github.com/advaith-22/assets/blob/main/image-removebg-preview.png?raw=true" alt="Markdownify" width="200"></a>
  <br>
  HT (Silicon Mac)
  <br>
</h1>

<h4 align="center">A package that allows to track the x, y, z locations of specific points from 0-20 in your hands.</h4>

<hr>

<p align="center">
  <a href="#key-features">Key Features</a> •
  <a href="#how-to-use">How To Use</a> •
  <a href="#Install">Install</a> •
</p>

![screenshot](https://github.com/advaith-22/assets/blob/main/Modern%20Gaming%20Cover%20YouTube%20Channel%20Art.png?raw=true)

## Key Features

* Tracks your hand
* The hand connections or lines can be show or hidden
* Works for almost all computers
* Quick and not much lag
* Simple code that is easy to understand and customize if needed

## How To Use

The following code gets the x, y locations of the index finger tip and moves the mouse accordingly

```python
import htsilicon
import cv2

cap = cv2.VideoCapture(0)

handt = htsilicon.ht()

while 1:
    success, img = cap.read()
    img = handt.findhand(img, show_lines=False)
    lml = handt.findpos()
    if len(lml) != 0:
        print(lml[8])
    
    cv2.imshow("Box", img)
    cv2.waitKey(1)
```

## Install

Install with pip

```bash
$ pip install htsilicon
```

## License

MIT

---

> [http://advaith.athenaserv.com](http://advaith.athenaserv.com) &nbsp;&middot;&nbsp;
> GitHub [@advaith-22](https://github.com/advaith-22) &nbsp;&middot;&nbsp;
> Twitter [@_Advaith_S](https://twitter.com/_Advaith_S)


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "htsilicon",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,Hand tracking",
    "author": "Advaith S",
    "author_email": "<popular9adu@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/de/c5/185cd3c33529ad30e785da755f4746a0a96dd3d2ba3c0e61189e44a05540/htsilicon-0.2.tar.gz",
    "platform": null,
    "description": "\n\n<h1 align=\"center\">\n  <br>\n  <img src=\"https://github.com/advaith-22/assets/blob/main/image-removebg-preview.png?raw=true\" alt=\"Markdownify\" width=\"200\"></a>\n  <br>\n  HT (Silicon Mac)\n  <br>\n</h1>\n\n<h4 align=\"center\">A package that allows to track the x, y, z locations of specific points from 0-20 in your hands.</h4>\n\n<hr>\n\n<p align=\"center\">\n  <a href=\"#key-features\">Key Features</a> \u2022\n  <a href=\"#how-to-use\">How To Use</a> \u2022\n  <a href=\"#Install\">Install</a> \u2022\n</p>\n\n![screenshot](https://github.com/advaith-22/assets/blob/main/Modern%20Gaming%20Cover%20YouTube%20Channel%20Art.png?raw=true)\n\n## Key Features\n\n* Tracks your hand\n* The hand connections or lines can be show or hidden\n* Works for almost all computers\n* Quick and not much lag\n* Simple code that is easy to understand and customize if needed\n\n## How To Use\n\nThe following code gets the x, y locations of the index finger tip and moves the mouse accordingly\n\n```python\nimport htsilicon\nimport cv2\n\ncap = cv2.VideoCapture(0)\n\nhandt = htsilicon.ht()\n\nwhile 1:\n    success, img = cap.read()\n    img = handt.findhand(img, show_lines=False)\n    lml = handt.findpos()\n    if len(lml) != 0:\n        print(lml[8])\n    \n    cv2.imshow(\"Box\", img)\n    cv2.waitKey(1)\n```\n\n## Install\n\nInstall with pip\n\n```bash\n$ pip install htsilicon\n```\n\n## License\n\nMIT\n\n---\n\n> [http://advaith.athenaserv.com](http://advaith.athenaserv.com) &nbsp;&middot;&nbsp;\n> GitHub [@advaith-22](https://github.com/advaith-22) &nbsp;&middot;&nbsp;\n> Twitter [@_Advaith_S](https://twitter.com/_Advaith_S)\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A Hand tracking module",
    "version": "0.2",
    "split_keywords": [
        "python",
        "hand tracking"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "4f700d6f44aac8dc84de1b2417d2dfbb",
                "sha256": "404f3122f1ddf5c86a242fb34ca10389b1b6e8fd294eb353dcb363a1014fe7a4"
            },
            "downloads": -1,
            "filename": "htsilicon-0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4f700d6f44aac8dc84de1b2417d2dfbb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3335,
            "upload_time": "2023-01-02T11:29:47",
            "upload_time_iso_8601": "2023-01-02T11:29:47.716651Z",
            "url": "https://files.pythonhosted.org/packages/04/57/53e156326f5deed8a8b3d1f9be2549c6469dc43905197c3f6940315766d7/htsilicon-0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "ec92dc4120888e09dc97020f70fee961",
                "sha256": "27288ac8c5dd9ed4dd96e6cc1bb1736ac9a082cc6bbdcbd9b005fcea7af08d80"
            },
            "downloads": -1,
            "filename": "htsilicon-0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ec92dc4120888e09dc97020f70fee961",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3411,
            "upload_time": "2023-01-02T11:29:49",
            "upload_time_iso_8601": "2023-01-02T11:29:49.471306Z",
            "url": "https://files.pythonhosted.org/packages/de/c5/185cd3c33529ad30e785da755f4746a0a96dd3d2ba3c0e61189e44a05540/htsilicon-0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-02 11:29:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "htsilicon"
}
        
Elapsed time: 0.06098s