Skip to content

zhangjin4415/go-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-resize is the opencv's resize for GO

Image is defined by MonoUInt8

// FrameUInt8 ...
type FrameUInt8 []uint8

// MonoUInt8 ...
type MonoUInt8 struct {
	Frame  FrameUInt8
	Width  int
	Height int
}

use

go get github.com/zhangjin4415/go-resize

imgResized := resize.Resize(srcImg, toWidth, toHeight, resize.InterCubic)

now it's only can resize gray image by InterCubic and InterLinear!

It's developing...

About

opencv's resize for GO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages