{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/why-having-10000-parameters-in-your-camera","title":"Why Having 10,000 Parameters in Your Camera Model is Better Than Twelve","arxiv_id":"1912.02908","date":"2019-12-05","proceeding":null,"authors":["Thomas Schöps","Viktor Larsson","Marc Pollefeys","Torsten Sattler"],"abstract":"Camera calibration is an essential first step in setting up 3D Computer Vision systems. Commonly used parametric camera models are limited to a few degrees of freedom and thus often do not optimally fit to complex real lens distortion. In contrast, generic camera models allow for very accurate calibration due to their flexibility. Despite this, they have seen little use in practice. In this paper, we argue that this should change. We propose a calibration pipeline for generic models that is fully automated, easy to use, and can act as a drop-in replacement for parametric calibration, with a focus on accuracy. We compare our results to parametric calibrations. Considering stereo depth estimation and camera pose estimation as examples, we show that the calibration error acts as a bias on the results. We thus argue that in contrast to current common practice, generic models should be preferred over parametric ones whenever possible. To facilitate this, we released our calibration pipeline at https://github.com/puzzlepaint/camera_calibration, making both easy-to-use and accurate camera calibration available to everyone.","url_abs":"https://arxiv.org/abs/1912.02908v3","url_pdf":"https://arxiv.org/pdf/1912.02908v3.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"why-having-10000-parameters-in-your-camera","repo_url":"https://github.com/puzzlepaint/camera_calibration","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"BSD-3-Clause"}},{"paper_slug":"why-having-10000-parameters-in-your-camera","repo_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"camera-calibration","task_name":"Camera Calibration"},{"task_slug":"camera-pose-estimation","task_name":"Camera Pose Estimation"},{"task_slug":"depth-estimation","task_name":"Depth Estimation"},{"task_slug":"pose-estimation","task_name":"Pose Estimation"},{"task_slug":"stereo-depth-estimation","task_name":"Stereo Depth Estimation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1912.02908","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1912.02908"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/puzzlepaint/camera_calibration","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"unverified":14},"by_repo_kind":{"listed":{"samples":14,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"27d03eb31eb3353b","entry":"cal_angles_and_mag","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Metrics/voronoi.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Metrics/voronoi.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"27d03eb31eb3353b"}},{"code_sha256_prefix":"19231fec4625a734","entry":"calibrate_camera_charuco","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Parametric/calibrate.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Parametric/calibrate.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"19231fec4625a734"}},{"code_sha256_prefix":"84b8f6020e2b77b7","entry":"calibrate_camera_chessboard","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Parametric/calibrate.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Parametric/calibrate.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"84b8f6020e2b77b7"}},{"code_sha256_prefix":"9cbfbda4fa59739f","entry":"do_homogeneous_Rt","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Metrics/rtvecs_illustration.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Metrics/rtvecs_illustration.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9cbfbda4fa59739f"}},{"code_sha256_prefix":"62128ae25abb80da","entry":"find_Charuco","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Parametric/calibrate.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Parametric/calibrate.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"62128ae25abb80da"}},{"code_sha256_prefix":"33e9caf8f0712930","entry":"grid_creation","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/CentralModel/BundleAdjustment/initialization.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/CentralModel/BundleAdjustment/initialization.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"33e9caf8f0712930"}},{"code_sha256_prefix":"044ebc85d9049288","entry":"maha_dist","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Metrics/stats.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Metrics/stats.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"044ebc85d9049288"}},{"code_sha256_prefix":"f94f84f5c93ddb9b","entry":"maha_dist_arr","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Metrics/stats.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Metrics/stats.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f94f84f5c93ddb9b"}},{"code_sha256_prefix":"aab56a82925e8b10","entry":"make_cm_vec_plot","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Metrics/centralmodel.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Metrics/centralmodel.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"aab56a82925e8b10"}},{"code_sha256_prefix":"470bbe3446107c01","entry":"make_colorbar_gray","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Metrics/voronoi.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Metrics/voronoi.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"470bbe3446107c01"}},{"code_sha256_prefix":"49db7b17ae5410b3","entry":"mean_cov","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Metrics/stats.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Metrics/stats.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"49db7b17ae5410b3"}},{"code_sha256_prefix":"cade152309161290","entry":"open_uniform","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/CentralModel/BSpline/knot_generators.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/CentralModel/BSpline/knot_generators.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cade152309161290"}},{"code_sha256_prefix":"a3026d44f5dd289a","entry":"projectPoints","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/Metrics/voronoi.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/Metrics/voronoi.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a3026d44f5dd289a"}},{"code_sha256_prefix":"a24b649f98dd40e3","entry":"uniform","repo":"SimonLBSoerensen/Flexible-Camera-Calibration","repo_kind":"listed","path":"flexiblecc/CentralModel/BSpline/knot_generators.py","file_url":"https://github.com/SimonLBSoerensen/Flexible-Camera-Calibration/blob/HEAD/flexiblecc/CentralModel/BSpline/knot_generators.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a24b649f98dd40e3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}