Rock Detection for Soybean Cutter Bar

would like a device to be able to detect rocks ahead of the cutter bar while harvesting soybean (could also be useful for wheat and other small grains). Alert operator and or raise bar automatically to avoid snagging the rock. 
 
Prevent down time and repairs needed for equipment due to rocks