{"id":16109022,"url":"https://github.com/tripolskypetr/node-gyp-opencv","last_synced_at":"2026-05-03T15:35:27.312Z","repository":{"id":156633198,"uuid":"392025826","full_name":"tripolskypetr/node-gyp-opencv","owner":"tripolskypetr","description":"I created a simple script which will compile OpenCV 3.4 with opencv_contrib (SIFT, SURF available) for linking with Native Abstractions for Node.js on Ubuntu 18.04","archived":false,"fork":false,"pushed_at":"2021-12-21T11:59:58.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-08T19:43:40.383Z","etag":null,"topics":["bash-script","cpp","native-abstractions-for-node","node-gyp","node-js","opencv","sift","static-linking","surf","ubuntu1804"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tripolskypetr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-08-02T16:49:06.000Z","updated_at":"2021-12-21T12:00:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"a716f0eb-eb8d-4efd-be6f-45d8d259f4c7","html_url":"https://github.com/tripolskypetr/node-gyp-opencv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tripolskypetr/node-gyp-opencv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripolskypetr%2Fnode-gyp-opencv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripolskypetr%2Fnode-gyp-opencv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripolskypetr%2Fnode-gyp-opencv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripolskypetr%2Fnode-gyp-opencv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tripolskypetr","download_url":"https://codeload.github.com/tripolskypetr/node-gyp-opencv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripolskypetr%2Fnode-gyp-opencv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32575112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["bash-script","cpp","native-abstractions-for-node","node-gyp","node-js","opencv","sift","static-linking","surf","ubuntu1804"],"created_at":"2024-10-09T19:29:27.698Z","updated_at":"2026-05-03T15:35:27.293Z","avatar_url":"https://github.com/tripolskypetr.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-gyp-opencv\n\n\u003e Most basic example of adding an OpenCV C++ add-on into node.js\n\nThis example will help you to to get started with your computer vision project by linking OpenCV 3.4 with [Native Abstractions for Node.js](https://github.com/nodejs/nan). Includes \"opencv_contrib\" so SIFT and SURF are available\n\n## Target platform\n\nTested on Ubuntu 18.04. The [tmp](./tmp) contains OpenCV 3.4 precompiled binaries in `build` zip archive. So if you are going to drive into development as fast as possible, you should\n\n```\nsudo apt update\nsudo apt install unzip\nunzip ../build.zip \u0026\u0026 cd build\nsudo make install\nsudo sh -c 'echo \"/usr/local/lib\" \u003e /etc/ld.so.conf.d/opencv.conf' \nsudo ldconfig\n```\n\n## Usage\n\n```\nnpm run install:opencv\ncd packages/client\nnpm install\nnpm start\n```\n\n## SIFT becomes free\n\nU.S. patents are valid for 20 years from the earliest filing date, but can be extended to 21 years if a Priority Date is used, and SIFT ([US6711293B1](https://patents.google.com/patent/US6711293B1/en)) was filed (with priority) on 1999-03-08. This means that usage of the SIFT algorithm is no longer requires a license for use.\n    \n[Source](https://piero.dev/2019/04/the-sift-patent-has-expired/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripolskypetr%2Fnode-gyp-opencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftripolskypetr%2Fnode-gyp-opencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripolskypetr%2Fnode-gyp-opencv/lists"}