I am currently working on multi-camera object detection. In both the zed cameras, I would like to detect only the pedestrian or person as a single class. It should not detect any other object. I followed the python API for object detection and the code below:
gives me the following error.
I have checked all the attributes inside obj_param as well as the enum_values for sl.OBJECT_CLASS. It lists the classes as:
So, I tried sl.OBJECT_CLASS.Person (with small), but it too did not work. Can anyone help what is the correct way to detect only person class in python API?