BOM Extract
Detect bill-of-materials tables on drawings, with review, edit, and multiple export options.
Overview
BOM Extract locates bill-of-materials tables on engineering drawings and outputs structured rows and columns. The result page shows the drawing on the left and tables on the right; clicking a row or cell highlights the matching region on the drawing for review.
A drawing may contain multiple tables. You can browse by page or show all tables, then search, focus, delete, or export as needed.
How to open
- Open the Playground and choose BOM Extract
- Upload a PDF/image or use a sample file
- When parsing finishes, review recognized tables on the result page
Main flow
- Upload → watch progress → open results
- Browse tables; click rows/cells to locate regions on the drawing
- Search, edit cells, switch layout, or delete false tables as needed
- Export JSON / Excel / Markdown / CSV, or use template export
Confidence and review
Rows and cells may include a confidence score from 0 to 1. When a row or cell score is below 0.8, a low-confidence warning appears (hints and a light red wash on the table title, row, or cell) so you can review manually.
Opening the edit popover on a low-confidence cell and clicking Confirm marks it as reviewed—whether you changed the text or not. The low-confidence warning is removed and replaced with a green left border and a check icon (“Reviewed”).
When every low-confidence cell in a row has been confirmed, that row’s low-confidence hint and highlight clear as well. When the table no longer has unresolved low-confidence cells (and no remaining unresolved low-confidence rows), the hint next to the table title also clears.
Missing non-numeric confidence does not trigger the warning. High confidence does not guarantee correctness—misses, misreads, or misaligned cells can still occur. Always cross-check critical values against the source region on the drawing.
- Table: a hint appears next to the title while any unconfirmed low-confidence row or cell remains
- Row: whole-row score below 0.8 highlights the row with a warning; after all low-confidence cells in the row are confirmed, the row warning clears
- Cell: score below 0.8 highlights the cell with a warning; after confirm in the editor, it switches to the reviewed style (green border + check)
Original layout vs flat list
When the result includes merged cells (rowspan/colspan), a toggle appears between Original layout and Flat list:
- Original layout: keeps merged cells as on the drawing, useful for comparing table structure
- Flat list: expands merges into standard data rows (with a row index and unified headers) for line-by-line review and export
- Tables without merges show only the flat list (no toggle)
Search table content
Use the result search box to filter rows by keyword (case-insensitive match across columns). Matches are highlighted; if nothing matches, “No matches” is shown. Search is lightly debounced so results update shortly after you stop typing.
Focus table
Focus table zooms the drawing viewport to that table’s bounding box so the table fills the viewer for closer inspection—it is not browser fullscreen.
- Use the focus control on the table toolbar, or “Zoom to this table” on the drawing overlay
- While focused, jump to the previous/next focusable table or exit to show the full drawing
- Focus requires a valid table region on the drawing
Delete table
Delete a misdetected or unwanted table from the table toolbar. After confirmation, it is removed from the current result and from exports.
A short-lived toast lets you Undo; once dismissed, restore is no longer available. Refreshing or reopening the task clears session delete state.
Delete row
Delete a misdetected or unwanted data row. Hover a row to reveal the delete control at the end; after confirmation the row is removed from the result and from exports, and can be undone briefly.
Header rows cannot be deleted (the flat-list header, and structure rows marked as header). If the header was misdetected, a later “set as header” action will cover that case.
Hover and edit cells on the drawing
When a cell has a source box on the drawing, you can interact with it on the left viewer without clicking the table first.
- Hover: highlights the cell region and, after a short delay, shows a read-only tip (column name and current value; low-confidence cells show a warning mark)
- Click: opens the same edit popover as the table (editable text with Cancel / Confirm); edited/reviewed styles match the table
- While selected, you can still drag to adjust the cell box; clicking empty space closes the editor (with a discard confirm if there are unsaved changes)
- In pan or magnifier mode, drawing cell interaction is disabled so it does not fight those gestures
Edit cells and source region
Click any cell in the right-hand table, or the matching cell box on the drawing, to open an edit popover and verify or correct the extracted text against the source region.
- The popover shows the column name and editable text
- If the cell has a source box, a cropped “Source region” preview appears; zoom and pan to compare with the drawing
- After confirm, the result table shows the corrected value (with a green edited/reviewed marker when applicable)
- For a low-confidence cell: confirming clears the warning and switches to the check “Reviewed” style (even if the text is unchanged)
- Text corrections are kept for the current result session; refreshing restores the extracted values. Exports currently use the extraction result
Export
Export recognized tables in several formats (based on flattened row/column data):
- JSON: structured table names, columns, and rows (may include cell regions)
- Excel: one sheet per recognized table
- Markdown: easy to paste into documents
- CSV: plain-text tables for spreadsheet tools
- ZIP bundle (when a source file is available): source file plus the formats above
- Template export: fill your own Excel headers (see next section)
Template export
Template export writes extracted values into an existing Excel header layout used by your team.
- If multiple tables were found, pick the BOM table to export first
- Upload an .xlsx template (first sheet; row 1 is treated as column headers)
- The system analyzes template columns vs extracted columns and auto-matches them
- Adjust mappings manually: map a template column to an extracted field, or ignore it
- Preview the first few mapped rows, then confirm to download an Excel file filled to the template structure
- Auto-match uses a separate column-name similarity score (not the OCR 0.8 threshold); weaker matches are flagged as low confidence for manual review
Tips
- Hover or click cell boxes on the drawing, or work in the table—both stay highlight-linked
- Prioritize low-confidence cells: open the editor and confirm to finish manual review
- Exports use the flat list structure; Original layout is mainly for reviewing merges
- With multiple tables, use page/all view and table navigation