person-blocker
person-blocker copied to clipboard
When I use a no-human picture to detect only human, the error is as bellowed:
image_masked[mask_selected > 0] = noisy_color[mask_selected > 0] IndexError: boolean index did not match indexed array along dimension 1; dimension is 640 but corresponding boolean dimension is 28
How could I solve that? Thanks!!
The same question when I ran this codes as follows
IndexError: boolean index did not match indexed array along dimension 1; dimension is 640 but corresponding boolean dimension is 28
what I shold do? Thanks a lot!