The removal of onion of stems and leaves and roots requires the most labor in onion cultivation and management, and it is still manual operation. In order to solve the problems of manpower and market competitiveness caused by rising wages and aging manpower, this research first Investigate and analyze the physical properties of onions, including onion bulb diameter, onion bulb height, stem of leaf length, root length, and trimmed stems of leaves Reserved length. Based on this, a consistent opera