prediction from frame
#
Block#
DescriptionPredicts a label from an image based on a previously trained color model. A KNN color model needs to be trained and loaded into the program to use predict_from_frame().
#
Parametersimage: A frame object composed of an array of pixels.
#
Returnsstring: A string containing the predicted label.