Pretty much done with everything concerning the ruler detection and calculations, but there are 2 problematic things (highlighted with TODOs in my plugin):
-) I can load the templateruler using opencv, but i cannot load it with DkImageContainer or I get a heap corruption (if using a pointer) or stack corruption if I dont use a pointer. Loading with DkImageContainer would be nice for raw images.
-) I cant really save the calculated dpi, cause for that I need to include the header to metadata, which misses some header file itself (exiv2/xmpsidecar.hpp). Metadata is handled in the nomacs application not in the plugins
Pretty much done with everything concerning the ruler detection and calculations, but there are 2 problematic things (highlighted with TODOs in my plugin): -) I can load the templateruler using opencv, but i cannot load it with DkImageContainer or I get a heap corruption (if using a pointer) or stack corruption if I dont use a pointer. Loading with DkImageContainer would be nice for raw images. -) I cant really save the calculated dpi, cause for that I need to include the header to metadata, which misses some header file itself (exiv2/xmpsidecar.hpp). Metadata is handled in the nomacs application not in the plugins