The invention provides an audio and video test method and
system for an intelligent terminal. The method comprises the following steps: acquiring video data; wherein the video data comprises video data and audio data; identifying a tooth image, a face image, a tongue image and a
throat image from the video data; extracting audio data and
subtitle data corresponding to the tooth image, the face image, the tongue image and the
throat image; converting the tooth image, the face image, the tongue image and the
throat image into a tooth motion sequence, a face motion sequence, a tongue motion sequence and a throat motion sequence; creating test class objects of the audio data and the
subtitle data, determining code positions of the test class objects of the audio data and the
subtitle data, and generating a test API interface according to the code positions; and inputting the tooth motion sequence, the face motion sequence, the tongue motion sequence, the throat motion sequence, the audio data and the subtitle data into the test API interface for testing to obtain the specific
occupancy rate and the
power consumption change data of the intelligent terminal, and establishing a new audio and video linkage test class. Two APIs need to be packaged separately for different audios or videos, code resources are saved, the testing efficiency and the
automation degree are improved, the labor cost is effectively reduced, the deviation degree of video images and audios or subtitles is calibrated through data predicted by an intelligent model, and a more accurate testing result is provided.