count objects & polygons opencv.js

asked 2019-02-08 08:24:06 -0600

bear gravatar image

Hi,

I'm working with the watershed algorithm example, here https://docs.opencv.org/3.4/js_waters..., 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!

edit retag flag offensive close merge delete