{"id":20562787,"url":"https://github.com/mint-lab/zero-shot-calibration","last_synced_at":"2026-04-20T00:02:49.175Z","repository":{"id":145858993,"uuid":"593500379","full_name":"mint-lab/zero-shot-calibration","owner":"mint-lab","description":"Zero-shot Camera Calibration [Lee, arXiv 2020]","archived":false,"fork":false,"pushed_at":"2023-02-07T00:25:09.000Z","size":56996,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T08:18:11.256Z","etag":null,"topics":["camera-calibration"],"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/mint-lab.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":"2023-01-26T06:32:08.000Z","updated_at":"2024-05-22T08:53:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"cc9b1245-09b5-4479-9228-795ea5fa951d","html_url":"https://github.com/mint-lab/zero-shot-calibration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mint-lab/zero-shot-calibration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mint-lab%2Fzero-shot-calibration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mint-lab%2Fzero-shot-calibration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mint-lab%2Fzero-shot-calibration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mint-lab%2Fzero-shot-calibration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mint-lab","download_url":"https://codeload.github.com/mint-lab/zero-shot-calibration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mint-lab%2Fzero-shot-calibration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32027236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["camera-calibration"],"created_at":"2024-11-16T04:13:36.775Z","updated_at":"2026-04-20T00:02:49.151Z","avatar_url":"https://github.com/mint-lab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zero-shot-calibration\n\nThe origin paper is from Jae-Yeong Lee, “Zero-Shot Calibration of Fisheye Cameras,”\narXiv, 2020, https://arxiv.org/abs/2011.14607\n\nHow to use this code is described below:\n\n```shell\nusage: zero_shot_calib.py [-h] [-W WIDTH] [-H HEIGHT] [-hf HFOV] [-vf VFOV] [-d DRAW]\n\nfind proper fisheye camera focal length with spec\n\noptions:\n  -h, --help            show this help message and exit\n  -W WIDTH, --Width WIDTH\n                        Width information of image frame\n  -H HEIGHT, --Height HEIGHT\n                        Height information of image frame\n  -hf HFOV, --Hfov HFOV\n                        Horizontal field of view angle. It should be float\n  -vf VFOV, --Vfov VFOV\n                        Vertical field of view angle. It should be float\n  -d DRAW, --draw DRAW  draw plot or not\n```\n\nexample usage:\n```shell\npython3 zero_shot_calib.py -W 1920 -H 1440 -hf 122.0 -vf 94.0\n```\n\nThen it will show you the focal length in the terminal.\n\nAfter that, if you want to undistort the image, you can use undistort.py\n\n```shell\nusage: undistort.py [-h] [--input_image INPUT_IMAGE] [--focal FOCAL] [--output_image OUTPUT_IMAGE]\n\noptions:\n  -h, --help            show this help message and exit\n  --input_image INPUT_IMAGE\n  --focal FOCAL\n  --output_image OUTPUT_IMAGE\n```\n\nexample usage:\n```shell\npython3 undistort.py --input_image 20210812_084000_000_0400.png --output_image undistort.png --focal 1021.92\n```\n\nthen it will save the undistorted image.\n\nExample result:\n\n \n\u003c!-- \u003cfigure class=\"half\"\u003e --\u003e\n\u003cimg src=\"20210812_084000_000_0400_undistort.png\" title='sample undistorted image' width = \"80%\" height = \"80%\"\u003e\n  \u003c!-- \u003cimg src=\"20210812_084000_000_0500_undistort.png\" align=\"right\"  width = \"47%\" height = \"47%\"\u003e --\u003e\n\u003c!-- \u003c/figure\u003e --\u003e\n\n\u003c!-- \u003cfigure class=\"half\"\u003e\n  \u003cimg src=\"20210812_084000_000_0600_undistort.png\" align=\"left\"  width = \"47%\" height = \"47%\"\u003e\n  \u003cimg src=\"20210812_084000_000_0700_undistort.png\" align=\"right\"  width = \"47%\" height = \"47%\"\u003e\n\u003c/figure\u003e --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmint-lab%2Fzero-shot-calibration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmint-lab%2Fzero-shot-calibration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmint-lab%2Fzero-shot-calibration/lists"}