Opencv.js how to use cv.polylines? no documentation found anywhere

that entirely depends on your data. you can’t state that generally.