Wonderful idea! A barcode that indicates freshness! The barcode fades as the produce gets "older". When the indicator reaches "0", time to chuck it out or not buy it!
I wonder though if the barcode will prevent less than good intentions like placing a fresh code on stale items.