Overview
OCSRGlyph converts images of ordinary molecular structures into SMILES with a vision encoder and transformer decoder.
The glyph CLI and Python OCSRPredictor interface support image inference on CPU or CUDA. Released checkpoints download from Hugging Face.
Recognition errors and stereochemistry require checking against reference structures. Apache-2.0 covers the repository and released model; upstream datasets and dependencies retain their own terms.
Key Features
- The glyph CLI and Python OCSRPredictor interface support image inference on CPU or CUDA. Released checkpoints download from Hugging Face.
Use Cases
- Extract candidate molecular structures from individual chemical drawings for subsequent identity checks.
How to Use
Use Python 3.11+ and the documented ocsr extra. Select a local image and checkpoint, then inspect the predicted SMILES before downstream use.
See the official repository for installation and interface details: https://github.com/EdisonScientific/glyph
Sources and verification
This entry describes capabilities documented by the linked project sources. Catalog edits are not evidence of a successful run, compatibility test or scientific performance evaluation.
Read the editorial and verification policy