{"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/kornia-an-open-source-differentiable-computer","title":"Kornia: an Open Source Differentiable Computer Vision Library for PyTorch","arxiv_id":"1910.02190","date":"2019-10-05","proceeding":null,"authors":["Edgar Riba","Dmytro Mishkin","Daniel Ponsa","Ethan Rublee","Gary Bradski"],"abstract":"This work presents Kornia -- an open source computer vision library which consists of a set of differentiable routines and modules to solve generic computer vision problems. The package uses PyTorch as its main backend both for efficiency and to take advantage of the reverse-mode auto-differentiation to define and compute the gradient of complex functions. Inspired by OpenCV, Kornia is composed of a set of modules containing operators that can be inserted inside neural networks to train models to perform image transformations, camera calibration, epipolar geometry, and low level image processing techniques, such as filtering and edge detection that operate directly on high dimensional tensor representations. Examples of classical vision problems implemented using our framework are provided including a benchmark comparing to existing vision libraries.","url_abs":"https://arxiv.org/abs/1910.02190v2","url_pdf":"https://arxiv.org/pdf/1910.02190v2.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":"kornia-an-open-source-differentiable-computer","repo_url":"https://github.com/kornia/kornia","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"kornia-an-open-source-differentiable-computer","repo_url":"https://github.com/adam-mehdi/MuarAugment","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"kornia-an-open-source-differentiable-computer","repo_url":"https://github.com/arraiyopensource/torchgeometry","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"kornia-an-open-source-differentiable-computer","repo_url":"https://github.com/manyids2/kornia","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"kornia-an-open-source-differentiable-computer","repo_url":"https://github.com/pksvision/Deep-WaveNet-Underwater-Image-Restoration","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[{"task_slug":"camera-calibration","task_name":"Camera Calibration"},{"task_slug":"data-augmentation","task_name":"Data Augmentation"},{"task_slug":"edge-detection","task_name":"Edge Detection"},{"task_slug":"image-augmentation","task_name":"Image Augmentation"},{"task_slug":"image-cropping","task_name":"Image Cropping"},{"task_slug":"image-denoising","task_name":"Image Denoising"},{"task_slug":"image-manipulation","task_name":"Image Manipulation"},{"task_slug":"image-matching","task_name":"Image Matching"},{"task_slug":"image-morphing","task_name":"Image Morphing"},{"task_slug":"image-registration","task_name":"Image Registration"},{"task_slug":"image-retrieval","task_name":"Image Retrieval"},{"task_slug":"image-stitching","task_name":"Image Stitching"},{"task_slug":"image-smoothing","task_name":"image smoothing"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1910.02190","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1910.02190"}},"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/kornia/kornia","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/manyids2/kornia","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/pksvision/Deep-WaveNet-Underwater-Image-Restoration","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/adam-mehdi/MuarAugment","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/arraiyopensource/torchgeometry","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":20},"by_repo_kind":{"listed":{"samples":20,"ran":0,"repositories":2}},"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":"e8f7a3ea874a438a","entry":"KORNIA_CHECK","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"kornia/core/check.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/kornia/core/check.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":"e8f7a3ea874a438a"}},{"code_sha256_prefix":"bbf98733bfa5c36e","entry":"KORNIA_CHECK_SHAPE","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"kornia/core/check.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/kornia/core/check.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":"bbf98733bfa5c36e"}},{"code_sha256_prefix":"599c18b8f8db01de","entry":"KORNIA_UNWRAP","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"kornia/core/check.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/kornia/core/check.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":"599c18b8f8db01de"}},{"code_sha256_prefix":"98daa2eaacc24301","entry":"add_weighted","repo":"manyids2/kornia","repo_kind":"listed","path":"kornia/enhance/core.py","file_url":"https://github.com/manyids2/kornia/blob/HEAD/kornia/enhance/core.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":"98daa2eaacc24301"}},{"code_sha256_prefix":"62980aa194af6a33","entry":"download_file_from_url","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"kornia/core/download.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/kornia/core/download.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":"62980aa194af6a33"}},{"code_sha256_prefix":"eee8227d7d06c693","entry":"hf_url","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"kornia/core/download.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/kornia/core/download.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":"eee8227d7d06c693"}},{"code_sha256_prefix":"451611489a552dad","entry":"inverse_depth_smoothness_loss","repo":"manyids2/kornia","repo_kind":"listed","path":"kornia/losses/depth_smooth.py","file_url":"https://github.com/manyids2/kornia/blob/HEAD/kornia/losses/depth_smooth.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":"451611489a552dad"}},{"code_sha256_prefix":"9f91916eaedf7642","entry":"js_div_loss_2d","repo":"manyids2/kornia","repo_kind":"listed","path":"kornia/losses/divergence.py","file_url":"https://github.com/manyids2/kornia/blob/HEAD/kornia/losses/divergence.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":"9f91916eaedf7642"}},{"code_sha256_prefix":"53589e722f69b7dd","entry":"kl_div_loss_2d","repo":"manyids2/kornia","repo_kind":"listed","path":"kornia/losses/divergence.py","file_url":"https://github.com/manyids2/kornia/blob/HEAD/kornia/losses/divergence.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":"53589e722f69b7dd"}},{"code_sha256_prefix":"0dfafa22115f9ffe","entry":"load_state_dict_from_url","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"kornia/core/download.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/kornia/core/download.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":"0dfafa22115f9ffe"}},{"code_sha256_prefix":"5770f772f4f42d7f","entry":"psnr_loss","repo":"manyids2/kornia","repo_kind":"listed","path":"kornia/losses/psnr.py","file_url":"https://github.com/manyids2/kornia/blob/HEAD/kornia/losses/psnr.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":"5770f772f4f42d7f"}},{"code_sha256_prefix":"3d19faa7fd35b5b9","entry":"run_metadata","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"benchmarks/common.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/benchmarks/common.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":"3d19faa7fd35b5b9"}},{"code_sha256_prefix":"28254b28b6b25aa8","entry":"time_us","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"benchmarks/common.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/benchmarks/common.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":"28254b28b6b25aa8"}},{"code_sha256_prefix":"ffad1746a07855b2","entry":"time_us_or_error","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"benchmarks/common.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/benchmarks/common.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":"ffad1746a07855b2"}},{"code_sha256_prefix":"c962bead721155d5","entry":"torch_version_ge","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"kornia/core/_compat.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/kornia/core/_compat.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":"c962bead721155d5"}},{"code_sha256_prefix":"d55371b833e21170","entry":"torch_version_le","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"kornia/core/_compat.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/kornia/core/_compat.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":"d55371b833e21170"}},{"code_sha256_prefix":"44c8e0b0e11a0d7e","entry":"torch_version_lt","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"kornia/core/_compat.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/kornia/core/_compat.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":"44c8e0b0e11a0d7e"}},{"code_sha256_prefix":"ace65b30a9175199","entry":"total_variation","repo":"manyids2/kornia","repo_kind":"listed","path":"kornia/losses/total_variation.py","file_url":"https://github.com/manyids2/kornia/blob/HEAD/kornia/losses/total_variation.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":"ace65b30a9175199"}},{"code_sha256_prefix":"3286740a3fa2ea7e","entry":"validate_artefact","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"benchmarks/results_schema.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/benchmarks/results_schema.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":"3286740a3fa2ea7e"}},{"code_sha256_prefix":"2beca07bad1498c3","entry":"validate_result","repo":"arraiyopensource/torchgeometry","repo_kind":"listed","path":"benchmarks/results_schema.py","file_url":"https://github.com/arraiyopensource/torchgeometry/blob/HEAD/benchmarks/results_schema.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":"2beca07bad1498c3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}