Skip to content

Commit d6c1778

Browse files
committed
update 1.0.8
1 parent 3ea8412 commit d6c1778

File tree

9 files changed

+8
-8
lines changed

9 files changed

+8
-8
lines changed
Binary file not shown.
Binary file not shown.
21 Bytes
Binary file not shown.

Assets/CVVTuberExample/CVVTuber/Scripts/DlibFaceLandmarkGetter.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ protected IFaceRectGetter faceRectGetterInterface
6969

7070
protected FaceLandmarkDetector faceLandmarkDetector;
7171

72-
protected static readonly string DLIB_SHAPEPREDICTOR_FILENAME_PRESET = "sp_human_face_68.dat";
72+
protected static readonly string DLIB_SHAPEPREDICTOR_FILENAME_PRESET = "DlibFaceLandmarkDetector/sp_human_face_68.dat";
7373

74-
protected static readonly string DLIB_SHAPEPREDICTOR_MOBILE_FILENAME_PRESET = "sp_human_face_68_for_mobile.dat";
74+
protected static readonly string DLIB_SHAPEPREDICTOR_MOBILE_FILENAME_PRESET = "DlibFaceLandmarkDetector/sp_human_face_68_for_mobile.dat";
7575

7676
protected string dlibShapePredictorFilePath;
7777

@@ -105,7 +105,7 @@ public override void Setup()
105105
dlibShapePredictorFilePath = result;
106106
if (string.IsNullOrEmpty(dlibShapePredictorFilePath))
107107
{
108-
Debug.LogError("shape predictor file does not exist. Please copy from “DlibFaceLandmarkDetector/StreamingAssets/” to “Assets/StreamingAssets/” folder. ");
108+
Debug.LogError("shape predictor file does not exist. Please copy from “DlibFaceLandmarkDetector/StreamingAssets/DlibFaceLandmarkDetector/” to “Assets/StreamingAssets/DlibFaceLandmarkDetector/” folder. ");
109109
}
110110
Run();
111111
});
@@ -118,7 +118,7 @@ public override void Setup()
118118
#endif
119119
if (string.IsNullOrEmpty(dlibShapePredictorFilePath))
120120
{
121-
Debug.LogError("shape predictor file does not exist. Please copy from “DlibFaceLandmarkDetector/StreamingAssets/” to “Assets/StreamingAssets/” folder. ");
121+
Debug.LogError("shape predictor file does not exist. Please copy from “DlibFaceLandmarkDetector/StreamingAssets/DlibFaceLandmarkDetector/” to “Assets/StreamingAssets/DlibFaceLandmarkDetector/” folder. ");
122122
}
123123
Run();
124124
#endif

Assets/CVVTuberExample/CVVTuber/Scripts/OpenCVFaceRectGetter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected IMatSourceGetter matSourceGetterInterface
5858

5959
protected MatOfRect faces;
6060

61-
protected static readonly string OPENCV_CASCADE_FILENAME_PRESET = "haarcascade_frontalface_alt.xml";
61+
protected static readonly string OPENCV_CASCADE_FILENAME_PRESET = "DlibFaceLandmarkDetector/haarcascade_frontalface_alt.xml";
6262

6363
protected string openCVCascadeFilePath;
6464

@@ -248,7 +248,7 @@ protected virtual void Run()
248248
#if !UNITY_WSA_10_0
249249
if (cascade.empty())
250250
{
251-
Debug.LogError("cascade file is not loaded. Please copy from “OpenCVForUnity/StreamingAssets/” to “Assets/StreamingAssets/” folder. ");
251+
Debug.LogError("cascade file is not loaded. Please copy from “DlibFaceLandmarkDetector/StreamingAssets/DlibFaceLandmarkDetector/” to “Assets/StreamingAssets/DlibFaceLandmarkDetector/” folder. ");
252252
}
253253
#endif
254254

Assets/CVVTuberExample/CVVTuber/Scripts/VideoCaptureMatSourceGetter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class VideoCaptureMatSourceGetter : CVVTuberProcess, IMatSourceGetter
1414
{
1515
[Header("[Setting]")]
1616

17-
public string videoFileName = "dance_mjpeg.mjpeg";
17+
public string videoFileName = "DlibFaceLandmarkDetector/dance_mjpeg.mjpeg";
1818

1919
protected ImageOptimizationHelper imageOptimizationHelper;
2020

Assets/CVVTuberExample/CVVTuberExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static string dlibShapePredictorFileName
3131
{
3232
get
3333
{
34-
return dlibShapePredictorName.ToString() + ".dat";
34+
return "DlibFaceLandmarkDetector/" + dlibShapePredictorName.ToString() + ".dat";
3535
}
3636
}
3737

Assets/CVVTuberExample/ReadMe.pdf

-719 KB
Binary file not shown.

0 commit comments

Comments
 (0)