Fix default values in fc2dconfig
This commit is contained in:
parent
9b0645824d
commit
7456a1f111
3
TODO.md
3
TODO.md
|
@ -7,9 +7,6 @@
|
||||||
## models
|
## models
|
||||||
- better default model
|
- better default model
|
||||||
|
|
||||||
## config program
|
|
||||||
- disable checkboxes by default in fc2dconfig
|
|
||||||
|
|
||||||
## misc
|
## misc
|
||||||
- README
|
- README
|
||||||
- .desktop entry
|
- .desktop entry
|
||||||
|
|
|
@ -69,6 +69,12 @@ ConfigurationFrame::ConfigurationFrame() : wxFrame(NULL, wxID_ANY, "Configure "
|
||||||
cameraSizer->Add(cameraText, 0, wxALIGN_CENTER | wxALL, 5);
|
cameraSizer->Add(cameraText, 0, wxALIGN_CENTER | wxALL, 5);
|
||||||
cameraSizer->Add(cameraSpinCtrl, 0, wxLEFT, 20);
|
cameraSizer->Add(cameraSpinCtrl, 0, wxLEFT, 20);
|
||||||
|
|
||||||
|
// set default values
|
||||||
|
useHaarCheckBox->SetValue(false);
|
||||||
|
showCameraCheckBox->SetValue(false);
|
||||||
|
noEyesCheckBox->SetValue(false);
|
||||||
|
cameraSpinCtrl->SetValue(0);
|
||||||
|
|
||||||
// define tooltips
|
// define tooltips
|
||||||
useHaarCheckBox->SetToolTip("Use Haar Cascades for faster (but less accurate) face detection.");
|
useHaarCheckBox->SetToolTip("Use Haar Cascades for faster (but less accurate) face detection.");
|
||||||
showCameraCheckBox->SetToolTip("Show the camera feed in another window.");
|
showCameraCheckBox->SetToolTip("Show the camera feed in another window.");
|
||||||
|
|
Loading…
Reference in a new issue