{"id":16929981,"url":"https://github.com/kayagokalp/handtrack-rs","last_synced_at":"2025-04-05T14:11:02.142Z","repository":{"id":65122175,"uuid":"582135027","full_name":"kayagokalp/handtrack-rs","owner":"kayagokalp","description":"A library for prototyping hand detection and tracking (bounding box) for rust","archived":false,"fork":false,"pushed_at":"2023-01-10T21:11:44.000Z","size":16993,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T21:29:22.569Z","etag":null,"topics":["artificial-intelligence","handtracking","neural-networks","rust","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kayagokalp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.MD","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-25T20:28:22.000Z","updated_at":"2025-01-22T21:03:37.000Z","dependencies_parsed_at":"2023-02-08T20:15:42.960Z","dependency_job_id":null,"html_url":"https://github.com/kayagokalp/handtrack-rs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayagokalp%2Fhandtrack-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayagokalp%2Fhandtrack-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayagokalp%2Fhandtrack-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayagokalp%2Fhandtrack-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kayagokalp","download_url":"https://codeload.github.com/kayagokalp/handtrack-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247345856,"owners_count":20924102,"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":["artificial-intelligence","handtracking","neural-networks","rust","tensorflow"],"created_at":"2024-10-13T20:40:37.604Z","updated_at":"2025-04-05T14:11:02.118Z","avatar_url":"https://github.com/kayagokalp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# handtrack-rs\n\nThis repo provides a Rust API encapsulating the works of https://github.com/victordibia/handtracking. Basically this library encapsulates the required tensorflow interactions and provide a easy-to-use API for simply detecting hands. \n\nThis is very much in WIP and I have only tested this with single images. My aim here to basically be able to detect hands in real-time video just like the js version of this little library at https://github.com/victordibia/handtrack.js\n\n## Example\n\n```rust\n// Import the image.\nlet image = Image::from_file(project_dir).unwrap();\n\n// Construct detection options.\nlet score_threshold = 0.7f32;\nlet max_hands = 1;\nlet detection_opts = DetectionOptions::new(max_hands, score_threshold);\n\n// Run the detection.\nlet detection = detect(image, detection_opts).unwrap();\n\nlet detection_box = \u0026detection[0];\n```\n\nAs it can be seen from the example above, `detect` function requires an `Image` and `DetectionOptions`. Currently it is possible to specify desired maximum number of hands detected and score threshold for classifying an object as a hand.\n\n## Contribution\n\nAlthough this is a small library it does have lots of missing features and contributions are more than welcome! As this is very early stage I do not have set contribution guidelines but I have some CI checks in place for just in case which are:\n\n- `clippy` linting\n- `cargo fmt` checking\n- `Cargo.toml` linting (dependencies must be in alphabetical order etc.)\n- `cargo test` check\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayagokalp%2Fhandtrack-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayagokalp%2Fhandtrack-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayagokalp%2Fhandtrack-rs/lists"}