├── .gitattributes ├── .github └── workflows │ └── main.yml ├── .gitignore ├── Assets ├── Image.meta ├── Image │ ├── pexels-daria-shevtsova-1578238.png │ └── pexels-daria-shevtsova-1578238.png.meta ├── Script.meta ├── Script │ ├── Visualizer.cs │ └── Visualizer.cs.meta ├── Shader.meta ├── Shader │ ├── Visualizer.shader │ └── Visualizer.shader.meta ├── Visualizer.unity └── Visualizer.unity.meta ├── LICENSE ├── Packages ├── jp.keijiro.mediapipe.handlandmark │ ├── HandLandmark.asset │ ├── HandLandmark.asset.meta │ ├── LICENSE │ ├── LICENSE.meta │ ├── ONNX.meta │ ├── ONNX │ │ ├── hand_landmark.onnx │ │ └── hand_landmark.onnx.meta │ ├── README.md │ ├── README.md.meta │ ├── Script.meta │ ├── Script │ │ ├── HandLandmarkDetector.cs │ │ ├── HandLandmarkDetector.cs.meta │ │ ├── HandLandmarkDetectorPublic.cs │ │ ├── HandLandmarkDetectorPublic.cs.meta │ │ ├── MediaPipe.HandLandmark.Runtime.asmdef │ │ ├── MediaPipe.HandLandmark.Runtime.asmdef.meta │ │ ├── ResourceSet.cs │ │ └── ResourceSet.cs.meta │ ├── Shader.meta │ ├── Shader │ │ ├── Postprocess.compute │ │ └── Postprocess.compute.meta │ ├── package.json │ └── package.json.meta ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── MemorySettings.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── SceneTemplateSettings.json ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset ├── XRSettings.asset └── boot.config └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | * -text 2 | 3 | *.cs text eol=lf diff=csharp 4 | *.shader text eol=lf 5 | *.cginc text eol=lf 6 | *.hlsl text eol=lf 7 | *.compute text eol=lf 8 | 9 | *.meta text eol=lf 10 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: UPM on npsjs.com 2 | on: 3 | release: 4 | types: [created] 5 | jobs: 6 | publish: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - uses: actions/checkout@v2 10 | - uses: actions/setup-node@v2 11 | with: 12 | registry-url: 'https://registry.npmjs.org' 13 | - run: npm publish 14 | working-directory: Packages/jp.keijiro.mediapipe.handlandmark 15 | env: 16 | NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} 17 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Windows 2 | Thumbs.db 3 | Desktop.ini 4 | 5 | # macOS 6 | .DS_Store 7 | 8 | # Code Editors 9 | /.idea 10 | /.vscode 11 | /*.csproj 12 | /*.sln 13 | *.swp 14 | *.vcxproj.user 15 | 16 | # Unity 17 | /Library 18 | /Logs 19 | /Recordings 20 | /UserSettings 21 | /Temp 22 | -------------------------------------------------------------------------------- /Assets/Image.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8edd42c393364e358e1722f993473c0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Image/pexels-daria-shevtsova-1578238.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/HandLandmarkBarracuda/36308f8b8b0ac4116e9de2b6114bd37d0dd5756e/Assets/Image/pexels-daria-shevtsova-1578238.png -------------------------------------------------------------------------------- /Assets/Image/pexels-daria-shevtsova-1578238.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f99934cc02dc9430191e3d5a71d33bda 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: -1 36 | aniso: 1 37 | mipBias: -100 38 | wrapU: 1 39 | wrapV: 1 40 | wrapW: 1 41 | nPOTScale: 0 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 1 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 0 53 | alphaIsTransparency: 1 54 | spriteTessellationDetail: -1 55 | textureType: 2 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 2048 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 0 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | - serializedVersion: 3 79 | buildTarget: Standalone 80 | maxTextureSize: 2048 81 | resizeAlgorithm: 0 82 | textureFormat: -1 83 | textureCompression: 0 84 | compressionQuality: 50 85 | crunchedCompression: 0 86 | allowsAlphaSplitting: 0 87 | overridden: 0 88 | androidETC2FallbackOverride: 0 89 | forceMaximumCompressionQuality_BC6H_BC7: 0 90 | spriteSheet: 91 | serializedVersion: 2 92 | sprites: [] 93 | outline: [] 94 | physicsShape: [] 95 | bones: [] 96 | spriteID: 5e97eb03825dee720800000000000000 97 | internalID: 0 98 | vertices: [] 99 | indices: 100 | edges: [] 101 | weights: [] 102 | secondaryTextures: [] 103 | spritePackingTag: 104 | pSDRemoveMatte: 0 105 | pSDShowRemoveMatteOption: 0 106 | userData: 107 | assetBundleName: 108 | assetBundleVariant: 109 | -------------------------------------------------------------------------------- /Assets/Script.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: adbb629ce3a594c088b60821fec53077 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Script/Visualizer.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using Klak.TestTools; 4 | using MediaPipe.HandLandmark; 5 | 6 | public sealed class Visualizer : MonoBehaviour 7 | { 8 | #region Editable attributes 9 | 10 | [SerializeField] ImageSource _source = null; 11 | [SerializeField] ResourceSet _resources = null; 12 | [SerializeField] RawImage _previewUI = null; 13 | [SerializeField] Text _scoreUI = null; 14 | [SerializeField] Text _handednessUI = null; 15 | [SerializeField] Shader _shader = null; 16 | 17 | #endregion 18 | 19 | #region Private members 20 | 21 | HandLandmarkDetector _detector; 22 | Material _material; 23 | 24 | #endregion 25 | 26 | #region MonoBehaviour implementation 27 | 28 | void Start() 29 | { 30 | _detector = new HandLandmarkDetector(_resources); 31 | _material = new Material(_shader); 32 | } 33 | 34 | void OnDestroy() 35 | { 36 | _detector.Dispose(); 37 | Destroy(_material); 38 | } 39 | 40 | void LateUpdate() 41 | { 42 | _detector.ProcessImage(_source.Texture); 43 | _previewUI.texture = _source.Texture; 44 | _scoreUI.text = $"Score: {_detector.Score:0.00}"; 45 | _handednessUI.text = $"Handedness: {_detector.Handedness:0.00}"; 46 | } 47 | 48 | void OnRenderObject() 49 | { 50 | _material.SetBuffer("_Vertices", _detector.OutputBuffer); 51 | _material.SetPass(0); 52 | Graphics.DrawProceduralNow 53 | (MeshTopology.Lines, 4, HandLandmarkDetector.VertexCount); 54 | } 55 | 56 | #endregion 57 | } 58 | -------------------------------------------------------------------------------- /Assets/Script/Visualizer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17ae997b32df247a496cc3d4fe84a474 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: 7 | - _webcam: {instanceID: 0} 8 | - _previewUI: {instanceID: 0} 9 | - _resources: {fileID: 11400000, guid: 1edc0d74bd97543caa8c7f0a11b637f1, type: 2} 10 | - _shader: {fileID: 4800000, guid: 67d50f035150647a3a538da64be936cd, type: 3} 11 | executionOrder: 0 12 | icon: {instanceID: 0} 13 | userData: 14 | assetBundleName: 15 | assetBundleVariant: 16 | -------------------------------------------------------------------------------- /Assets/Shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e669f6144a194cf6a7319a29cf256e5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Shader/Visualizer.shader: -------------------------------------------------------------------------------- 1 | Shader "Hidden/MediaPipe/HandLandmark/Visualizer" 2 | { 3 | CGINCLUDE 4 | 5 | #include "UnityCG.cginc" 6 | 7 | StructuredBuffer _Vertices; 8 | 9 | float4 Vertex(uint vid : SV_VertexID, 10 | uint iid : SV_InstanceID) : SV_Position 11 | { 12 | float2 p = _Vertices[iid + 1] - 0.5; 13 | 14 | const float size = 0.02; 15 | p.x += size * lerp(-1, 1, vid == 1) * (vid < 2); 16 | p.y += size * lerp(-1, 1, vid == 3) * (vid > 1); 17 | 18 | return UnityObjectToClipPos(float4(p, 0, 1)); 19 | } 20 | 21 | float4 Fragment(float4 position : SV_Position, 22 | float4 color : COLOR) : SV_Target 23 | { 24 | return float4(1, 1, 1, 0.9); 25 | } 26 | 27 | ENDCG 28 | 29 | SubShader 30 | { 31 | ZWrite Off ZTest Always Cull Off 32 | Blend SrcAlpha OneMinusSrcAlpha 33 | Pass 34 | { 35 | CGPROGRAM 36 | #pragma vertex Vertex 37 | #pragma fragment Fragment 38 | ENDCG 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Assets/Shader/Visualizer.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67d50f035150647a3a538da64be936cd 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | preprocessorOverride: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Visualizer.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 3 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 0 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 512 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 256 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 1 83 | m_PVRDenoiserTypeDirect: 1 84 | m_PVRDenoiserTypeIndirect: 1 85 | m_PVRDenoiserTypeAO: 1 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 1 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 0} 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | maxJobWorkers: 0 122 | preserveTilesOutsideBounds: 0 123 | debug: 124 | m_Flags: 0 125 | m_NavMeshData: {fileID: 0} 126 | --- !u!1 &80368947 127 | GameObject: 128 | m_ObjectHideFlags: 0 129 | m_CorrespondingSourceObject: {fileID: 0} 130 | m_PrefabInstance: {fileID: 0} 131 | m_PrefabAsset: {fileID: 0} 132 | serializedVersion: 6 133 | m_Component: 134 | - component: {fileID: 80368950} 135 | - component: {fileID: 80368949} 136 | - component: {fileID: 80368948} 137 | m_Layer: 5 138 | m_Name: RawImage 139 | m_TagString: Untagged 140 | m_Icon: {fileID: 0} 141 | m_NavMeshLayer: 0 142 | m_StaticEditorFlags: 0 143 | m_IsActive: 1 144 | --- !u!114 &80368948 145 | MonoBehaviour: 146 | m_ObjectHideFlags: 0 147 | m_CorrespondingSourceObject: {fileID: 0} 148 | m_PrefabInstance: {fileID: 0} 149 | m_PrefabAsset: {fileID: 0} 150 | m_GameObject: {fileID: 80368947} 151 | m_Enabled: 1 152 | m_EditorHideFlags: 0 153 | m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} 154 | m_Name: 155 | m_EditorClassIdentifier: 156 | m_Material: {fileID: 0} 157 | m_Color: {r: 0.6509434, g: 0.6509434, b: 0.6509434, a: 1} 158 | m_RaycastTarget: 1 159 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 160 | m_Maskable: 1 161 | m_OnCullStateChanged: 162 | m_PersistentCalls: 163 | m_Calls: [] 164 | m_Texture: {fileID: 0} 165 | m_UVRect: 166 | serializedVersion: 2 167 | x: 0 168 | y: 0 169 | width: 1 170 | height: 1 171 | --- !u!222 &80368949 172 | CanvasRenderer: 173 | m_ObjectHideFlags: 0 174 | m_CorrespondingSourceObject: {fileID: 0} 175 | m_PrefabInstance: {fileID: 0} 176 | m_PrefabAsset: {fileID: 0} 177 | m_GameObject: {fileID: 80368947} 178 | m_CullTransparentMesh: 1 179 | --- !u!224 &80368950 180 | RectTransform: 181 | m_ObjectHideFlags: 0 182 | m_CorrespondingSourceObject: {fileID: 0} 183 | m_PrefabInstance: {fileID: 0} 184 | m_PrefabAsset: {fileID: 0} 185 | m_GameObject: {fileID: 80368947} 186 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 187 | m_LocalPosition: {x: 0, y: 0, z: 0} 188 | m_LocalScale: {x: 1, y: 1, z: 1} 189 | m_ConstrainProportionsScale: 0 190 | m_Children: [] 191 | m_Father: {fileID: 1602929248} 192 | m_RootOrder: 0 193 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 194 | m_AnchorMin: {x: 0.5, y: 0.5} 195 | m_AnchorMax: {x: 0.5, y: 0.5} 196 | m_AnchoredPosition: {x: 0, y: 0} 197 | m_SizeDelta: {x: 1080, y: 1080} 198 | m_Pivot: {x: 0.5, y: 0.5} 199 | --- !u!1 &613229543 200 | GameObject: 201 | m_ObjectHideFlags: 0 202 | m_CorrespondingSourceObject: {fileID: 0} 203 | m_PrefabInstance: {fileID: 0} 204 | m_PrefabAsset: {fileID: 0} 205 | serializedVersion: 6 206 | m_Component: 207 | - component: {fileID: 613229545} 208 | - component: {fileID: 613229544} 209 | m_Layer: 0 210 | m_Name: Camera 211 | m_TagString: Untagged 212 | m_Icon: {fileID: 0} 213 | m_NavMeshLayer: 0 214 | m_StaticEditorFlags: 0 215 | m_IsActive: 1 216 | --- !u!20 &613229544 217 | Camera: 218 | m_ObjectHideFlags: 0 219 | m_CorrespondingSourceObject: {fileID: 0} 220 | m_PrefabInstance: {fileID: 0} 221 | m_PrefabAsset: {fileID: 0} 222 | m_GameObject: {fileID: 613229543} 223 | m_Enabled: 1 224 | serializedVersion: 2 225 | m_ClearFlags: 2 226 | m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0} 227 | m_projectionMatrixMode: 1 228 | m_GateFitMode: 2 229 | m_FOVAxisMode: 0 230 | m_SensorSize: {x: 36, y: 24} 231 | m_LensShift: {x: 0, y: 0} 232 | m_FocalLength: 50 233 | m_NormalizedViewPortRect: 234 | serializedVersion: 2 235 | x: 0 236 | y: 0 237 | width: 1 238 | height: 1 239 | near clip plane: 0.1 240 | far clip plane: 100 241 | field of view: 60 242 | orthographic: 1 243 | orthographic size: 0.5 244 | m_Depth: 0 245 | m_CullingMask: 246 | serializedVersion: 2 247 | m_Bits: 4294967295 248 | m_RenderingPath: 1 249 | m_TargetTexture: {fileID: 0} 250 | m_TargetDisplay: 0 251 | m_TargetEye: 3 252 | m_HDR: 0 253 | m_AllowMSAA: 0 254 | m_AllowDynamicResolution: 0 255 | m_ForceIntoRT: 0 256 | m_OcclusionCulling: 0 257 | m_StereoConvergence: 10 258 | m_StereoSeparation: 0.022 259 | --- !u!4 &613229545 260 | Transform: 261 | m_ObjectHideFlags: 0 262 | m_CorrespondingSourceObject: {fileID: 0} 263 | m_PrefabInstance: {fileID: 0} 264 | m_PrefabAsset: {fileID: 0} 265 | m_GameObject: {fileID: 613229543} 266 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 267 | m_LocalPosition: {x: 0, y: 0, z: -10} 268 | m_LocalScale: {x: 1, y: 1, z: 1} 269 | m_ConstrainProportionsScale: 0 270 | m_Children: [] 271 | m_Father: {fileID: 0} 272 | m_RootOrder: 0 273 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 274 | --- !u!1 &942647559 275 | GameObject: 276 | m_ObjectHideFlags: 0 277 | m_CorrespondingSourceObject: {fileID: 0} 278 | m_PrefabInstance: {fileID: 0} 279 | m_PrefabAsset: {fileID: 0} 280 | serializedVersion: 6 281 | m_Component: 282 | - component: {fileID: 942647560} 283 | - component: {fileID: 942647562} 284 | - component: {fileID: 942647561} 285 | m_Layer: 5 286 | m_Name: Handedness 287 | m_TagString: Untagged 288 | m_Icon: {fileID: 0} 289 | m_NavMeshLayer: 0 290 | m_StaticEditorFlags: 0 291 | m_IsActive: 1 292 | --- !u!224 &942647560 293 | RectTransform: 294 | m_ObjectHideFlags: 0 295 | m_CorrespondingSourceObject: {fileID: 0} 296 | m_PrefabInstance: {fileID: 0} 297 | m_PrefabAsset: {fileID: 0} 298 | m_GameObject: {fileID: 942647559} 299 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 300 | m_LocalPosition: {x: 0, y: 0, z: 0} 301 | m_LocalScale: {x: 1, y: 1, z: 1} 302 | m_ConstrainProportionsScale: 0 303 | m_Children: [] 304 | m_Father: {fileID: 1602929248} 305 | m_RootOrder: 2 306 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 307 | m_AnchorMin: {x: 0, y: 1} 308 | m_AnchorMax: {x: 0, y: 1} 309 | m_AnchoredPosition: {x: 40, y: -80} 310 | m_SizeDelta: {x: 400, y: 40} 311 | m_Pivot: {x: 0, y: 1} 312 | --- !u!114 &942647561 313 | MonoBehaviour: 314 | m_ObjectHideFlags: 0 315 | m_CorrespondingSourceObject: {fileID: 0} 316 | m_PrefabInstance: {fileID: 0} 317 | m_PrefabAsset: {fileID: 0} 318 | m_GameObject: {fileID: 942647559} 319 | m_Enabled: 1 320 | m_EditorHideFlags: 0 321 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 322 | m_Name: 323 | m_EditorClassIdentifier: 324 | m_Material: {fileID: 0} 325 | m_Color: {r: 1, g: 1, b: 1, a: 1} 326 | m_RaycastTarget: 1 327 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 328 | m_Maskable: 1 329 | m_OnCullStateChanged: 330 | m_PersistentCalls: 331 | m_Calls: [] 332 | m_FontData: 333 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 334 | m_FontSize: 32 335 | m_FontStyle: 0 336 | m_BestFit: 0 337 | m_MinSize: 3 338 | m_MaxSize: 56 339 | m_Alignment: 3 340 | m_AlignByGeometry: 0 341 | m_RichText: 1 342 | m_HorizontalOverflow: 0 343 | m_VerticalOverflow: 0 344 | m_LineSpacing: 1 345 | m_Text: 'Handedness: 0.00' 346 | --- !u!222 &942647562 347 | CanvasRenderer: 348 | m_ObjectHideFlags: 0 349 | m_CorrespondingSourceObject: {fileID: 0} 350 | m_PrefabInstance: {fileID: 0} 351 | m_PrefabAsset: {fileID: 0} 352 | m_GameObject: {fileID: 942647559} 353 | m_CullTransparentMesh: 1 354 | --- !u!1 &1341825481 355 | GameObject: 356 | m_ObjectHideFlags: 0 357 | m_CorrespondingSourceObject: {fileID: 0} 358 | m_PrefabInstance: {fileID: 0} 359 | m_PrefabAsset: {fileID: 0} 360 | serializedVersion: 6 361 | m_Component: 362 | - component: {fileID: 1341825484} 363 | - component: {fileID: 1341825485} 364 | - component: {fileID: 1341825482} 365 | m_Layer: 0 366 | m_Name: Visualizer 367 | m_TagString: Untagged 368 | m_Icon: {fileID: 0} 369 | m_NavMeshLayer: 0 370 | m_StaticEditorFlags: 0 371 | m_IsActive: 1 372 | --- !u!114 &1341825482 373 | MonoBehaviour: 374 | m_ObjectHideFlags: 0 375 | m_CorrespondingSourceObject: {fileID: 0} 376 | m_PrefabInstance: {fileID: 0} 377 | m_PrefabAsset: {fileID: 0} 378 | m_GameObject: {fileID: 1341825481} 379 | m_Enabled: 1 380 | m_EditorHideFlags: 0 381 | m_Script: {fileID: 11500000, guid: 17ae997b32df247a496cc3d4fe84a474, type: 3} 382 | m_Name: 383 | m_EditorClassIdentifier: 384 | _source: {fileID: 1341825485} 385 | _resources: {fileID: 11400000, guid: 1edc0d74bd97543caa8c7f0a11b637f1, type: 2} 386 | _previewUI: {fileID: 80368948} 387 | _scoreUI: {fileID: 1425750606} 388 | _handednessUI: {fileID: 942647561} 389 | _shader: {fileID: 4800000, guid: 67d50f035150647a3a538da64be936cd, type: 3} 390 | --- !u!4 &1341825484 391 | Transform: 392 | m_ObjectHideFlags: 0 393 | m_CorrespondingSourceObject: {fileID: 0} 394 | m_PrefabInstance: {fileID: 0} 395 | m_PrefabAsset: {fileID: 0} 396 | m_GameObject: {fileID: 1341825481} 397 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 398 | m_LocalPosition: {x: 0, y: 0, z: 0} 399 | m_LocalScale: {x: 1, y: 1, z: 1} 400 | m_ConstrainProportionsScale: 0 401 | m_Children: [] 402 | m_Father: {fileID: 0} 403 | m_RootOrder: 2 404 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 405 | --- !u!114 &1341825485 406 | MonoBehaviour: 407 | m_ObjectHideFlags: 0 408 | m_CorrespondingSourceObject: {fileID: 0} 409 | m_PrefabInstance: {fileID: 0} 410 | m_PrefabAsset: {fileID: 0} 411 | m_GameObject: {fileID: 1341825481} 412 | m_Enabled: 1 413 | m_EditorHideFlags: 0 414 | m_Script: {fileID: 11500000, guid: 40ff2e515a81541cbb664860588e2c6e, type: 3} 415 | m_Name: 416 | m_EditorClassIdentifier: 417 | _sourceType: 0 418 | _texture: {fileID: 2800000, guid: f99934cc02dc9430191e3d5a71d33bda, type: 3} 419 | _textureUrl: 420 | _video: {fileID: 0} 421 | _videoUrl: 422 | _webcamName: 423 | _webcamResolution: {x: 1920, y: 1080} 424 | _webcamFrameRate: 30 425 | _outputTexture: {fileID: 0} 426 | _outputResolution: {x: 1024, y: 1024} 427 | _shader: {fileID: 4800000, guid: 3f7d8db4748f54c638a46cec0b0e61f8, type: 3} 428 | --- !u!1 &1425750604 429 | GameObject: 430 | m_ObjectHideFlags: 0 431 | m_CorrespondingSourceObject: {fileID: 0} 432 | m_PrefabInstance: {fileID: 0} 433 | m_PrefabAsset: {fileID: 0} 434 | serializedVersion: 6 435 | m_Component: 436 | - component: {fileID: 1425750605} 437 | - component: {fileID: 1425750607} 438 | - component: {fileID: 1425750606} 439 | m_Layer: 5 440 | m_Name: Score 441 | m_TagString: Untagged 442 | m_Icon: {fileID: 0} 443 | m_NavMeshLayer: 0 444 | m_StaticEditorFlags: 0 445 | m_IsActive: 1 446 | --- !u!224 &1425750605 447 | RectTransform: 448 | m_ObjectHideFlags: 0 449 | m_CorrespondingSourceObject: {fileID: 0} 450 | m_PrefabInstance: {fileID: 0} 451 | m_PrefabAsset: {fileID: 0} 452 | m_GameObject: {fileID: 1425750604} 453 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 454 | m_LocalPosition: {x: 0, y: 0, z: 0} 455 | m_LocalScale: {x: 1, y: 1, z: 1} 456 | m_ConstrainProportionsScale: 0 457 | m_Children: [] 458 | m_Father: {fileID: 1602929248} 459 | m_RootOrder: 1 460 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 461 | m_AnchorMin: {x: 0, y: 1} 462 | m_AnchorMax: {x: 0, y: 1} 463 | m_AnchoredPosition: {x: 40, y: -40} 464 | m_SizeDelta: {x: 400, y: 40} 465 | m_Pivot: {x: 0, y: 1} 466 | --- !u!114 &1425750606 467 | MonoBehaviour: 468 | m_ObjectHideFlags: 0 469 | m_CorrespondingSourceObject: {fileID: 0} 470 | m_PrefabInstance: {fileID: 0} 471 | m_PrefabAsset: {fileID: 0} 472 | m_GameObject: {fileID: 1425750604} 473 | m_Enabled: 1 474 | m_EditorHideFlags: 0 475 | m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} 476 | m_Name: 477 | m_EditorClassIdentifier: 478 | m_Material: {fileID: 0} 479 | m_Color: {r: 1, g: 1, b: 1, a: 1} 480 | m_RaycastTarget: 1 481 | m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} 482 | m_Maskable: 1 483 | m_OnCullStateChanged: 484 | m_PersistentCalls: 485 | m_Calls: [] 486 | m_FontData: 487 | m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} 488 | m_FontSize: 32 489 | m_FontStyle: 0 490 | m_BestFit: 0 491 | m_MinSize: 3 492 | m_MaxSize: 56 493 | m_Alignment: 3 494 | m_AlignByGeometry: 0 495 | m_RichText: 1 496 | m_HorizontalOverflow: 0 497 | m_VerticalOverflow: 0 498 | m_LineSpacing: 1 499 | m_Text: 'Score: 0.00' 500 | --- !u!222 &1425750607 501 | CanvasRenderer: 502 | m_ObjectHideFlags: 0 503 | m_CorrespondingSourceObject: {fileID: 0} 504 | m_PrefabInstance: {fileID: 0} 505 | m_PrefabAsset: {fileID: 0} 506 | m_GameObject: {fileID: 1425750604} 507 | m_CullTransparentMesh: 1 508 | --- !u!1 &1602929247 509 | GameObject: 510 | m_ObjectHideFlags: 0 511 | m_CorrespondingSourceObject: {fileID: 0} 512 | m_PrefabInstance: {fileID: 0} 513 | m_PrefabAsset: {fileID: 0} 514 | serializedVersion: 6 515 | m_Component: 516 | - component: {fileID: 1602929248} 517 | - component: {fileID: 1602929251} 518 | - component: {fileID: 1602929250} 519 | - component: {fileID: 1602929249} 520 | m_Layer: 5 521 | m_Name: Canvas 522 | m_TagString: Untagged 523 | m_Icon: {fileID: 0} 524 | m_NavMeshLayer: 0 525 | m_StaticEditorFlags: 0 526 | m_IsActive: 1 527 | --- !u!224 &1602929248 528 | RectTransform: 529 | m_ObjectHideFlags: 0 530 | m_CorrespondingSourceObject: {fileID: 0} 531 | m_PrefabInstance: {fileID: 0} 532 | m_PrefabAsset: {fileID: 0} 533 | m_GameObject: {fileID: 1602929247} 534 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 535 | m_LocalPosition: {x: 0, y: 0, z: 0} 536 | m_LocalScale: {x: 0, y: 0, z: 0} 537 | m_ConstrainProportionsScale: 0 538 | m_Children: 539 | - {fileID: 80368950} 540 | - {fileID: 1425750605} 541 | - {fileID: 942647560} 542 | m_Father: {fileID: 0} 543 | m_RootOrder: 1 544 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 545 | m_AnchorMin: {x: 0, y: 0} 546 | m_AnchorMax: {x: 0, y: 0} 547 | m_AnchoredPosition: {x: 0, y: 0} 548 | m_SizeDelta: {x: 0, y: 0} 549 | m_Pivot: {x: 0, y: 0} 550 | --- !u!114 &1602929249 551 | MonoBehaviour: 552 | m_ObjectHideFlags: 0 553 | m_CorrespondingSourceObject: {fileID: 0} 554 | m_PrefabInstance: {fileID: 0} 555 | m_PrefabAsset: {fileID: 0} 556 | m_GameObject: {fileID: 1602929247} 557 | m_Enabled: 1 558 | m_EditorHideFlags: 0 559 | m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} 560 | m_Name: 561 | m_EditorClassIdentifier: 562 | m_IgnoreReversedGraphics: 1 563 | m_BlockingObjects: 0 564 | m_BlockingMask: 565 | serializedVersion: 2 566 | m_Bits: 4294967295 567 | --- !u!114 &1602929250 568 | MonoBehaviour: 569 | m_ObjectHideFlags: 0 570 | m_CorrespondingSourceObject: {fileID: 0} 571 | m_PrefabInstance: {fileID: 0} 572 | m_PrefabAsset: {fileID: 0} 573 | m_GameObject: {fileID: 1602929247} 574 | m_Enabled: 1 575 | m_EditorHideFlags: 0 576 | m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} 577 | m_Name: 578 | m_EditorClassIdentifier: 579 | m_UiScaleMode: 1 580 | m_ReferencePixelsPerUnit: 100 581 | m_ScaleFactor: 1 582 | m_ReferenceResolution: {x: 1080, y: 1080} 583 | m_ScreenMatchMode: 0 584 | m_MatchWidthOrHeight: 1 585 | m_PhysicalUnit: 3 586 | m_FallbackScreenDPI: 96 587 | m_DefaultSpriteDPI: 96 588 | m_DynamicPixelsPerUnit: 1 589 | m_PresetInfoIsWorld: 0 590 | --- !u!223 &1602929251 591 | Canvas: 592 | m_ObjectHideFlags: 0 593 | m_CorrespondingSourceObject: {fileID: 0} 594 | m_PrefabInstance: {fileID: 0} 595 | m_PrefabAsset: {fileID: 0} 596 | m_GameObject: {fileID: 1602929247} 597 | m_Enabled: 1 598 | serializedVersion: 3 599 | m_RenderMode: 1 600 | m_Camera: {fileID: 613229544} 601 | m_PlaneDistance: 100 602 | m_PixelPerfect: 0 603 | m_ReceivesEvents: 1 604 | m_OverrideSorting: 0 605 | m_OverridePixelPerfect: 0 606 | m_SortingBucketNormalizedSize: 0 607 | m_AdditionalShaderChannelsFlag: 0 608 | m_SortingLayerID: 0 609 | m_SortingOrder: 0 610 | m_TargetDisplay: 0 611 | -------------------------------------------------------------------------------- /Assets/Visualizer.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf466f1664f4f4a5e9511450da2a8d24 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/HandLandmark.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 11500000, guid: 655902e3a7d54423f964de6cd9895aef, type: 3} 13 | m_Name: HandLandmark 14 | m_EditorClassIdentifier: 15 | model: {fileID: 5022602860645237092, guid: 4c7a1313436bd4297a5dc00534bfcff8, type: 3} 16 | preprocess: {fileID: 7200000, guid: 065b9d2f5e685444881e88945bf0492b, type: 3} 17 | postprocess: {fileID: 7200000, guid: 45ca5133084b243168fd119c620b14e6, type: 3} 18 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/HandLandmark.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1edc0d74bd97543caa8c7f0a11b637f1 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78b09339df85a4830bfb060f7dcdd688 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/ONNX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b88579be0aee4ab59fa10eab4cceaf9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/ONNX/hand_landmark.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/HandLandmarkBarracuda/36308f8b8b0ac4116e9de2b6114bd37d0dd5756e/Packages/jp.keijiro.mediapipe.handlandmark/ONNX/hand_landmark.onnx -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/ONNX/hand_landmark.onnx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c7a1313436bd4297a5dc00534bfcff8 3 | ScriptedImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 2 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | script: {fileID: 11500000, guid: 683b6cb6d0a474744822c888b46772c9, type: 3} 11 | optimizeModel: 1 12 | forceArbitraryBatchSize: 1 13 | treatErrorsAsWarnings: 0 14 | importMode: 1 15 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/README.md: -------------------------------------------------------------------------------- 1 | HandLandmarkBarracuda 2 | ===================== 3 | 4 | ![screenshot](https://i.imgur.com/REoZWaGl.jpg) 5 | 6 | **HandLandmarkBarracuda** is a hand landmark detector that runs the 7 | [MediaPipe Hand Landmark] model on the [Unity Barracuda] neural network 8 | inference library. 9 | 10 | [MediaPipe Hand Landmark]: 11 | https://github.com/tensorflow/tfjs-models/tree/master/handpose 12 | 13 | [Unity Barracuda]: 14 | https://docs.unity3d.com/Packages/com.unity.barracuda@latest 15 | 16 | About the ONNX file 17 | ------------------- 18 | 19 | The ONNX model file contained in this repository was converted simply using 20 | [tflite2onnx]. 21 | 22 | [tflite2onnx]: https://pypi.org/project/tflite2onnx/ 23 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10c730acf55a348d0a81159204cf4c50 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Script.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c281ca0644a947b8a5ff6139e1bcf3b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Script/HandLandmarkDetector.cs: -------------------------------------------------------------------------------- 1 | using Unity.Barracuda; 2 | using UnityEngine; 3 | using Klak.NNUtils; 4 | using Klak.NNUtils.Extensions; 5 | 6 | namespace MediaPipe.HandLandmark { 7 | 8 | // 9 | // Implementation of the hand landmark detector class 10 | // 11 | public sealed partial class HandLandmarkDetector : System.IDisposable 12 | { 13 | #region Private objects 14 | 15 | ResourceSet _resources; 16 | IWorker _worker; 17 | ImagePreprocess _preprocess; 18 | GraphicsBuffer _output; 19 | BufferReader _readCache; 20 | 21 | void AllocateObjects(ResourceSet resources) 22 | { 23 | _resources = resources; 24 | 25 | // NN model 26 | var model = ModelLoader.Load(_resources.model); 27 | 28 | // GPU worker 29 | _worker = model.CreateWorker(WorkerFactory.Device.GPU); 30 | 31 | // Preprocess 32 | _preprocess = new ImagePreprocess(ImageSize, ImageSize, nchwFix: true); 33 | 34 | // Output buffer 35 | _output = BufferUtil.NewStructured(VertexCount + 1); 36 | 37 | // Landmark data read cache 38 | _readCache = new BufferReader(_output, VertexCount + 1); 39 | } 40 | 41 | void DeallocateObjects() 42 | { 43 | _worker?.Dispose(); 44 | _worker = null; 45 | 46 | _preprocess?.Dispose(); 47 | _preprocess = null; 48 | 49 | _output?.Dispose(); 50 | _output = null; 51 | } 52 | 53 | #endregion 54 | 55 | #region Neural network inference function 56 | 57 | void RunModel(Texture source) 58 | { 59 | _preprocess.Dispatch(source, _resources.preprocess); 60 | RunModel(); 61 | } 62 | 63 | void RunModel() 64 | { 65 | // NN worker execution 66 | _worker.Execute(_preprocess.Tensor); 67 | 68 | // Postprocessing 69 | var post = _resources.postprocess; 70 | post.SetBuffer(0, "_Landmark", _worker.PeekOutputBuffer("Identity")); 71 | post.SetBuffer(0, "_Score", _worker.PeekOutputBuffer("Identity_1")); 72 | post.SetBuffer(0, "_Handedness", _worker.PeekOutputBuffer("Identity_2")); 73 | post.SetBuffer(0, "_Output", _output); 74 | post.Dispatch(0, 1, 1, 1); 75 | 76 | // Cache data invalidation 77 | _readCache.InvalidateCache(); 78 | } 79 | 80 | #endregion 81 | } 82 | 83 | } // namespace MediaPipe.HandLandmark 84 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Script/HandLandmarkDetector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d1167bc1fa7c427b9e879e616b021c0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Script/HandLandmarkDetectorPublic.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace MediaPipe.HandLandmark { 4 | 5 | // 6 | // Public interface of the hand landmark detector class 7 | // 8 | public sealed partial class HandLandmarkDetector 9 | { 10 | #region Accessor properties 11 | 12 | public const int ImageSize = 224; 13 | public const int VertexCount = 21; 14 | 15 | public ComputeBuffer InputBuffer 16 | => _preprocess.Buffer; 17 | 18 | public bool InputIsNCHW 19 | => _preprocess.IsNCHW; 20 | 21 | public GraphicsBuffer OutputBuffer 22 | => _output; 23 | 24 | public System.ReadOnlySpan VertexArray 25 | => _readCache.Cached.Slice(1); 26 | 27 | #endregion 28 | 29 | #region Public methods 30 | 31 | public HandLandmarkDetector(ResourceSet resources) 32 | => AllocateObjects(resources); 33 | 34 | public void Dispose() 35 | => DeallocateObjects(); 36 | 37 | public void ProcessInput() 38 | => RunModel(); 39 | 40 | public void ProcessImage(Texture image) 41 | => RunModel(image); 42 | 43 | #endregion 44 | 45 | #region Key point retrieval 46 | 47 | public enum KeyPoint 48 | { 49 | Wrist, 50 | Thumb1, Thumb2, Thumb3, Thumb4, 51 | Index1, Index2, Index3, Index4, 52 | Middle1, Middle2, Middle3, Middle4, 53 | Ring1, Ring2, Ring3, Ring4, 54 | Pinky1, Pinky2, Pinky3, Pinky4 55 | } 56 | 57 | public Vector2 GetKeyPoint(KeyPoint point) 58 | => _readCache.Cached[(int)point + 1]; 59 | 60 | #endregion 61 | 62 | #region Optional properties 63 | 64 | public float Score 65 | => _readCache.Cached[0].x; 66 | 67 | public float Handedness 68 | => _readCache.Cached[0].y; 69 | 70 | #endregion 71 | } 72 | 73 | } // namespace MediaPipe.HandLandmark 74 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Script/HandLandmarkDetectorPublic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d7c9229bd68d4924a9e44338efa84d4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Script/MediaPipe.HandLandmark.Runtime.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "MediaPipe.HandLandmark.Runtime", 3 | "rootNamespace": "", 4 | "references": [ 5 | "GUID:5c2b5ba89f9e74e418232e154bc5cc7a", 6 | "GUID:41c681fd50d45474baa3849629cd7f0f" 7 | ], 8 | "includePlatforms": [], 9 | "excludePlatforms": [], 10 | "allowUnsafeCode": false, 11 | "overrideReferences": false, 12 | "precompiledReferences": [], 13 | "autoReferenced": true, 14 | "defineConstraints": [], 15 | "versionDefines": [], 16 | "noEngineReferences": false 17 | } 18 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Script/MediaPipe.HandLandmark.Runtime.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6bb58bc80c8b425bb15645c26cfcb7a 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Script/ResourceSet.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using Unity.Barracuda; 3 | 4 | namespace MediaPipe.HandLandmark { 5 | 6 | // 7 | // ScriptableObject class used to hold references to internal assets 8 | // 9 | [CreateAssetMenu(fileName = "HandLandmark", 10 | menuName = "ScriptableObjects/MediaPipe/Hand Landmark Resource Set")] 11 | public sealed class ResourceSet : ScriptableObject 12 | { 13 | public NNModel model; 14 | public ComputeShader preprocess; 15 | public ComputeShader postprocess; 16 | } 17 | 18 | } // namespace MediaPipe.HandLandmark 19 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Script/ResourceSet.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 655902e3a7d54423f964de6cd9895aef 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: 7 | - model: {fileID: 5022602860645237092, guid: 4c7a1313436bd4297a5dc00534bfcff8, type: 3} 8 | - preprocess: {fileID: 7200000, guid: 912b4d25050884e98becca0999950fe4, type: 3} 9 | - postprocess: {fileID: 7200000, guid: 45ca5133084b243168fd119c620b14e6, type: 3} 10 | executionOrder: 0 11 | icon: {instanceID: 0} 12 | userData: 13 | assetBundleName: 14 | assetBundleVariant: 15 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 434aede0aeeee4fce8e4084dcfb25f6e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Shader/Postprocess.compute: -------------------------------------------------------------------------------- 1 | #pragma kernel Postprocess 2 | 3 | // 4 | // Postprocessor (tensor to vertex list conversion) 5 | // 6 | 7 | // Input image size (defined by the model) 8 | #define IMAGE_SIZE 224 9 | 10 | // Vertex count (defined by the model) 11 | #define VERTEX_COUNT 21 12 | 13 | // Input 14 | StructuredBuffer _Landmark; 15 | StructuredBuffer _Score; 16 | StructuredBuffer _Handedness; 17 | 18 | // Output 19 | RWStructuredBuffer _Output; 20 | 21 | [numthreads(VERTEX_COUNT + 1, 1, 1)] 22 | void Postprocess(uint id : SV_DispatchThreadID) 23 | { 24 | if (id == 0) 25 | { 26 | float score = _Score[0]; 27 | float handedness = _Handedness[0]; 28 | _Output[0] = float4(score, handedness, 0, 0); 29 | } 30 | else 31 | { 32 | uint offs = (id - 1) * 3; 33 | float x = _Landmark[offs + 0] / IMAGE_SIZE; 34 | float y = 1 - _Landmark[offs + 1] / IMAGE_SIZE; 35 | float z = _Landmark[offs + 2] / IMAGE_SIZE; 36 | _Output[id] = float4(x, y, z, 1); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/Shader/Postprocess.compute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45ca5133084b243168fd119c620b14e6 3 | ComputeShaderImporter: 4 | externalObjects: {} 5 | currentAPIMask: 65536 6 | preprocessorOverride: 0 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "Keijiro Takahashi", 3 | "dependencies": { 4 | "com.unity.barracuda": "3.0.0", 5 | "jp.keijiro.klak.nnutils": "1.3.0" 6 | }, 7 | "description": "MediaPipe hand landmark detection neural network model for Unity Barracuda", 8 | "displayName": "MediaPipe Hand Landmark", 9 | "keywords": [ "unity" ], 10 | "license": "Apache-2.0", 11 | "name": "jp.keijiro.mediapipe.handlandmark", 12 | "repository": "github:keijiro/HandLandmarkBarracuda", 13 | "unity": "2020.3", 14 | "unityRelease": "0f1", 15 | "version": "2.1.1" 16 | } 17 | -------------------------------------------------------------------------------- /Packages/jp.keijiro.mediapipe.handlandmark/package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ca69163e134d4b74bbcb93f38684f46 3 | PackageManifestImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "scopedRegistries": [ 3 | { 4 | "name": "Keijiro", 5 | "url": "https://registry.npmjs.com", 6 | "scopes": [ 7 | "jp.keijiro" 8 | ] 9 | } 10 | ], 11 | "dependencies": { 12 | "com.unity.ugui": "1.0.0", 13 | "jp.keijiro.klak.testtools": "1.0.4" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.barracuda": { 4 | "version": "3.0.0", 5 | "depth": 1, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.burst": "1.6.0", 9 | "com.unity.modules.jsonserialize": "1.0.0", 10 | "com.unity.modules.imageconversion": "1.0.0" 11 | }, 12 | "url": "https://packages.unity.com" 13 | }, 14 | "com.unity.burst": { 15 | "version": "1.6.6", 16 | "depth": 2, 17 | "source": "registry", 18 | "dependencies": { 19 | "com.unity.mathematics": "1.2.1" 20 | }, 21 | "url": "https://packages.unity.com" 22 | }, 23 | "com.unity.mathematics": { 24 | "version": "1.2.6", 25 | "depth": 3, 26 | "source": "registry", 27 | "dependencies": {}, 28 | "url": "https://packages.unity.com" 29 | }, 30 | "com.unity.ugui": { 31 | "version": "1.0.0", 32 | "depth": 0, 33 | "source": "builtin", 34 | "dependencies": { 35 | "com.unity.modules.ui": "1.0.0", 36 | "com.unity.modules.imgui": "1.0.0" 37 | } 38 | }, 39 | "jp.keijiro.klak.nnutils": { 40 | "version": "1.2.0", 41 | "depth": 1, 42 | "source": "registry", 43 | "dependencies": { 44 | "com.unity.barracuda": "3.0.0" 45 | }, 46 | "url": "https://registry.npmjs.com" 47 | }, 48 | "jp.keijiro.klak.testtools": { 49 | "version": "1.0.4", 50 | "depth": 0, 51 | "source": "registry", 52 | "dependencies": { 53 | "com.unity.modules.audio": "1.0.0", 54 | "com.unity.modules.unitywebrequest": "1.0.0", 55 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 56 | "com.unity.modules.video": "1.0.0" 57 | }, 58 | "url": "https://registry.npmjs.com" 59 | }, 60 | "jp.keijiro.mediapipe.handlandmark": { 61 | "version": "file:jp.keijiro.mediapipe.handlandmark", 62 | "depth": 0, 63 | "source": "embedded", 64 | "dependencies": { 65 | "com.unity.barracuda": "3.0.0", 66 | "jp.keijiro.klak.nnutils": "1.2.0" 67 | } 68 | }, 69 | "com.unity.modules.audio": { 70 | "version": "1.0.0", 71 | "depth": 1, 72 | "source": "builtin", 73 | "dependencies": {} 74 | }, 75 | "com.unity.modules.imageconversion": { 76 | "version": "1.0.0", 77 | "depth": 2, 78 | "source": "builtin", 79 | "dependencies": {} 80 | }, 81 | "com.unity.modules.imgui": { 82 | "version": "1.0.0", 83 | "depth": 1, 84 | "source": "builtin", 85 | "dependencies": {} 86 | }, 87 | "com.unity.modules.jsonserialize": { 88 | "version": "1.0.0", 89 | "depth": 2, 90 | "source": "builtin", 91 | "dependencies": {} 92 | }, 93 | "com.unity.modules.ui": { 94 | "version": "1.0.0", 95 | "depth": 1, 96 | "source": "builtin", 97 | "dependencies": {} 98 | }, 99 | "com.unity.modules.unitywebrequest": { 100 | "version": "1.0.0", 101 | "depth": 1, 102 | "source": "builtin", 103 | "dependencies": {} 104 | }, 105 | "com.unity.modules.unitywebrequesttexture": { 106 | "version": "1.0.0", 107 | "depth": 1, 108 | "source": "builtin", 109 | "dependencies": { 110 | "com.unity.modules.unitywebrequest": "1.0.0", 111 | "com.unity.modules.imageconversion": "1.0.0" 112 | } 113 | }, 114 | "com.unity.modules.video": { 115 | "version": "1.0.0", 116 | "depth": 1, 117 | "source": "builtin", 118 | "dependencies": { 119 | "com.unity.modules.audio": "1.0.0", 120 | "com.unity.modules.ui": "1.0.0", 121 | "com.unity.modules.unitywebrequest": "1.0.0" 122 | } 123 | } 124 | } 125 | } 126 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 0 20 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0.1 18 | m_ClothInterCollisionStiffness: 0.2 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ClothGravity: {x: 0, y: -9.81, z: 0} 26 | m_ContactPairsMode: 0 27 | m_BroadphaseType: 0 28 | m_WorldBounds: 29 | m_Center: {x: 0, y: 0, z: 0} 30 | m_Extent: {x: 250, y: 250, z: 250} 31 | m_WorldSubdivisions: 8 32 | m_FrictionType: 0 33 | m_EnableEnhancedDeterminism: 0 34 | m_EnableUnifiedHeightmaps: 1 35 | m_SolverType: 0 36 | m_DefaultMaxAngularSpeed: 50 37 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 2cda990e2423bbf4892e6590ba056729 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_SerializationMode: 2 8 | m_LineEndingsForNewScripts: 1 9 | m_DefaultBehaviorMode: 1 10 | m_PrefabRegularEnvironment: {fileID: 0} 11 | m_PrefabUIEnvironment: {fileID: 0} 12 | m_SpritePackerMode: 4 13 | m_SpritePackerPaddingPower: 1 14 | m_EtcTextureCompressorBehavior: 1 15 | m_EtcTextureFastCompressor: 1 16 | m_EtcTextureNormalCompressor: 2 17 | m_EtcTextureBestCompressor: 4 18 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp 19 | m_ProjectGenerationRootNamespace: 20 | m_EnableTextureStreamingInEditMode: 1 21 | m_EnableTextureStreamingInPlayMode: 1 22 | m_AsyncShaderCompilation: 1 23 | m_CachingShaderPreprocessor: 1 24 | m_PrefabModeAllowAutoSave: 1 25 | m_EnterPlayModeOptionsEnabled: 1 26 | m_EnterPlayModeOptions: 3 27 | m_GameObjectNamingDigits: 1 28 | m_GameObjectNamingScheme: 0 29 | m_AssetNamingUsesSpace: 1 30 | m_UseLegacyProbeSampleCount: 0 31 | m_SerializeInlineMappingsOnOneLine: 1 32 | m_DisableCookiesInLightmapper: 1 33 | m_AssetPipelineMode: 1 34 | m_CacheServerMode: 0 35 | m_CacheServerEndpoint: 36 | m_CacheServerNamespacePrefix: default 37 | m_CacheServerEnableDownload: 1 38 | m_CacheServerEnableUpload: 1 39 | m_CacheServerEnableAuth: 0 40 | m_CacheServerEnableTls: 0 41 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_VideoShadersIncludeMode: 2 32 | m_AlwaysIncludedShaders: 33 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 38 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} 40 | m_PreloadedShaders: [] 41 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} 42 | m_CustomRenderPipeline: {fileID: 0} 43 | m_TransparencySortMode: 0 44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 45 | m_DefaultRenderingPath: 1 46 | m_DefaultMobileRenderingPath: 1 47 | m_TierSettings: [] 48 | m_LightmapStripping: 0 49 | m_FogStripping: 0 50 | m_InstancingStripping: 0 51 | m_LightmapKeepPlain: 1 52 | m_LightmapKeepDirCombined: 1 53 | m_LightmapKeepDynamicPlain: 1 54 | m_LightmapKeepDynamicDirCombined: 1 55 | m_LightmapKeepShadowMask: 1 56 | m_LightmapKeepSubtractive: 1 57 | m_FogKeepLinear: 1 58 | m_FogKeepExp: 1 59 | m_FogKeepExp2: 1 60 | m_AlbedoSwatchInfos: [] 61 | m_LightsUseLinearIntensity: 0 62 | m_LightsUseColorTemperature: 0 63 | m_LogWhenShaderIsCompiled: 0 64 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | - serializedVersion: 3 297 | m_Name: Enable Debug Button 1 298 | descriptiveName: 299 | descriptiveNegativeName: 300 | negativeButton: 301 | positiveButton: left ctrl 302 | altNegativeButton: 303 | altPositiveButton: joystick button 8 304 | gravity: 0 305 | dead: 0 306 | sensitivity: 0 307 | snap: 0 308 | invert: 0 309 | type: 0 310 | axis: 0 311 | joyNum: 0 312 | - serializedVersion: 3 313 | m_Name: Enable Debug Button 2 314 | descriptiveName: 315 | descriptiveNegativeName: 316 | negativeButton: 317 | positiveButton: backspace 318 | altNegativeButton: 319 | altPositiveButton: joystick button 9 320 | gravity: 0 321 | dead: 0 322 | sensitivity: 0 323 | snap: 0 324 | invert: 0 325 | type: 0 326 | axis: 0 327 | joyNum: 0 328 | - serializedVersion: 3 329 | m_Name: Debug Reset 330 | descriptiveName: 331 | descriptiveNegativeName: 332 | negativeButton: 333 | positiveButton: left alt 334 | altNegativeButton: 335 | altPositiveButton: joystick button 1 336 | gravity: 0 337 | dead: 0 338 | sensitivity: 0 339 | snap: 0 340 | invert: 0 341 | type: 0 342 | axis: 0 343 | joyNum: 0 344 | - serializedVersion: 3 345 | m_Name: Debug Next 346 | descriptiveName: 347 | descriptiveNegativeName: 348 | negativeButton: 349 | positiveButton: page down 350 | altNegativeButton: 351 | altPositiveButton: joystick button 5 352 | gravity: 0 353 | dead: 0 354 | sensitivity: 0 355 | snap: 0 356 | invert: 0 357 | type: 0 358 | axis: 0 359 | joyNum: 0 360 | - serializedVersion: 3 361 | m_Name: Debug Previous 362 | descriptiveName: 363 | descriptiveNegativeName: 364 | negativeButton: 365 | positiveButton: page up 366 | altNegativeButton: 367 | altPositiveButton: joystick button 4 368 | gravity: 0 369 | dead: 0 370 | sensitivity: 0 371 | snap: 0 372 | invert: 0 373 | type: 0 374 | axis: 0 375 | joyNum: 0 376 | - serializedVersion: 3 377 | m_Name: Debug Validate 378 | descriptiveName: 379 | descriptiveNegativeName: 380 | negativeButton: 381 | positiveButton: return 382 | altNegativeButton: 383 | altPositiveButton: joystick button 0 384 | gravity: 0 385 | dead: 0 386 | sensitivity: 0 387 | snap: 0 388 | invert: 0 389 | type: 0 390 | axis: 0 391 | joyNum: 0 392 | - serializedVersion: 3 393 | m_Name: Debug Persistent 394 | descriptiveName: 395 | descriptiveNegativeName: 396 | negativeButton: 397 | positiveButton: right shift 398 | altNegativeButton: 399 | altPositiveButton: joystick button 2 400 | gravity: 0 401 | dead: 0 402 | sensitivity: 0 403 | snap: 0 404 | invert: 0 405 | type: 0 406 | axis: 0 407 | joyNum: 0 408 | - serializedVersion: 3 409 | m_Name: Debug Multiplier 410 | descriptiveName: 411 | descriptiveNegativeName: 412 | negativeButton: 413 | positiveButton: left shift 414 | altNegativeButton: 415 | altPositiveButton: joystick button 3 416 | gravity: 0 417 | dead: 0 418 | sensitivity: 0 419 | snap: 0 420 | invert: 0 421 | type: 0 422 | axis: 0 423 | joyNum: 0 424 | - serializedVersion: 3 425 | m_Name: Debug Horizontal 426 | descriptiveName: 427 | descriptiveNegativeName: 428 | negativeButton: left 429 | positiveButton: right 430 | altNegativeButton: 431 | altPositiveButton: 432 | gravity: 1000 433 | dead: 0.001 434 | sensitivity: 1000 435 | snap: 0 436 | invert: 0 437 | type: 0 438 | axis: 0 439 | joyNum: 0 440 | - serializedVersion: 3 441 | m_Name: Debug Vertical 442 | descriptiveName: 443 | descriptiveNegativeName: 444 | negativeButton: down 445 | positiveButton: up 446 | altNegativeButton: 447 | altPositiveButton: 448 | gravity: 1000 449 | dead: 0.001 450 | sensitivity: 1000 451 | snap: 0 452 | invert: 0 453 | type: 0 454 | axis: 0 455 | joyNum: 0 456 | - serializedVersion: 3 457 | m_Name: Debug Vertical 458 | descriptiveName: 459 | descriptiveNegativeName: 460 | negativeButton: down 461 | positiveButton: up 462 | altNegativeButton: 463 | altPositiveButton: 464 | gravity: 1000 465 | dead: 0.001 466 | sensitivity: 1000 467 | snap: 0 468 | invert: 0 469 | type: 2 470 | axis: 6 471 | joyNum: 0 472 | - serializedVersion: 3 473 | m_Name: Debug Horizontal 474 | descriptiveName: 475 | descriptiveNegativeName: 476 | negativeButton: left 477 | positiveButton: right 478 | altNegativeButton: 479 | altPositiveButton: 480 | gravity: 1000 481 | dead: 0.001 482 | sensitivity: 1000 483 | snap: 0 484 | invert: 0 485 | type: 2 486 | axis: 5 487 | joyNum: 0 488 | -------------------------------------------------------------------------------- /ProjectSettings/MemorySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!387306366 &1 4 | MemorySettings: 5 | m_ObjectHideFlags: 0 6 | m_EditorMemorySettings: 7 | m_MainAllocatorBlockSize: -1 8 | m_ThreadAllocatorBlockSize: -1 9 | m_MainGfxBlockSize: -1 10 | m_ThreadGfxBlockSize: -1 11 | m_CacheBlockSize: -1 12 | m_TypetreeBlockSize: -1 13 | m_ProfilerBlockSize: -1 14 | m_ProfilerEditorBlockSize: -1 15 | m_BucketAllocatorGranularity: -1 16 | m_BucketAllocatorBucketsCount: -1 17 | m_BucketAllocatorBlockSize: -1 18 | m_BucketAllocatorBlockCount: -1 19 | m_ProfilerBucketAllocatorGranularity: -1 20 | m_ProfilerBucketAllocatorBucketsCount: -1 21 | m_ProfilerBucketAllocatorBlockSize: -1 22 | m_ProfilerBucketAllocatorBlockCount: -1 23 | m_TempAllocatorSizeMain: -1 24 | m_JobTempAllocatorBlockSize: -1 25 | m_BackgroundJobTempAllocatorBlockSize: -1 26 | m_JobTempAllocatorReducedBlockSize: -1 27 | m_TempAllocatorSizeGIBakingWorker: -1 28 | m_TempAllocatorSizeNavMeshWorker: -1 29 | m_TempAllocatorSizeAudioWorker: -1 30 | m_TempAllocatorSizeCloudWorker: -1 31 | m_TempAllocatorSizeGfx: -1 32 | m_TempAllocatorSizeJobWorker: -1 33 | m_TempAllocatorSizeBackgroundWorker: -1 34 | m_TempAllocatorSizePreloadManager: -1 35 | m_PlatformMemorySettings: {} 36 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreReleasePackages: 1 16 | m_EnablePackageDependencies: 1 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | m_SeeAllPackageVersions: 0 20 | oneTimeWarningShown: 1 21 | m_Registries: 22 | - m_Id: main 23 | m_Name: 24 | m_Url: https://packages.unity.com 25 | m_Scopes: [] 26 | m_IsDefault: 1 27 | m_Capabilities: 7 28 | m_ConfigSource: 0 29 | - m_Id: scoped:project:Keijiro 30 | m_Name: Keijiro 31 | m_Url: https://registry.npmjs.com 32 | m_Scopes: 33 | - jp.keijiro 34 | m_IsDefault: 0 35 | m_Capabilities: 0 36 | m_ConfigSource: 4 37 | m_UserSelectedRegistryName: Keijiro 38 | m_UserAddingNewScopedRegistry: 0 39 | m_RegistryInfoDraft: 40 | m_Modified: 0 41 | m_ErrorMessage: 42 | m_UserModificationsInstanceId: -824 43 | m_OriginalInstanceId: -826 44 | m_LoadAssets: 0 45 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_SimulationMode: 0 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 23 7 | productGUID: 8d4744ec81b2a4d79be0f91fc07c61c2 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: HandLandmarkBarracuda 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 0 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1920 46 | defaultScreenHeight: 1080 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | mipStripping: 0 53 | numberOfMipsStripped: 0 54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 55 | iosShowActivityIndicatorOnLoading: -1 56 | androidShowActivityIndicatorOnLoading: -1 57 | iosUseCustomAppBackgroundBehavior: 0 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidStartInFullscreen: 1 68 | androidRenderOutsideSafeArea: 1 69 | androidUseSwappy: 1 70 | androidBlitType: 0 71 | androidResizableWindow: 0 72 | androidDefaultWindowWidth: 1920 73 | androidDefaultWindowHeight: 1080 74 | androidMinimumWindowWidth: 400 75 | androidMinimumWindowHeight: 300 76 | androidFullscreenMode: 1 77 | defaultIsNativeResolution: 1 78 | macRetinaSupport: 1 79 | runInBackground: 0 80 | captureSingleScreen: 0 81 | muteOtherAudioSources: 0 82 | Prepare IOS For Recording: 0 83 | Force IOS Speakers When Recording: 0 84 | deferSystemGesturesMode: 0 85 | hideHomeButton: 0 86 | submitAnalytics: 1 87 | usePlayerLog: 1 88 | bakeCollisionMeshes: 0 89 | forceSingleInstance: 0 90 | useFlipModelSwapchain: 1 91 | resizableWindow: 0 92 | useMacAppStoreValidation: 0 93 | macAppStoreCategory: public.app-category.games 94 | gpuSkinning: 0 95 | xboxPIXTextureCapture: 0 96 | xboxEnableAvatar: 0 97 | xboxEnableKinect: 0 98 | xboxEnableKinectAutoTracking: 0 99 | xboxEnableFitness: 0 100 | visibleInBackground: 1 101 | allowFullscreenSwitch: 1 102 | fullscreenMode: 3 103 | xboxSpeechDB: 0 104 | xboxEnableHeadOrientation: 0 105 | xboxEnableGuest: 0 106 | xboxEnablePIXSampling: 0 107 | metalFramebufferOnly: 0 108 | xboxOneResolution: 0 109 | xboxOneSResolution: 0 110 | xboxOneXResolution: 3 111 | xboxOneMonoLoggingLevel: 0 112 | xboxOneLoggingLevel: 1 113 | xboxOneDisableEsram: 0 114 | xboxOneEnableTypeOptimization: 0 115 | xboxOnePresentImmediateThreshold: 0 116 | switchQueueCommandMemory: 1048576 117 | switchQueueControlMemory: 16384 118 | switchQueueComputeMemory: 262144 119 | switchNVNShaderPoolsGranularity: 33554432 120 | switchNVNDefaultPoolsGranularity: 16777216 121 | switchNVNOtherPoolsGranularity: 16777216 122 | switchNVNMaxPublicTextureIDCount: 0 123 | switchNVNMaxPublicSamplerIDCount: 0 124 | stadiaPresentMode: 0 125 | stadiaTargetFramerate: 0 126 | vulkanNumSwapchainBuffers: 3 127 | vulkanEnableSetSRGBWrite: 0 128 | vulkanEnablePreTransform: 0 129 | vulkanEnableLateAcquireNextImage: 0 130 | vulkanEnableCommandBufferRecycling: 1 131 | m_SupportedAspectRatios: 132 | 4:3: 1 133 | 5:4: 1 134 | 16:10: 1 135 | 16:9: 1 136 | Others: 1 137 | bundleVersion: 1.0 138 | preloadedAssets: [] 139 | metroInputSource: 0 140 | wsaTransparentSwapchain: 0 141 | m_HolographicPauseOnTrackingLoss: 1 142 | xboxOneDisableKinectGpuReservation: 1 143 | xboxOneEnable7thCore: 1 144 | vrSettings: 145 | enable360StereoCapture: 0 146 | isWsaHolographicRemotingEnabled: 0 147 | enableFrameTimingStats: 0 148 | enableOpenGLProfilerGPURecorders: 1 149 | useHDRDisplay: 0 150 | D3DHDRBitDepth: 0 151 | m_ColorGamuts: 00000000 152 | targetPixelDensity: 30 153 | resolutionScalingMode: 0 154 | resetResolutionOnWindowResize: 0 155 | androidSupportedAspectRatio: 1 156 | androidMaxAspectRatio: 2.1 157 | applicationIdentifier: {} 158 | buildNumber: 159 | Standalone: 0 160 | iPhone: 0 161 | tvOS: 0 162 | overrideDefaultApplicationIdentifier: 0 163 | AndroidBundleVersionCode: 1 164 | AndroidMinSdkVersion: 22 165 | AndroidTargetSdkVersion: 0 166 | AndroidPreferredInstallLocation: 1 167 | aotOptions: 168 | stripEngineCode: 1 169 | iPhoneStrippingLevel: 0 170 | iPhoneScriptCallOptimization: 0 171 | ForceInternetPermission: 0 172 | ForceSDCardPermission: 0 173 | CreateWallpaper: 0 174 | APKExpansionFiles: 0 175 | keepLoadedShadersAlive: 0 176 | StripUnusedMeshComponents: 0 177 | VertexChannelCompressionMask: 4054 178 | iPhoneSdkVersion: 988 179 | iOSTargetOSVersionString: 11.0 180 | tvOSSdkVersion: 0 181 | tvOSRequireExtendedGameController: 0 182 | tvOSTargetOSVersionString: 11.0 183 | uIPrerenderedIcon: 0 184 | uIRequiresPersistentWiFi: 0 185 | uIRequiresFullScreen: 1 186 | uIStatusBarHidden: 1 187 | uIExitOnSuspend: 0 188 | uIStatusBarStyle: 0 189 | appleTVSplashScreen: {fileID: 0} 190 | appleTVSplashScreen2x: {fileID: 0} 191 | tvOSSmallIconLayers: [] 192 | tvOSSmallIconLayers2x: [] 193 | tvOSLargeIconLayers: [] 194 | tvOSLargeIconLayers2x: [] 195 | tvOSTopShelfImageLayers: [] 196 | tvOSTopShelfImageLayers2x: [] 197 | tvOSTopShelfImageWideLayers: [] 198 | tvOSTopShelfImageWideLayers2x: [] 199 | iOSLaunchScreenType: 0 200 | iOSLaunchScreenPortrait: {fileID: 0} 201 | iOSLaunchScreenLandscape: {fileID: 0} 202 | iOSLaunchScreenBackgroundColor: 203 | serializedVersion: 2 204 | rgba: 0 205 | iOSLaunchScreenFillPct: 100 206 | iOSLaunchScreenSize: 100 207 | iOSLaunchScreenCustomXibPath: 208 | iOSLaunchScreeniPadType: 0 209 | iOSLaunchScreeniPadImage: {fileID: 0} 210 | iOSLaunchScreeniPadBackgroundColor: 211 | serializedVersion: 2 212 | rgba: 0 213 | iOSLaunchScreeniPadFillPct: 100 214 | iOSLaunchScreeniPadSize: 100 215 | iOSLaunchScreeniPadCustomXibPath: 216 | iOSLaunchScreenCustomStoryboardPath: 217 | iOSLaunchScreeniPadCustomStoryboardPath: 218 | iOSDeviceRequirements: [] 219 | iOSURLSchemes: [] 220 | macOSURLSchemes: [] 221 | iOSBackgroundModes: 0 222 | iOSMetalForceHardShadows: 0 223 | metalEditorSupport: 1 224 | metalAPIValidation: 1 225 | iOSRenderExtraFrameOnPause: 0 226 | iosCopyPluginsCodeInsteadOfSymlink: 0 227 | appleDeveloperTeamID: 228 | iOSManualSigningProvisioningProfileID: 229 | tvOSManualSigningProvisioningProfileID: 230 | iOSManualSigningProvisioningProfileType: 0 231 | tvOSManualSigningProvisioningProfileType: 0 232 | appleEnableAutomaticSigning: 0 233 | iOSRequireARKit: 0 234 | iOSAutomaticallyDetectAndAddCapabilities: 1 235 | appleEnableProMotion: 0 236 | shaderPrecisionModel: 0 237 | clonedFromGUID: 10ad67313f4034357812315f3c407484 238 | templatePackageId: com.unity.template.2d@5.0.0 239 | templateDefaultScene: Assets/Scenes/SampleScene.unity 240 | useCustomMainManifest: 0 241 | useCustomLauncherManifest: 0 242 | useCustomMainGradleTemplate: 0 243 | useCustomLauncherGradleManifest: 0 244 | useCustomBaseGradleTemplate: 0 245 | useCustomGradlePropertiesTemplate: 0 246 | useCustomProguardFile: 0 247 | AndroidTargetArchitectures: 1 248 | AndroidTargetDevices: 0 249 | AndroidSplashScreenScale: 0 250 | androidSplashScreen: {fileID: 0} 251 | AndroidKeystoreName: 252 | AndroidKeyaliasName: 253 | AndroidBuildApkPerCpuArchitecture: 0 254 | AndroidTVCompatibility: 0 255 | AndroidIsGame: 1 256 | AndroidEnableTango: 0 257 | androidEnableBanner: 1 258 | androidUseLowAccuracyLocation: 0 259 | androidUseCustomKeystore: 0 260 | m_AndroidBanners: 261 | - width: 320 262 | height: 180 263 | banner: {fileID: 0} 264 | androidGamepadSupportLevel: 0 265 | chromeosInputEmulation: 1 266 | AndroidMinifyWithR8: 0 267 | AndroidMinifyRelease: 0 268 | AndroidMinifyDebug: 0 269 | AndroidValidateAppBundleSize: 1 270 | AndroidAppBundleSizeToValidate: 150 271 | m_BuildTargetIcons: [] 272 | m_BuildTargetPlatformIcons: 273 | - m_BuildTarget: iPhone 274 | m_Icons: 275 | - m_Textures: [] 276 | m_Width: 180 277 | m_Height: 180 278 | m_Kind: 0 279 | m_SubKind: iPhone 280 | - m_Textures: [] 281 | m_Width: 120 282 | m_Height: 120 283 | m_Kind: 0 284 | m_SubKind: iPhone 285 | - m_Textures: [] 286 | m_Width: 167 287 | m_Height: 167 288 | m_Kind: 0 289 | m_SubKind: iPad 290 | - m_Textures: [] 291 | m_Width: 152 292 | m_Height: 152 293 | m_Kind: 0 294 | m_SubKind: iPad 295 | - m_Textures: [] 296 | m_Width: 76 297 | m_Height: 76 298 | m_Kind: 0 299 | m_SubKind: iPad 300 | - m_Textures: [] 301 | m_Width: 120 302 | m_Height: 120 303 | m_Kind: 3 304 | m_SubKind: iPhone 305 | - m_Textures: [] 306 | m_Width: 80 307 | m_Height: 80 308 | m_Kind: 3 309 | m_SubKind: iPhone 310 | - m_Textures: [] 311 | m_Width: 80 312 | m_Height: 80 313 | m_Kind: 3 314 | m_SubKind: iPad 315 | - m_Textures: [] 316 | m_Width: 40 317 | m_Height: 40 318 | m_Kind: 3 319 | m_SubKind: iPad 320 | - m_Textures: [] 321 | m_Width: 87 322 | m_Height: 87 323 | m_Kind: 1 324 | m_SubKind: iPhone 325 | - m_Textures: [] 326 | m_Width: 58 327 | m_Height: 58 328 | m_Kind: 1 329 | m_SubKind: iPhone 330 | - m_Textures: [] 331 | m_Width: 29 332 | m_Height: 29 333 | m_Kind: 1 334 | m_SubKind: iPhone 335 | - m_Textures: [] 336 | m_Width: 58 337 | m_Height: 58 338 | m_Kind: 1 339 | m_SubKind: iPad 340 | - m_Textures: [] 341 | m_Width: 29 342 | m_Height: 29 343 | m_Kind: 1 344 | m_SubKind: iPad 345 | - m_Textures: [] 346 | m_Width: 60 347 | m_Height: 60 348 | m_Kind: 2 349 | m_SubKind: iPhone 350 | - m_Textures: [] 351 | m_Width: 40 352 | m_Height: 40 353 | m_Kind: 2 354 | m_SubKind: iPhone 355 | - m_Textures: [] 356 | m_Width: 40 357 | m_Height: 40 358 | m_Kind: 2 359 | m_SubKind: iPad 360 | - m_Textures: [] 361 | m_Width: 20 362 | m_Height: 20 363 | m_Kind: 2 364 | m_SubKind: iPad 365 | - m_Textures: [] 366 | m_Width: 1024 367 | m_Height: 1024 368 | m_Kind: 4 369 | m_SubKind: App Store 370 | m_BuildTargetBatching: [] 371 | m_BuildTargetShaderSettings: [] 372 | m_BuildTargetGraphicsJobs: 373 | - m_BuildTarget: MacStandaloneSupport 374 | m_GraphicsJobs: 0 375 | - m_BuildTarget: Switch 376 | m_GraphicsJobs: 0 377 | - m_BuildTarget: MetroSupport 378 | m_GraphicsJobs: 0 379 | - m_BuildTarget: AppleTVSupport 380 | m_GraphicsJobs: 0 381 | - m_BuildTarget: BJMSupport 382 | m_GraphicsJobs: 0 383 | - m_BuildTarget: LinuxStandaloneSupport 384 | m_GraphicsJobs: 0 385 | - m_BuildTarget: PS4Player 386 | m_GraphicsJobs: 0 387 | - m_BuildTarget: iOSSupport 388 | m_GraphicsJobs: 0 389 | - m_BuildTarget: WindowsStandaloneSupport 390 | m_GraphicsJobs: 0 391 | - m_BuildTarget: XboxOnePlayer 392 | m_GraphicsJobs: 0 393 | - m_BuildTarget: LuminSupport 394 | m_GraphicsJobs: 0 395 | - m_BuildTarget: AndroidPlayer 396 | m_GraphicsJobs: 0 397 | - m_BuildTarget: WebGLSupport 398 | m_GraphicsJobs: 0 399 | m_BuildTargetGraphicsJobMode: [] 400 | m_BuildTargetGraphicsAPIs: 401 | - m_BuildTarget: AndroidPlayer 402 | m_APIs: 150000000b000000 403 | m_Automatic: 1 404 | - m_BuildTarget: iOSSupport 405 | m_APIs: 10000000 406 | m_Automatic: 1 407 | m_BuildTargetVRSettings: [] 408 | m_DefaultShaderChunkSizeInMB: 16 409 | m_DefaultShaderChunkCount: 0 410 | openGLRequireES31: 0 411 | openGLRequireES31AEP: 0 412 | openGLRequireES32: 0 413 | m_TemplateCustomTags: {} 414 | mobileMTRendering: 415 | Android: 1 416 | iPhone: 1 417 | tvOS: 1 418 | m_BuildTargetGroupLightmapEncodingQuality: [] 419 | m_BuildTargetGroupLightmapSettings: [] 420 | m_BuildTargetNormalMapEncoding: [] 421 | m_BuildTargetDefaultTextureCompressionFormat: [] 422 | playModeTestRunnerEnabled: 0 423 | runPlayModeTestAsEditModeTest: 0 424 | actionOnDotNetUnhandledException: 1 425 | enableInternalProfiler: 0 426 | logObjCUncaughtExceptions: 1 427 | enableCrashReportAPI: 0 428 | cameraUsageDescription: 429 | locationUsageDescription: 430 | microphoneUsageDescription: 431 | bluetoothUsageDescription: 432 | switchNMETAOverride: 433 | switchNetLibKey: 434 | switchSocketMemoryPoolSize: 6144 435 | switchSocketAllocatorPoolSize: 128 436 | switchSocketConcurrencyLimit: 14 437 | switchScreenResolutionBehavior: 2 438 | switchUseCPUProfiler: 0 439 | switchUseGOLDLinker: 0 440 | switchLTOSetting: 0 441 | switchApplicationID: 0x01004b9000490000 442 | switchNSODependencies: 443 | switchTitleNames_0: 444 | switchTitleNames_1: 445 | switchTitleNames_2: 446 | switchTitleNames_3: 447 | switchTitleNames_4: 448 | switchTitleNames_5: 449 | switchTitleNames_6: 450 | switchTitleNames_7: 451 | switchTitleNames_8: 452 | switchTitleNames_9: 453 | switchTitleNames_10: 454 | switchTitleNames_11: 455 | switchTitleNames_12: 456 | switchTitleNames_13: 457 | switchTitleNames_14: 458 | switchTitleNames_15: 459 | switchPublisherNames_0: 460 | switchPublisherNames_1: 461 | switchPublisherNames_2: 462 | switchPublisherNames_3: 463 | switchPublisherNames_4: 464 | switchPublisherNames_5: 465 | switchPublisherNames_6: 466 | switchPublisherNames_7: 467 | switchPublisherNames_8: 468 | switchPublisherNames_9: 469 | switchPublisherNames_10: 470 | switchPublisherNames_11: 471 | switchPublisherNames_12: 472 | switchPublisherNames_13: 473 | switchPublisherNames_14: 474 | switchPublisherNames_15: 475 | switchIcons_0: {fileID: 0} 476 | switchIcons_1: {fileID: 0} 477 | switchIcons_2: {fileID: 0} 478 | switchIcons_3: {fileID: 0} 479 | switchIcons_4: {fileID: 0} 480 | switchIcons_5: {fileID: 0} 481 | switchIcons_6: {fileID: 0} 482 | switchIcons_7: {fileID: 0} 483 | switchIcons_8: {fileID: 0} 484 | switchIcons_9: {fileID: 0} 485 | switchIcons_10: {fileID: 0} 486 | switchIcons_11: {fileID: 0} 487 | switchIcons_12: {fileID: 0} 488 | switchIcons_13: {fileID: 0} 489 | switchIcons_14: {fileID: 0} 490 | switchIcons_15: {fileID: 0} 491 | switchSmallIcons_0: {fileID: 0} 492 | switchSmallIcons_1: {fileID: 0} 493 | switchSmallIcons_2: {fileID: 0} 494 | switchSmallIcons_3: {fileID: 0} 495 | switchSmallIcons_4: {fileID: 0} 496 | switchSmallIcons_5: {fileID: 0} 497 | switchSmallIcons_6: {fileID: 0} 498 | switchSmallIcons_7: {fileID: 0} 499 | switchSmallIcons_8: {fileID: 0} 500 | switchSmallIcons_9: {fileID: 0} 501 | switchSmallIcons_10: {fileID: 0} 502 | switchSmallIcons_11: {fileID: 0} 503 | switchSmallIcons_12: {fileID: 0} 504 | switchSmallIcons_13: {fileID: 0} 505 | switchSmallIcons_14: {fileID: 0} 506 | switchSmallIcons_15: {fileID: 0} 507 | switchManualHTML: 508 | switchAccessibleURLs: 509 | switchLegalInformation: 510 | switchMainThreadStackSize: 1048576 511 | switchPresenceGroupId: 512 | switchLogoHandling: 0 513 | switchReleaseVersion: 0 514 | switchDisplayVersion: 1.0.0 515 | switchStartupUserAccount: 0 516 | switchTouchScreenUsage: 0 517 | switchSupportedLanguagesMask: 0 518 | switchLogoType: 0 519 | switchApplicationErrorCodeCategory: 520 | switchUserAccountSaveDataSize: 0 521 | switchUserAccountSaveDataJournalSize: 0 522 | switchApplicationAttribute: 0 523 | switchCardSpecSize: -1 524 | switchCardSpecClock: -1 525 | switchRatingsMask: 0 526 | switchRatingsInt_0: 0 527 | switchRatingsInt_1: 0 528 | switchRatingsInt_2: 0 529 | switchRatingsInt_3: 0 530 | switchRatingsInt_4: 0 531 | switchRatingsInt_5: 0 532 | switchRatingsInt_6: 0 533 | switchRatingsInt_7: 0 534 | switchRatingsInt_8: 0 535 | switchRatingsInt_9: 0 536 | switchRatingsInt_10: 0 537 | switchRatingsInt_11: 0 538 | switchRatingsInt_12: 0 539 | switchLocalCommunicationIds_0: 540 | switchLocalCommunicationIds_1: 541 | switchLocalCommunicationIds_2: 542 | switchLocalCommunicationIds_3: 543 | switchLocalCommunicationIds_4: 544 | switchLocalCommunicationIds_5: 545 | switchLocalCommunicationIds_6: 546 | switchLocalCommunicationIds_7: 547 | switchParentalControl: 0 548 | switchAllowsScreenshot: 1 549 | switchAllowsVideoCapturing: 1 550 | switchAllowsRuntimeAddOnContentInstall: 0 551 | switchDataLossConfirmation: 0 552 | switchUserAccountLockEnabled: 0 553 | switchSystemResourceMemory: 16777216 554 | switchSupportedNpadStyles: 22 555 | switchNativeFsCacheSize: 32 556 | switchIsHoldTypeHorizontal: 0 557 | switchSupportedNpadCount: 8 558 | switchSocketConfigEnabled: 0 559 | switchTcpInitialSendBufferSize: 32 560 | switchTcpInitialReceiveBufferSize: 64 561 | switchTcpAutoSendBufferSizeMax: 256 562 | switchTcpAutoReceiveBufferSizeMax: 256 563 | switchUdpSendBufferSize: 9 564 | switchUdpReceiveBufferSize: 42 565 | switchSocketBufferEfficiency: 4 566 | switchSocketInitializeEnabled: 1 567 | switchNetworkInterfaceManagerInitializeEnabled: 1 568 | switchPlayerConnectionEnabled: 1 569 | switchUseNewStyleFilepaths: 0 570 | switchUseLegacyFmodPriorities: 1 571 | switchUseMicroSleepForYield: 1 572 | switchEnableRamDiskSupport: 0 573 | switchMicroSleepForYieldTime: 25 574 | switchRamDiskSpaceSize: 12 575 | ps4NPAgeRating: 12 576 | ps4NPTitleSecret: 577 | ps4NPTrophyPackPath: 578 | ps4ParentalLevel: 11 579 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 580 | ps4Category: 0 581 | ps4MasterVersion: 01.00 582 | ps4AppVersion: 01.00 583 | ps4AppType: 0 584 | ps4ParamSfxPath: 585 | ps4VideoOutPixelFormat: 0 586 | ps4VideoOutInitialWidth: 1920 587 | ps4VideoOutBaseModeInitialWidth: 1920 588 | ps4VideoOutReprojectionRate: 60 589 | ps4PronunciationXMLPath: 590 | ps4PronunciationSIGPath: 591 | ps4BackgroundImagePath: 592 | ps4StartupImagePath: 593 | ps4StartupImagesFolder: 594 | ps4IconImagesFolder: 595 | ps4SaveDataImagePath: 596 | ps4SdkOverride: 597 | ps4BGMPath: 598 | ps4ShareFilePath: 599 | ps4ShareOverlayImagePath: 600 | ps4PrivacyGuardImagePath: 601 | ps4ExtraSceSysFile: 602 | ps4NPtitleDatPath: 603 | ps4RemotePlayKeyAssignment: -1 604 | ps4RemotePlayKeyMappingDir: 605 | ps4PlayTogetherPlayerCount: 0 606 | ps4EnterButtonAssignment: 2 607 | ps4ApplicationParam1: 0 608 | ps4ApplicationParam2: 0 609 | ps4ApplicationParam3: 0 610 | ps4ApplicationParam4: 0 611 | ps4DownloadDataSize: 0 612 | ps4GarlicHeapSize: 2048 613 | ps4ProGarlicHeapSize: 2560 614 | playerPrefsMaxSize: 32768 615 | ps4Passcode: bi9UOuSpM2Tlh01vOzwvSikHFswuzleh 616 | ps4pnSessions: 1 617 | ps4pnPresence: 1 618 | ps4pnFriends: 1 619 | ps4pnGameCustomData: 1 620 | playerPrefsSupport: 0 621 | enableApplicationExit: 0 622 | resetTempFolder: 1 623 | restrictedAudioUsageRights: 0 624 | ps4UseResolutionFallback: 0 625 | ps4ReprojectionSupport: 0 626 | ps4UseAudio3dBackend: 0 627 | ps4UseLowGarlicFragmentationMode: 1 628 | ps4SocialScreenEnabled: 0 629 | ps4ScriptOptimizationLevel: 2 630 | ps4Audio3dVirtualSpeakerCount: 14 631 | ps4attribCpuUsage: 0 632 | ps4PatchPkgPath: 633 | ps4PatchLatestPkgPath: 634 | ps4PatchChangeinfoPath: 635 | ps4PatchDayOne: 0 636 | ps4attribUserManagement: 0 637 | ps4attribMoveSupport: 0 638 | ps4attrib3DSupport: 0 639 | ps4attribShareSupport: 0 640 | ps4attribExclusiveVR: 0 641 | ps4disableAutoHideSplash: 0 642 | ps4videoRecordingFeaturesUsed: 0 643 | ps4contentSearchFeaturesUsed: 0 644 | ps4CompatibilityPS5: 0 645 | ps4AllowPS5Detection: 0 646 | ps4GPU800MHz: 1 647 | ps4attribEyeToEyeDistanceSettingVR: 0 648 | ps4IncludedModules: [] 649 | ps4attribVROutputEnabled: 0 650 | monoEnv: 651 | splashScreenBackgroundSourceLandscape: {fileID: 0} 652 | splashScreenBackgroundSourcePortrait: {fileID: 0} 653 | blurSplashScreenBackground: 1 654 | spritePackerPolicy: 655 | webGLMemorySize: 32 656 | webGLExceptionSupport: 1 657 | webGLNameFilesAsHashes: 0 658 | webGLDataCaching: 1 659 | webGLDebugSymbols: 0 660 | webGLEmscriptenArgs: 661 | webGLModulesDirectory: 662 | webGLTemplate: APPLICATION:Default 663 | webGLAnalyzeBuildSize: 0 664 | webGLUseEmbeddedResources: 0 665 | webGLCompressionFormat: 0 666 | webGLWasmArithmeticExceptions: 0 667 | webGLLinkerTarget: 1 668 | webGLThreadsSupport: 0 669 | webGLDecompressionFallback: 0 670 | webGLPowerPreference: 2 671 | scriptingDefineSymbols: {} 672 | additionalCompilerArguments: {} 673 | platformArchitecture: {} 674 | scriptingBackend: {} 675 | il2cppCompilerConfiguration: {} 676 | managedStrippingLevel: {} 677 | incrementalIl2cppBuild: {} 678 | suppressCommonWarnings: 1 679 | allowUnsafeCode: 0 680 | useDeterministicCompilation: 1 681 | enableRoslynAnalyzers: 1 682 | selectedPlatform: 0 683 | additionalIl2CppArgs: 684 | scriptingRuntimeVersion: 1 685 | gcIncremental: 1 686 | assemblyVersionValidation: 1 687 | gcWBarrierValidation: 0 688 | apiCompatibilityLevelPerPlatform: {} 689 | m_RenderingPath: 1 690 | m_MobileRenderingPath: 1 691 | metroPackageName: 2D_BuiltInRenderer 692 | metroPackageVersion: 693 | metroCertificatePath: 694 | metroCertificatePassword: 695 | metroCertificateSubject: 696 | metroCertificateIssuer: 697 | metroCertificateNotAfter: 0000000000000000 698 | metroApplicationDescription: 2D_BuiltInRenderer 699 | wsaImages: {} 700 | metroTileShortName: 701 | metroTileShowName: 0 702 | metroMediumTileShowName: 0 703 | metroLargeTileShowName: 0 704 | metroWideTileShowName: 0 705 | metroSupportStreamingInstall: 0 706 | metroLastRequiredScene: 0 707 | metroDefaultTileSize: 1 708 | metroTileForegroundText: 2 709 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 710 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 711 | metroSplashScreenUseBackgroundColor: 0 712 | platformCapabilities: {} 713 | metroTargetDeviceFamilies: {} 714 | metroFTAName: 715 | metroFTAFileTypes: [] 716 | metroProtocolName: 717 | vcxProjDefaultLanguage: 718 | XboxOneProductId: 719 | XboxOneUpdateKey: 720 | XboxOneSandboxId: 721 | XboxOneContentId: 722 | XboxOneTitleId: 723 | XboxOneSCId: 724 | XboxOneGameOsOverridePath: 725 | XboxOnePackagingOverridePath: 726 | XboxOneAppManifestOverridePath: 727 | XboxOneVersion: 1.0.0.0 728 | XboxOnePackageEncryption: 0 729 | XboxOnePackageUpdateGranularity: 2 730 | XboxOneDescription: 731 | XboxOneLanguage: 732 | - enus 733 | XboxOneCapability: [] 734 | XboxOneGameRating: {} 735 | XboxOneIsContentPackage: 0 736 | XboxOneEnhancedXboxCompatibilityMode: 0 737 | XboxOneEnableGPUVariability: 1 738 | XboxOneSockets: {} 739 | XboxOneSplashScreen: {fileID: 0} 740 | XboxOneAllowedProductIds: [] 741 | XboxOnePersistentLocalStorageSize: 0 742 | XboxOneXTitleMemory: 8 743 | XboxOneOverrideIdentityName: 744 | XboxOneOverrideIdentityPublisher: 745 | vrEditorSettings: {} 746 | cloudServicesEnabled: {} 747 | luminIcon: 748 | m_Name: 749 | m_ModelFolderPath: 750 | m_PortalFolderPath: 751 | luminCert: 752 | m_CertPath: 753 | m_SignPackage: 1 754 | luminIsChannelApp: 0 755 | luminVersion: 756 | m_VersionCode: 1 757 | m_VersionName: 758 | apiCompatibilityLevel: 6 759 | activeInputHandler: 0 760 | windowsGamepadBackendHint: 0 761 | cloudProjectId: 762 | framebufferDepthMemorylessMode: 0 763 | qualitySettingsNames: [] 764 | projectName: 765 | organizationId: 766 | cloudEnabled: 0 767 | legacyClampBlendShapeWeights: 0 768 | playerDataPath: 769 | forceSRGBBlit: 1 770 | virtualTexturingSupportEnabled: 0 771 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2021.3.18f1 2 | m_EditorVersionWithRevision: 2021.3.18f1 (3129e69bc0c7) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 0 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Medium 11 | pixelLightCount: 1 12 | shadows: 1 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 20 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | skinWeights: 2 22 | textureQuality: 0 23 | anisotropicTextures: 1 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 1 30 | lodBias: 0.7 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 64 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | customRenderPipeline: {fileID: 0} 44 | excludedTargetPlatforms: [] 45 | m_PerPlatformDefaultQuality: 46 | Android: 0 47 | Lumin: 0 48 | Nintendo Switch: 0 49 | PS4: 0 50 | Stadia: 0 51 | Standalone: 0 52 | WebGL: 0 53 | Windows Store Apps: 0 54 | XboxOne: 0 55 | iPhone: 0 56 | tvOS: 0 57 | -------------------------------------------------------------------------------- /ProjectSettings/SceneTemplateSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "templatePinStates": [], 3 | "dependencyTypeInfos": [ 4 | { 5 | "userAdded": false, 6 | "type": "UnityEngine.AnimationClip", 7 | "ignore": false, 8 | "defaultInstantiationMode": 0, 9 | "supportsModification": true 10 | }, 11 | { 12 | "userAdded": false, 13 | "type": "UnityEditor.Animations.AnimatorController", 14 | "ignore": false, 15 | "defaultInstantiationMode": 0, 16 | "supportsModification": true 17 | }, 18 | { 19 | "userAdded": false, 20 | "type": "UnityEngine.AnimatorOverrideController", 21 | "ignore": false, 22 | "defaultInstantiationMode": 0, 23 | "supportsModification": true 24 | }, 25 | { 26 | "userAdded": false, 27 | "type": "UnityEditor.Audio.AudioMixerController", 28 | "ignore": false, 29 | "defaultInstantiationMode": 0, 30 | "supportsModification": true 31 | }, 32 | { 33 | "userAdded": false, 34 | "type": "UnityEngine.ComputeShader", 35 | "ignore": true, 36 | "defaultInstantiationMode": 1, 37 | "supportsModification": true 38 | }, 39 | { 40 | "userAdded": false, 41 | "type": "UnityEngine.Cubemap", 42 | "ignore": false, 43 | "defaultInstantiationMode": 0, 44 | "supportsModification": true 45 | }, 46 | { 47 | "userAdded": false, 48 | "type": "UnityEngine.GameObject", 49 | "ignore": false, 50 | "defaultInstantiationMode": 0, 51 | "supportsModification": true 52 | }, 53 | { 54 | "userAdded": false, 55 | "type": "UnityEditor.LightingDataAsset", 56 | "ignore": false, 57 | "defaultInstantiationMode": 0, 58 | "supportsModification": false 59 | }, 60 | { 61 | "userAdded": false, 62 | "type": "UnityEngine.LightingSettings", 63 | "ignore": false, 64 | "defaultInstantiationMode": 0, 65 | "supportsModification": true 66 | }, 67 | { 68 | "userAdded": false, 69 | "type": "UnityEngine.Material", 70 | "ignore": false, 71 | "defaultInstantiationMode": 0, 72 | "supportsModification": true 73 | }, 74 | { 75 | "userAdded": false, 76 | "type": "UnityEditor.MonoScript", 77 | "ignore": true, 78 | "defaultInstantiationMode": 1, 79 | "supportsModification": true 80 | }, 81 | { 82 | "userAdded": false, 83 | "type": "UnityEngine.PhysicMaterial", 84 | "ignore": false, 85 | "defaultInstantiationMode": 0, 86 | "supportsModification": true 87 | }, 88 | { 89 | "userAdded": false, 90 | "type": "UnityEngine.PhysicsMaterial2D", 91 | "ignore": false, 92 | "defaultInstantiationMode": 0, 93 | "supportsModification": true 94 | }, 95 | { 96 | "userAdded": false, 97 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", 98 | "ignore": false, 99 | "defaultInstantiationMode": 0, 100 | "supportsModification": true 101 | }, 102 | { 103 | "userAdded": false, 104 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", 105 | "ignore": false, 106 | "defaultInstantiationMode": 0, 107 | "supportsModification": true 108 | }, 109 | { 110 | "userAdded": false, 111 | "type": "UnityEngine.Rendering.VolumeProfile", 112 | "ignore": false, 113 | "defaultInstantiationMode": 0, 114 | "supportsModification": true 115 | }, 116 | { 117 | "userAdded": false, 118 | "type": "UnityEditor.SceneAsset", 119 | "ignore": false, 120 | "defaultInstantiationMode": 0, 121 | "supportsModification": false 122 | }, 123 | { 124 | "userAdded": false, 125 | "type": "UnityEngine.Shader", 126 | "ignore": true, 127 | "defaultInstantiationMode": 1, 128 | "supportsModification": true 129 | }, 130 | { 131 | "userAdded": false, 132 | "type": "UnityEngine.ShaderVariantCollection", 133 | "ignore": true, 134 | "defaultInstantiationMode": 1, 135 | "supportsModification": true 136 | }, 137 | { 138 | "userAdded": false, 139 | "type": "UnityEngine.Texture", 140 | "ignore": false, 141 | "defaultInstantiationMode": 0, 142 | "supportsModification": true 143 | }, 144 | { 145 | "userAdded": false, 146 | "type": "UnityEngine.Texture2D", 147 | "ignore": false, 148 | "defaultInstantiationMode": 0, 149 | "supportsModification": true 150 | }, 151 | { 152 | "userAdded": false, 153 | "type": "UnityEngine.Timeline.TimelineAsset", 154 | "ignore": false, 155 | "defaultInstantiationMode": 0, 156 | "supportsModification": true 157 | } 158 | ], 159 | "defaultDependencyTypeInfo": { 160 | "userAdded": false, 161 | "type": "", 162 | "ignore": false, 163 | "defaultInstantiationMode": 1, 164 | "supportsModification": true 165 | }, 166 | "newSceneOverride": 0 167 | } -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /ProjectSettings/boot.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/HandLandmarkBarracuda/36308f8b8b0ac4116e9de2b6114bd37d0dd5756e/ProjectSettings/boot.config -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | HandLandmarkBarracuda 2 | ===================== 3 | 4 | ![screenshot](https://i.imgur.com/REoZWaGl.jpg) 5 | 6 | **HandLandmarkBarracuda** is a hand landmark detector that runs the 7 | [MediaPipe Hand Landmark] model on the [Unity Barracuda] neural network 8 | inference library. 9 | 10 | [MediaPipe Hand Landmark]: 11 | https://github.com/tensorflow/tfjs-models/tree/master/handpose 12 | 13 | [Unity Barracuda]: 14 | https://docs.unity3d.com/Packages/com.unity.barracuda@latest 15 | 16 | About the ONNX file 17 | ------------------- 18 | 19 | The ONNX model file contained in this repository was converted simply using 20 | [tflite2onnx]. 21 | 22 | [tflite2onnx]: https://pypi.org/project/tflite2onnx/ 23 | --------------------------------------------------------------------------------