Closed backrunner closed 9 months ago
I think this may be a work around for right now? (contours.size() as any as number)
I think this may be a work around for right now?
(contours.size() as any as number)
That's exactly what I'm doing now, but the type issue is still painful🥲
Seems that mirada is not maintained now 😢 . Does anyone know any alternative?
The plan is moving the typescript definitions from mirada to this repo. We’ll maintain them here. This is in progress.
Fixed in v4.8.0-release.6
After the
cv.findContours
executed,contours.size()
will be typed ascv.Size
, it should be a number.