'TypeError: dnn_Model.setInputMean() takes at most 1 argument (3 given)

Please resolve TypeError while executing the object detection project.

I have tried to implement the object detection program but TypeError is appearing. I hope I will get the resolution within 24Hr of the same.



Solution 1:[1]

You are supposed to give only one argument. i.e.,

model.setInputMean([127.5,127.5,127.5])

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jeremy Caney