theothergrantdavidson / opencv-ts

A place for the typescript bindings for OpencvJS
Apache License 2.0
51 stars 18 forks source link

Fix the type of `array` parameter in `matFromArray` method #10

Closed idiotWu closed 2 years ago

idiotWu commented 2 years ago

The array parameter should be annotated as number[] as we can construct Mat types besides CV_8UC1.