{"id":22615544,"url":"https://github.com/sovit-123/fast-and-accurate-human-detection-with-hog","last_synced_at":"2026-05-19T10:02:08.440Z","repository":{"id":111786416,"uuid":"268850496","full_name":"sovit-123/Fast-and-Accurate-Human-Detection-with-HOG","owner":"sovit-123","description":"This project used OpenCV HOG people detector to build an accurate and fast enough implementation to detect people in images and videos.","archived":false,"fork":false,"pushed_at":"2020-06-02T16:46:51.000Z","size":431,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T10:46:21.499Z","etag":null,"topics":["computer-vision","hog-features","hog-person-detection","linear-svm","machine-learning","opencv","person-detection","person-detector","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/sovit-123.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":"2020-06-02T16:20:21.000Z","updated_at":"2021-09-02T07:23:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f0dda35-3e5b-4abc-8bff-6b543005f6fd","html_url":"https://github.com/sovit-123/Fast-and-Accurate-Human-Detection-with-HOG","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sovit-123%2FFast-and-Accurate-Human-Detection-with-HOG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sovit-123%2FFast-and-Accurate-Human-Detection-with-HOG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sovit-123%2FFast-and-Accurate-Human-Detection-with-HOG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sovit-123%2FFast-and-Accurate-Human-Detection-with-HOG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sovit-123","download_url":"https://codeload.github.com/sovit-123/Fast-and-Accurate-Human-Detection-with-HOG/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122243,"owners_count":20726822,"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":["computer-vision","hog-features","hog-person-detection","linear-svm","machine-learning","opencv","person-detection","person-detector","python"],"created_at":"2024-12-08T19:08:20.539Z","updated_at":"2026-05-19T10:02:08.392Z","avatar_url":"https://github.com/sovit-123.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fast-and-Accurate-Human-Detection-with-HOG\n\n\n\n* This project used OpenCV HOG people detector to build an accurate and fast enough implementation to detect people in images and videos.\n\n\n\n## \u003cu\u003eSome Results\u003c/u\u003e\n\n* ![](https://github.com/sovit-123/Fast-and-Accurate-Human-Detection-with-HOG/blob/master/outputs/people1.jpg?raw=true)\n* ![](https://github.com/sovit-123/Fast-and-Accurate-Human-Detection-with-HOG/blob/master/outputs/people2.jpg?raw=true)\n\n\n\n\n\n## \u003cu\u003eThe Project Structure\u003c/u\u003e\n\n```\n├───input\n        people1.jpg\n        people2.jpg\n        people3.jpg\n        video1.mp4\n        video2.mp4\n        video3.mp4\n        video4.mp4\n├───outputs\n│   └───frames\n└───src\n        hog_detector.py\n        hog_detector_vid.py\n```\n\n* After cloning the repository, you need to create the `input` and `outputs` folder.\n* You can find all the data in the input folder in the [References](#References) section.\n\n\n\n## \u003cu\u003eExecuting the Python Files\u003c/u\u003e\n\n* `hog_detector.py`: Execute this file from within the `src` folder in the terminal. This detects the people in images inside the `input` folder.\n* `hog_detector_vid.py`:  Execution details:\n  * `python hog_detector_vid.py --input ../input/video1.mp4 --output ../output/video1_slow.mp4 --speed slow`: Use this execution command to run slow but accurate video detection algorithm.\n  * `python hog_detector_vid.py --input ../input/video1.mp4 --output ../output/video1_fast.mp4 --speed fast`: Use this command to execute a little bit less accurate but fast video detection algorithm.\n\n\n\n## \u003cu\u003eReferences\u003c/u\u003e\n\n* **Credits and Citations**:\n  * `input/people1.jpg`: Image by \u003ca href=\"https://pixabay.com/photos/?utm_source=link-attribution\u0026amp;utm_medium=referral\u0026amp;utm_campaign=image\u0026amp;utm_content=438393\"\u003eFree-Photos\u003c/a\u003e from \u003ca href=\"https://pixabay.com/?utm_source=link-attribution\u0026amp;utm_medium=referral\u0026amp;utm_campaign=image\u0026amp;utm_content=438393\"\u003ePixabay\u003c/a\u003e.\n    * Link: https://pixabay.com/photos/urban-people-crowd-citizens-438393/.\n  * `input/people2.jpg`: http://www.cbc.ca/natureofthings/content/images/episodes/pompeiipeople_listical.jpg.\n  * `input/people3.jpg`: https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse1.mm.bing.net%2Fth%3Fid%3DOIP.us0yaLcftx1jwMQ-tcw34gHaEU%26pid%3DApi\u0026f=1.\n  * `input/video1.mp4`: https://pixabay.com/videos/people-commerce-shop-busy-mall-6387/.\n  * `input/video2.mp4`: https://pixabay.com/videos/pedestrians-road-city-cars-traffic-1023/.\n  * `input/video3.mp4`: Video by \u003ca href=\"https://pixabay.com/users/surdumihail-3593622/?utm_source=link-attribution\u0026amp;utm_medium=referral\u0026amp;utm_campaign=image\u0026amp;utm_content=6096\"\u003eMihai Surdu\u003c/a\u003e from \u003ca href=\"https://pixabay.com/?utm_source=link-attribution\u0026amp;utm_medium=referral\u0026amp;utm_campaign=image\u0026amp;utm_content=6096\"\u003ePixabay\u003c/a\u003e.\n    * Link: https://pixabay.com/videos/park-old-people-people-old-senior-6096/.\n  * `input/video4.mp4`:\n    * Link: https://www.pexels.com/video/athletes-warming-up-1585619/.\n  * `input/video5.mp5`: \n    * Link: https://www.youtube.com/watch?v=NyLF8nHIquM.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsovit-123%2Ffast-and-accurate-human-detection-with-hog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsovit-123%2Ffast-and-accurate-human-detection-with-hog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsovit-123%2Ffast-and-accurate-human-detection-with-hog/lists"}