The invention relates to the field of specifications, and discloses a method and
system for generating a
software electronic specification based on a large
language model.The method comprises the steps that each video frame of a
software operation video is extracted, a corresponding video frame image is obtained according to each video frame, all the video frame images and interface screenshots are processed, and the processed video frame images and interface screenshots are obtained; determining the interface level of the interface element image according to the number of the information features, determining to perform interface extraction on the interface element image by using a
convolutional neural network model or
image processing based on the interface level, verifying whether the interface element of the interface element image is correct based on historical data, and if the interface element of the interface element image is incorrect, performing interface extraction on the interface element image. Re-determining the interface elements of the interface element image by using a clustering
algorithm; text information of an interface element image is obtained by adopting an OCR technology, and a
software electronic specification is generated by adopting a large
language model. The method has the characteristics of comprehensively
processing the data and automatically generating the software electronic specification.