12 13 *Correspondence should be addressed to Yosuke Toda; tyosuke@aquaseerser.com 14 15Incorporating deep learning in the image analysis pipeline has opened the possibility of introducing precision 16 phenotyping in the field of agriculture. However, to train the neural network, a sufficient amount of training 17 data must be prepared, which requires a time-consuming manual data annotation process that often becomes 18 the limiting step. Here, we show that an instance segmentation neural network (Mask R-CNN) aimed to 19 phenotype the barley seed morphology of various cultivars, can be sufficiently trained purely by a 20 synthetically generated dataset. Our attempt is based on the concept of domain randomization, where a large 21 amount of image is generated by randomly orienting the seed object to a virtual canvas. After training with 22 such a dataset, performance based on recall and the average Precision of the real-world test dataset achieved 23 96% and 95%, respectively. Applying our pipeline enables extraction of morphological parameters at a large 24 scale, enabling precise characterization of the natural variation of barley from a multivariate perspective. 25Importantly, we show that our approach is effective not only for barley seeds but also for various crops 26 including rice, lettuce, oat, and wheat, and thus supporting the fact that the performance benefits of this 27 technique is generic. We propose that constructing and utilizing such synthetic data can be a powerful method 28 to alleviate human labor costs needed to prepare the training dataset for deep learning in the agricultural 29 domain. 30 31 32