micasense / imageprocessing

MicaSense RedEdge and Altum image processing tutorials
https://www.micasense.com
MIT License
247 stars 148 forks source link

updated tests to pass with slight differences for warp matrix and cropping caused by different cv2 versions #128

Closed fdarvas closed 3 years ago

fdarvas commented 3 years ago

Tests are changed to allow for some tolerances, 1% for the warp matrix elements & 1 px for cropping. These changes are due to a different cv2 version - e.g. cv 4.4 seems to produce slightly different results than older versions.