the detection of two (1 pixel each) targets and check that there are 2 of them and then the first one is of the size 1 pixel. Actually it checks that it's 1 pixel in x, 1 pixel in y and 1 pixel in total.
Please add a new test in which an object is 3 x 2 pixels and we actually know which is x and which is y by the shape of that object, i.e.
img = np.array([
[0, 0, 0, 0, 0],
[0, 255, 250, 250, 0],
[0, 251, 253, 0, 0],
[0, 0, 0, 251, 0],
[0, 0, 0, 0, 0]
], dtype=np.uint8)
something like this, maybe there's a bug in this image. But we need to start by small steps
@C73150N
please add a new test to https://github.com/OpenPTV/openptv/blob/master/py_bind/test/test_segmentation.py
we test now in
openptv/py_bind/test/test_segmentation.py
Line 36 in c249337
Please add a new test in which an object is 3 x 2 pixels and we actually know which is x and which is y by the shape of that object, i.e.
something like this, maybe there's a bug in this image. But we need to start by small steps
So, please: