{"id":15483308,"url":"https://github.com/bartekpacia/pendulum","last_synced_at":"2026-04-29T17:37:46.550Z","repository":{"id":96628342,"uuid":"252812315","full_name":"bartekpacia/pendulum","owner":"bartekpacia","description":"Measuring gravitational acceleration by analyzing video feed of a swinging mathematical pendolinum.","archived":false,"fork":false,"pushed_at":"2025-07-21T12:18:32.000Z","size":24989,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-21T14:24:34.576Z","etag":null,"topics":["opencv","opencv-python","physics","python"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=HlnGRJhO-9I","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/bartekpacia.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-04-03T18:41:26.000Z","updated_at":"2023-10-15T08:14:23.000Z","dependencies_parsed_at":"2023-03-25T11:19:37.700Z","dependency_job_id":null,"html_url":"https://github.com/bartekpacia/pendulum","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bartekpacia/pendulum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartekpacia%2Fpendulum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartekpacia%2Fpendulum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartekpacia%2Fpendulum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartekpacia%2Fpendulum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bartekpacia","download_url":"https://codeload.github.com/bartekpacia/pendulum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartekpacia%2Fpendulum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32437104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T17:34:55.123Z","status":"ssl_error","status_checked_at":"2026-04-29T17:34:45.749Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["opencv","opencv-python","physics","python"],"created_at":"2024-10-02T05:12:49.202Z","updated_at":"2026-04-29T17:37:46.533Z","avatar_url":"https://github.com/bartekpacia.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pendulum\n\nMeasuring gravitational acceleration using mathematical pendolinum.\n\nNever use it with amplitude \u003e 10°. [Learn why][small-angle-approx].\n\n\u003e Lenght of the rope in videos in this repo is 0.62 m.\n\n### Prerequisities\n\n- Python 3.10\n\n1. Install OpenCV\n\n   ```\n   brew install opencv\n   ```\n\n2. Installing Python bindings for OpenCV\n\n   ```\n   pip install opencv-python opencv-python-headless\n   ```\n\n### Usage\n\nFirst argument is the name of the video file in the current directory.\n\nSecond argument is the length of the rope in meters.\n\nExample:\n\n```\n$ python app.py film1_fhd.mp4 0.62\n```\n\n[small-angle-approx]: https://en.wikipedia.org/wiki/Pendulum_(mechanics)#Small-angle_approximation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartekpacia%2Fpendulum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartekpacia%2Fpendulum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartekpacia%2Fpendulum/lists"}