A personal shopping and inventory-tracking device based on the Raspberry Pi