{"id":21476738,"url":"https://github.com/kazuhito00/omnidirectional-viewer-sample-using-opencv","last_synced_at":"2025-07-15T10:32:49.732Z","repository":{"id":50586988,"uuid":"519417183","full_name":"Kazuhito00/omnidirectional-viewer-sample-using-opencv","owner":"Kazuhito00","description":"OpenCVを利用した360度画像の簡易ビューア","archived":false,"fork":false,"pushed_at":"2022-07-30T09:15:45.000Z","size":62914,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2023-03-04T13:14:50.631Z","etag":null,"topics":["omnidirectional","omnidirectional-images","omnidirectional-panorama","omnidirectional-vision","opencv","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/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}},"created_at":"2022-07-30T04:25:02.000Z","updated_at":"2022-11-18T22:20:22.000Z","dependencies_parsed_at":"2022-09-01T19:10:28.060Z","dependency_job_id":null,"html_url":"https://github.com/Kazuhito00/omnidirectional-viewer-sample-using-opencv","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fomnidirectional-viewer-sample-using-opencv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fomnidirectional-viewer-sample-using-opencv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fomnidirectional-viewer-sample-using-opencv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2Fomnidirectional-viewer-sample-using-opencv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kazuhito00","download_url":"https://codeload.github.com/Kazuhito00/omnidirectional-viewer-sample-using-opencv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033263,"owners_count":17563125,"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","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":["omnidirectional","omnidirectional-images","omnidirectional-panorama","omnidirectional-vision","opencv","python"],"created_at":"2024-11-23T11:10:07.563Z","updated_at":"2024-11-23T11:10:08.181Z","avatar_url":"https://github.com/Kazuhito00.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# omnidirectional-viewer-sample-using-opencv\nOpenCVを利用した360度画像の簡易ビューアです。\n\nhttps://user-images.githubusercontent.com/37477845/181903194-a6ce5e2f-faa5-47e8-a0e7-ab705e1bbec3.mp4\n\n# Requirement \n* opencv-python 4.5.3.56 or later\n\n# Demo\nデモは2種類あります。\u003cbr\u003e\n1. コマンドライン操作で画像を変換し保存するデモ（01_simple_image_convert.py）\n2. マウス操作でピッチ・ヨー・ズームの視点を操作するデモ（02_omnidirectional_viewer.py）\n\n### 1. コマンドライン操作で画像を変換し保存するデモ（01_simple_image_convert.py）\n```bash\npython 01_simple_image_convert.py\n```\n\u003cdetails\u003e\n\u003csummary\u003eパラメータ\u003c/summary\u003e\n  \n* --roll\u003cbr\u003e\nロール角の指定\u003cbr\u003e\nデフォルト：0\n* --pitch\u003cbr\u003e\nピッチ角の指定\u003cbr\u003e\nデフォルト：0\n* --yaw\u003cbr\u003e\nヨー角の指定\u003cbr\u003e\nデフォルト：0\n* --viewpoint\u003cbr\u003e\n半径1の球体に正規化した際のX軸視点位置\u003cbr\u003e\nデフォルト：-1.0\n* --imagepoint\u003cbr\u003e\n半径1の球体に正規化した際のX軸投影位置\u003cbr\u003e\nデフォルト：1.0\n* --sensor_size\u003cbr\u003e\n半径1の球体に正規化した際の投影幅\u003cbr\u003e\nデフォルト：0.561\n* --width\u003cbr\u003e\n出力画像の横幅\u003cbr\u003e\nデフォルト：640\n* --width\u003cbr\u003e\n出力画像の縦幅\u003cbr\u003e\nデフォルト：360\n* --image\u003cbr\u003e\n入力画像パス\u003cbr\u003e\nデフォルト：sample.png\n* --output\u003cbr\u003e\n出力画像パス\u003cbr\u003e\nデフォルト：output.png\n\u003c/details\u003e\n\n### 2. マウス操作でピッチ・ヨー・ズームの視点を操作するデモ（02_omnidirectional_viewer.py）\nウィンドウ上でマウス左ドラッグでピッチ・ヨー操作、ホイールでズーム操作が出来ます。\u003cbr\u003e\n※ロール操作には対応していません\n```bash\npython 02_omnidirectional_viewer.py\n```\n\u003cdetails\u003e\n\u003csummary\u003eパラメータ\u003c/summary\u003e\n  \n* --viewpoint\u003cbr\u003e\n半径1の球体に正規化した際のX軸視点の初期位置\u003cbr\u003e\nデフォルト：-1.0\n* --imagepoint\u003cbr\u003e\n半径1の球体に正規化した際のX軸投影の初期位置\u003cbr\u003e\nデフォルト：1.0\n* --sensor_size\u003cbr\u003e\n半径1の球体に正規化した際の投影幅\u003cbr\u003e\nデフォルト：0.561\n* --width\u003cbr\u003e\n出力画像の横幅\u003cbr\u003e\nデフォルト：640\n* --width\u003cbr\u003e\n出力画像の縦幅\u003cbr\u003e\nデフォルト：360\n* --image\u003cbr\u003e\n入力画像パス\u003cbr\u003e\nデフォルト：sample.png\n* --movie\u003cbr\u003e\n入力動画パス ※指定時はimageオプションより優先\u003cbr\u003e\nデフォルト：指定なし\n\u003c/details\u003e\n\n# Author\n高橋かずひと(https://twitter.com/KzhtTkhs)\n \n# License \nomnidirectional-viewer-sample-using-opencv is under [MIT License](LICENSE).\n\nまた、水中の360度動画は、[360あーる・てぃー・しー](https://360rtc.com)様の\u003cbr\u003e\n「[浅瀬の水中を色鮮やかな魚が泳ぐ沖縄県恩納村恩納 No.1](https://360rtc.com/videos/apogama001/)」を利用しています。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fomnidirectional-viewer-sample-using-opencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazuhito00%2Fomnidirectional-viewer-sample-using-opencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fomnidirectional-viewer-sample-using-opencv/lists"}