Image recognition using TensorFlow.js and Node-RED

  • JavaScript code:
    — — — — — — — — — — — — — — — — — — — — — — — — — — —
    var imageSegmenter = global.get(‘imageSegmenter’);
    imageSegmenter.predict(msg.payload).then(function (response) {
    msg.payload = response.objectsDetected;
    node.send(msg);
    });
    — — — — — — — — — — — — — — — — — — — — — — — — — — —
  • Name: image segmenter

--

--

--

Researcher, Hitachi, Ltd. https://www.hitachi.com/rd/sc/story/nodered

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CRUD with JavaScript FETCH

Fix Vue dev Hot-Reload when running under a proxy

Filtering Data with React Routing

Top Articles of the Week — React, React Router, Redux, React Native, VueJS, GraphQL, Hyperapp, and…

CSS Animations

Starter template for NestJS TypeORM PostgreSQL Docker

Everything React Developers need to know about Material-UI

Everything you should know about Promise

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kazuhito Yokoi

Kazuhito Yokoi

Researcher, Hitachi, Ltd. https://www.hitachi.com/rd/sc/story/nodered

More from Medium

Facial recognition with face-api.js and react

Machine Learning with TensorFlow.js (Yes, JavaScript) | Image Classification and Object Detection

A cute dog with a pink background and text saying tensorflow.js machine learning with javascript

OCR Preprocessing API: Get the Angle of the Page, Document or Receipt for an OCR Conversion

Rock-Paper -Scissors-Lizard-Spock 🗿 📝 ✂️ 🦎 🖖