seanchas116 / node-tflite

TensorFlow Lite bindings for Node.js
https://www.npmjs.com/package/node-tflite
MIT License
14 stars 6 forks source link

Add simpler API to convert between image/string/array and Tensor #8

Open seanchas116 opened 4 years ago

jlarmstrongiv commented 4 years ago

This feature would be fantastic!!

Just something to consider, there are several popular image resizing libraries on npm, such as canvas, jimp, and sharp. Using these libraries in different environments, such as lambda or electron, can be challenging with native modules. The flip side is that pure js libraries, such as jimp, don’t support svg. Feel free to check out some implementations in the example.