{"id":13642054,"url":"https://github.com/metobom/tchrs-opencv-webcam-inference","last_synced_at":"2025-08-27T16:10:40.794Z","repository":{"id":199935392,"uuid":"477688822","full_name":"metobom/tchrs-opencv-webcam-inference","owner":"metobom","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-22T11:24:06.000Z","size":11994,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-20T15:44:47.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metobom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-04-04T12:22:48.000Z","updated_at":"2023-11-30T14:25:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f69eb76-8a59-44eb-8d53-3b0a9526c770","html_url":"https://github.com/metobom/tchrs-opencv-webcam-inference","commit_stats":null,"previous_names":["metobom/tchrs-opencv-webcam-inference"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/metobom/tchrs-opencv-webcam-inference","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metobom%2Ftchrs-opencv-webcam-inference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metobom%2Ftchrs-opencv-webcam-inference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metobom%2Ftchrs-opencv-webcam-inference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metobom%2Ftchrs-opencv-webcam-inference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metobom","download_url":"https://codeload.github.com/metobom/tchrs-opencv-webcam-inference/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metobom%2Ftchrs-opencv-webcam-inference/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272348318,"owners_count":24918757,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-08-02T01:01:26.910Z","updated_at":"2025-08-27T16:10:40.742Z","avatar_url":"https://github.com/metobom.png","language":"Rust","funding_links":[],"categories":["Other Versions of YOLO","Machine Learning"],"sub_categories":[],"readme":"# tchrs-opencv-webcam-inference \nThis example shows steps for running a Python trained model on webcam feed with opencv and tch-rs. Model will run on GPU.\n\nModel used in example is mobilenet_v3_small. It is trained on Cifar10 dataset for 10 epochs. Python training and testing scripts are included in: \n```\n/train_simple_classifier\n```\nTo run example below lines must be added under [dependencies] in Cargo.toml\n\n\n```\n[dependencies]\nanyhow = \"1.0.71\"\nopencv = \"0.82.1\"\ntch = \"0.13.0\"\n```\nmain.rs is commented for readers to understand easily.\n\nPretrained model and a test video also included in repo\n\n# Usage\nTo run example on a video use below command:\n```\ncargo run cifar10_mobilenet_v3_small.pt test_video.mp4\n```\nTo run example on your webcam use below command:\n```\ncargo run cifar10_mobilenet_v3_small.pt /dev/video0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetobom%2Ftchrs-opencv-webcam-inference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetobom%2Ftchrs-opencv-webcam-inference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetobom%2Ftchrs-opencv-webcam-inference/lists"}