i am working on license plate detection and recognition and i want to make my model recognise the plate even in a rainy environment or in bad resolution
This code implemented license plate detection using morphological operators and loosely follows the approach presented by Farhad Faradji, Amir Hossein Rezaie, Majid Ziaratban ”a morphological based license plate location” ICIP 2007.
I would suggest that you look at [1] in it he treats both problems which seem reasonable to me under reasonable environment assumption (proper lighting and reasonable distance without occlusions).
He treats the fog as a low contrast problem and the rain as periodic noise (which I would have initially modeled as pepper noise, but it makes sense to model it as periodical).
Hope this helps
[1] Automatic License Plate Detectionin Hazardous Condition by Samiul Azam