Preparing search index...
The search index is not available
@wsvaio/utils
@wsvaio/utils
identifySubject
Function identifySubject
identify
Subject
(
imgUrl
)
:
Promise
<
[
number
,
number
,
number
,
number
]
>
识别给定图像的主题颜色,返回 RGBA 值的平均值。
Parameters
imgUrl
:
string
要识别的图像的 URL。
Returns
Promise
<
[
number
,
number
,
number
,
number
]
>
包含 RGBA 值平均值的数组,顺序为 [R, G, B, A]。
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@wsvaio/utils
Progress
BuiltInObjects
Compose
JsonableObj
DeepKeys
DeepOmit
DeepPartial
DeepPick
IsEqual
IsOptional
Jsonable
JsonableArr
JsonableBasic
Middleware
Parameters
ToUnionOfFunction
UnionToIntersection
ValueOf
Writeable
filePickerKey
arrayToTree
Loading...
Generated using
TypeDoc
识别给定图像的主题颜色,返回 RGBA 值的平均值。