mirror of
https://github.com/opencv/opencv.git
synced 2026-11-26 03:18:11 -06:00
#30131 made cv::XFeat letterbox with INTER_LINEAR_EXACT. The test's hand-made letterbox still used INTER_LINEAR, so on current 5.x the two blobs differed slightly and some keypoints moved by one network pixel (1.56 px), failing the exact-mapping check. Use INTER_LINEAR_EXACT so the network sees an identical blob again.