{"id":18412484,"url":"https://github.com/reekrajroy/subject-detection","last_synced_at":"2026-04-27T11:31:57.039Z","repository":{"id":122996941,"uuid":"381759845","full_name":"REEKRAJROY/subject-detection","owner":"REEKRAJROY","description":"Detecting subjects present in video files using Open CV","archived":false,"fork":false,"pushed_at":"2021-07-02T18:24:23.000Z","size":6120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T00:17:41.967Z","etag":null,"topics":["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/REEKRAJROY.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-06-30T16:05:14.000Z","updated_at":"2021-07-31T17:13:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"6653d1b4-3c4b-4abe-bc52-7649834624d6","html_url":"https://github.com/REEKRAJROY/subject-detection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/REEKRAJROY/subject-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REEKRAJROY%2Fsubject-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REEKRAJROY%2Fsubject-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REEKRAJROY%2Fsubject-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REEKRAJROY%2Fsubject-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/REEKRAJROY","download_url":"https://codeload.github.com/REEKRAJROY/subject-detection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/REEKRAJROY%2Fsubject-detection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["opencv","python"],"created_at":"2024-11-06T03:42:18.196Z","updated_at":"2026-04-27T11:31:57.024Z","avatar_url":"https://github.com/REEKRAJROY.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# subject-detection in video file using Open CV \n\nDetection of subject in motion from a video file using Open CV library in Python.\u003cbr\u003e\n\n# Installing the libraries:\u003cbr\u003e\n`pip install --upgrade imutils` \u003cbr\u003e\n`pip install opencv-python` \u003cbr\u003e\n\n\n\n\n\n\n# Implementation:\n\n(1) Constructing argument parser.\u003cbr\u003e\n(2) Resizing the video file and converting to grayscale.\u003cbr\u003e\n(3) Gaussian blurring has been implemented to focus on the subject.\u003cbr\u003e\n(4) Absolute difference and thresholding has been used.\u003cbr\u003e\n\n# References:\n[Open CV](https://pypi.org/project/opencv-python/) \u003cbr\u003e\n[imutils](https://pypi.org/project/imutils/)\u003cbr\u003e\n[Faster video file FPS with cv2.VideoCapture and OpenCV](https://www.pyimagesearch.com/2017/02/06/faster-video-file-fps-with-cv2-videocapture-and-opencv/)\u003cbr\u003e\n[Liveness Detection with OpenCV](https://www.pyimagesearch.com/2019/03/11/liveness-detection-with-opencv/)\u003cbr\u003e\n[Gaussian blur](https://en.wikipedia.org/wiki/Gaussian_blur#:~:text=In%20image%20processing%2C%20a%20Gaussian,image%20noise%20and%20reduce%20detail)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freekrajroy%2Fsubject-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freekrajroy%2Fsubject-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freekrajroy%2Fsubject-detection/lists"}