Answer the question
In order to leave comments, you need to log in
How to process an image per pixel in js?
Good afternoon. Playing around with neural networks, trying to make my bike with crutches and a bar to recognize handwritten numbers. I used the brain.js library, trained the neural network using samples from the network, and tested it on test samples. But now naturally I want to process my images. The task is to center the custom image, scale the images to a given pixel value, and perform binarization. The result should be a normalized array of pixels where 0 is white and 1 is black. The question is how to process images. I smoked the node-canvas API and did not find anything worthwhile (most likely I looked badly). Maybe someone poke their nose? Or perhaps there are other solutions?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question