An inspection pipeline rarely belongs entirely inside one device. Image acquisition, preprocessing, inference, decision logic and record storage have different timing and maintenance requirements. Moving inference closer to the camera can reduce image traffic, but it does not automatically improve the complete inspection cycle.
For a new station or retrofit, choose deployment boundaries before choosing processing hardware. Start with the latest acceptable decision time, calculate what crosses each connection, and define what happens when communication fails. You can then compare camera-side processing, a local vision controller and a remote host against measurable requirements rather than an edge label.
1. Choose boundaries around the inspection decision
Keep the time-critical inspection path local when a missed deadline would cause an incorrect production decision. Send images or summaries elsewhere only when that transfer is compatible with the deadline and data policy.
A useful first split is acquisition near the part, inference on a local controller, and training or fleet reporting on a separate host. This is a starting architecture, not a universal recommendation.
| Processing location | Strong reason to choose it | Main constraint to verify | Suitable responsibilities |
|---|---|---|---|
| Inside the camera | Reduce transmitted image data before it reaches another device | Documented processing functions, supported models and diagnostic access | Supported image operations or inference, acquisition metadata |
| Local vision controller | Keep inspection decisions independent of a remote connection | Complete pipeline timing, memory capacity and camera compatibility | Preprocessing, inference, decision logic and local buffering |
| Remote host | Share compute resources or centralize maintenance | Network delay, availability, data handling and simultaneous demand | Training, reporting, image review and deadline-tolerant inference |
A camera interface does not establish that the camera can execute a neural network. The area scan cameras discussed here are acquisition candidates; the supplied catalog information does not establish onboard inference support.
Similarly, selecting vision controllers does not prove that a particular model or runtime will execute correctly. Treat software compatibility and measured performance as separate acceptance requirements.
2. Turn the process deadline into a latency budget
Define the deadline from a physical event, such as a part crossing the trigger position, to the required completed action. Do not stop the measurement when inference returns a score.
For a constant-speed conveyor, a first estimate is:
The sum is a serial planning model. Some stages can overlap, so verify the actual timeline using timestamps. Conversely, an unmeasured queue can make the real delay longer than the sum of isolated benchmarks.
For example, a trigger positioned 0.30 m before the action point on a conveyor moving at 1.5 m/s gives:
The reserved margin must cover identified uncertainties, not conceal unknown stages. Read the full feedback-loop latency budget when the decision also changes subsequent motion or acquisition.
Measure typical latency, high-percentile latency and the worst observed delay under representative load. Percentiles describe measurements; they do not establish a guaranteed upper bound. A strict deadline requires an architecture and failure policy that address overruns explicitly.
3. Calculate bandwidth at every deployment boundary
Moving inference into a camera may reduce traffic between camera and controller. Moving it from a remote host to a local controller reduces traffic on the remote connection, but does not remove the camera-to-controller image stream.
Calculate these connections separately. For uncompressed image payloads:
Consider a hypothetical stream containing 4000 × 3000 pixels, transmitted as one byte per pixel at 30 frames/s:
These are decimal payload values. Protocol overhead, packet timing and other traffic require additional capacity. Transmitted pixel format matters: a packed format, an unpacked container and a converted color image can have different byte counts.
If the station instead transmits a hypothetical 200-byte inspection record at 30 records/s, its application payload is only 6000 bytes/s. That reduction assumes images remain local; diagnostic uploads must be budgeted separately.
Before buying a faster connection, investigate camera-side ROI cropping. Cropping after reception reduces later computation, but cannot recover bandwidth already consumed by transmission.
4. Work through a complete station example
Assume the conveyor geometry above and a trigger rate of 20 parts/s. Each part therefore starts an inspection every 50 ms. The following values are hypothetical planning measurements, not specifications for the products shown later.
| Stage | Example allowance |
|---|---|
| Acquisition and readout | 14 ms |
| Image transport | 20 ms |
| Queueing and preprocessing | 13 ms |
| Inference | 25 ms |
| Postprocessing and output communication | 8 ms |
| Actuator response | 30 ms |
| Total | 110 ms |
The nominal total fits inside the 160 ms processing allowance, leaving 50 ms of that allowance unused. It also leaves the separately reserved 40 ms before the physical deadline.
Now suppose remote execution adds 120 ms through upload, scheduling and return communication:
Remote inference would fail this example even if its isolated model execution were fast. A local controller is therefore the stronger starting point unless measurements establish a different complete timing picture.
Check throughput separately from latency. A serial worker taking 40 ms per image can process at most 25 images/s before overhead. Feeding it 30 images/s creates a backlog of approximately five images each second. After one second, that backlog represents about 200 ms of additional service time.
Use bounded queues and an explicit overrun policy. For inspection, silently replacing an old frame with a newer frame can assign a decision to the wrong part. Preserve trigger identity using the principles in matching asynchronous results to frames.
5. Select acquisition and processing candidates separately
Use the camera finder to narrow acquisition hardware by interface, shutter behavior and required resolution. Then verify sustained triggered acquisition in the intended operating mode. A headline frame rate alone does not establish a complete station's capacity.
The LS-CMR-0166 is a USB3 acquisition candidate. Its catalog entry identifies a rolling shutter, so assess motion distortion and exposure timing before considering it for moving parts.
- Sensor format
- 1/1.7"
- Interface
- USB3
- Resolution
- 12 MP
- Shutter
- Rolling
The LS-CMR-0053 offers a GigE acquisition alternative. It is also identified as rolling shutter; changing the interface does not resolve that acquisition constraint.
- Sensor format
- 1/1.7"
- Lens mount
- C-mount
- Interface
- GigE
- Resolution
- 12 MP
These camera candidates are not interchangeable approvals for the worked example. Check each candidate's documented acquisition limits against the actual trigger rate. A slower stationary inspection may accept a camera that cannot serve a faster moving line.
The MV-VC2140-128G40-1T is a local vision-controller candidate. Its catalog information is not an inference benchmark or a guarantee of compatibility with your model.
- LAN ports
- 3-4 LAN ports
- USB 3 ports
- 2 USB 3 ports
- Light outputs
- 4 built-in channels
- Memory
- 8 GB
Before selecting a controller, obtain confirmation of the required operating environment, acquisition software, inference runtime and licensing. Benchmark the actual preprocessing and decision logic as well as the network itself. Port counts alone do not establish aggregate acquisition throughput.
6. Define data handling and connection-loss behavior
Local inference can reduce image transfers, but privacy depends on the complete data path. Images may still leave through diagnostic archives, remote support sessions, backups or logging.
Write a data-flow table for each artifact: raw image, cropped image, model input, feature representation and inspection record. Identify where it is created, who can access it, how long it remains and whether it crosses the local network boundary. Feature representations are not automatically anonymous.
Set storage limits numerically. At the hypothetical 12 MB image size calculated earlier, retaining two images/s for ten minutes requires:
This excludes indexes, filesystem overhead and additional copies. Define what happens when the archive reaches its limit.
Also define behavior when the remote connection fails. A local inspection may continue while reporting is delayed, provided this is an approved operating mode. A remote-dependent inspection needs a documented response to missing or late decisions, agreed with the machine-control design.
Restrict network access, separate operational traffic where appropriate, and use supported authentication and update mechanisms. Local placement alone does not establish security or regulatory compliance.
7. Make updates reproducible across deployment locations
Treat the deployed pipeline as a versioned package, not a model file copied onto a device. Record the model identifier, runtime version, preprocessing settings, decision thresholds, camera configuration and output schema together.
A deployment can produce different decisions without changing model weights. Image channel order, numerical scaling, resizing and output interpretation are all possible causes. Use verification of model input normalization to check the boundary between preprocessing and inference.
Distribute updates through authorized mechanisms and verify package integrity. Retain a known working release, define the rollback procedure and test recovery in a designated test environment before production deployment.
The model replacement workflow for edge hardware addresses changing the deployed network. The boundary decision here comes earlier: determine which device owns each pipeline stage and which team maintains its dependencies.
Monitor more than model confidence. Record frame age, queue depth, missing triggers, memory growth, execution errors and software versions. Preserve enough selected evidence to investigate false decisions without collecting every image indefinitely.
For anomaly inspection, confirm that the complete inference path fits the target. A compact network file does not establish that its feature storage and scoring stages fit; the whole-pipeline capacity check explains that distinction.
8. Know when the usual local-first answer is wrong
Camera-side execution is attractive when its documented processing capabilities match the task and only a small output must leave. It is less attractive when you need unsupported operators, extensive image review or several cameras sharing intermediate data.
A local controller is attractive when acquisition, decision logic and machine communication belong together. It can become a poor choice when several independently maintainable stations are combined into one failure domain without an acceptable recovery plan.
Remote inference can be appropriate for stationary samples, delayed quality review or processes with generous deadlines. It may also simplify centrally managed workloads, provided network availability and simultaneous demand are tested rather than assumed.
An accelerator is not automatically required. Small models and modest inspection rates may be practical on general-purpose processing hardware. Evaluate CPU-based inspection inference before adding another runtime dependency.
Nor does local execution automatically save energy. Compare the measured energy per accepted inspection, including idle operation, image transport and supporting hardware. Avoid making an efficiency claim from processor labels alone.
9. Run an acceptance checklist before ordering
Complete these checks with the proposed camera settings and production software, not only a demonstration application:
- Acquisition: Confirm exposure, readout, trigger handling and image quality at the required part speed. Processing placement cannot repair unsuitable source images.
- Timing: Measure from the physical trigger to completed action. Report deadline misses alongside typical and high-percentile latency.
- Throughput: Run sustained simultaneous workloads. A short test may finish before queues or memory use become problematic.
- Frame identity: Confirm every decision remains associated with its part after delays, retries and rejected frames.
- Data handling: Verify upload rules, retention limits and access permissions against the written data-flow plan.
- Failure handling: Test connection loss, process restart and storage exhaustion in an approved test environment without defeating protective functions.
- Maintenance: Demonstrate update, rollback and recovery using the actual licensed software and documented procedures.
Record acceptance evidence for the complete architecture. Replacing one component later can change timing, data formatting or recovery behavior even when the model stays unchanged.
10. Choose the next part from the measured boundary
Start with acquisition configuration once you know the image requirements, then select processing hardware against the measured pipeline budget. Keep the critical decision local unless another architecture demonstrates acceptable timing and failure behavior.
For a deployment review, use application support and provide your trigger rate, image format, model runtime, maximum decision age and connection-loss policy. Those details make a camera-versus-controller-versus-remote decision actionable.
Questions
Should inference run inside the camera or on a local controller?
Run inference inside the camera only when its documented capabilities support the complete required pipeline. A local controller is often preferable when preprocessing, multiple image sources or machine communication need shared resources. Compare complete decision timing and maintenance requirements rather than assuming camera-side execution is always faster.
Does moving inference to the edge always reduce camera bandwidth?
No. If the camera still sends full images to a local controller, that connection carries the same acquisition payload. Local inference can reduce traffic between the controller and a remote host. Reducing the camera link requires supported source-side changes, such as cropping, pixel-format selection or onboard processing.
When is a remote host suitable for inspection inference?
Remote inference is reasonable when the process tolerates measured network delay, service interruptions and shared-resource contention. Examples include delayed review and stationary inspections with generous deadlines. Specify how missing or late decisions are handled, and test the complete path under representative simultaneous demand before approval.
What should a controller performance evaluation include?
Provide representative images, acquisition settings, trigger rate, model and runtime requirements, preprocessing steps and the maximum acceptable decision age. Include output communication, retention rules and recovery expectations. Request complete-pipeline measurements because an isolated inference benchmark does not establish sustained inspection capacity or end-to-end latency.
Does local inference keep inspection data private?
Local processing can limit routine image transfers, but it does not make all data private. Diagnostic uploads, backups, retained images and feature records still need access and retention controls. Review the full data path and applicable obligations; device location alone does not establish compliance.


