Prepare Images For CNN
Last updated
Was this helpful?
Last updated
Was this helpful?
Matrices
Number in matrix represents darkness of image in that position (darker part → larger #)
Matrices, but with extra dimension (RGB)
Stack of 3 matrices
We have a numpy array (images
) of these dimensions: (x, )
Need 4D array for input shape whose product is
So we can take and reshape as: