<generator object _locateAll_opencv at 0x0000018AFD221970> code example Example: convert generator to list python g_to_list = list(g) # where g is a generator