ノート

Pythonエアマウススクリプト、ハンドトラッキング付き

フリーのプロンプト百科事典 Wikiprompt より

Coin Shot ☁️

2026年5月28日

Pythonエアマウススクリプト、ハンドトラッキング付き ウェブカメラをハンドトラッキングでエアマウスに変え、カーソル制御とクリックジェスチャーを備えたPythonスクリプトを生成するためのプロンプト。

プロンプト内容保存

🌐
Write me a Python script for an air mouse. Use OpenCV to read my webcam, MediaPipe to track my hand, and PyAutoGUI to move the cursor. Rules: - Index finger position controls the cursor on screen - Pinch index finger and thumb together to left-click - Pinch middle finger and thumb to right-click - Open palm pauses tracking - Smooth the movement so the cursor does not jitter Output one complete script I can run with python. Add comments so I can adjust the sensitivity.

ログインして完全なプロンプトを表示

次で続行:

ログインすると、次に同意したことになります: 利用規約 と プライバシーポリシー

使い方

このプロンプトは coding 向けに設計されています。上の内容をコピーして、お好みの AI ツールに貼り付けてください。

最良の結果を得るには、プレースホルダー(角括弧や大文字で示された部分)を具体的な要件に置き換えてください。

参考資料

カテゴリ:coding| twitter| python| air-mouse

ノート