tensorflow/addons

Find centers of connected components

PasaImage opened this issue · 1 comments

If I had tensor image I can use tfa.image.connected_components(image) to find components but how can I find centers of each components ?

I suggest a function like OpenCV function connectedcomponentswithstats

TensorFlow Addons is transitioning to a minimal maintenance and release mode. New features will not be added to this repository. For more information, please see our public messaging on this decision:
TensorFlow Addons Wind Down

Please consider sending feature requests / contributions to other repositories in the TF community with a similar charters to TFA:
Keras
Keras-CV
Keras-NLP