Quick start

Help

To show available commands and information on how to use PnVision, run:

pnvision --help

To get help about a specific subcommand, call:

kmake {subcommand} --help

Output generation

To use most of the commands you have to first generate a PCB scan with OpenPnP.

Follow this guide to generate a sample output from the example/ directory.

cd example/

Report

To generate a report, run:

pnvision report report.json

The newly created report directory will contain a report generated from the scan.

Stitch

To generate a full board image, run:

pnvision stitch board/

You should see a full_board.png file in the board/ directory.

Code

To read a QR code or a barcode from the image, use:

pnvision code full_board.png

Version

To print the PnVision version that will be saved to report.json, use:

pnvision version

Detect-cv

To compare the data in report.json with the state of placements in the components/ directory using open-cv, use:

bash

pnvision detect-cv report.json components/

Last update: 2026-11-24