High-resolution recognition of FOAM modes via an improved EfficientNet V2 based convolutional neural network