I added a third party camera and displayed the segmented images, the images look correct but once I do np.unique or use set, I am not able to extract the labels of the segmented image. It prints a large number like 34, even if the labels look like hardly 6. Am I doing something wrong? I have tried and this work correctly if the segmented images are taken from the agent, but only fails when they are taken from third party camera.
Please help
I added a third party camera and displayed the segmented images, the images look correct but once I do
np.unique
or useset
, I am not able to extract the labels of the segmented image. It prints a large number like 34, even if the labels look like hardly 6. Am I doing something wrong? I have tried and this work correctly if the segmented images are taken from the agent, but only fails when they are taken from third party camera. Please help