@viji-dev/core 0.3.24 → 0.3.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -801,54 +801,14 @@ export declare interface HandData {
801
801
  y: number;
802
802
  z: number;
803
803
  };
804
- fingers: {
805
- thumb: {
806
- tip: {
807
- x: number;
808
- y: number;
809
- z: number;
810
- };
811
- extended: boolean;
812
- };
813
- index: {
814
- tip: {
815
- x: number;
816
- y: number;
817
- z: number;
818
- };
819
- extended: boolean;
820
- };
821
- middle: {
822
- tip: {
823
- x: number;
824
- y: number;
825
- z: number;
826
- };
827
- extended: boolean;
828
- };
829
- ring: {
830
- tip: {
831
- x: number;
832
- y: number;
833
- z: number;
834
- };
835
- extended: boolean;
836
- };
837
- pinky: {
838
- tip: {
839
- x: number;
840
- y: number;
841
- z: number;
842
- };
843
- extended: boolean;
844
- };
845
- };
846
804
  gestures: {
847
805
  fist: number;
848
806
  openPalm: number;
849
807
  peace: number;
850
808
  thumbsUp: number;
809
+ thumbsDown: number;
851
810
  pointing: number;
811
+ iLoveYou: number;
852
812
  };
853
813
  }
854
814
 
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, V, a, b } from "./index-C6fMmKQj.js";
1
+ import { A, V, a, b } from "./index-B8BYfP9z.js";
2
2
  export {
3
3
  A as AudioSystem,
4
4
  V as VERSION,
@@ -217,27 +217,27 @@ export const shaderUniforms = {
217
217
  "u_audioLow": {
218
218
  "type": "float",
219
219
  "category": "Audio",
220
- "description": "Low 20-150 Hz (0-1)"
220
+ "description": "Low 20-120 Hz (0-1)"
221
221
  },
222
222
  "u_audioLowMid": {
223
223
  "type": "float",
224
224
  "category": "Audio",
225
- "description": "Low-mid 150-400 Hz (0-1)"
225
+ "description": "Low-mid 120-400 Hz (0-1)"
226
226
  },
227
227
  "u_audioMid": {
228
228
  "type": "float",
229
229
  "category": "Audio",
230
- "description": "Mid 400-2500 Hz (0-1)"
230
+ "description": "Mid 400-1600 Hz (0-1)"
231
231
  },
232
232
  "u_audioHighMid": {
233
233
  "type": "float",
234
234
  "category": "Audio",
235
- "description": "High-mid 2500-8000 Hz (0-1)"
235
+ "description": "High-mid 1600-6000 Hz (0-1)"
236
236
  },
237
237
  "u_audioHigh": {
238
238
  "type": "float",
239
239
  "category": "Audio",
240
- "description": "High 8000-20000 Hz (0-1)"
240
+ "description": "High 6000-16000 Hz (0-1)"
241
241
  },
242
242
  "u_audioLowSmoothed": {
243
243
  "type": "float",
@@ -352,7 +352,7 @@ export const shaderUniforms = {
352
352
  "u_audioFFT": {
353
353
  "type": "sampler2D",
354
354
  "category": "Audio",
355
- "description": "FFT frequency spectrum (512 bins, 0-255)"
355
+ "description": "FFT frequency spectrum (1024 bins, 0-255)"
356
356
  },
357
357
  "u_audioWaveform": {
358
358
  "type": "sampler2D",
@@ -959,6 +959,26 @@ export const shaderUniforms = {
959
959
  "category": "CV",
960
960
  "description": "Right hand palm position (x, y, z)"
961
961
  },
962
+ "u_leftHandConfidence": {
963
+ "type": "float",
964
+ "category": "CV",
965
+ "description": "Left hand detection confidence (0-1)"
966
+ },
967
+ "u_rightHandConfidence": {
968
+ "type": "float",
969
+ "category": "CV",
970
+ "description": "Right hand detection confidence (0-1)"
971
+ },
972
+ "u_leftHandBounds": {
973
+ "type": "vec4",
974
+ "category": "CV",
975
+ "description": "Left hand bounding box (x, y, width, height) normalized 0-1"
976
+ },
977
+ "u_rightHandBounds": {
978
+ "type": "vec4",
979
+ "category": "CV",
980
+ "description": "Right hand bounding box (x, y, width, height) normalized 0-1"
981
+ },
962
982
  "u_leftHandFist": {
963
983
  "type": "float",
964
984
  "category": "CV",
@@ -969,6 +989,31 @@ export const shaderUniforms = {
969
989
  "category": "CV",
970
990
  "description": "Left hand open palm gesture confidence (0-1)"
971
991
  },
992
+ "u_leftHandPeace": {
993
+ "type": "float",
994
+ "category": "CV",
995
+ "description": "Left hand peace/victory gesture confidence (0-1)"
996
+ },
997
+ "u_leftHandThumbsUp": {
998
+ "type": "float",
999
+ "category": "CV",
1000
+ "description": "Left hand thumbs up gesture confidence (0-1)"
1001
+ },
1002
+ "u_leftHandThumbsDown": {
1003
+ "type": "float",
1004
+ "category": "CV",
1005
+ "description": "Left hand thumbs down gesture confidence (0-1)"
1006
+ },
1007
+ "u_leftHandPointing": {
1008
+ "type": "float",
1009
+ "category": "CV",
1010
+ "description": "Left hand pointing gesture confidence (0-1)"
1011
+ },
1012
+ "u_leftHandILoveYou": {
1013
+ "type": "float",
1014
+ "category": "CV",
1015
+ "description": "Left hand I-love-you gesture confidence (0-1)"
1016
+ },
972
1017
  "u_rightHandFist": {
973
1018
  "type": "float",
974
1019
  "category": "CV",
@@ -979,35 +1024,105 @@ export const shaderUniforms = {
979
1024
  "category": "CV",
980
1025
  "description": "Right hand open palm gesture confidence (0-1)"
981
1026
  },
1027
+ "u_rightHandPeace": {
1028
+ "type": "float",
1029
+ "category": "CV",
1030
+ "description": "Right hand peace/victory gesture confidence (0-1)"
1031
+ },
1032
+ "u_rightHandThumbsUp": {
1033
+ "type": "float",
1034
+ "category": "CV",
1035
+ "description": "Right hand thumbs up gesture confidence (0-1)"
1036
+ },
1037
+ "u_rightHandThumbsDown": {
1038
+ "type": "float",
1039
+ "category": "CV",
1040
+ "description": "Right hand thumbs down gesture confidence (0-1)"
1041
+ },
1042
+ "u_rightHandPointing": {
1043
+ "type": "float",
1044
+ "category": "CV",
1045
+ "description": "Right hand pointing gesture confidence (0-1)"
1046
+ },
1047
+ "u_rightHandILoveYou": {
1048
+ "type": "float",
1049
+ "category": "CV",
1050
+ "description": "Right hand I-love-you gesture confidence (0-1)"
1051
+ },
982
1052
  "u_poseDetected": {
983
1053
  "type": "bool",
984
1054
  "category": "CV",
985
1055
  "description": "True if a pose is currently detected"
986
1056
  },
1057
+ "u_poseConfidence": {
1058
+ "type": "float",
1059
+ "category": "CV",
1060
+ "description": "Pose detection confidence (0-1)"
1061
+ },
987
1062
  "u_nosePosition": {
988
1063
  "type": "vec2",
989
1064
  "category": "CV",
990
- "description": "Nose landmark position in pixels"
1065
+ "description": "Nose landmark position (normalized 0-1)"
1066
+ },
1067
+ "u_leftShoulderPosition": {
1068
+ "type": "vec2",
1069
+ "category": "CV",
1070
+ "description": "Left shoulder position (normalized 0-1)"
1071
+ },
1072
+ "u_rightShoulderPosition": {
1073
+ "type": "vec2",
1074
+ "category": "CV",
1075
+ "description": "Right shoulder position (normalized 0-1)"
1076
+ },
1077
+ "u_leftElbowPosition": {
1078
+ "type": "vec2",
1079
+ "category": "CV",
1080
+ "description": "Left elbow position (normalized 0-1)"
1081
+ },
1082
+ "u_rightElbowPosition": {
1083
+ "type": "vec2",
1084
+ "category": "CV",
1085
+ "description": "Right elbow position (normalized 0-1)"
991
1086
  },
992
1087
  "u_leftWristPosition": {
993
1088
  "type": "vec2",
994
1089
  "category": "CV",
995
- "description": "Left wrist landmark position in pixels"
1090
+ "description": "Left wrist position (normalized 0-1)"
996
1091
  },
997
1092
  "u_rightWristPosition": {
998
1093
  "type": "vec2",
999
1094
  "category": "CV",
1000
- "description": "Right wrist landmark position in pixels"
1095
+ "description": "Right wrist position (normalized 0-1)"
1096
+ },
1097
+ "u_leftHipPosition": {
1098
+ "type": "vec2",
1099
+ "category": "CV",
1100
+ "description": "Left hip position (normalized 0-1)"
1101
+ },
1102
+ "u_rightHipPosition": {
1103
+ "type": "vec2",
1104
+ "category": "CV",
1105
+ "description": "Right hip position (normalized 0-1)"
1106
+ },
1107
+ "u_leftKneePosition": {
1108
+ "type": "vec2",
1109
+ "category": "CV",
1110
+ "description": "Left knee position (normalized 0-1)"
1111
+ },
1112
+ "u_rightKneePosition": {
1113
+ "type": "vec2",
1114
+ "category": "CV",
1115
+ "description": "Right knee position (normalized 0-1)"
1001
1116
  },
1002
1117
  "u_leftAnklePosition": {
1003
1118
  "type": "vec2",
1004
1119
  "category": "CV",
1005
- "description": "Left ankle landmark position in pixels"
1120
+ "description": "Left ankle position (normalized 0-1)"
1006
1121
  },
1007
1122
  "u_rightAnklePosition": {
1008
1123
  "type": "vec2",
1009
1124
  "category": "CV",
1010
- "description": "Right ankle landmark position in pixels"
1125
+ "description": "Right ankle position (normalized 0-1)"
1011
1126
  },
1012
1127
  "u_segmentationMask": {
1013
1128
  "type": "sampler2D",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viji-dev/core",
3
- "version": "0.3.24",
3
+ "version": "0.3.26",
4
4
  "description": "Universal execution engine for Viji Creative scenes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",