{"id":15132143,"url":"https://github.com/preco21/opencv-match","last_synced_at":"2026-01-18T23:02:32.501Z","repository":{"id":255904259,"uuid":"850220023","full_name":"preco21/opencv-match","owner":"preco21","description":"A Rust library that simplifies template matching with OpenCV","archived":false,"fork":false,"pushed_at":"2026-01-17T07:55:28.000Z","size":296,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-17T18:34:11.500Z","etag":null,"topics":["computer-vision","image-processing","opencv","rust","template-match","template-matching"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/preco21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-31T07:15:49.000Z","updated_at":"2026-01-17T07:55:31.000Z","dependencies_parsed_at":"2024-09-07T19:32:17.057Z","dependency_job_id":"7c2ec0ad-40ea-43a6-8623-14e9dceb560e","html_url":"https://github.com/preco21/opencv-match","commit_stats":null,"previous_names":["preco21/opencv-match"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/preco21/opencv-match","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preco21%2Fopencv-match","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preco21%2Fopencv-match/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preco21%2Fopencv-match/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preco21%2Fopencv-match/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/preco21","download_url":"https://codeload.github.com/preco21/opencv-match/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/preco21%2Fopencv-match/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28553055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T20:59:07.572Z","status":"ssl_error","status_checked_at":"2026-01-18T20:59:02.799Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["computer-vision","image-processing","opencv","rust","template-match","template-matching"],"created_at":"2024-09-26T04:04:09.220Z","updated_at":"2026-01-18T23:02:32.486Z","avatar_url":"https://github.com/preco21.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# opencv-match\n\n\u003e A Rust library that simplifies template matching with OpenCV\n\n## Prerequisites\n\nThis library is built on top of the [OpenCV](https://opencv.org/) library. You will need to have OpenCV installed on your system.\n\nYou can find the instructions [here](https://github.com/twistedfall/opencv-rust/blob/master/INSTALL.md).\n\nCurrently supports `v0.92.2` of the `opencv` crate.\n\n[TODO: To make version selection more flexible]\n\n## Install\n\nThe crate is not currently available on `crates.io`. You can add this library to your `Cargo.toml` with the following command:\n\n```shell\ncargo add --git https://github.com/preco21/opencv-match.git\n```\n\n## Features\n\n- **Multiple template matching:** Detects and matches multiple instances of a template within a single image.\n- **Non-maximum suppression:** Integrates [non-maximum suppression](https://builtin.com/machine-learning/non-maximum-suppression) to eliminate duplicate matches.\n- **Directional clustering:** Clusters matching points vertically or horizontally into distinct sections, organizing them into bounding boxes for segmentation.\n\n[TODO: Scale-invariant matching, Angle-invariant matching]\n\n## Usage\n\n[WIP]\n\n## FAQ\n\n### How can I link OpenCV statically in Windows?\n\nAssuming you are using [`vcpkg`](https://vcpkg.io/), you install the static version of OpenCV with the following commands:\n\n```powershell\nvcpkg add zlib:x64-windows-static opencv4[contrib,nonfree]:x64-windows-static\nvcpkg install zlib:x64-windows-static opencv4[contrib,nonfree]:x64-windows-static\n```\n\nThis will take a while to build. After that, you can link the static libraries in your `Cargo.toml`:\n\n```toml\n[env]\nOPENCV_LINK_LIBS = \"zlib,opencv_core4,opencv_imgproc4\"\nOPENCV_INCLUDE_PATHS = \"C:\\\\[PATH_TO_VCPKG]\\\\installed\\\\x64-windows-static\\\\include\"\nOPENCV_LINK_PATHS = \"C:\\\\[PATH_TO_VCPKG]\\\\installed\\\\x64-windows-static\\\\lib\"\nOPENCV_MSVC_CRT = \"static\"\n\n[target.x86_64-pc-windows-msvc]\nrustflags = [\"-C\", \"target-feature=+crt-static\"]\n```\n\n[WIP: Do we need OPENCV_LINK_LIBS explicitly specified?]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreco21%2Fopencv-match","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreco21%2Fopencv-match","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreco21%2Fopencv-match/lists"}