|
@@ -629,11 +629,11 @@ const AiorzWebARLanding = () => {
|
|
|
|
|
|
|
|
let detectedShape = 'sphere';
|
|
let detectedShape = 'sphere';
|
|
|
|
|
|
|
|
- if (!f[1] && !f[2] && !f[3] && !f[4]) detectedShape = 'saturn';
|
|
|
|
|
|
|
+ if (!f[1] && !f[2] && !f[3] && !f[4]) detectedShape = 'sphere'; // 握拳 = SPHERE
|
|
|
else if (f[1] && f[2] && !f[3] && !f[4]) detectedShape = 'text';
|
|
else if (f[1] && f[2] && !f[3] && !f[4]) detectedShape = 'text';
|
|
|
else if (f[1] && !f[2] && !f[3] && !f[4]) detectedShape = 'robot';
|
|
else if (f[1] && !f[2] && !f[3] && !f[4]) detectedShape = 'robot';
|
|
|
else if (f[0] && !f[1] && !f[2] && !f[3]) detectedShape = 'heart';
|
|
else if (f[0] && !f[1] && !f[2] && !f[3]) detectedShape = 'heart';
|
|
|
- else detectedShape = 'sphere';
|
|
|
|
|
|
|
+ else detectedShape = 'saturn'; // 张开手 = SATURN
|
|
|
|
|
|
|
|
const state = gestureStateRef.current;
|
|
const state = gestureStateRef.current;
|
|
|
if (detectedShape === state.pending) {
|
|
if (detectedShape === state.pending) {
|
|
@@ -726,14 +726,14 @@ const AiorzWebARLanding = () => {
|
|
|
<div className="flex items-center gap-2">
|
|
<div className="flex items-center gap-2">
|
|
|
<div className="w-6 h-6 rounded bg-gray-800/50 flex items-center justify-center text-sm flex-shrink-0">🖐️</div>
|
|
<div className="w-6 h-6 rounded bg-gray-800/50 flex items-center justify-center text-sm flex-shrink-0">🖐️</div>
|
|
|
<div className="min-w-0">
|
|
<div className="min-w-0">
|
|
|
- <div className="text-emerald-400 font-bold text-xs">SPHERE</div>
|
|
|
|
|
|
|
+ <div className="text-orange-400 font-bold text-xs">SATURN</div>
|
|
|
<div className="text-[10px] text-gray-500 leading-tight">Open hand</div>
|
|
<div className="text-[10px] text-gray-500 leading-tight">Open hand</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div className="flex items-center gap-2">
|
|
<div className="flex items-center gap-2">
|
|
|
<div className="w-6 h-6 rounded bg-gray-800/50 flex items-center justify-center text-sm flex-shrink-0">✊</div>
|
|
<div className="w-6 h-6 rounded bg-gray-800/50 flex items-center justify-center text-sm flex-shrink-0">✊</div>
|
|
|
<div className="min-w-0">
|
|
<div className="min-w-0">
|
|
|
- <div className="text-orange-400 font-bold text-xs">SATURN</div>
|
|
|
|
|
|
|
+ <div className="text-emerald-400 font-bold text-xs">SPHERE</div>
|
|
|
<div className="text-[10px] text-gray-500 leading-tight">Close fist</div>
|
|
<div className="text-[10px] text-gray-500 leading-tight">Close fist</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|