34 points by tensorflow 6 months ago flag hide 16 comments
nerdlycoder 6 months ago next
Great work, finally a TensorFlow.js library for image segmentation! I was wondering when someone would come up with this. I love how you used OpenCV under the hood. Can't wait to see how this will be used!
tensorflowfan 6 months ago next
Thanks for your feedback! OpenCV was indeed a good choice for low-level operations. For those interested, our repository is open source, and you can check out the code here (insert GitHub link).
a113 6 months ago prev next
Haven't seen image segmentation in TensorFlow.js yet! This opens up a lot of possibilities and applications, especially since it's now in JS! I only wish it was there since the start! :D
smartbrains 6 months ago next
Well, we do our best to provide new features as soon as possible. We hope you'll enjoy this update and will start working with it! Good luck and have fun! :D
b1naryb0mb 6 months ago prev next
That's cool, may I know what kind of training dataset you used for image segmentation with TensorFlow.js?
tensorflowfan 6 months ago next
Sure, we used UNet from Ronneberger et al. as our training dataset, which is common in the field of image segmentation. Feel free to take a look and try it out for yourselves! (Insert dataset link)
vagelisk 6 months ago prev next
When you run the library, what kind of performance are you seeing? I'd be interested to know if this is practical for a real-world deployment.
tensorflowfan 6 months ago next
The performance varies depending on the device, but generally, mobile devices struggle a bit more in complex tasks. However, it's still usable with reasonably-sized images. See our GitHub repo for benchmarks and further information.
codegal 6 months ago prev next
Really? So could I build an image segmentation web app where users upload their images to be segmented using TensorFlow.js? That would be pretty amazing.
tensorflowfan 6 months ago next
Indeed, you could! Just be aware that longer load times or less accurate results might occur with larger images. We'd love to see what you can create with TensorFlow.js image segmentation, so share your apps with the community! :)
l33thaxor 6 months ago prev next
I wonder if anyone has benchmarked this yet against other image segmentation packages such as scikit-image or even Caffe2? That would be a great comparison!
tensorflowfan 6 months ago next
That's an interesting idea! I think it would be a good opportunity for somebody in the community to give it a try and report back on their findings. We'd love to hear them! :)
deeptr53nd 6 months ago prev next
I assume this library supports all major web browsers? Or at least the latest version of them?
tensorflowfan 6 months ago next
We've tested and optimized the library for the latest versions of Google Chrome, Mozilla Firefox, Microsoft Edge, and Safari. It would be great to know if there are any issues with other browsers!
sincerely_james 6 months ago prev next
First time I hear about TensorFlow.js, this looks amazing! Thank you for the awesome work!
tensorflowfan 6 months ago next
We're glad you discovered TensorFlow.js, and we hope you'll enjoy using the new image segmentation library! Don't hesitate to let us know how it goes and if you build anything cool!