{"id":26480552,"url":"https://github.com/kazuhito00/qrcode-pose-estimation","last_synced_at":"2026-05-15T22:04:08.277Z","repository":{"id":282531676,"uuid":"948874451","full_name":"Kazuhito00/qrcode-pose-estimation","owner":"Kazuhito00","description":"QRコードの姿勢推定サンプル","archived":false,"fork":false,"pushed_at":"2025-03-15T07:46:12.000Z","size":415,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T05:16:44.177Z","etag":null,"topics":["opencv","python","qrcode","solvepnp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kazuhito00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2025-03-15T06:34:21.000Z","updated_at":"2025-03-15T07:53:26.000Z","dependencies_parsed_at":"2025-03-15T08:38:12.889Z","dependency_job_id":null,"html_url":"https://github.com/Kazuhito00/qrcode-pose-estimation","commit_stats":null,"previous_names":["kazuhito00/qrcode-pose-estimation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kazuhito00/qrcode-pose-estimation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fqrcode-pose-estimation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fqrcode-pose-estimation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fqrcode-pose-estimation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fqrcode-pose-estimation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kazuhito00","download_url":"https://codeload.github.com/Kazuhito00/qrcode-pose-estimation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fqrcode-pose-estimation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006352,"owners_count":26084084,"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-10-11T02:00:06.511Z","response_time":55,"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":["opencv","python","qrcode","solvepnp"],"created_at":"2025-03-20T02:35:21.670Z","updated_at":"2025-10-11T05:16:44.377Z","avatar_url":"https://github.com/Kazuhito00.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qrcode-pose-estimation\nQRコードの姿勢推定サンプルです。\u003cbr\u003e\n\u003e **Note**\n\u003e \u003cbr\u003e試験的なリポジトリです\n\u003e \u003cbr\u003eマーカーの姿勢推定を行いたいだけであれば、ArUcoマーカーやApriltagの利用を推奨します\n\nhttps://github.com/user-attachments/assets/f3f57d45-a906-40f7-8cc1-058a869499f6\n\n# Requirement \n* opencv-python 4.9.0.80 or later\n\n# Calibration Pattern\nサンプルでは以下の7×10のチェスボード型のキャリブレーションパターンを使用します。\n* http://opencv.jp/sample/pics/chesspattern_7x10.pdf\n  \n# Usage\n\u003cimg src=\"https://github.com/user-attachments/assets/1a52a9dc-6ccb-4ac3-a4c3-7d14fb9a447f\" width=\"90%\"\u003e\n01_calibrate_camera.pyのサンプルでキャリブレーションパラメータをcsvに保存し、\u003cbr\u003e\n02_qrcode_pose_estimation.pyを実行してください。\n\n#### 01_calibrate_camera.py\n```bash\npython 01_calibrate_camera.py --square_len=23.0\n```\nキャリブレーションパターン検出時にEnterを押すことで撮影します。\u003cBr\u003e\nESCを押すことでプログラムを終了し、キャリブレーションパラメータを保存します。\u003cBr\u003e\n注意：--square_lenの単位はmmです\u003cbr\u003e\n\n実行時には、以下のオプションが指定可能です。\n\u003cdetails\u003e\n\u003csummary\u003eオプション指定\u003c/summary\u003e\n   \n* --device\u003cbr\u003e\nカメラデバイス番号の指定\u003cbr\u003e\nデフォルト：0\n* --file\u003cbr\u003e\n動画ファイル名の指定 ※指定時はカメラデバイスより優先し動画を読み込む\u003cbr\u003e\nデフォルト：None\n* --width\u003cbr\u003e\nカメラキャプチャ時の横幅\u003cbr\u003e\nデフォルト：1280\n* --height\u003cbr\u003e\nカメラキャプチャ時の縦幅\u003cbr\u003e\nデフォルト：720\n* --square_len\u003cbr\u003e\nキャリブレーションパターン(チェスボード)の1辺の長さ(mm)\u003cbr\u003e\nデフォルト：23.0\n* --grid_size\u003cbr\u003e\nキャリブレーションパターン(チェスボード)の行列数(カンマ区切り指定)\u003cbr\u003e\nデフォルト：10,7\n* --k_filename\u003cbr\u003e\n半径方向の歪み係数の保存ファイル名(csv)\u003cbr\u003e\nデフォルト：K.csv\n* --d_filename\u003cbr\u003e\n円周方向の歪み係数の保存ファイル名(csv)\u003cbr\u003e\nデフォルト：d.csv\n* --use_autoappend\u003cbr\u003e\nキャリブレーションパターン検出時に自動で撮影するか否か(指定しない場合はEnterで明示的に撮影)\u003cbr\u003e\nデフォルト：指定なし\n* --interval_time\u003cbr\u003e\nuse_autoappend指定時の撮影間隔(ms)\u003cbr\u003e\nデフォルト：100\n\u003c/details\u003e\n  \n#### 02_qrcode_pose_estimation.py\n```bash\npython 02_qrcode_pose_estimation.py --qr_size=8.7\n```\n注意：--qr_sizeの単位はcmです\u003cbr\u003e\n\n実行時には、以下のオプションが指定可能です。\n\u003cdetails\u003e\n\u003csummary\u003eオプション指定\u003c/summary\u003e\n   \n* --device\u003cbr\u003e\nカメラデバイス番号の指定\u003cbr\u003e\nデフォルト：0\n* --file\u003cbr\u003e\n動画ファイル名の指定 ※指定時はカメラデバイスより優先し動画を読み込む\u003cbr\u003e\nデフォルト：None\n* --width\u003cbr\u003e\nカメラキャプチャ時の横幅\u003cbr\u003e\nデフォルト：1280\n* --height\u003cbr\u003e\nカメラキャプチャ時の縦幅\u003cbr\u003e\nデフォルト：720\n* --qr_size\u003cbr\u003e\nQRコードの1辺の長さ(cm)\u003cbr\u003e\nデフォルト：8.7\n* --k_filename\u003cbr\u003e\n半径方向の歪み係数の保存ファイル名(csv)\u003cbr\u003e\nデフォルト：K.csv\n* --d_filename\u003cbr\u003e\n円周方向の歪み係数の保存ファイル名(csv)\u003cbr\u003e\nデフォルト：d.csv\n\u003c/details\u003e\n  \n# Author\n高橋かずひと(https://twitter.com/KzhtTkhs)\n \n# License \nqrcode-pose-estimation is under [Apache-2.0 License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fqrcode-pose-estimation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazuhito00%2Fqrcode-pose-estimation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fqrcode-pose-estimation/lists"}