It looks like you're new here. If you want to get involved, click one of these buttons!
Hi all,
I am trying to write some script that automatically aligns user given (GUI) landmarks to a predefined set of markers in the design. However after browsing the image classes for a while, I couldnt find any way to access/retrieve the "List of landmarks" seen in the Image import GUI.
Does anybody know, whether this is possible and if so, how?
Thanks ![]()
Comments
Nevermind, I just found the forum discussion about this exact problem xd.
So there is still no solution to access them automatically?
No, there is not. Where did you find that mentioned?
Landmarks in my perception are alignment helpers, but so far I did not consider them part of the display properties of an image.
The only way to manipulate landmarks currently is to convert the image to a string using "str(image)" or "image.to_s", and manipulate the landmarks array there. The landmarks array is a somewhat stupid component:
You can place it anywhere in the string - i.e at the beginning, but if you manipulate it, make sure you remove the original one.
Matthias