mirror of
https://github.com/hybridgroup/gocv
synced 2025-08-25 08:41:04 +08:00
Prepend "Feature2D" prefix to component interfaces of Feature2D
This commit is contained in:

committed by
Ron Evans

parent
7a54ec97b6
commit
921e6694ae
@@ -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.
|
||||
|
Reference in New Issue
Block a user