From 3e5f18b04e65d4f95f9a79b16d845f30ac5c5425 Mon Sep 17 00:00:00 2001 From: Pericles Telemachou Date: Fri, 20 Oct 2023 11:19:36 +1100 Subject: [PATCH] Fix documentation line for SURF `Compute()` --- contrib/xfeatures2d.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/xfeatures2d.go b/contrib/xfeatures2d.go index 75943399..6fb77d6a 100644 --- a/contrib/xfeatures2d.go +++ b/contrib/xfeatures2d.go @@ -57,7 +57,7 @@ func (d *SURF) Detect(src gocv.Mat) []gocv.KeyPoint { // Compute keypoints in an image using SURF. // // For further details, please see: -// https://docs.opencv.org/3.4/d9/d37/classcv_1_1xfeatures2d_1_1DAISY.html#a12744f1611a374fb06ba251d9d2fec86 +// https://docs.opencv.org/4.x/d0/d13/classcv_1_1Feature2D.html#ab3cce8d56f4fc5e1d530b5931e1e8dc0 func (d *SURF) Compute(src gocv.Mat, mask gocv.Mat, kps []gocv.KeyPoint) ([]gocv.KeyPoint, gocv.Mat) { desc := gocv.NewMat() kp2arr := make([]C.struct_KeyPoint, len(kps))