util

package
v3.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2020 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageWidthAndHeight

func GetImageWidthAndHeight(filename string) (width, height int)

获取图片宽高

func GetResizedBGR

func GetResizedBGR(filename string) (bgrData []uint8)

获取适配SDK大小的图片,并转为BGR格式的数据

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL