There is a project linked to the Open Food Facts nonprofit of collecting prices of any products (food or other) with bar codes https://prices.openfoodfacts.org/about. They have a system for automatic price detection from labels and working on one from receipts.