What should I do if I forget the password for the camera security settings?

Delete the device in Mi Home APP, then use a needle to insert it into the reset hole of the camera, hold it for about 5 seconds, and then re-add the camera to Mi Home APP.