diff options
author | Michael Welter <michael@welter-4d.de> | 2022-02-26 22:20:40 +0100 |
---|---|---|
committer | Michael Welter <michael@welter-4d.de> | 2022-05-15 16:53:44 +0200 |
commit | 25af3db8ba560d86f78aa4bfd10039588b7bab82 (patch) | |
tree | d81085a298a66ef39dd9c2ba811d587119d5a501 /tracker-neuralnet/ftnoir_tracker_neuralnet.h | |
parent | 4697a0e44536ae9dc169aab54df26e5dbebdec7c (diff) |
tracker/nn: Support new coordinate conventions for head rotation
Diffstat (limited to 'tracker-neuralnet/ftnoir_tracker_neuralnet.h')
-rw-r--r-- | tracker-neuralnet/ftnoir_tracker_neuralnet.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tracker-neuralnet/ftnoir_tracker_neuralnet.h b/tracker-neuralnet/ftnoir_tracker_neuralnet.h index c74a7b1d..b6405d1a 100644 --- a/tracker-neuralnet/ftnoir_tracker_neuralnet.h +++ b/tracker-neuralnet/ftnoir_tracker_neuralnet.h @@ -131,6 +131,7 @@ class PoseEstimator Ort::Value{nullptr}, Ort::Value{nullptr}}; double last_inference_time = 0; + int64_t model_version = 0; }; @@ -160,8 +161,6 @@ private: void update_fps(double dt); Affine compute_pose(const PoseEstimator::Face &face) const; - numeric_types::vec3 image_to_world(float x, float y, float size, float real_size) const; - numeric_types::vec2 world_to_image(const numeric_types::vec3& p) const; settings s; std::optional<Localizer> localizer; |