AIO Process Optimization: photoreal rendering for synthetic PCB data

Simple-Sim now renders its synthetic component and defect images photorealistically instead of as flat vector shapes. Still in progress, but the results already look good. Next, the renders go into real datasets to measure whether the main models trained on real data get better or worse — and to train them on specific weak spots.

Synthetic renders, good and defective

The new photoreal style is calibrated against photos of real assembled production boards: solder-mask colour, copper traces and vias under the mask, silkscreen, neighbouring parts, metallic solder joints, IC bodies with laser marking and shadows. A camera model adds lens blur, uneven lighting and sensor noise so the images stop looking vector-sharp. Residue such as flux, contamination and patch wires is placed outside the inspected part, so the model learns to ignore it.

The defect classes stay the same — missing, misaligned, tombstone, solder bridge, corner lift, and new: solder balls and excess solder. The picture shows resistors, QFN and SOIC packages and SOT-23 transistors, each with good and faulty samples.

The next step is the real test: mixing the renders into real datasets and measuring with a sim-to-real comparison whether the main models improve or degrade, then generating data for the defects they still miss.

synthetic-datarenderingaoi
Project page: AIO Process Optimization