nomacs / nomacs-plugins

3dparty plugins for nomacs
https://nomacs.org
41 stars 20 forks source link

added rulerDetectionPlugin #15

Closed SerafinAT closed 7 years ago

SerafinAT commented 7 years ago

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