📝 MediaPipe設定コード
const hands = new Hands({
locateFile: (file) => {
return `https://cdn.../hands/${file}`;
}
});
hands.setOptions({
maxNumHands: 2,
modelComplexity: 1,
minDetectionConfidence: 0.5,
minTrackingConfidence: 0.5
});
minDetectionConfidence: 0.5
0.7→0.5に下げて検出の安定性が向上