From 4d6e80a6c585f6929f6bf4bf319932732160ce84 Mon Sep 17 00:00:00 2001 From: Michael Welter Date: Thu, 12 May 2022 19:54:57 +0200 Subject: tracker/nn: Add support for recurrent model and further tweaks Regarding tweaks: * EWA smoothing of head ROI. Smoothing strength is a UI setting. * Adjustible zoom into the detected face. The predicted ROI is scaled by a factor the user can set. There is a sweet spot somewhere near 1. * Adjustible number of threads * The ROI is no longer taken as model output directly. This was actually not needed. Perhaps as auxiliary training objective for the network. But the tracker implementation now just uses a square area around the head center according to the predicted head size. * Add comment and debug notification on face ROI model output --- tracker-neuralnet/neuralnet-trackercontrols.ui | 146 +++++++++++++++++++++++-- 1 file changed, 139 insertions(+), 7 deletions(-) (limited to 'tracker-neuralnet/neuralnet-trackercontrols.ui') diff --git a/tracker-neuralnet/neuralnet-trackercontrols.ui b/tracker-neuralnet/neuralnet-trackercontrols.ui index 5f72a809..acbfe909 100644 --- a/tracker-neuralnet/neuralnet-trackercontrols.ui +++ b/tracker-neuralnet/neuralnet-trackercontrols.ui @@ -9,15 +9,15 @@ 0 0 - 727 - 202 + 721 + 277 Tracker settings - + QDialogButtonBox::Cancel|QDialogButtonBox::Ok @@ -364,11 +364,143 @@ Don't roll or change position. - - - - Show Network Input + + + + + 0 + 0 + + + + + 0 + 0 + + + + Tuning / Debug + + + + + Qt::Vertical + + + + + + + Thread Count + + + + + + + + 0 + 0 + + + + ROI Smoothing Alpha + + + + + + + Qt::Vertical + + + + + + + + 0 + 0 + + + + Show Network Input + + + + + + + + 0 + 0 + + + + + 150 + 16777215 + + + + false + + + 2 + + + 1.000000000000000 + + + 0.010000000000000 + + + 1.000000000000000 + + + + + + + ROI Zoom + + + + + + + Qt::Vertical + + + + + + + 0.100000000000000 + + + 2.000000000000000 + + + 0.010000000000000 + + + 1.000000000000000 + + + + + + + 1 + + + 32 + + + + -- cgit v1.2.3