ATOMLENS 3.1 / MAC HELPApp Store ↗

Scan a Document for Chemistry

Find chemical names and printed structure drawings in a PDF, review every occurrence beside the source page, and import confirmed structures.

Start a scan

  1. Choose File > Scan Document for Chemistry….
  2. Select one PDF with the standard macOS file picker.
  3. For PDFs longer than 10 pages, select the first and last page before scanning. The default is pages 1–10; All Pages selects the whole document. Thumbnails help choose a range. Results retain the original PDF page numbers.
  4. AtomLens opens a native PDF preview, extracts text, and scans the selected pages for chemical names and printed structure drawings.
  5. Review the occurrence table beside the document. Drag the divider when either the PDF or the table needs more room.

The PDF remains read-only. Scanning does not alter the selected document. On iPad, choose Scan PDF in Library or Add > Scan PDF for Chemistry in a document, then select the PDF in Files. The labeled back button returns to the starting screen. After importing, View Library opens your saved structures. Page selection, processing, filtering, and repository import use the same workflow; tap rows to select multiple results.

What happens during a scan

AtomLens processes the document in a series of on-device steps. Some intermediate results are deliberately reused: text positions help match names to drawings and later highlight the source, while the structure read from a drawing supplies the identity used to verify every proposed name.

AI AI-assisted processing. The AI marker identifies work performed by an on-device machine-learning model: OCR fallback, chemical-name recognition, drawing segmentation and recognition, and fallback name generation. Reading embedded PDF objects, parsing chemical descriptions, calculating properties, comparing identities, assembling results, and highlighting the source are deterministic steps.
  1. Prepare the PDF. AtomLens reads embedded text and records where it appears on each page. If a page has no usable text layer, an on-device AI model reads the page with optical character recognition (OCR).
  2. Find chemical names. An on-device AI model finds likely chemical names in the text. AtomLens cautiously repairs common PDF glyph and line-wrap problems, then a deterministic name-to-structure parser checks whether each candidate describes a structure.
  3. Locate structure drawings. AtomLens first looks for embedded image and vector-drawing objects in the PDF. An on-device AI segmentation model examines suitable objects and scans a whole page only when the PDF is a page image or object extraction is incomplete.
  4. Read each drawing. An on-device AI model converts each drawing crop to SMILES. AtomLens independently and deterministically parses that SMILES into the authoritative structure, CML, Standard and Fixed-H identities, and available chemical properties.
  5. Attach a verified name. AtomLens first tries already detected names close to the drawing. If none matches, an offline AI naming model proposes up to five names from the recognized SMILES. A name is attached only when deterministic name parsing reproduces the same Standard and Fixed-H structure identities.
  6. Assemble the results. A matching nearby name and drawing become one row, and selecting it highlights both source areas. Remaining occurrences stay separate and retain their page positions for review, filtering, preview, and import.
Flow diagram with AI markers: PDF preparation supplies positioned text and native drawing objects. AI models perform OCR fallback, chemical-name recognition, fallback drawing segmentation, drawing-to-SMILES recognition, and fallback name generation. Deterministic parsing supplies the authoritative structure and properties. Nearby detected names are tried before generated candidates, and deterministic Standard and Fixed-H identity matching is required before AtomLens assembles the result rows. Text positions and drawing regions are reused for source highlighting.

Understand the results

AI recognition is not ground truth. Separate AI models find name candidates, locate and read printed drawings, and propose systematic-name candidates. AtomLens parses chemical descriptions independently and deterministically. It shows a proposed name only after both Standard and Fixed-H identities match the authoritative drawing structure. A displayed systematic name is not guaranteed to be the unique Preferred IUPAC Name. Always review the highlighted PDF source.

Recognition and accuracy

AtomLens first uses embedded PDF text. When a page does not provide usable text, an on-device AI model can read it with OCR. The scanner then repairs a conservative set of common PDF glyph and line-wrap problems, including chemical names divided across line endings.

For printed drawings, AtomLens first inspects the PDF's own embedded image and vector objects. Suitable objects are used directly or examined by an on-device AI segmentation model. A full-page AI segmentation pass is reserved for page-sized bitmap scans, pages without usable drawing objects, or incomplete object-level preparation. Drawing crops are rendered at 300 DPI with padding before an AI drawing-recognition model reads them. A separate offline AI naming model proposes systematic-name candidates only after drawing recognition, and only when no matching nearby name was found. AI output never replaces the independently parsed CML or defines structure identity. This path is for printed structure drawings, not hand-drawn structures. Dense layouts, labels, reaction schemes, and poor scans can still create missed or false drawing results.

Scans, unusual fonts, diagrams, damaged character maps, multi-column layouts, and adjacent labels can still produce missing, split, or combined candidates. Orange results are useful review leads, not proof that the highlighted words form a valid IUPAC name.

Privacy and offline operation

Back to AtomLens Help

AtomLens 3.1 · Website guide updated 2026-10-18.