If the connector point (above the marker) is in the connector area (area below marker) for x frames (5?10?) the two markers will be linked. This is regardless of whether they are subsequently moved.
If a marker is removed from the board for y frames (large enough that in moving markers, blocking the camera, it wouldn't be removed). If a link wants to be broken the two markers could be placed in a detachment area for z frames (2/3) or another method could be to rotate both markers so that they face the wrong way towards each other.
For this method to work I need to know the angle (which way up it is. Where the top and bottom is), the location and even possibly the size of the marker.
Looks good!
ReplyDeleteBy the way, d-touch already calculates size and in some cases angle. I am not sure that information is currently exposed through the DTServer, it shouldn't be too hard to fix that.