{"id":16950540,"url":"https://github.com/vcaesar/gcv","last_synced_at":"2025-07-22T15:09:07.472Z","repository":{"id":50321868,"uuid":"415317449","full_name":"vcaesar/gcv","owner":"vcaesar","description":"Go robot OpenCV function","archived":false,"fork":false,"pushed_at":"2025-06-07T20:45:10.000Z","size":72,"stargazers_count":20,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-07T21:18:55.686Z","etag":null,"topics":["go","gocv","golang","opencv","robot"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vcaesar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","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}},"created_at":"2021-10-09T13:30:41.000Z","updated_at":"2025-06-07T20:45:14.000Z","dependencies_parsed_at":"2024-06-19T13:20:15.953Z","dependency_job_id":"fb2036cb-a5be-4b5b-8250-4324989295e0","html_url":"https://github.com/vcaesar/gcv","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/vcaesar/gcv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcaesar%2Fgcv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcaesar%2Fgcv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcaesar%2Fgcv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcaesar%2Fgcv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vcaesar","download_url":"https://codeload.github.com/vcaesar/gcv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vcaesar%2Fgcv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266516356,"owners_count":23941405,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["go","gocv","golang","opencv","robot"],"created_at":"2024-10-13T21:57:56.221Z","updated_at":"2025-07-22T15:09:07.441Z","avatar_url":"https://github.com/vcaesar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gcv\n\n[![Build Status](https://github.com/vcaesar/gcv/workflows/Go/badge.svg)](https://github.com/vcaesar/gcv/commits/master)\n[![Build Status](https://travis-ci.org/vcaesar/gcv.svg)](https://travis-ci.org/vcaesar/gcv)\n[![CircleCI Status](https://circleci.com/gh/vcaesar/gcv.svg?style=shield)](https://circleci.com/gh/vcaesar/gcv)\n[![codecov](https://codecov.io/gh/vcaesar/gcv/branch/master/graph/badge.svg)](https://codecov.io/gh/vcaesar/gcv)\n[![Go Report Card](https://goreportcard.com/badge/github.com/vcaesar/gcv)](https://goreportcard.com/report/github.com/vcaesar/gcv)\n[![GoDoc](https://godoc.org/github.com/vcaesar/gcv?status.svg)](https://godoc.org/github.com/vcaesar/gcv)\n[![Release](https://github-release-version.herokuapp.com/github/vcaesar/gcv/release.svg?style=flat)](https://github.com/vcaesar/gcv/releases/latest)\n\n## Install\n\nYou should make sure Golang, GCC, and [OpenCV](https://gocv.io/getting-started/linux/) installed correctly before starting.\n\n## Use\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/go-vgo/robotgo\"\n\t\"github.com/vcaesar/gcv\"\n)\n\nfunc main() {\n\timg, _ := robotgo.CaptureImg()\n\timg1, _ := robotgo.CaptureImg(18, 4, 20, 20)\n\trs := gcv.FindAllImg(img1, img)\n\tfmt.Println(\"find: \", rs[0].TopLeft.Y, rs[0].Rects.TopLeft.X, rs[0].ImgSize.H)\n\tfmt.Println(\"find: \", rs)\n\n\tm1, _ := gcv.ImgToMat(img)\n\tm2, _ := gcv.ImgToMat(img1)\n\trs = gcv.FindAllTemplate(m1, m2, 0.8)\n\tfmt.Println(\"find: \", rs)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcaesar%2Fgcv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvcaesar%2Fgcv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvcaesar%2Fgcv/lists"}