Page 277 - Ai_V1.0_Class9
P. 277
Step 4 Today we will be comparing Male and Female. We go ahead and name the two classes
respectively.
Step 5 Once we have named the class, we need to get the subject clicked for the model to run ML on.
So either we can use a webcam and get the required pictures clicked by just holding the key
“Hold to Record” and let the system create its own image bank. We just have to keep moving
the subject so that the system can capture images from all sides. We can also upload images of
the subject if we have it all with us on the system or Google Drive.
Step 6 Likewise as in Step 5, we do the same with the class 2, which is Female in this case.
Step 7 Once we have got the sample images of both the class or subject, we click the button “Train
Model” in the window with the heading Training. This starts the process of training the model.
Step 8 Once the model is trained, the message will change to “Model Trained”. Now the model is ready
for testing.
Step 9 Once we bring any of the subjects in front of the camera in any position, the output of the model
would be able to identify what the subject is. It would reflect in percentage as to how much percent
it is able to identify the subject in comparison to the images which were used for training the model.
Projects 275

