Skip to content

Commit

Permalink
Fix documentation line for SURF Compute()
Browse files Browse the repository at this point in the history
  • Loading branch information
pericles-tpt committed Oct 20, 2023
1 parent acdb146 commit 3e5f18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/xfeatures2d.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3e5f18b

Please sign in to comment.