Skip to content

Commit

Permalink
Prepend "Feature2D" prefix to component interfaces of Feature2D
Browse files Browse the repository at this point in the history
  • Loading branch information
pericles-tpt authored and deadprogram committed Mar 30, 2024
1 parent 7a54ec9 commit 921e669
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions features2d.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ import (
"unsafe"
)

type Detector interface {
type Feature2DDetector interface {
Detect(src Mat) []KeyPoint
}

type Computer interface {
type Feature2DComputer interface {
Compute(src Mat, mask Mat, kps []KeyPoint) ([]KeyPoint, Mat)
}

type DetectComputer interface {
type Feature2DDetectComputer interface {
DetectAndCompute(src Mat, mask Mat) ([]KeyPoint, Mat)
}

type Feature2D interface {
io.Closer
Detector
Computer
DetectComputer
Feature2DDetector
Feature2DComputer
Feature2DDetectComputer
}

// AKAZE is a wrapper around the cv::AKAZE algorithm.
Expand Down

0 comments on commit 921e669

Please sign in to comment.