Paul Bird commited on
Commit
dbe97fd
·
verified ·
1 Parent(s): 7f6cab6

Upload RunBlazeFace.cs

Browse files
Files changed (1) hide show
  1. RunBlazeFace.cs +3 -3
RunBlazeFace.cs CHANGED
@@ -31,7 +31,7 @@ public class RunBlazeFace : MonoBehaviour
31
  // 6 optional sprite images (left eye, right eye, nose, mouth, left ear, right ear)
32
  public Sprite[] markerTextures;
33
 
34
- const string videoName = "chatting.mp4";
35
 
36
  //
37
  public Texture2D _inputImage;
@@ -187,8 +187,8 @@ public class RunBlazeFace : MonoBehaviour
187
  }
188
  for (int j = 0; j < 6 * 8 * 8; j++)
189
  {
190
- offsets[n++] = (j / 6) % 8 - 7f;
191
- offsets[n++] = (j / 6 / 8) - 7f;
192
  n += 2;
193
  }
194
  return offsets;
 
31
  // 6 optional sprite images (left eye, right eye, nose, mouth, left ear, right ear)
32
  public Sprite[] markerTextures;
33
 
34
+ public string videoName = "chatting.mp4";
35
 
36
  //
37
  public Texture2D _inputImage;
 
187
  }
188
  for (int j = 0; j < 6 * 8 * 8; j++)
189
  {
190
+ offsets[n++] = 2 * ((j / 6) % 8) - 7f;
191
+ offsets[n++] = 2 * ((j / 6 / 8)) - 7f;
192
  n += 2;
193
  }
194
  return offsets;