{"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/prompting-depth-anything-for-4k-resolution","title":"Prompting Depth Anything for 4K Resolution Accurate Metric Depth Estimation","arxiv_id":"2412.14015","date":"2024-12-18","proceeding":"CVPR 2025 1","authors":["Haotong Lin","Sida Peng","Jingxiao Chen","Songyou Peng","Jiaming Sun","Minghuan Liu","Hujun Bao","Jiashi Feng","Xiaowei Zhou","Bingyi Kang"],"abstract":"Prompts play a critical role in unleashing the power of language and vision foundation models for specific tasks. For the first time, we introduce prompting into depth foundation models, creating a new paradigm for metric depth estimation termed Prompt Depth Anything. Specifically, we use a low-cost LiDAR as the prompt to guide the Depth Anything model for accurate metric depth output, achieving up to 4K resolution. Our approach centers on a concise prompt fusion design that integrates the LiDAR at multiple scales within the depth decoder. To address training challenges posed by limited datasets containing both LiDAR depth and precise GT depth, we propose a scalable data pipeline that includes synthetic data LiDAR simulation and real data pseudo GT depth generation. Our approach sets new state-of-the-arts on the ARKitScenes and ScanNet++ datasets and benefits downstream applications, including 3D reconstruction and generalized robotic grasping.","url_abs":"https://arxiv.org/abs/2412.14015v1","url_pdf":"https://arxiv.org/pdf/2412.14015v1.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":"prompting-depth-anything-for-4k-resolution","repo_url":"https://github.com/DepthAnything/PromptDA","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"3d-reconstruction","task_name":"3D Reconstruction"},{"task_slug":"4k","task_name":"4k"},{"task_slug":"decoder","task_name":"Decoder"},{"task_slug":"depth-estimation","task_name":"Depth Estimation"},{"task_slug":"robotic-grasping","task_name":"Robotic Grasping"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2412.14015","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.14015"}},"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/DepthAnything/PromptDA","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":2,"unverified":7},"by_repo_kind":{"official":{"samples":9,"ran":2,"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":"e7fcb6d9ac9deaf4","entry":"named_apply","repo":"DepthAnything/PromptDA","repo_kind":"official","path":"torchhub/facebookresearch_dinov2_main/vision_transformer.py","file_url":"https://github.com/DepthAnything/PromptDA/blob/HEAD/torchhub/facebookresearch_dinov2_main/vision_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e7fcb6d9ac9deaf4"}},{"code_sha256_prefix":"129b804760b3115f","entry":"zero_module","repo":"DepthAnything/PromptDA","repo_kind":"official","path":"promptda/model/blocks.py","file_url":"https://github.com/DepthAnything/PromptDA/blob/HEAD/promptda/model/blocks.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"129b804760b3115f"}},{"code_sha256_prefix":"a42374e283a84eb7","entry":"async_call","repo":"DepthAnything/PromptDA","repo_kind":"official","path":"promptda/utils/parallel_utils.py","file_url":"https://github.com/DepthAnything/PromptDA/blob/HEAD/promptda/utils/parallel_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a42374e283a84eb7"}},{"code_sha256_prefix":"8ef982f2f5048482","entry":"async_call_func","repo":"DepthAnything/PromptDA","repo_kind":"official","path":"promptda/utils/parallel_utils.py","file_url":"https://github.com/DepthAnything/PromptDA/blob/HEAD/promptda/utils/parallel_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"8ef982f2f5048482"}},{"code_sha256_prefix":"a1da85b4f846723c","entry":"ensure_multiple_of","repo":"DepthAnything/PromptDA","repo_kind":"official","path":"promptda/utils/io_wrapper.py","file_url":"https://github.com/DepthAnything/PromptDA/blob/HEAD/promptda/utils/io_wrapper.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a1da85b4f846723c"}},{"code_sha256_prefix":"9172a8dcdcc0e8f2","entry":"smooth_min_max","repo":"DepthAnything/PromptDA","repo_kind":"official","path":"promptda/utils/depth_utils.py","file_url":"https://github.com/DepthAnything/PromptDA/blob/HEAD/promptda/utils/depth_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9172a8dcdcc0e8f2"}},{"code_sha256_prefix":"82262a905aebea62","entry":"to_numpy_func","repo":"DepthAnything/PromptDA","repo_kind":"official","path":"promptda/utils/io_wrapper.py","file_url":"https://github.com/DepthAnything/PromptDA/blob/HEAD/promptda/utils/io_wrapper.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"82262a905aebea62"}},{"code_sha256_prefix":"77a0df33822fdab9","entry":"to_tensor_func","repo":"DepthAnything/PromptDA","repo_kind":"official","path":"promptda/utils/io_wrapper.py","file_url":"https://github.com/DepthAnything/PromptDA/blob/HEAD/promptda/utils/io_wrapper.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"77a0df33822fdab9"}},{"code_sha256_prefix":"f0e4cc139ee17330","entry":"visualize_depth","repo":"DepthAnything/PromptDA","repo_kind":"official","path":"promptda/utils/depth_utils.py","file_url":"https://github.com/DepthAnything/PromptDA/blob/HEAD/promptda/utils/depth_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f0e4cc139ee17330"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}