I am using a 16x16 colour image; I wrote small code for that but could not perform it precisely.
import numpy as np
from patchify import patchify
image = cv2.imread('subbu_i.jpg')
print(image.shape)
patches = patchify(image, (4,4), step=1)
print(patches.shape)
Any ideas?

