Knowledge
Technical guides with sample code we ran, its real output, and references.
Machine vision2 min readJetPack, Jetson Linux, CUDA and TensorRT: why a video install guide stops workingJetPack bundles Jetson software tied to specific system and hardware versions, so AI programs depend on more than the Python version. Installing libraries from the internet outside the platform's requirements can break driver, runtime or package compatibility.
Machine vision26 min readJetson talking to a PLC: designing request, result, acknowledge and timeoutA runnable Python example: a simulated PLC and vision PC run a REQ/BUSY/DONE/ACK handshake over Modbus TCP, with timeouts at every step, a sequence echo against stale results, heartbeats and recovery after a mid-cycle vision restart.
Machine vision30 min readChoosing Lighting for Machine Vision: Start from the Surface and the DefectCompare dome, coaxial, dark-field ring, bar and backlight on five defect types with a small runnable simulator that measures CNR, plus the effect of ambient light, strobe, filters and saturation. Python and numpy only (Thai text).
Machine vision24 min readChoosing Lens, Camera Resolution and Field of View from the Defect SizeA rough way to work out pixel count, focal length and what to watch for, before buying a camera that is too big or too small.
Machine vision7 min readImaging Parts on a Moving Conveyor: Global Shutter, Exposure Time and StrobeBlurred or skewed images of parts on a conveyor: choose the shutter, calculate exposure time and time the light with the camera.
Machine vision27 min readCollecting Defect Images to Train Inspection AI: What to Gather Besides Bad PartsA good image set is more than pictures of bad parts: a Python toolkit that measures annotator agreement (kappa, IoU), finds near-duplicate frames and splits train/val/test without leakage, with runnable code and real output (Thai text).
Machine vision27 min readFalse Accept vs False Reject: Setting Acceptance Criteria for AI Quality InspectionA runnable Python walkthrough of AI inspection error rates: threshold sweep for FAR/FRR, EER, cost-based thresholds, a manual-check gray zone, and how many test samples you need before claiming a rate.
Machine vision26 min readVision to PLC Handshake: Trigger, Result and Rejecting the Right PartThe camera flags a bad part but the air jet hits the wrong one. PLC logic that ties each result to an encoder count: timing budget, gate pulse, reject by default, discarding duplicates, with runnable code and real output (Thai text).
Machine vision26 min readInspection AI Used to Be Accurate and Now Misses: Tracking Model Drift on the LineA Python (numpy) script that compares weekly model confidence, image brightness and reject rate against a reference window with PSI and KS, with real output, alert thresholds and what to do on an alert: check light and camera first, sample images for relabelling, then a retrain gate (Thai text).
Machine vision26 min readMeasuring with a Camera: Calibration, Distortion and Re-checkingA simulated camera looks at a dot-grid target. Fit scale, rotation and lens distortion by least squares, measure error in mm before and after correction, then validate the system with a gauge block. Runnable Python and real output (Thai text).
Machine vision24 min readDeploying YOLO on Jetson: measuring from image capture to resultA model working on one image does not prove it fits a production line. The system includes capture, preprocessing, inference, postprocessing and sending the result with the part ID, so model-call speed alone is not the machine's response time.


