{"id":15487859,"url":"https://github.com/dblock/pixmatch","last_synced_at":"2025-09-20T04:32:10.306Z","repository":{"id":56888186,"uuid":"1610532","full_name":"dblock/pixmatch","owner":"dblock","description":"Idee PixMatch API client ","archived":false,"fork":false,"pushed_at":"2011-11-28T13:14:35.000Z","size":240,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-17T20:28:36.983Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/dblock.png","metadata":{"files":{"readme":"README.rdoc","changelog":"HISTORY.rdoc","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-13T17:47:04.000Z","updated_at":"2019-04-22T13:27:25.000Z","dependencies_parsed_at":"2022-08-21T00:50:50.525Z","dependency_job_id":null,"html_url":"https://github.com/dblock/pixmatch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dblock/pixmatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fpixmatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fpixmatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fpixmatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fpixmatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dblock","download_url":"https://codeload.github.com/dblock/pixmatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fpixmatch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276046887,"owners_count":25575876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-02T06:42:28.994Z","updated_at":"2025-09-20T04:32:10.010Z","avatar_url":"https://github.com/dblock.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Pixmatch\n\nPixmatch REST API client library for Pixmatch[http://ideeinc.com/products/pixmatch/], automated image matching API by Idee[http://ideeinc.com]. Given an image to look for, it locates identical or modified images within or between large scale image collections.\n\n== Using\n\n    gem install pixmatch\n\n== Example\n\n  require 'rubygems'\n  require 'pixmatch'\n  \n  Pixmatch.configure do |config|\n    config.username     = 'username'\n    config.password     = 'password'\n    config.url          = 'api.tineye.com'\n  end\n\n  # ping the server\n  response = Pixmatch.ping()\n  puts response['status']\n\n  # count the number of images in the collection\n  count = Pixmatch.count()\n  \n  # add an image\n  Pixmatch.add('images/mona-lisa.jpg')\n  Pixmatch.add(File.new('images/mona-lisa.jpg')\n  \n  # add a collection of images\n  Pixmatch.add(Dir.glob('images/*.jpg'))\n  \n  # list images\n  images = Pixmatch.list()\n  images.each { |filename| puts filename }\n\n  # delete an image\n  Pixmatch.delete('mona-lisa.jpg')\n\n  # delete an array of images\n  Pixmatch.delete([ 'mona-lisa.jpg', 'mona-lisa-botero.jpg' ])\n  \n  # search\n  found = Pixmatch.search('images/mona-lisa.jpg')\n  found.each { |find|\n    puts \"#{find['filename']}: #{find['score']}\"\n  }\n\n== Contributing\n\n* Fork the project\n* Copy 'config/pixmatch.yml.default' to 'config/pixmatch.yml'. Edit your pixmatch API credentials as follows.\n    test:\n      \u003c\u003c: *settings\n      username: '\u003cyour username\u003e'\n      password: '\u003cyour password\u003e'\n      endpoint: '\u003cyour url\u003e.tineye.com'\n* Run 'bundle install'\n* Test with 'rspec spec'\n* Send pull requests.\n  \n== Copyright\n\nCopyright (c) 2011 Art.sy\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Fpixmatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdblock%2Fpixmatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Fpixmatch/lists"}