Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SlideMatch ¶
func SlideMatch(targetStr, backgroundStr string, matchType SlideMatchType, matchEngine MatchEngine) (*ddddgocr.SlideBBox, error)
目标图片路径、背景图片路径/Base64编码、匹配方式、匹配引擎, 比较模式的背景图为完整图片
func SlideMatchWithByte ¶
func SlideMatchWithByte(targetData, backgroundData []byte, matchType SlideMatchType, matchEngine MatchEngine) (*ddddgocr.SlideBBox, error)
目标图片、背景图片、匹配方式、匹配引擎, 比较模式的背景图为完整图片
Types ¶
type MatchEngine ¶
type MatchEngine string
const ( Default MatchEngine = "default" OpenCV MatchEngine = "opencv" )
type SlideMatchType ¶
type SlideMatchType string
滑块匹配类型
const ( Simple SlideMatchType = "simple" Standard SlideMatchType = "standard" Enhanced SlideMatchType = "enhanced" Comparison SlideMatchType = "comparison" )
Click to show internal directories.
Click to hide internal directories.