{"id":17350298,"url":"https://github.com/jig/go-aruco","last_synced_at":"2026-01-27T22:20:35.907Z","repository":{"id":257825751,"uuid":"844717054","full_name":"jig/go-aruco","owner":"jig","description":"Go interface for Aruco coordinates using a Raspberry Pi Camera","archived":false,"fork":false,"pushed_at":"2024-11-10T17:49:37.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T09:47:44.177Z","etag":null,"topics":["aruco","go","opencv","python","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jig.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":"2024-08-19T20:38:32.000Z","updated_at":"2024-11-10T17:48:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e0586e5-9b85-48c0-ac58-fd0463a24770","html_url":"https://github.com/jig/go-aruco","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.052631578947368474","last_synced_commit":"1903234c2c8749ff9147f5cc8fbb13454a8eaa8d"},"previous_names":["jig/go-aruco"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/jig/go-aruco","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jig%2Fgo-aruco","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jig%2Fgo-aruco/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jig%2Fgo-aruco/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jig%2Fgo-aruco/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jig","download_url":"https://codeload.github.com/jig/go-aruco/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jig%2Fgo-aruco/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268311326,"owners_count":24230334,"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-08-01T02:00:08.611Z","response_time":67,"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":["aruco","go","opencv","python","raspberry-pi"],"created_at":"2024-10-15T17:06:24.292Z","updated_at":"2026-01-27T22:20:35.878Z","avatar_url":"https://github.com/jig.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-aruco\n\nThis Go (Golang) package provides the position of Aruco markers in view of the camera. It provides the translation vector and the rotation vector.\n\nThe package uses Python to access both the Camera and OpenCV library.\n\nTested on a Raspberry Pi 4 with Camera Module 3 WIDE infrared with Raspberry Pi OS \"Bookworm\".\n\nSee the sample code on [example-2d](./example-2d/) on how to use it.\n\n# Install dependencies\n\nYou need Go compiler (tested with Go compiler v1.23.2) an the Python interpreter (tested on Python v3.13) and the Python OpenCV dependencies (tested with v4.10).\n\nTo install the Python dependencies use the Raspberry OS package manager:\n\n```bash\nsudo apt update \u0026\u0026 sudo apt upgrade -y \u0026\u0026 sudo apt install -y \\\n    python3 \\\n    opencv-data \\\n    python3-opencv \\\n    python3-scipy\n```\n\n# Python installation verification\n\nCheck that the script runs alone (without Go) by executing:\n\n```bash\npython ./markers.py\n```\n\nIt requires a few seconds to load all dependencies.\n\nNote that every line is suffixed with few kB of spaces (used for the Python to Go communication). Look for JSON data like this:\n\n```json\n[{\"id\": 9, \"x\": -0.13673050917742155, \"y\": 0.06945671561055802, \"z\": 0.7309941550510376, \"roll-x\": -172.7556401203728, \"pitch-y\": 6.610564919377947, \"yaw-z\": 178.17154128756582}, {\"id\": 6, \"x\": 0.34398351230356095, \"y\": -0.020529717758146982, \"z\": 0.8951305793554741, \"roll-x\": -177.8320267892627, \"pitch-y\": -26.86036068104307, \"yaw-z\": 177.5710900851925}, {\"id\": 8, \"x\": -0.13820595929256171, \"y\": -0.03209965216632465, \"z\": 0.7309398765039592, \"roll-x\": -171.51842160897496, \"pitch-y\": 2.0533179575661684, \"yaw-z\": 176.7455522076878}, {\"id\": 7, \"x\": 0.34751714240210885, \"y\": 0.07921186314686002, \"z\": 0.8838179732333362, \"roll-x\": -173.4195957396569, \"pitch-y\": -14.31427564710096, \"yaw-z\": 178.3094912498296}]\n```\n\n# Install package\n\n## Usage\n\nUse `go get` to download the dependency.\n\n```bash\ngo get github.com/jig/go-aruco@latest\n```\n\nThen, `import` it in your Go files:\n\n```go\nimport aruco \"github.com/jig/go-aruco/log\"\n```\n\n# Camera hardware verification\n\nCheck that your camera is working with following command on the Raspberry Pi Console:\n\n```bash\nrpicam-hello\n```\n\n# Camera calibration\n\nScript is already calibrated for a Raspberry Pi Camera Module 3 WIDE. You might need to change it for other cameras by changing the matrices on constants `camera_matrix` and `distortion_coefficients` on [markers.py](./markers.py) Python script. You can use [github.com/jig/charuco-calibration](https://github.com/jig/charuco-calibration) for that.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjig%2Fgo-aruco","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjig%2Fgo-aruco","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjig%2Fgo-aruco/lists"}