To improve the extraction accuracy of eucalyptus from Sentinel-2A image, two key factors of feature construction and extraction model are considered. The original band spectrum, custom vegetation index, red edge spectral index, and texture features are obtained from the image. The Relief F-PSO-SVM model is used to screen out the best feature subset. A UPerNet-Twins combination model is used to realize the high-precision extraction of eucalyptus for the study area. The experiments show that the original spectrum plays a significant role in the extraction of eucalyptus. In addition, the texture features, vegetation index, and red edge spectral index are helpful to the extraction of eucalyptus, which are increased by about 5.84%, 3.81%, and 3.00%, respectively, compared with the IOU of the original spectrum. Moreover, the IOU of the optimal feature subset obtained by feature selection is increased by about 2.22% compared with the original feature set. The UPerNet-Twins combination model has the highest extraction accuracy of eucalyptus with an IOU of 0.8496 compared with DeeplabV3+, PspNet-UNet, FCN, UperNet, and UperNet-Vision Transformers models.