Step 5: Setting Up Outputs
Time: 5–15 minutes
Your AI model is trained. Now define what happens when the camera makes a decision.
The global pass/fail
Every capture produces a single binary result: pass or fail. Even if you have 50 inspection regions doing complicated analysis, it all boils down to one answer: is this part good or bad?
This global result is what gets sent to your PLC, HMI, stack light, reject gate, or any other system.
Basic mode
Basic mode is the simplest way to configure outputs. You go to your ROIs and add rules that define what constitutes a pass.
The typical setup: All ROIs need to equal "pass" for the capture to be a global pass. If any single ROI fails, the whole part fails.
- Navigate to the IO Block in your recipe editor
- For each ROI, set the rule (e.g., class must equal "pass")
- Define how rules combine: all must pass, or custom logic
- Save
That's it. The camera now outputs pass/fail on every capture.
Advanced mode (Node-RED)
For anything beyond simple pass/fail logic, click Advanced Mode to enter Node-RED, a visual programming environment that gives you enormous flexibility.
Every image capture launches a new flow. Double-click the "All Blocks Output" node to access all the metadata from your capture as a JSON object.
Things you can build:
- Time-series analysis: "Have 7 of my last 10 parts failed? Alert the supervisor"
- Custom dashboards: Pareto charts, trend visualizations, production metrics
- Data routing: Send results to FTP, MES systems, databases
- Barcode integration: Link inspection results to part serial numbers
- Conditional image saving: Only save images when the AI detects a failure
- Email/Teams notifications: Alert when defect rates spike
- Communication protocols: RS232, RS485, MQTT, HTTP/HTTPS to external systems
- Discrete I/O: Control stack lights, reject gates, conveyors via the I/O board
Build flows instantly with Auto-Integration Builder
Don't learn Node-RED from scratch. The OV Auto-Integration Builder at tools.overview.ai generates production-ready Node-RED flows from plain English descriptions.
How it works:
- Open tools.overview.ai and select Auto-Integration Builder
- Describe what you want in plain English. For example: "Send an email when 3 failures happen in a row" or "Save fail images to an FTP server with the part serial number"
- The AI generates a complete Node-RED flow using 50+ available node types
- Review the flow, deploy it to your camera with one click
Supports:
- Communication protocols: MQTT, Modbus TCP, OPC-UA, HTTP/HTTPS, RS232, RS485
- Data routing: FTP, databases, MES systems, cloud storage
- Logic: Time-series analysis, conditional branching, aggregation
- Notifications: Email, Microsoft Teams, Slack, webhooks
- Hardware I/O: Stack lights, reject gates, conveyors, PLCs
You can also use Modify Mode: paste an existing flow and describe what you want changed. The builder updates the flow while preserving your existing logic.
Even if you've never used Node-RED, the Auto-Integration Builder lets you set up complex integrations in minutes. Describe what you want, review the generated flow, and deploy.
Trigger modes
Configure how captures happen:
| Trigger | Description | Best for |
|---|---|---|
| Manual | Button press on the camera UI | Testing and setup |
| Hardware (digital input) | Electrical signal from a sensor | Automated lines with proximity sensors |
| PLC | Command from your industrial controller | Fully automated with precise timing |
| Aligner | Auto-triggers when part alignment is detected | When parts arrive at unpredictable times |
| Interval | Captures at set time intervals | Continuous monitoring |
Incorrect wiring on the I/O board can damage the camera, connected equipment, or both. Always verify your wiring with a multimeter and run a bench test before connecting to production machinery.
Digital outputs have a maximum current rating. Check your camera's specifications before connecting high-power devices such as solenoids, motors, or large relays. Use an intermediate relay or amplifier if your load exceeds the rated output current.
Deploy
- Activate the recipe
- Set your trigger mode
- Run test parts and verify the pass/fail output matches expectations
- Check edge cases, especially the hardest parts to classify
- Monitor for the first hour to ensure consistency
Output checklist
Before going live, confirm:
- IO rules configured (pass/fail logic matches your requirements)
- Trigger mode set (manual, hardware, PLC, aligner, or interval)
- Recipe activated
- Test parts run through (pass/fail output matches expectations)
- Edge cases tested (hardest parts classified correctly)
Your AI inspection is now live. For ongoing optimization, see Improving Your Model.