Polygonal (6 or more points) objects? #8
-
Hello, due to a slightly off-center camera, the objects in my novel object recognition videos are at an angle so a rectangle doesn't really encompass them nicely. Is it possible to specify a polygonal object? Six points would already let me define the perimeter pretty nicely. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This feature is not yet built in to Rtrack I'm afraid. Rectangular objects can be defined by the coordinates of their 4 corners - that has two side effects: 1) if the arena is defined by corners, it will be affine-transformed into a square. That is useful for dealing with off-centre cameras. 2) You can also define non-square objects (but only with exactly 4 points at the moment). We can add a multi-point object boundary to a future release. I have tagged this as a 'feature request' so we remember to do that. |
Beta Was this translation helpful? Give feedback.
-
@rupertoverall I have submitted an implementation of this functionality in #9 |
Beta Was this translation helpful? Give feedback.
This feature is not yet built in to Rtrack I'm afraid. Rectangular objects can be defined by the coordinates of their 4 corners - that has two side effects: 1) if the arena is defined by corners, it will be affine-transformed into a square. That is useful for dealing with off-centre cameras. 2) You can also define non-square objects (but only with exactly 4 points at the moment).
We can add a multi-point object boundary to a future release. I have tagged this as a 'feature request' so we remember to do that.