tensorflow / addons

Useful extra functionality for TensorFlow 2.x maintained by SIG-addons
Apache License 2.0
1.69k stars 610 forks source link

Find centers of connected components #2778

Closed PasaImage closed 1 year ago

PasaImage commented 1 year ago

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

seanpmorgan commented 1 year ago

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