{"id":18889134,"url":"https://github.com/alejo1630/video_tracking","last_synced_at":"2026-02-14T07:33:09.636Z","repository":{"id":175399362,"uuid":"574607618","full_name":"alejo1630/video_tracking","owner":"alejo1630","description":"This Python Notebook allows you to perform a video tracking of an object and obtain its kinematic information such as displacement, speed and acceleration.","archived":false,"fork":false,"pushed_at":"2022-12-16T21:57:04.000Z","size":2147,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T23:58:11.521Z","etag":null,"topics":["computer-vision","jupyter-notebook","kinematics","python","video-tracking"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/alejo1630.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":"2022-12-05T17:21:26.000Z","updated_at":"2024-05-29T05:29:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3bf6661-6559-494a-a460-693600d5221f","html_url":"https://github.com/alejo1630/video_tracking","commit_stats":null,"previous_names":["alejo1630/video_tracking"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alejo1630/video_tracking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejo1630%2Fvideo_tracking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejo1630%2Fvideo_tracking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejo1630%2Fvideo_tracking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejo1630%2Fvideo_tracking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejo1630","download_url":"https://codeload.github.com/alejo1630/video_tracking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejo1630%2Fvideo_tracking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29439506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["computer-vision","jupyter-notebook","kinematics","python","video-tracking"],"created_at":"2024-11-08T07:47:44.228Z","updated_at":"2026-02-14T07:33:09.621Z","avatar_url":"https://github.com/alejo1630.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Video Tracking Kinematics\n\nThis Python Notebook allows you to perform a video tracking of an object and obtain its kinematic information such as displacement, speed and acceleration.\n\n## 🔰 How does it work?\n- The code uses [OpenCV library](https://opencv.org/)\n- User must upload the video.\n- Some information is obtained from the video (FPS, duration, resolution)\n- The first frame of the video is extracted in order to create a reference line to convert the pixel data into measurement units (i.e. cm).\n- The reference line is created with a mouse_callback event where the pixel coordinates of the start and end point of the reference line are used for the unit conversion. For a correct measure, the video must have a reference guide such as a flexometer or ruler. The user must be knonw the real distance (cm, inches, etc) of the reference line. The current code is based on X direction but it could be modify to Y direction.\n\n \u003cimg src = \"https://github.com/alejo1630/video_tracking/blob/main/Image_Readme/1.png\" width=\"500\"\u003e\n\n- In the next step, the user must create a bounding box around the object to be tracked.\n\n\u003cimg src = \"https://github.com/alejo1630/video_tracking/blob/main/Image_Readme/2.png\" width=\"500\"\u003e\n\n- After creating the bounding box the tracking process will start. Whenever the program succeeds in tracking, a green message \"Tracking\" will appear, otherwise a red message \"Lost\" will be displayed.\n\n\u003cimg src = \"https://github.com/alejo1630/video_tracking/blob/main/Image_Readme/3.png\" width=\"500\"\u003e\n\n- When the video ends, all the kinematics of the object's movement are calculated. \n  - Displacement\n  - Speed\n  - Acceleration\n- Based on the quality and FPS of the video, the data could have some noise. This is treated by two methods\n  - [Savitzky–Golay filter](https://en.wikipedia.org/wiki/Savitzky%E2%80%93Golay_filter)\n  - [Spline Interpolation](https://en.wikipedia.org/wiki/Spline_interpolation)\n- The results obtained are compared with the video data processed in the [Tracker software](https://physlets.org/tracker/)\n\n## 🔶 What is next?\n- Improve the accuracy of the kinematics data.\n- Perform the same analysis for live videos.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejo1630%2Fvideo_tracking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejo1630%2Fvideo_tracking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejo1630%2Fvideo_tracking/lists"}