Open alexlib opened 2 years ago
I did a pull request and a previous fork , but I have some error checks from github . Please , correct me if wrong . Actually, spyder have some bugs while debugging and it was an error from the version so I changed to pycharm and it better suits .
@C73150N please add a new test to https://github.com/OpenPTV/openptv/blob/master/py_bind/test/test_segmentation.py
we test now in https://github.com/OpenPTV/openptv/blob/c249337413882b6aefa48ac1bc68c7767099f651/py_bind/test/test_segmentation.py#L36 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.
something like this, maybe there's a bug in this image. But we need to start by small steps
So, please: