MCPcopy Index your code
hub / github.com/makelove/OpenCV-Python-Tutorial / predict

Method predict

官方samples/digits.py:101–102  ·  view source on GitHub ↗
(self, samples)

Source from the content-addressed store, hash-verified

99 self.model.train(samples, cv2.ml.ROW_SAMPLE, responses)
100
101 def predict(self, samples):
102 return self.model.predict(samples)[1].ravel()
103
104
105def evaluate_model(model, digits, samples, labels):

Callers 9

fFunction · 0.45
evaluate_modelFunction · 0.45
kalman.pyFile · 0.45
mainFunction · 0.45
hogsvm.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected