Ask Your Question

Revision history [back]

count objects & polygons opencv.js

Hi,

I'm working with the watershed algorithm example, here https://docs.opencv.org/3.4/js_watershed_watershed.html, and I was wondering...

  • How do I count the objects that are drawn?
  • Is there any way to get point data from that? (ie. polygons)

Any help is greatly appreciated.

Thanks!