Juliu · @juliu
47 followers · 360 posts · Server indieweb.social

In react native, trying to convert an image into an array of color values for each pixel (or just floats for how dark). But can't figure it out yet.

I use react-native-view-shot to get either uri (I can place in image component), base64 (think it's png encoded), or 'raw' string.

My goal is a-typical I guess.. I want to use that array as input for a simple neural network to classify the image.

#neuralnet #convert #image #javascript #raw #base64 #reactnativ

Last updated 2 years ago