I used python OpenCV to detect and crop text from images, in this case, there are some piece of images which doesn't have letters or any other symbols are also cropped(empty area) are added to the folder I want to remove those specific images I used cv2.findNonZeros
to delete this images but I cannot achieve this,
I want to delete this image using python in my code is there any simple logics to achieve this?