Classify images according to the place/location labels in the Places365 data set

This flow uses the https://developer.ibm.com/exchanges/models/all/max-scene-classifier/ deep learning model from the Model Asset Exchange to classify images according to the place/location labels in the Places365 data set. Refer to the documentation for information about the returned message.

Install the following two modules to run this example flow:

Note: The scene-classifier node has been pre-configured to use a hosted evaluation instance. We recommend using your own local or cloud instance for non-development use.

[{"id":"7fbd0b65.a9fb64","type":"tab","label":"Scene Classifier example flow","disabled":false,"info":"This flow uses the https://developer.ibm.com/exchanges/models/all/max-scene-classifier/ deep learning model from the Model Asset Exchange to classify images according to the place/location labels in the Places365 data set. Refer to the documentation for information about the returned message.\n\nInstall the following two modules to run this example flow:\n - [node-red-contrib-model-asset-exchange](https://www.npmjs.com/package/node-red-contrib-model-asset-exchange)\n - [node-red-contrib-browser-utils](https://www.npmjs.com/package/node-red-contrib-browser-utils)\n \n> Note: The scene-classifier node has been pre-configured to use a hosted evaluation instance. We recommend using your own local or cloud instance for non-development use."},{"id":"e3e7d43a.641db8","type":"debug","z":"7fbd0b65.a9fb64","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":610,"y":120,"wires":[]},{"id":"884f9fce.be57d","type":"fileinject","z":"7fbd0b65.a9fb64","name":"","x":140,"y":120,"wires":[["f2af1f9b.8baa5"]]},{"id":"6988eedb.2f302","type":"camera","z":"7fbd0b65.a9fb64","name":"","x":150,"y":180,"wires":[["f2af1f9b.8baa5"]]},{"id":"c785e84c.be4d58","type":"comment","z":"7fbd0b65.a9fb64","name":"Classify images according to the place/location labels in the Places365 data set.","info":"","x":320,"y":40,"wires":[]},{"id":"f2af1f9b.8baa5","type":"scene-classifier","z":"7fbd0b65.a9fb64","service":"39a2e445.d7a41c","method":"predict","predict_image":"","predict_imageType":"str","name":"","x":359.5,"y":120,"wires":[["e3e7d43a.641db8"]]},{"id":"39a2e445.d7a41c","type":"scene-classifier-service","z":"","host":"https://max-scene-classifier.max.us-south.containers.appdomain.cloud","name":"cloud"}]

Flow Info

Created 1 year, 8 months ago
Rating: not yet rated

Owner

Node Types

Core
  • comment (x1)
  • debug (x1)
  • tab (x1)
Other

Tags

  • scene
  • classifier
  • places365
  • max
  • deep
  • learning
  • image
  • classification
  • recognition
  • pytorch
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option