BT San Technology

Knowledge

Technical guides with sample code we ran, its real output, and references.

  1. Illustration: hands on a laptop running vision software, a developer kit with a heatsink, a camera on a stand and a monitor
    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.
  2. Illustration: a camera over a part, an AI box, an Ethernet switch, a PLC and a stack light
    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.
  3. Illustration: two identical metal parts under different lights, the scratch only visible under the low side light
    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).
  4. Illustration: an industrial camera on a stand above a dot calibration target, four lenses of different lengths lined up in front
    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.
  5. Illustration: a moving conveyor blurred, but the part under the camera sharp, frozen by a strobe flash and trigger sensor
    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.
  6. Illustration: gloved hands sorting parts into a tray, normal surface texture apart from real defects, a laptop showing labelled thumbnails
    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).
  7. Illustration: pass and reject bins at the end of an inspection line, an inspector re-checking a part from each, a tablet with a four-cell grid
    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.
  8. Illustration: a conveyor with a camera station on the left and an air-jet reject further right pushing one carton into a chute, a PLC cabinet behind
    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).
  9. Illustration: two batches of the same part with slightly different surface colour, a monitor behind showing a chart drifting out of its normal band
    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).
  10. Illustration: a camera above a calibration target with parts and measuring tools
    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).
  11. Illustration: machined parts on a conveyor under a camera, an AI box and a monitor drawing detection boxes around the parts
    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.

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer