Tell us about yourself!
You could use a pressure sensor at the fan outlet. This should give you a reasonably steady state signal between the two flow regimes for static beans (higher pressure), and fluidised beans (lower pressure). I'm not sure if the relationship will be linear, but there will be a relative pressure drop (pressure over fan speed) once the beans fluidise. You could slowly increase fan speed until you notice a step change in pressure.