Type quantities manually or use Photo OCR. Empty field = 0. OCR fills only numbers it detects with reasonable confidence.
Enter quantities, then press Calculate.