How can I improve the camera recognition rate

I am using a library called codescanner that uses AVFoundation.

qr camera There are cases where recognition is difficult in rainy weather or when light is reflected. Is there a way to increase the recognition rate?

How can I improve the camera recognition rate
 
 
Q