In order to address the issue of time-consuming, labor-intensive traditional industrial tomato sorting, this paper proposes a high-precision tomato recognition strategy and fast automatic grasping system. Firstly, the Swin Transformer module is integrated into YOLOv10 to reduce the resolution of each layer by half and double the number of channels, improving recognition accuracy. Then, the Simple Attention Module (SimAM) and the Efficient Multi-Scale Attention (EMA) attention mechanisms are added to achieve complete integration of features, and the Bi-level Routing Attention (BiFormer) is introduced for dynamic sparse attention and resource allocation. Finally, a lightweight detection head is added to YOLOv10 to improve the accuracy of tiny target detection. To complement the recognition system, a single-vertex and multi-crease (SVMC) origami soft gripper is employed for rapid adaptive grasping of identified objects through bistable deformation. This innovative system enables quick and accurate tomato grasping post-identification, showcasing significant potential for application in fruit and vegetable sorting operations.