theothergrantdavidson / opencv-ts

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

cv.imread() overload in types definition #3

Closed hillin closed 3 years ago

hillin commented 3 years ago

cv.imread() should be able to accept either an id string or a reference to a canvas or image element. The element reference overload seems absent in the types definition.

theothergrantdavidson commented 3 years ago

Thanks for pointing it out, still actively working on this so if you come past anything feel free to open more issues. Updated here

hillin commented 3 years ago

Thanks for the quick response, good job!