DEV Community 👩‍💻👨‍💻

Discussion on: Machine Learning In Node.js With TensorFlow.js

jthomas profile image
James Thomas Author

Hello Aral, tf.fromPixels can only be used in the browser I'm afraid. It extract pixels from DOM elements like video, image or canvas tags, rather than native buffers.

aralroca profile image
Aral Roca

Thank you for that clarification! I would like to try tfjs in node.js!