{"id":18728665,"url":"https://github.com/rubyonworld/ropencv","last_synced_at":"2026-04-24T20:34:22.960Z","repository":{"id":174008061,"uuid":"542159812","full_name":"RubyOnWorld/ropencv","owner":"RubyOnWorld","description":"ROpenCV is a ffi ruby binding for the Open Source Computer Vision Library OpenCV.","archived":false,"fork":false,"pushed_at":"2022-09-28T01:11:18.000Z","size":987,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T06:04:56.337Z","etag":null,"topics":["open","rails","ropencv","ruby","source"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RubyOnWorld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","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}},"created_at":"2022-09-27T15:32:59.000Z","updated_at":"2022-09-28T04:13:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"98ff29f5-1c20-440d-ba04-c47ff9570ec5","html_url":"https://github.com/RubyOnWorld/ropencv","commit_stats":null,"previous_names":["rubyonworld/ropencv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RubyOnWorld/ropencv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fropencv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fropencv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fropencv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fropencv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RubyOnWorld","download_url":"https://codeload.github.com/RubyOnWorld/ropencv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Fropencv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32239854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"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":["open","rails","ropencv","ruby","source"],"created_at":"2024-11-07T14:22:43.687Z","updated_at":"2026-04-24T20:34:22.955Z","avatar_url":"https://github.com/RubyOnWorld.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby Bindings for OpenCV \nROpenCV is a ffi ruby binding for the Open Source Computer Vision Library\n[OpenCV](http://opencv.org/opencv-java-api.html).\n\nUnlike other OpenCV ruby binding projects like\n[ruby-opencv](https://github.com/ruby-opencv/ruby-opencv/) or\n[opencv-ffi](https://github.com/amarburg/opencv-ffi) this binding is\nautomatically generated by parsing the OpenCV C++ headers having the following\nadvantages:\n\n  * automatically up-to-date\n  * full API coverage\n  * closely match the original C++ interface\n\n## State:\n- All marked methods in the OpenCV C++ header are wrapped\n- Memory management needs review\n- Currently, no support for multi threading or GPU\n\n## License\nROpenCV is released under a BSD license, it is free for both academic and\ncommercial use.\n\n## Compatibility Notes\nROpenCV should run on any platform which supports Ruby and OpenCV 2.4.4 or\nhigher. It has been successfully tested on the following platforms.\n\n  * Linux with Ruby 1.9.3 and OpenCV 2.4.4 - 2.4.6\n  * Mac OSX with Ruby 1.9.3 and OpenCV 2.4.4 - 2.4.6\n\n## Installation\nAfter running the following commands, ROpenCV and all the mandatory\ndependencies should be installed:\n\n### Ubuntu / Debian\n  * [Install OpenCV 2.4.4 or newer.](http://opencv.org/downloads.html)\n  * sudo apt-get install ruby rubygems cmake g++\n  * sudo gem install ropencv\n\n### Usage\n\n    require 'ropencv'\n    include OpenCV\n    m = cv::Mat.new(3,3,cv::CV_64FC1)\n\n# Example\n\n    require 'ropencv'\n    include OpenCV\n\n    mat = cv::imread(\"logo.png\")\n    detector = cv::FeatureDetector::create(\"SURF\")\n    keypoints = Std::Vector.new(cv::KeyPoint)\n    detector.detect(mat,keypoints)\n\n    puts \"found #{keypoints.size} keypoints\"\n    puts \"first keypoint is at #{keypoints[0].pt.x}/#{keypoints[0].pt.y}\"\n\n    cv::draw_keypoints(mat,keypoints,mat)\n    cv::imshow(\"key_points\",mat)\n    cv::wait_key(-1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Fropencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyonworld%2Fropencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Fropencv/lists"}