This paper presents two automatic methods for visual grading, deterministic and probabilistic, designed to solve the industrial problem of evaluation of seed lots from the characterization of a representative sample. The sample is thrown in bulk onto a tray placed in a chamber for acquiring color image in a controlled and reproducible manner. Two image-processing methods have been developed to separate and then characterize each seed present in the image. A shape learning is performed on isolated seeds. Collected information is used for the segmentation. The first approach adopted for the segmentation step is based on simple criteria such as regions, edges, and normals to the boundary. Marked point processes are used in the second approach, leading to tackling of the problem by a technique of energy minimization. In both approaches, an active contour with prior shape is performed to improve the results. A classification is done on shape or color descriptors to evaluate the quality of the sample.