{"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/consistent-video-depth-estimation","title":"Consistent Video Depth Estimation","arxiv_id":"2004.15021","date":"2020-04-30","proceeding":null,"authors":["Xuan Luo","Jia-Bin Huang","Richard Szeliski","Kevin Matzen","Johannes Kopf"],"abstract":"We present an algorithm for reconstructing dense, geometrically consistent depth for all pixels in a monocular video. We leverage a conventional structure-from-motion reconstruction to establish geometric constraints on pixels in the video. Unlike the ad-hoc priors in classical reconstruction, we use a learning-based prior, i.e., a convolutional neural network trained for single-image depth estimation. At test time, we fine-tune this network to satisfy the geometric constraints of a particular input video, while retaining its ability to synthesize plausible depth details in parts of the video that are less constrained. We show through quantitative validation that our method achieves higher accuracy and a higher degree of geometric consistency than previous monocular reconstruction methods. Visually, our results appear more stable. Our algorithm is able to handle challenging hand-held captured input videos with a moderate degree of dynamic motion. The improved quality of the reconstruction enables several applications, such as scene reconstruction and advanced video-based visual effects.","url_abs":"https://arxiv.org/abs/2004.15021v2","url_pdf":"https://arxiv.org/pdf/2004.15021v2.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":"consistent-video-depth-estimation","repo_url":"https://github.com/facebookresearch/consistent_depth","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"consistent-video-depth-estimation","repo_url":"https://github.com/akshnataraj/Computer-Vision-literature","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"unanswered"}},{"paper_slug":"consistent-video-depth-estimation","repo_url":"https://github.com/danijorgesantos/detectcars","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"depth-estimation","task_name":"Depth Estimation"},{"task_slug":"monocular-reconstruction","task_name":"Monocular Reconstruction"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2004.15021","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2004.15021"}},"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/facebookresearch/consistent_depth","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/akshnataraj/Computer-Vision-literature","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/danijorgesantos/detectcars","reach":{"status":"ok"}}],"summary":{"unverified":7},"by_repo_kind":{"official":{"samples":7,"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":7,"samples":[{"code_sha256_prefix":"21d5cdcf36252015","entry":"detectAndDescribe","repo":"facebookresearch/consistent_depth","repo_kind":"official","path":"optical_flow_flownet2_homography.py","file_url":"https://github.com/facebookresearch/consistent_depth/blob/HEAD/optical_flow_flownet2_homography.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"21d5cdcf36252015"}},{"code_sha256_prefix":"3421c9a6cd7d4647","entry":"getimage","repo":"facebookresearch/consistent_depth","repo_kind":"official","path":"optical_flow_flownet2_homography.py","file_url":"https://github.com/facebookresearch/consistent_depth/blob/HEAD/optical_flow_flownet2_homography.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"3421c9a6cd7d4647"}},{"code_sha256_prefix":"3a50c93da3647efc","entry":"matchKeypoints","repo":"facebookresearch/consistent_depth","repo_kind":"official","path":"optical_flow_flownet2_homography.py","file_url":"https://github.com/facebookresearch/consistent_depth/blob/HEAD/optical_flow_flownet2_homography.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"3a50c93da3647efc"}},{"code_sha256_prefix":"d3f021a60734f3ea","entry":"select_tensors","repo":"facebookresearch/consistent_depth","repo_kind":"official","path":"loss/consistency_loss.py","file_url":"https://github.com/facebookresearch/consistent_depth/blob/HEAD/loss/consistency_loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"d3f021a60734f3ea"}},{"code_sha256_prefix":"c9e2024f0fb8eb34","entry":"weighted_mse_loss","repo":"facebookresearch/consistent_depth","repo_kind":"official","path":"loss/consistency_loss.py","file_url":"https://github.com/facebookresearch/consistent_depth/blob/HEAD/loss/consistency_loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"c9e2024f0fb8eb34"}},{"code_sha256_prefix":"bd8ed1d0cdaf6c89","entry":"weighted_rmse_loss","repo":"facebookresearch/consistent_depth","repo_kind":"official","path":"loss/consistency_loss.py","file_url":"https://github.com/facebookresearch/consistent_depth/blob/HEAD/loss/consistency_loss.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"bd8ed1d0cdaf6c89"}},{"code_sha256_prefix":"51413402dd3d8a5b","entry":"write_summary","repo":"facebookresearch/consistent_depth","repo_kind":"official","path":"depth_fine_tuning.py","file_url":"https://github.com/facebookresearch/consistent_depth/blob/HEAD/depth_fine_tuning.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":false,"mcp_get_code":{"code_sha256":"51413402dd3d8a5b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}