Skip to content

Commit adc6180

Browse files
committed
Update Facemark examples with latest API changes in OpenCV
1 parent 2e39640 commit adc6180

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

samples/KazemiFacemarkExample.java

+1
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,4 @@ public static void main(String[] args) throws IOException, URISyntaxException, I
7272
// Save results
7373
imwrite ("kazemi_landmarks.jpg", img);
7474
}
75+
}

samples/LBFFacemarkExampleWithVideo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static void main(String[] args) throws IOException, URISyntaxException, I
7373
Point2fVectorVector landmarks = new Point2fVectorVector();
7474

7575
// Run landmark detector
76-
boolean success = facemark.fit(frame, faces, landmarks, null);
76+
boolean success = facemark.fit(frame, faces, landmarks);
7777

7878
if(success) {
7979
// If successful, render the landmarks on the face

0 commit comments

Comments
 (0)