Welcome to Kunshan EEK Automation Equipment Co., Ltd.
Home/ Solutions/Machine Vision Software and AI Algorithms

Machine Vision Software and AI Algorithms

The software layer: deep-learning defect models, rule-based judgement, recipe management and the reporting that makes results traceable.

Choose rule-based inspection, deep learning or both

Rule-based methods fit measurable geometry, stable patterns and explicit code comparisons. Deep learning can help with variable texture or defects that are difficult to describe with fixed rules. Choose the method through a controlled image trial.

Keep training, tuning and validation samples separate by part and production lot where possible. An anomaly model trained on acceptable parts can flag deviations, but it does not guarantee recognition of every unseen defect. Review false alarms and missed defects against deployment conditions.

Version the image conditions, model, thresholds and product recipe together. Agree how operators review uncertain results and how an updated model is validated before release. Confirm interface and hardware support for the selected configuration.

Related guidance: Anomaly-detection task · Training and validation samples · System acceptance

This Category positioning

Vision software that trains and infers on the machine itself: algorithm library, sample management, result traceability and interfaces

Solutions Category · 09
Quick answers

Vision software and algorithms are the layer of the whole visual inspection system responsible for "has it understood, has it judged correctly". It has three parts: the algorithm library (presence/absence judgement, template matching, feature measurement, character recognition OCR, code reading, deep learning segmentation and classification, anomaly detection), the software functions (recipe management, sample annotation and training, result recording and traceability, permissions and logs), and external interfaces (I/O, TCP, RS485, Modbus, S7, Profinet). The equipment for this project performs training and inference locally and does not need to upload images to an external server.

Hardware determines "whether the image can be captured clearly", Software determines "whether the judgement is right and whether it stays right". A vision system on a production line is typically used for three to five years, during which product model changes, material batch changes, and natural light source degradation all occur. The software must support these changes rather than requiring new development each time.

So the core capability of this type of solution is not "how advanced the algorithm is", but three things: whether algorithms can be combined per task (the same station performs both presence/absence judgement and character recognition), Can parameters be managed per product recipe? (switching models without reprogramming), Can results be archived for traceability? (so images and judgement basis can be reviewed when problems occur).

Another thing that is often overlooked is sample workflow: From acquisition, annotation, training and validation through to deployment, and retraining after deployment. How smoothly this flow runs directly determines how long a new project takes to introduce and how much manpower later adjustments require.

This Category Solution

Existing Solution Pages and Reserved Solution Slots

This type of solution is subdivided by inspection object and material. The table below lists the solution pages already built; the remaining sub-solution slots are reserved and will go live once the materials are complete.

The remaining sub-solution slots in this category are reserved and will be published as the solution information is completed. If your workpiece is not covered above, you can submit samples directly for a separate assessment.

inspection Scope

What is typically inspected for these problems

Capability CategoryAlgorithm / FunctionTypical Use
Presence/absence and positionTemplate matching, feature matching, Blob analysisPart presence/absence, position check, and orientation judgment
MeasurementGeometric measurement, contour extraction, sub-pixel fittingDimensions, spacing, angles, notches
RecognitionOCR character recognition, 1D / 2D code readingInkjet code verification, batch traceability, code reading
Deep learning segmentationDefect segmentation (pixel-by-pixel localization)Appearance defects with variable shapes
Deep learning classificationDefect classification and grade judgementDefect classification and grading
Anomaly DetectionState modeling based on normal samplesScenarios where defects are hard to enumerate
Recipe ManagementSave and switch parameters by product modelMixed-model production, quick changeover
Samples and TrainingAcquisition, annotation, training, validationNew project introduction and later iterations
Results and TraceabilityResult recording, image archiving, logs and permissionsQuality traceability and review
External InterfacesI/O, TCP, RS485, Modbus, S7, ProfinetInterlocking with PLC and production line systems
The table lists the inspection items commonly covered by this type of solution. The inspection items, acceptance criteria and thresholds for a specific project must be confirmed individually according to the workpiece and quality requirements.

inspection Object

Common inspection objects and materials

The inspection objects are listed by material and part type; click to view the inspection highlights for that object or application.

Typical defect

Defects These Solutions Mainly Target

Software-Related StagesFrequently asked questionsFocus Points
Recipe SwitchingParameters not synchronized after changeover, old recipe used by mistakeRecipes are bound to product identifiers; changeovers are logged
Sample ManagementInsufficient samples and missing borderline samplesThe sample library must cover borderline cases and be maintained over the long term
Threshold MaintenanceThresholds not adjusted per batch after go-liveKeep a re-judgement and retraining channel
Result ArchivingNG images not saved, so problems cannot be reviewedNG images and judgement items must be archived
Interface IntegrationCommunication protocol mismatch, handshake timing problemsConfirm the PLC model and protocol at the solution stage
Permissions and LogsParameters changed by mistake with no recordParameter changes require permission control and operation logs

inspection Method

Combined Route of Imaging, Algorithm and Judgement

Algorithms Combined by Task

Multiple algorithms at a single station

  • Rule-based algorithms handle stable, explainable measurement and matching
  • Deep learning handles segmentation and classification of defects with variable shapes
  • Anomaly detection covers scenarios where defects are hard to enumerate

On-Device Training and Inference

No reliance on external servers

  • Sample annotation, training, and validation on the equipment
  • Inference runs locally; the production line does not depend on the internet
  • Training with a single sample enables fast deployment

Recipes and Changeover

Changeover without reprogramming

  • One set of inspection regions / parameters / thresholds per model
  • Recipes can be imported and exported for easy multi-machine synchronization
  • Switching records go into the operation log

Results and Traceability

Any judgement must be explainable afterwards

  • OK / NG + judgement item + position
  • NG images archived, supporting re-judgement
  • Results can be uploaded to MES or exported locally

inspection workflow

  • 01 Sample collection (including boundary samples)
  • 02 Annotation and sample library setup
  • 03 Choose the algorithm route and train / tune parameters
  • 04 Validation set testing and threshold tuning
  • 05 Recipe setup and on-site trial run
  • 06 Go-live operation and result archiving
  • 07 Periodic re-judgement and retraining maintenance

Applicable Industry

Which Industry These Solutions Are Installed In

The above covers the Common applicable industries. Actual feasibility depends on the workpiece, material and site conditions, subject to the results of a measured sample trial.

This Category Document Checklist

Confirmed items and outstanding items

Information ItemDescriptionStatus
Solution Pages in This CategoryDedicated page for the software platform / algorithm modules (currently a placeholder)To be supplied by your team
Software name and versionOfficial product name and version numberTo be supplied by your team
Supported cameras and channel countSupported camera models and maximum countTo be supplied by your team
Labeling and training tool documentationLabeling method, training time, whether incremental training is supportedTo be supplied by your team
Deployment Environment RequirementsHardware configuration, operating system, whether an external server is neededTo be supplied by your team
Licensing and upgrade methodLicensing model, upgrade and maintenance policyTo be supplied by your team
Custom Development InterfaceData export, interface documentation, SDK availabilityTo be supplied by your team
Software interface screenshots and descriptionReal interface screenshots and feature descriptionsTo be supplied by your team
Specifications described as project-specific or pending are confirmed against your workpiece, line conditions and acceptance criteria during evaluation.

Common Question

Common Questions About This Type of Solution

Is the Vision Software Supplied with the Equipment or Sold Separately?

This project is delivered as a complete machine: vision software and algorithms are supplied together with the equipment and include an algorithm library, recipe management, sample training, and result traceability; no third-party vision software needs to be purchased separately. The specific licensing and upgrade terms must be confirmed in the contract (to be supplied).

Does training have to be done on the equipment?

The equipment for this project supports On-Device Training and Inference, which means the production line does not depend on an external server or the internet during operation, and sample data does not have to leave the site. For complex projects that need a large number of samples, experiments can also be run in another environment first, with the final model deployed to run on the equipment.

How many samples are needed for training?

Depends on the algorithm approach and defect complexity, There Is No Single Number. Rule-based algorithms basically do not need samples, only parameter tuning; deep learning segmentation / classification usually needs a sufficient number of samples for each defect type, and must include boundary cases; anomaly detection needs only normal samples, but must cover the natural variation of the normal state. The number of samples is best confirmed gradually through trial runs rather than fixed in advance.

Can the algorithm learn new defects on its own?

Not fully automatic. New defects need Manual confirmation and labeling before they can enter the sample library and take part in training. This step cannot be skipped — otherwise the system treats what it is unsure about as a new defect, which in fact causes a large number of false calls. The sensible approach is to keep a manual re-judgement step and add items flagged as suspicious by the system to training only after they are confirmed.

Will Software Updates Affect Parameters That Are Already Tuned?

Upgrades need to be handled with care, because a change in algorithm version may affect thresholds that have already been tuned. The reasonable approach is to back up recipes and the sample library before upgrading, then re-test with the validation set after upgrading and put it into production only after confirming there is no regression; for important production lines we recommend keeping a rollback plan. The specific upgrade strategy must be confirmed with the supplier.

Can It Integrate with an Existing MES or Quality System?

Yes, integration is possible; the specific method depends on the interface capability of the target system. The common approach is for the equipment side to pass results (time, part number, judgement, defect type and image path) to the upper-level system via TCP or a database write. The interface specification of the target system must be provided and confirmed by the technical teams of both parties.

Submit sample testing

Send us the workpiece, defect samples, inspection requirements and production line cycle time, and our solution engineer will determine which category of inspection problem it is and give recommendations on the imaging method and configuration.

JPG / PNG supported, multiple files allowed
Each file must not exceed 20 MB
    JPG / PNG supported, multiple files allowed
    Each file must not exceed 20 MB
      JPG / PNG supported, multiple files allowed
      Each file must not exceed 20 MB
        A solution engineer will contact you within 1 business day after submission

        Need to assess imaging conditions, defect criteria and cycle time item by item? Go to the Full Requirement Assessment →

        Vision-based process recognition and SOP checks

        LumiSOP documentation describes a keyframe-based workflow for recognizing visible actions and comparing them with a defined procedure. It addresses process anomalies, abnormal actions and missed assembly steps. The earlier software matrix labels LumiSOP as in development; later workflow material does not establish every function as generally available. Confirm current licensing, modules and delivery scope during evaluation.

        Turn the SOP into observable events

        Define the station, product, step, visible start/end conditions, expected action and allowed variation. The source illustrates screw sorting/tightening and automotive assembly, with scheme, product, station and step context. These are interface examples rather than named customer or accepted-performance evidence.

        LumiSOP assembly monitoring interface with visible operation, step list and status statistics
        Source interface example; Chinese labels are retained in the original image.

        Keyframes, annotation, training and process monitoring

        1. Extract representative keyframes and select the visible action to be checked.
        2. Review user action labels; the source describes single-frame annotation covering a complete action. This does not establish one-example learning for every task.
        3. Train and validate the recognition task using normal, abnormal and borderline sequences.
        4. Deploy at the station, compare recognized events with the SOP and define the alarm and review response.

        The illustrated configuration includes ROI selection, video clipping, AI labels and finite-state-machine (FSM) orchestration. Check camera position, occlusion, product changeovers and the behavior when a step cannot be observed.

        LumiSOP keyframe extraction, user labeling, training and correct/incorrect action workflow
        LumiSOP scheme management interface with running procedure and configuration tools

        Define what the camera can prove

        A visible tightening motion is not proof of achieved torque, force or fastening strength. Hidden conditions require appropriate sensor, tool or controller records. An obscured, missing or late event should enter the agreed exception or review flow. Automatic PLC stopping, MES/ERP integration, numerical accuracy and cycle-time guarantees are not established by the supplied function sheet.

        Engineering questions

        Can a camera verify the order of assembly operations?

        It can assess defined visible events and their sequence when the view and examples support the task. Validate normal variation, missed steps, occlusion and product changeovers against the actual SOP.

        Does seeing a tightening action prove the required torque?

        No. Connect the relevant tool or process record, or use an appropriate additional method when torque, force or another hidden condition is an acceptance requirement.

        What is needed to evaluate an SOP application?

        Provide the SOP, representative normal and abnormal operation video, station layout, product variants, target cycle time and the required alarm or controller response. Confirm software availability, interfaces and acceptance conditions before committing scope.

        Connected technologies

        Evaluate your inspection task

        Send representative good and defective parts or images, acceptance limits, part dimensions, target cycle time, installation constraints and PLC or robot interface details. Include operation video and the SOP for a process-recognition task. Agree the trial, acceptance method and available modules before selecting a production configuration.

        Request an engineering evaluation

        Not Sure Which Category?

        Send us the workpiece, defect samples and inspection requirements, and a solution engineer will determine which category of inspection problem it is and give recommendations on the imaging method, algorithm route and equipment configuration.

        Online support WhatsApp
        WeChat
        Scan the QR code to add us on WeChat
        Call us Back to top