In the detectorService of opencv_cascade, RSI-related variables are changed to local variables.