Some small fixes
This commit is contained in:
parent
c72224c938
commit
a9b4a7d3f8
1 changed files with 1 additions and 2 deletions
|
@ -294,7 +294,6 @@ namespace OpenFaceOffline
|
|||
Thread.CurrentThread.IsBackground = true;
|
||||
|
||||
clnf_model.Reset();
|
||||
face_analyser.Reset();
|
||||
|
||||
var frame = new RawImage(reader.GetNextImage());
|
||||
var grayFrame = new RawImage(reader.GetCurrentFrameGray());
|
||||
|
@ -312,7 +311,7 @@ namespace OpenFaceOffline
|
|||
|
||||
// Predict action units
|
||||
// TODO face analyser should be optimized for single images
|
||||
var au_preds = face_analyser.PredictStaticAUs(grayFrame, clnf_model.CalculateAllLandmarks());
|
||||
var au_preds = face_analyser_image.PredictStaticAUs(grayFrame, clnf_model.CalculateAllLandmarks());
|
||||
|
||||
// Predic eye gaze
|
||||
gaze_analyser.AddNextFrame(clnf_model, success, fx, fy, cx, cy); // TODO fx should be from reader
|
||||
|
|
Loading…
Reference in a new issue