> For the complete documentation index, see [llms.txt](https://docs.unitlab.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unitlab.ai/solutions/industry-solutions-guides/manufacturing-and-mining.md). Agents can also search and read this documentation through its [MCP server](https://docs.unitlab.ai/~gitbook/mcp).

# Manufacturing

Label PCB defects against a golden board, track parts and hands in factory test video, and review station episodes with their sensor log.

Inspection and assembly teams use Unitlab to label defects, parts and operator actions, and to keep every camera, image and sensor log of one inspection together in a single task.

<figure><img src="https://2337177515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6jXAxtoN6UXTLAJFexq%2Fuploads%2Fwt4UeDU1nzV4FtVKgSN1%2Fsol-mfg-pcb-golden-compare.webp?alt=media" alt="An inspected PCB with defect boxes labeled Critical and Major, shown next to its defect-free golden template, with the board verdict set to Scrap" width="800"><figcaption><p>The inspected board and its golden template open side by side. Each defect box carries a severity, and the board gets one verdict.</p></figcaption></figure>

## PCB defect inspection against a golden template

**Data:** inspected board image + golden template image, grouped · **Tools:** Bounding box, Data Groups · **Ontology:** Open circuit, Short, Mouse bite, Spur, Spurious copper, Pin hole (property: Severity = Critical / Major / Minor); item properties Board verdict, Inspection station

An automated optical inspection (AOI) line flags a board. The annotator confirms each defect and decides whether the board passes, needs rework or is scrapped.

1. Upload each inspected image together with its golden template, and group them by board ID into one Data Group, so both open in one task.
2. Draw a box around every difference from the template and pick its class, for example **Open circuit** or **Short**.
3. Set **Severity** on each box, for example **Critical** for a defect that breaks the circuit.
4. In **Item properties**, set **Board verdict** (Pass, Rework or Scrap) and the **Inspection station** that flagged it.
5. Send the task to review. The reviewer sees the same pair and can reject single boxes with a reason.

The released dataset keeps the verdict next to the boxes, so you can train a defect detector and a pass/fail classifier from one export.

## Parts and actions in test-station video

**Data:** head-camera video of a PCB test station · **Tools:** Bounding box, Polygon, Auto-tracking, timeline text tracks · **Ontology:** Hand (polygon), board in test fixture, test fixture tray, handheld probe, finger cot and other part classes (boxes); Visible action and Coworker action (text tracks)

<figure><img src="https://2337177515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6jXAxtoN6UXTLAJFexq%2Fuploads%2FGVn6vKHCoxBgSQ80tJtP%2Fsol-mfg-pcb-test-video.webp?alt=media" alt="Head-camera video of a PCB test station with boxes on boards, trays and a fixture, polygons on the operator&#x27;s gloved hands, and action segments such as contact board with probe on the timeline" width="800"><figcaption><p>Boards, trays and hands are tracked through the clip. Text tracks on the timeline describe what the operator does and when.</p></figcaption></figure>

1. Box the fixture, trays and each **board in test fixture** on the first frame, and outline the operator's hands with polygons.
2. Use **Tracking** to follow each object through the clip, then correct the frames where it drifts.
3. On the **Visible action** track, mark segments such as *bring probe to board* or *contact board with probe*. Use **Coworker action** for a second person in view.
4. Blur faces and ID badges before upload if the footage shows workers.

The result trains step recognition for cycle-time analysis and for robots that learn the task from demonstration.

## One test-station episode across four sources

**Data:** head-camera video, start frame, test-pad sensor CSV and the work-instruction PDF, grouped per episode · **Tools:** Data Groups, custom layout, Bounding box, Polygon, time-series intervals · **Ontology:** Test pad, Watch, Hand

<figure><img src="https://2337177515-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi6jXAxtoN6UXTLAJFexq%2Fuploads%2FNbU8y6pqUzG6nhT7ruh3%2Fsol-mfg-smartwatch-station.webp?alt=media" alt="Four tiles of one smartwatch test episode: head-camera video with tracked hands and watches, the start frame, the test-pad current plot with highlighted intervals, and the work instruction PDF" width="800"><figcaption><p>The video, the start frame, the pad current and the work instruction of one episode open together. Current peaks line up with the moments the watch sits on the pad.</p></figcaption></figure>

1. Upload the four files of each episode with a shared episode ID, and group them into one Data Group.
2. Pick a 2 x 2 layout so the annotator sees every source at once.
3. Track hands and watches in the video, and mark each current peak in the sensor plot as an interval.
4. Use the PDF to check that the operator followed each step of the instruction.

***

<sup>PCB images: DeepPCB dataset (Tang et al.), MIT License.</sup>
