Getting the blocks of an image using a generator
I am trying to generate blocks from images (using bob.ip.base.block
) but since all blocks are output at once, I run out of memory.
Is there a way to get these blocks one-by-one instead?
Edited by Amir MOHAMMADI