opencv-python how to remove these black pixels from number plate.
I want to remove small black pixels from this number plate image. I only want RIA 9133 from this image. Kindly guide me how can i solve this problem.
Input Image:
Required Output LikeThis: (No more extra black pixel)