March 2020
Intermediate to advanced
366 pages
9h 8m
English
Analogous to Chapter 7, Learning to Recognize Traffic Signs, we will use the machine learning class that OpenCV provides, which is ml.ANN_MLP. Here are the steps to create and configure an MLP in OpenCV:
mlp = cv2.ml.ANN_MLP_create()
mlp.setLayerSizes(np.array([20, 10, 6], dtype=np.uint8)