Wojciech Zabołotny
unread,Nov 24, 2022, 7:00:05 AM11/24/22You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
I have tested my workaround on a bigger image with the code and found
that pydmtx reverses the coordinates.
Calculation of the box used to export the code must be more complicated:
# We need to introduce certain margin when exporting the rectangle
with the code
margin = 10
b=(r.left-margin,img.size[1]-r.top-r.height-margin,r.left+r.width+margin,img.size[1]-r.top+margin)
--
Regards,
Wojtek