Hi! I am a rookie developer learning to code python with Cuda. I want to GPUize the following scanning window code:
def sliding_window(image, stepSize, windowSize): # slide a window across the image for y in range(0, image.shape, stepSize): for x in range(0, image.shape, stepSize): # yield the current window yield (x, y, image[y:y + windowSize, x:x + windowSize])
Please show me a way forward.