InputColor inherits from Input.
More...
#include <InputColor.h>
InputColor inherits from Input.
Arduino
TinyTrainable
Input
Arduino_APDS9960 for color and distance input
Arduino KNN for machine learning
◆ InputColor()
| InputColor::InputColor |
( |
| ) |
|
◆ identify()
| void InputColor::identify |
( |
| ) |
|
|
overridevirtual |
Reimplemented from Input.
◆ readColor()
| void InputColor::readColor |
( |
float |
color[] | ) |
|
◆ setupInstrument()
| void InputColor::setupInstrument |
( |
bool |
serialDebugging | ) |
|
|
overridevirtual |
Reimplemented from Input.
◆ setupSensorAPDS9960()
| void InputColor::setupSensorAPDS9960 |
( |
| ) |
|
setup color and proximity sensor
◆ trainKNN()
| void InputColor::trainKNN |
( |
int |
k, |
|
|
int |
examplesPerClass, |
|
|
String |
objects[3] |
|
) |
| |
|
overridevirtual |
Reimplemented from Input.
◆ _checkedSetup
| bool InputColor::_checkedSetup = false |
◆ _colorReading
| float InputColor::_colorReading[3] |
◆ _colorThreshold
| float InputColor::_colorThreshold = 0.5 |
◆ _k
parameter for K-nearest neighbors algorithm
◆ _labels
| String InputColor::_labels[3] |
◆ _myKNN
| KNNClassifier InputColor::_myKNN |
◆ _previousClassification
| int InputColor::_previousClassification = -1 |
The documentation for this class was generated from the following files: