{"id":17018434,"url":"https://github.com/himanchalchandra/humanactivityrecognition","last_synced_at":"2026-04-13T23:04:38.038Z","repository":{"id":236612156,"uuid":"389212654","full_name":"HimanchalChandra/HumanActivityRecognition","owner":"HimanchalChandra","description":"Human Activity Recognition","archived":false,"fork":false,"pushed_at":"2021-07-25T11:35:58.000Z","size":10919,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T16:47:49.190Z","etag":null,"topics":["artificial-intelligence","deep-learning","machine-learning","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/HimanchalChandra.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-24T22:22:28.000Z","updated_at":"2021-07-25T11:40:18.000Z","dependencies_parsed_at":"2024-04-28T03:11:47.171Z","dependency_job_id":"b104dc48-9e9c-4398-b359-3ecfb443721e","html_url":"https://github.com/HimanchalChandra/HumanActivityRecognition","commit_stats":null,"previous_names":["himanchalchandra/humanactivityrecognition"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanchalChandra%2FHumanActivityRecognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanchalChandra%2FHumanActivityRecognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanchalChandra%2FHumanActivityRecognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HimanchalChandra%2FHumanActivityRecognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HimanchalChandra","download_url":"https://codeload.github.com/HimanchalChandra/HumanActivityRecognition/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244982060,"owners_count":20542300,"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","deep-learning","machine-learning","opencv","python"],"created_at":"2024-10-14T06:45:51.725Z","updated_at":"2026-04-13T23:04:37.985Z","avatar_url":"https://github.com/HimanchalChandra.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HumanActivityRecognition\n\n\u003cbr\u003e\n\n## Task\n\nThis task involves creating a pipeline to test out inference from two different Human Activity recognition models (PyTorch and\nTensorFlow) which have been trained on the Kinetics dataset.\n\n## Installation \n\n### The code has been tested on Ubuntu 18.04 with Python 3.6\n\n1. Install virtualenv\n\n```\nsudo apt install -y python3-venv\n```\n\n2. Clone the Repo\n\n```\ngit clone https://github.com/HimanchalChandra/HumanActivityRecognition.git\n```\n\n3. Navigate to the sub-folder\n\n```\ncd HumanActivityRecognition\n```\n\n4. Initialize virtual environment \n\n```\npython3 -m venv my_env\n```\n\n5. Activate the virtual environment\n\n```\nsource my_env/bin/activate\n```\n\n6. Upgrade pip \n\n```\n(my_env) pip install --upgrade pip\n```\n\n7. Install the dependencies\n\n```\n(my_env) pip install -r requirements.txt\n```\n\n8. Download the pre-trained models from [here](https://drive.google.com/file/d/1gb2d3WWFtKi87LRZ9udOb17O7-xPVHa_/view?usp=sharing), and extract the zip file in the HumanActivityRecognition folder itself.\n\n9. For Pytorch Model use this script ('pyt' is the command line argument for PyTorch Model):\n\n```\n(my_env) python final_pipeline.py --video_root ./videos --model resnext-101-64f-kinetics.pth --type pyt\n```\n\n10. For TensorFlow Model use this script ('tf' is the command line argument for TensorFlow Model):\n\n```\n(my_env) python final_pipeline.py --video_root ./videos --model i3d-kinetics-400_1 --type tf\n```\n11. Refer Task_Writeup in this repo for detailed step-by-step procedure.\n\n## Result\n\n1. PyTorch Model:\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n \u003cimg src = \"Screenshots/Pytorch_Result.png\"\u003e\n\u003c/p\u003e \n\n\u003cbr\u003e\n\n3. TensorFlow Model:\n\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n \u003cimg src = \"Screenshots/Tensorflow_Result.png\"\u003e\n\u003c/p\u003e \n\n\u003cbr\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanchalchandra%2Fhumanactivityrecognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimanchalchandra%2Fhumanactivityrecognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanchalchandra%2Fhumanactivityrecognition/lists"}