Dear All,
So, there is an issue with the Blob Target Proximity in that it does not allow take the aspect ratio of the source image into account when calculating the distance to the target. If the image fed to Eyes++ were square, then it would work. But given that it is 16:9 in Fred's test patch, the height is incorrectly calculated. There is nothing to be done about this at the moment, because we'll need to add more information to the "blob" structure so that it knows the resolution of the source image.
In the meantime, see the attached modification of Fred's patch. It contains a User Actor called Target Proximity Pixels which accepts a blob, the height and width of the source image, the target position, and the target size, all of which are specied in pixels instead of percentages. (It could be percentages too... but maybe it's clearer with actual pixels?)
There is another User Actor called Quad Target Proximity Pixels that accepts a blob input and allows you to specify four targets. (If you don't want to use a target, set it's size to 0.)
The example now contains four white circles at 25% size, and one yellow circle at 50% size. The white text reports the output of the Quad Target Proximity actor, showing a value whenever you approch any of the four white targets. The yellow text reports the postion within the larger, yellow circle.
Hopefully that's enough to get you going on your own and address the problem until we can update the Blob Target Proximity.
Blob Proximity - User Actor Fix.izz
Best Wishes,
Mark