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.
Thank you for that clarification! I would like to try tfjs in node.js!
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.