{"id":28331713,"url":"https://github.com/shivendrra/object-detection","last_synced_at":"2026-05-15T11:36:28.177Z","repository":{"id":295209547,"uuid":"986438146","full_name":"shivendrra/object-detection","owner":"shivendrra","description":"real-time object removal/addition detection pipeline using OpenCV","archived":false,"fork":false,"pushed_at":"2025-05-24T07:29:11.000Z","size":90916,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-24T08:29:42.983Z","etag":null,"topics":["computer-vision","computer-vision-opencv","opencv","opencv-pipeline"],"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/shivendrra.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,"zenodo":null}},"created_at":"2025-05-19T15:55:09.000Z","updated_at":"2025-05-24T07:27:12.000Z","dependencies_parsed_at":"2025-05-24T08:41:02.410Z","dependency_job_id":null,"html_url":"https://github.com/shivendrra/object-detection","commit_stats":null,"previous_names":["shivendrra/object-detection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shivendrra/object-detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivendrra%2Fobject-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivendrra%2Fobject-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivendrra%2Fobject-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivendrra%2Fobject-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivendrra","download_url":"https://codeload.github.com/shivendrra/object-detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivendrra%2Fobject-detection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260692868,"owners_count":23047511,"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","computer-vision-opencv","opencv","opencv-pipeline"],"created_at":"2025-05-26T18:49:49.623Z","updated_at":"2026-05-15T11:36:28.172Z","avatar_url":"https://github.com/shivendrra.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# object-detection\n\n## Overview\n\n![main-img.png](https://github.com/shivendrra/object-detection/blob/main/media/main-img.png)\n\nThis is a small computer vision project to identify missing \u0026 added objects in real time frame. It has two different scripts running two different methods of analyzing the same taks- if something has been removed or added. Lightweight OpenCV based scripts, one with proper GPU acceleration and other works on just CPU.\n\n## Features\n\n1. Can generate a heatmap(outline) of the object that was removed or placed into the frame.\n2. Detects humans and ignores them (since they keep moving) so to keep track of only objects and not every indiividual person.\n3. GPU-accelerated code that could easily reach high-frame rates \u0026 efficient \u0026 faster performance.\n4. Real-time detection is supported as well, but only non-gpu version works well with it.\n\n## Usage\n\nThere are two different scripts/functions that give different outputs, based on your usecase, we'll use them or switch to another\n\n### Detection.py\n\n```python\nfrom detection import run_motion_overlay\n\nrun_motion_overlay(\n  input_source=\"data/input.mp4\", # 0 for webcam, or provide video file path\n  output_path=\"output.mp4\",\n  resize_width=640,\n  alpha=0.5,\n  show_window=True,\n  real_time=False   # keeps the single refrence frame (for False) / keeps changing the refrence frame (for True)\n)\n```\n\n### Script.py\n\n```python\nfrom script import run_gpu_motion_overlay\n\nrun_gpu_motion_overlay(\n  input_path=\"data/input.mp4\",\n  output_path=\"data/overlay.mp4\",\n  resize_width=640,\n  show_window=True\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivendrra%2Fobject-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivendrra%2Fobject-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivendrra%2Fobject-detection/lists"}