Barcode and image-based coin identification, listing, and label generation.
This repository is a plugin for the Object Scanning & Listing Tool (Core Backend).
It adds support for the "coin" item type, including:
- CoinScanner: Barcode/image-based coin identification
- CoinListingBuilder: Listing generation for coins
- CoinLabelWriter: Label creation for coins
Note: This is not a standalone tool. It must be used with the core backend.
-
Install the Core Backend
- See: Core Backend README
-
Install this Plugin
- Place this repo in the core backend's
plugins/coin/directory:git clone https://github.com/Cfomodz/PCGS-slab-picture-to-listing-tool-plugin-coin plugins/coin
- Install plugin dependencies:
pip install -r plugins/coin/requirements.txt
- Place this repo in the core backend's
-
Configure
- Add your PCGS API key to
plugins/coin/.env:PCGS_API_KEY=your_key_here
- Add your PCGS API key to
-
Run
- Use the core backend's CLI, specifying the
coinitem type:python main.py coin --images ./images
- Use the core backend's CLI, specifying the
- This plugin registers itself with the core system using the
PluginRegistry. - No manual registration is needed if placed in the correct directory.
- The core backend will auto-discover and use this plugin for all coin-related operations.
- Tests are in the
tests/directory. Run withpytestfrom the plugin root. - For development, ensure you have the core backend available and importable.
LGPL-2.1
💌 Questions? Open an issue or join the Discord!
