From f2e37b7afe3bef67f47075e4e8551fa483de8cdc Mon Sep 17 00:00:00 2001 From: logchan Date: Thu, 13 Feb 2020 09:43:15 -0500 Subject: [PATCH] fix typo --- chuni-hands/Config.cs | 2 +- chuni-hands/MainWindow.xaml.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chuni-hands/Config.cs b/chuni-hands/Config.cs index 810c70c..1292daf 100644 --- a/chuni-hands/Config.cs +++ b/chuni-hands/Config.cs @@ -7,7 +7,7 @@ public double Threshold { get; set; } = 10; public int Distance { get; set; } = 40; - public int BoostrapSeconds { get; set; } = 2; + public int BootstrapSeconds { get; set; } = 2; public int CaptureWidth { get; set; } = 640; public int CaptureHeight { get; set; } = 480; public int Fps { get; set; } = 60; diff --git a/chuni-hands/MainWindow.xaml.cs b/chuni-hands/MainWindow.xaml.cs index 04977cf..5497731 100644 --- a/chuni-hands/MainWindow.xaml.cs +++ b/chuni-hands/MainWindow.xaml.cs @@ -115,7 +115,7 @@ namespace chuni_hands { private void CaptureLoop() { // give camera some time to auto adjust, so user don't need to press reset right after start - var bootstrapFrames = _config.BoostrapSeconds * _config.Fps; + var bootstrapFrames = _config.BootstrapSeconds * _config.Fps; while (!_closing) { _capture.Read(_mat);