How do I sort my beans before I cook them?

The resolution is defined by the smallest distance between two legumes that still allows them to be recognised as two distinct beans. The problem is that these beans have a minimum size, and this size depends in turn on the curvature of the bean.

 

So the crucial question is--How sharp can legumes get? Or, the other way round: How blurry do legumes get?