I faced this issue after android 10 update in my redmi note 7 pro. The camera freezes after taking one photo for scanning, it doesn't go automatically for the next photo scan. The camera button also grayed. I have to either clear the phone cache or press power on/off button everytime i need to scan next photo. Please fix this issue.
My redmi note 7 pro has the exact same isuue and my friend's redmi note 7 pro also has the issue. I think its common for all redmi note 7 pros.