mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-22 16:08:41 +08:00
Updated internal calls to linear resize to use bit-exact version
This commit is contained in:
@@ -145,8 +145,8 @@ bool TrackerGOTURNImpl::updateImpl(const Mat& image, Rect2d& boundingBox)
|
||||
|
||||
//Preprocess
|
||||
//Resize
|
||||
resize(targetPatch, targetPatch, Size(INPUT_SIZE, INPUT_SIZE));
|
||||
resize(searchPatch, searchPatch, Size(INPUT_SIZE, INPUT_SIZE));
|
||||
resize(targetPatch, targetPatch, Size(INPUT_SIZE, INPUT_SIZE), 0, 0, INTER_LINEAR_EXACT);
|
||||
resize(searchPatch, searchPatch, Size(INPUT_SIZE, INPUT_SIZE), 0, 0, INTER_LINEAR_EXACT);
|
||||
|
||||
//Mean Subtract
|
||||
targetPatch = targetPatch - 128;
|
||||
|
Reference in New Issue
Block a user