mirror of https://bitbucket.org/ausocean/av.git
revid/revid.go: Separated const block into 3 sections
This commit is contained in:
parent
c7fa55a993
commit
cf51d07532
|
@ -77,16 +77,24 @@ const (
|
|||
)
|
||||
|
||||
// Motion filter parameters
|
||||
const (
|
||||
showWindows = true
|
||||
minFPS = 1.0
|
||||
)
|
||||
|
||||
// KNN specific parameters
|
||||
const (
|
||||
knnMinArea = 25.0
|
||||
knnThreshold = 300
|
||||
knnHistory = 300
|
||||
knnKernel = 9
|
||||
)
|
||||
|
||||
// MOG specific parameters
|
||||
const (
|
||||
mogMinArea = 25.0
|
||||
mogThreshold = 20.0
|
||||
mogHistory = 500
|
||||
showWindows = true
|
||||
minFPS = 1.0
|
||||
)
|
||||
|
||||
const pkg = "revid: "
|
||||
|
|
Loading…
Reference in New Issue