> but I would use a simpler solution if one existed

I often thought about a magnetic barcode scanner that is attached to the fridge and connected to some form of inventory app, but it would be useless at fresh produce without a barcode.