Abstract
A green coffee bean identification method includes obtaining an image of a green coffee bean by an image capture device, wherein the image includes a plurality of pixels, reading an average value weight, a standard deviation weight, and a threshold value corresponding to the green coffee bean from a memory; extracting grayscale values of red, green and blue for each of the plurality of pixels from the image; calculating an average value and a standard deviation corresponding to the green coffee bean according to the approximate normal distribution of the grayscale values; and multiply the average value and standard deviation by the average value weight and the standard deviation weight respectively then summing to calculate a scoring value; wherein when the scoring value is less than the threshold value, the green coffee bean is identified as a qualified bean.