master
logchan 2020-02-13 09:43:15 -05:00
parent 775c623024
commit f2e37b7afe
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);