To solve the problems above, we develop a novel automatic calibration system based on image recognition technology for frequency weighting functions of SLM in both anechoic chamber and active coupler. The system can realise automation of the whole calibration process which includes calibrating the sound fields, reading the digital indication on the display screen, calculating and generating reports. The performance of the system has been tested in terms of accuracy, efficiency and universality.