Product recognition demo for supermarket shelf images
load_shelf_skus ran after write_catalog, so a missing path or a malformed list escaped as a raw traceback over a catalog that had already been replaced. It is now read inside the try, before anything is written, so both cases fail with the tool's own message and the destination is untouched. Adds BadShelfListFailsBeforeTheSwapTests, which asserts the clean message and that the output path does not exist. Re-injecting the ordering fails both tests with the raw FileNotFoundError. Suite 274 -> 276. |
||
|---|---|---|
| .github/workflows | ||
| recognization | ||
| .gitignore | ||