FPGA, CPU, or GPU: Which Job Should the FPGA Take On?
2026.12.03
TL;DR
Connecting more cameras, keeping capture timing predictable, reducing transmission bandwidth, and taking work off the host are different problems, each needing a different FPGA design.
In our 24-camera retrofit, the FPGA only forwards camera data and attaches timestamps. The Jetson AGX Orin host does the image processing.
Moving work to the FPGA helps when the link to the host is the limit, or when it removes repeated trips through host memory (24.48 GB/s down to 0.59 GB/s in the article's illustrative example).
Only work running on the GPU's CUDA cores frees GPU computation when it moves. Model computation falls only when fewer model evaluations are needed.
In one of our agricultural machinery retrofit projects involving 24 cameras, we designed two FPGA-based vision units to forward camera data and attach timestamps. We left the image processing work to the Jetson AGX Orin host.
In other vision applications, an FPGA may take on additional responsibilities, including image compression, preprocessing, and part of the image analysis.
Connecting more cameras, keeping capture timing predictable, reducing transmission bandwidth, and taking processing work away from the host are different engineering problems. Each calls for a different FPGA design.
In one of our agricultural machinery retrofit projects involving 24 cameras, we designed two FPGA-based vision units to forward camera data and attach timestamps. We left the image processing work to the Jetson AGX Orin host.
In other vision applications, an FPGA may take on additional responsibilities, including image compression, preprocessing, and part of the image analysis.
Connecting more cameras, keeping capture timing predictable, reducing transmission bandwidth, and taking processing work away from the host are different engineering problems. Each calls for a different FPGA design.
In one of our agricultural machinery retrofit projects involving 24 cameras, we designed two FPGA-based vision units to forward camera data and attach timestamps. We left the image processing work to the Jetson AGX Orin host.
In other vision applications, an FPGA may take on additional responsibilities, including image compression, preprocessing, and part of the image analysis.
Connecting more cameras, keeping capture timing predictable, reducing transmission bandwidth, and taking processing work away from the host are different engineering problems. Each calls for a different FPGA design.
01 | How the Same Image Can Be Processed Differently
Imagine eight cameras sending 240 images every second. Before an AI model can analyze these images, they may need color reconstruction, image correction, resizing, and format conversion.
An FPGA can be designed as a customized production line. As pixels arrive from the camera, they pass through dedicated hardware processing stages. Several stages can work simultaneously, passing their results directly to one another. For some operations, only a few rows of pixels are needed to get started. For a 4K camera at 30 fps, assuming uniform raster readout and ignoring blanking, a simple 3 × 3 debayering can start once two to three rows have arrived, about 31–46 µs into readout, while the complete frame takes 33.3 ms. These figures compare data availability, not complete processing latency.
A GPU typically works with image data already available in memory, distributing calculations across many parallel computing units.
The CPU can also perform these operations in software. For lighter workloads or algorithms that change frequently, developing and maintaining software may be much easier than building custom hardware logic.
Debayer
FPGALogic resources, line buffers, hardware development
CPUCPU time and memory bandwidth
GPUGPU computation and memory bandwidth
Resize
FPGALogic resources, buffering, hardware development
CPUCPU time and memory bandwidth
GPUGPU computation and memory bandwidth
Image analysis
FPGAAlgorithm-specific hardware logic
CPUGeneral-purpose computation
GPUParallel computation
Some common image processing operations already have dedicated hardware. Image scaling and video encoding, for example, can run on specialized engines without using GPU compute cores.
If the host already has a dedicated engine that can do the job, another one on the FPGA needs its own justification.
02 | Same Camera Data, Different Processing Architectures
There are three ways to organize the work in a multi-camera vision system.
Architecture A — Host-Centric Processing
If the cameras can connect directly to the host and the processing workload is manageable, the architecture can remain relatively simple.
The CPU manages camera communication, buffers, equipment control, and application logic. Image preprocessing can run on the CPU, GPU, or dedicated hardware, while the GPU runs the AI models.
As long as the host meets the application's throughput and latency requirements, there's little reason to add an FPGA.
Architecture B — FPGA-Assisted Acquisition
Our 24-camera agricultural machinery retrofit required a different arrangement.
We connected eight GMSL cameras directly to a Jetson AGX Orin controller. For the remaining 16 MIPI cameras, we designed two FPGA-based vision units, each supporting eight cameras.
The FPGA units forward camera data and attach timestamps. They do not compress images or perform vision analysis.
This project required integrating multiple camera interfaces and managing image acquisition timing. In a fixed-logic hardware timestamp path, the delay between an event and its timestamp is a set number of clock cycles, and no operating system is involved. An FPGA can give each camera its own path, so the timestamps of one camera do not depend on how many others are connected. We designed the FPGA around those requirements, leaving image processing to the host.
Architecture C — Distributed Vision Processing
Now consider an application where the link to the host or the host's processing capacity is the limit.
Instead of forwarding every image directly to the host, the FPGA could correct images, resize them, compress them, or carry out part of the image analysis. The host completes the remaining work.
Compared with an acquisition-focused FPGA, this design requires additional hardware logic, development time, and validation.
03 | What Changes When a Task Moves to the FPGA?
Moving a task to the FPGA can bring three different benefits: less data to send, less preprocessing work on the host, and less model computation. Each applies under different conditions and needs to be measured separately. These benefits belong to Architecture C, where the FPGA takes on image processing. Architecture B, which handles acquisition and timing, is covered above.
Moving Less Data Through the System
Front-end data reduction pays off when the connection to the host is the limit.
Take eight 4K cameras running at 30 fps with packed RAW12 output. Together, they generate approximately 23.89 Gb/s of image data. A single 10GbE connection with a 9 Gb/s image payload budget cannot carry all eight uncompressed streams, so the system needs either a faster connection or less data to send.
Keep a region of interest, or resize
If an inspection system only needs to examine a specific part of a product, keeping 25% of the original image area reduces the transmitted pixel data by 75%, to 5.97 Gb/s. Resizing the whole image to 640 × 640 RGB888 brings the total to 2.36 Gb/s, although small scratches or cracks visible in a 4K image may become difficult to detect at a lower resolution. Many cameras can apply a region of interest or binning at the sensor, which is worth checking before adding FPGA logic.
Compress the image
To retain the entire scene, lossless RAW compression would need to achieve approximately 2.65:1 to fit within the budget. That ratio needs to be verified using representative camera images.
Video compression also introduces encoding and decoding work. A dedicated decoder such as Jetson's NVDEC can handle supported video formats without using CUDA cores, but the decoded images still need to be stored in memory for further processing. If the GPU is struggling to keep up with inference, compression alone may do little to solve that problem.
Taking Preprocessing Work Away from the Host
The gain depends on which hardware does the work today and on how many times each frame travels through host memory.
Before moving an operation to the FPGA, find out which hardware is doing the work today. Suppose a system receives Bayer RAW images over Ethernet or PCIe, bypassing the Jetson ISP. CUDA could reconstruct the color images, while a dedicated hardware engine such as VIC could handle supported resizing operations.
Only work that runs on the GPU's CUDA cores frees GPU computation when it moves. Work on the CPU frees CPU time, and work on the VIC or ISP frees dedicated engines that the GPU was not using, with the associated memory accesses released in each case.
Moving resizing from VIC to the FPGA means building another piece of hardware to take over a job that the GPU wasn't doing in the first place. Moving CUDA-based debayering does save GPU computation, although for simple demosaicing algorithms, much of the cost may come from memory traffic rather than arithmetic.
Each processing stage reads an image from memory and writes the result back, so a single frame crosses host memory several times. In this eight-camera example, that adds up to approximately 24.48 GB/s of host memory traffic, compared with approximately 0.59 GB/s when the FPGA completes debayering and resizing and the host receives only the resized result.
Host side, per 4K RAW frame in a 16-bit container (about 16.6 MB): one write on arrival, since Jetson's CPU and GPU share DRAM, then a read and a write at each stage (RAW → RGBA8 → 640 × 640 RGB888), about 102 MB in total. FPGA side: only the 1.2 MB result is written and read. Assumes no cache reuse or operation fusion; excludes AI model execution.
The eight-camera workload and transmission budget are illustrative calculations, not Albatron product specifications. Protocol overhead is excluded.
Reducing the Vision Computation Workload
With the same model and input size on every frame, the workload falls only when fewer model evaluations are needed.
Preparing an image for inspection and inspecting the image are two different jobs. Suppose a fixed region is cropped from every camera image and resized to 640 × 640. Compared with resizing the entire frame, cropping may preserve more detail around a defect within that region. But if the same AI model still runs on every frame at the same input size, its nominal computational workload remains unchanged.
Eight cameras at 30 fps require 240 model evaluations per second. Using YOLO11n as an example, with a reported 6.5 GFLOPs per evaluation at 640 × 640, the nominal model workload is approximately 1.56 TFLOP/s. Moving resizing to the FPGA leaves that figure unchanged.
An industrial inspection system could also divide the image analysis itself between different processors. A front-end screening stage may identify regions requiring further examination, leaving the downstream model to perform the remaining analysis. Fewer model evaluations lower the GPU's inference workload, but the screening itself has a cost. A missed defect may never reach the downstream model, and a saving in GPU computation has little value if it compromises inspection accuracy. Missed-defect rates need to be validated across the complete inspection pipeline, and full-resolution images may still need to be retained for traceability or independent review.
04 | Designing the Architecture Around the Application
Insufficient camera connectivity
Check native host interfaces before adding FPGA-based acquisition hardware.
Capture timing must stay within a defined tolerance
Check hardware trigger and timestamp support at the camera and host interfaces first, then compare it with adding FPGA-based timing.
Insufficient transmission bandwidth
Check camera-native ROI or binning, then compare front-end processing with a faster connection.
High CPU or GPU preprocessing load
Identify which processor handles each operation and whether existing dedicated hardware can take over.
High vision computation workload
Determine whether the analysis can be divided into independently validated stages.
Full-resolution recording required
Preserve the original images or provide a separate image data path.
Host selection must also account for the remaining CPU workload: camera communication, buffer management, equipment control, and application software.
In our 24-camera agricultural machinery project, we designed the FPGA around camera acquisition and timing. An application requiring front-end image compression or analysis would call for a different FPGA design and would change which work stays on the host.
For a closer look at the camera acquisition side of these decisions, read our previous article: