mirror of
https://github.com/bububa/openvision.git
synced 2025-09-26 17:51:13 +08:00
15 lines
265 B
Go
15 lines
265 B
Go
package realsr
|
|
|
|
import (
|
|
"image"
|
|
|
|
"github.com/bububa/openvision/go/common"
|
|
)
|
|
|
|
// Processer super-resolution processer interface
|
|
type Processer interface {
|
|
LoadModel(modelPath string) error
|
|
Destroy()
|
|
Process(img *common.Image, scale int) (image.Image, error)
|
|
}
|