Create a model to detect age according to conditions
I have to create a model for detecting age. The two specific conditions provided are that if the person in image has worn white clothes, the predicted age should be 23 and if the clothes are black, the person should be declared as a child. I’m a beginner at python and am encountering this difficulty. The output I’m getting is returning ‘function’.Please see the code here