all AI news
Observable notebook: Detect objects in images
Simon Willison's Weblog simonwillison.net
Observable notebook: Detect objects in images
I built an Observable notebook that uses Transformers.js and the Xenova/detra-resnet-50 model to detect objects in images, entirely running within your browser. You can select an image using a file picker and it will show you that image with bounding boxes and labels drawn around items within it. I have a demo image showing some pelicans flying ahead, but it works with any image you give it - all without uploading that image to …
ai browser image images javascript labels machinelearning notebook objects observable resnet resnet-50 running show transformers