DEV Community

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

Collapse
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.

Collapse
aralroca profile image
Aral Roca

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