1. A method of determining quality of peanut raw material suitable for protein processing, comprising: with a controller, determining each of a fruit shape score, a total protein content, a leucine content, an arginine content, a conarachin I content, and a mass percentage of a subunit with a molecular weight of 23.5 kDa to total protein in a peanut sample to be tested, wherein determining the fruit shape score comprises obtaining image data from a camera, and with the controller, analyzing the image data, the analyzing including categorizing a fruit shape of the peanut sample, and wherein when the fruit shape of the peanut sample is categorized as hockey stick-shaped, the fruit shape score is 1; when the fruit shape of the peanut sample is categorized as hump-shaped, the fruit shape score is 2; when the fruit shape of the peanut sample is categorized as string of beads-shaped, the fruit shape score is 3; when the fruit shape of the peanut sample is categorized as an ordinary shape, the fruit shape score is 4; when the fruit shape of the peanut sample is categorized as wasp waist-shaped, the fruit shape score is 5; when the fruit shape of the peanut sample is categorized as calabash-shaped, the fruit shape score is 6; when the fruit shape of the peanut sample is categorized as cocoon-shaped, the fruit shape score is 7; and when the fruit shape of the peanut sample is categorized as axe-shaped, the fruit shape score is 8, wherein the total protein content, leucine content, and arginine content are mass percentages of protein, leucine, and arginine to the peanut sample respectively, wherein the conarachin I content is a mass percentage of conarachin I to total protein, wherein the method further comprises, with the controller, putting the above determined values into the following equation to obtain a protein powder quality of the peanut sample: peanut protein powder quality=1.656−0.046×fruit shape score+0.007×total protein content−0.91×leucine content+0.005×arginine content−0.013×conarachin I content−0.017×mass percentage of the subunit with the molecular weight of 23.5 kDa to total protein, wherein the method further comprises, with the controller, displaying the peanut protein powder quality and/or transmitting the peanut protein powder quality to another electronic system, and adjusting an actuator based on the determined quality.