
实现了以下:
public enum HandGesture
{
None,
Stop,
ThumbsUp,
Victory,
OK,
OpenHand
}
核心脚本:
// Copyright (c) 2023 homuler
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
using System.Collections;
using Mediapipe.Tasks.Vision.HandLandmarker;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Rendering;
namespace Mediapipe.Unity.Sample.HandLandmarkDetection
{
public class HandLandmarkerRunner : VisionTaskApiRunner<HandLandmarker>
{
[SerializeField] private HandLandmarkerResultAnnotationController _handLandmarkerResultAnnotationController;
private Experimental.TextureFramePool _textureFramePool;
public readonly HandLandmarkDetectionConfig config = new HandLandmarkDetectionConfig();
public UnityAction<HandLandm

最低0.47元/天 解锁文章
302

被折叠的 条评论
为什么被折叠?



