
Edge AI SoCs
RV1126B Vision SoC
A 4K AI camera processor with a quad Cortex-A53 CPU, a 3 TOPS NPU and a 12 MP ISP for up to five camera inputs, built for smart IP cameras.
Capabilities below are vendor-documented. We have not tested this device or its integrations.
Sources checked:
Also known as: RV1126B, Rockchip RV1126B, 瑞芯微 RV1126B
Suitable projects
- Smart IP cameras that run person, vehicle or plate detection inside the camera instead of on a server.
- Multi-sensor vision nodes that fuse a visible camera with a thermal detector on the same board.
- Machine vision heads that need 4K encoding at 45 fps and a modest NPU budget.
- Battery or PoE powered sensors where the encode block and the AI-ISP do the work before anything is transmitted.
- Panoramic cameras that stitch two or four small sensors into one wide image on the device.
Before you buy
- There is no 3D GPU, only a 2D engine, so it is a camera-side part rather than a display or user interface SoC.
- The 2B parameter ceiling for language models refers to quantized models; it is not a general purpose compute part.
- Display output stops at 1080p over MIPI DSI, which rules out products that need a 4K local screen.
- Sensor support depends on the ISP tuning and driver work the board vendor has done for a specific sensor.
- AI Remosaic, PDAF and the AI-ISP path depend on the sensor module and on vendor tuning, not only on the SoC.
- A PoE product adds the PD controller, the classification circuit and the isolation on the board; the SoC provides RGMII only.
Official resources
Related guides
- CPU
- Quad Cortex-A53 plus an integrated MCU
- NPU
- 3 TOPS, supports models up to 2B parameters
- GPU
- 2D graphics engine only
- ISP
- 12 MP at 30 fps, plus AI-ISP at 8 MP 30 fps with AI Remosaic and PDAF
- Camera input
- Two 4-lane or four 2-lane MIPI CSI-2, five simultaneous inputs, thermal detector interfaces, DVP BT.656 and BT.1120
- Video encode
- H.264 and H.265 up to 4K at 45 fps
- Video decode
- H.264 and H.265 up to 4K at 30 fps
- Memory
- 32-bit DDR3, DDR3L, DDR4, LPDDR3, LPDDR4 and LPDDR4X; eMMC 4.51
- Interfaces
- USB 3.0 DRD, USB 2.0 host, two SDIO 3.0, two CAN, DSMC, RGMII
- Display output
- 4-lane MIPI DSI up to 1080p at 60 fps
- Audio
- Integrated codec, two 32-bit ADC and one 16-bit DAC
- Package
- FCCSP 14 x 14 mm
Choosing the RV1126B for a smart camera
This profile is based on official documentation, not our own device testing.
The RV1126B is Rockchip's 4K AI image processor for the camera side of an edge deployment. It is not a general purpose application processor: it has a quad-core Cortex-A53 CPU, a 2D graphics engine and no 3D GPU, and the design is built around the image pipeline and the NPU rather than around a user interface.
What the chip is for
- IP cameras that run detection inside the camera instead of streaming everything to a server.
- Multi-sensor nodes that combine a visible camera with a thermal detector.
- Machine vision heads that need 4K encoding at 45 frames per second.
- PoE or battery powered sensors where the encode block and the AI-ISP do the work before transmission.
- Panoramic cameras that stitch several small sensors into one wide image on the device.
- Access control and inspection terminals where the decision has to be made locally.
Why the ISP is the deciding block
On a camera product the ISP decides image quality more than the NPU does, and this part carries an unusually complete one for its class. It handles 12 MP at 30 frames per second, with an AI-ISP path at 8 MP that applies learned processing to noise reduction and detail, plus AI Remosaic and PDAF support.
| Function | What it changes on the product |
|---|---|
| 12 MP at 30 fps | The sensor ceiling for a single camera at full frame rate |
| AI-ISP at 8 MP | Better noise and detail in low light, at a lower resolution point |
| AI Remosaic | Reconstructs full colour from a quad Bayer sensor without a separate pipeline |
| PDAF | Fast focus on moving subjects, and a usable autofocus for a fixed-lens product |
| Dynamic stitching | Two 6 MP sensors into one wide view, or four 2 MP into a panorama |
Two features matter for multi-sensor products. The AI dynamic stitching engine can join two 6 MP sensors into one wide field of view, or four 2 MP sensors into a panoramic image. And the part accepts five camera inputs at once, including interfaces for mainstream thermal detectors.
That combination is why this chip appears in fusion products: a visible sensor for detail and a thermal sensor for detection at night, both processed on the same die.
The AI-ISP point deserves attention because it changes the resolution decision. A product that ships at 8 MP with the learned path enabled is tuned at 8 MP, not at the 12 MP ceiling, and the two operating points need different tuning. Deciding which one the product ships at, before the tuning work starts, avoids the situation where the bench image and the field image come from different pipelines.
Where the five inputs actually go
Five inputs sounds like a specification number until you design the product around it. In practice the inputs are consumed in four patterns.
| Pattern | Inputs used | What it is for |
|---|---|---|
| Single camera | One 4-lane link | The ordinary IP camera case |
| Visible plus thermal | One link each | Night detection with colour confirmation |
| Panorama | Two or four small sensors | One wide image from stitched sensors |
| Stereo or dual view | Two links at the same resolution | Depth or two independent views |
Each additional sensor is a lane allocation, a clock line, a power rail and a tuning file, so the cost of the fifth input is not the fifth input. It is the four sets of supporting work that come with it.
The NPU budget and what 3 TOPS covers
The NPU is rated at 3 TOPS and supports models of up to about 2 billion parameters. That second number is the more interesting one for camera products, because it means a small vision language model can run on the device rather than only a detector.
| Workload | What the sizing question really is |
|---|---|
| Person and vehicle detection | Whether the detector fits at the production resolution |
| Plate and attribute recognition | Whether two models can run back to back in one frame period |
| Segmentation for privacy masking | Whether the mask can run at full frame rate or must be decimated |
| Small vision language models | Whether the quantized model fits the memory budget |
The honest way to size it is to convert the model, run it on the board with the real camera path, and measure. A 3 TOPS rating says nothing about how much of your graph the NPU executes.
On a camera there is a second constraint that a compute benchmark hides: the memory bandwidth and the encoder compete with the NPU for the same frames. A camera that runs a detector at the right rate on a bench can fall short once the encoder is also writing 4K at 45 frames per second. Measure both running together.
What the missing 3D GPU actually costs
Most camera products do not need one. A live view, an overlay with boxes and labels, and a settings page are all 2D work, and the 2D engine handles them.
The cases where its absence matters are specific and worth recognising before the design starts. A product that renders a 3D map, a reconstructed scene or an animated interface needs a different part. A product that runs a graphical framework expecting GPU acceleration will fall back to software rendering and will feel slow in a way that no amount of NPU tuning fixes. If the interface plan includes either of those, choose the part on that basis rather than discovering it during integration.
Interfaces that shape the board
| Interface | What it enables |
|---|---|
| MIPI CSI-2 | Two 4-lane or four 2-lane camera links |
| Two CAN controllers | Camera nodes on a vehicle or machine bus |
| DSMC | A parallel link to an FPGA or a second processor |
| RGMII | Gigabit Ethernet for PoE camera products |
The encode block reaches 4K at 45 frames per second in H.264 or H.265, and decode reaches 4K at 30. Memory support covers 32-bit DDR3, DDR3L, DDR4, LPDDR3, LPDDR4 and LPDDR4X, with eMMC 4.51 for storage.
The audio side is easy to overlook and often matters: the part carries an integrated codec with two 32-bit ADCs and one 16-bit DAC, which is enough for a talk-down channel or an intercom without adding a codec chip. For a camera that has to carry voice, that is a line saved on the board.
The package is FCCSP at 14 by 14 millimetres, which sets how small the camera board can be and how the thermal path is built. In a sealed dome, that path is the difference between a stable image and a camera that softens its noise reduction as it warms up.
What the RV1126B does not give you
- No 3D GPU. A product that needs an animated interface, a map view or a 3D reconstruction should use a different part in the family.
- No 4K display output. The MIPI DSI link tops out at 1080p at 60 frames per second, so this is a capture device rather than a display device.
- No sensor support by default. Every sensor needs driver work and ISP tuning from the board vendor, and that work is specific to the sensor module.
- No PHY for Ethernet. RGMII is a controller interface, so the PHY and the magnetics are carrier board parts.
- No PoE controller. A PoE camera adds the PD controller, the classification circuit and the isolation on the board.
- No guarantee that a given sensor's AI features are enabled. AI Remosaic and PDAF depend on the sensor and on the tuning, not only on the SoC.
How it compares with the rest of the family
The RK3572 above it adds the three-cluster CPU, dual gigabit Ethernet and a wider display path, at a higher power budget. The RK3588 adds the 8K pipeline and the 3D GPU on top of that.
The reason to stay on this part is not cost alone. A camera has a thermal and a power envelope that a gateway does not, and the smaller die with the camera-centric pipeline is often the difference between a fanless sealed housing and a housing with a vent. Moving up the range to gain NPU throughput that the product does not need is a common way to lose the thermal argument.
Next step
The Quick Start tab orders the bring-up so that the sensor is proven before the model is converted. For how this part compares with the general purpose SoCs above it, open the selection guide linked from this page.
Quick Start — RV1126B Vision SoC
This is an untested reference for first bring-up. It is based on official documentation, not our own device testing.
This sequence assumes a camera board or a module plus sensor board built around the RV1126B, with the vendor BSP and the sensor driver package in hand.
What you need before you start
- The sensor module and its datasheet, including the lane count and the clock mode it is configured for.
- A lens with a known focus setting, so that a soft image is not mistaken for a tuning problem.
- The board schematic, because the lane mapping and the reset and clock lines are board specific.
- The BSP release and the ISP tuning files that go with that sensor.
- A scene with controlled light, and a second scene that is deliberately difficult: low light, high contrast and a moving subject.
The order, and what each step proves
| Order | Step | Passes when |
|---|---|---|
| 1 | Prove the sensor with a raw frame | A frame arrives at native resolution before any tuning is loaded |
| 2 | Set the ISP to the shipping mode | Colour and exposure are correct at the resolution and mode the product ships |
| 3 | Verify day and night switching | The IR-cut transition is clean and the exposure recovers in both directions |
| 4 | Verify the encode path at the shipping bitrate | The measured bitrate matches the link budget over ten minutes of real content |
| 5 | Convert and check the model on real frames | Accuracy on device matches the framework original within an agreed margin |
| 6 | Measure the pipeline end to end | Photon to encoded frame latency, with the NPU and the encoder both running |
| 7 | Check the multi-sensor path | Alignment holds at the final mechanical mounting, not on the bench jig |
| 8 | Run the thermal soak in the housing | No throttling and no tuning drift after twenty minutes in the enclosure |
Step 3 is the one most often skipped, and it is the one that produces field returns. A camera that looks perfect in daylight and hunts between colour and monochrome at dusk is a support problem that no model improvement will fix.
Step 1: prove the sensor before anything else
Power the board and capture a raw frame at the sensor's native resolution before any tuning file is loaded. If the frame is black, the problem is the lane configuration, the reset sequence or the clock, and no amount of ISP tuning will fix it.
Then load the tuning file and check the same scene again. The difference between those two images tells you whether the tuning is being applied at all.
Keep the raw capture as a reference. When the image goes wrong six weeks later, having the same scene captured before tuning is the fastest way to tell a pipeline regression from a hardware change.
Step 2: set the ISP to the production mode
The ISP runs 12 MP at 30 frames per second, and the AI-ISP path runs at 8 MP. Those are different operating points with different tuning, and a product that ships at 8 MP with AI-ISP enabled should be tuned there rather than at full resolution.
Decide early which mode the product ships in. Tuning one mode and shipping another is a common way to end up with an image that looks wrong only in the field.
Check the exposure and white balance convergence while you are here. Point the camera at a scene, cover the lens, and uncover it again. The image should return to a correct exposure within a predictable time, and a slow or oscillating recovery is a tuning problem that shows up as a camera that feels unreliable rather than one that looks bad.
Step 3: verify day and night behaviour
If the product has an IR-cut filter, exercise the transition in both directions with the light falling slowly rather than switching instantly. A clean transition holds colour until the threshold, switches, and settles exposure within a frame or two. A poor one oscillates around the threshold, which is the classic dusk flicker that users report as a broken camera.
If the product fuses a thermal sensor, run both sensors in the same scene and confirm the two images are registered after the lens and mount are final.
Step 4: verify the encode path at the shipping bitrate
Encode a moving scene, not a static chart, and check the bitrate control behaviour at the setting the product will use. The encode block reaches 4K at 45 frames per second, but the number that matters for a camera is the bitrate the network can carry.
Measure the bitrate over ten minutes of typical scene content. Scenes with foliage, water or traffic produce very different bitrates from a static office, and a link sized on a static scene will saturate.
Check what happens when the link is deliberately constrained. A camera that drops frames under congestion behaves better in a real installation than one that grows a buffer until the latency makes it useless.
Step 5: convert the model and check it on real frames
Conversion runs on the host machine with the vendor toolchain. Use a calibration set from the actual sensor, in the actual lighting, because the noise signature of the sensor is part of what the quantization step has to absorb.
If the converted model performs worse than the framework original, check normalization, colour order and input resolution before changing the model. Those three mismatches account for most of the gap.
Compare on frames from this sensor rather than on a public dataset. A detector that scores well on a clean dataset and poorly on the camera's own night frames is telling you that the calibration set, not the model, is the problem.
Step 6: measure the pipeline, not the model
Measure end to end latency from photon to encoded frame, at the production resolution, with the NPU running. On a camera the slowest block is often the encoder or the memory bandwidth rather than the NPU.
Then check the temperature after twenty minutes. A camera in a sealed housing has no airflow, and a board that runs cool on a bench can throttle inside a dome.
Record the frame rate over the full twenty minutes rather than at the end. A gradual decline is thermal, a step change is usually a scheduler or a buffer that filled, and the two have completely different fixes.
Step 7: check the multi-sensor path if the product uses one
If the design stitches two or four sensors, verify the alignment with a test chart at the final mounting geometry. The stitching engine aligns the images, but the mechanical mounting decides whether the overlap region is where the engine expects it.
Check the seam in motion, not on a static chart. A seam that is invisible on a wall appears in a panorama of a moving scene, and it is the artefact users notice first.
Step 8: thermal and power soak in the real housing
Assemble the finished unit, power it over PoE or from the production supply, and run the real workload for at least an hour. Watch three things: the temperature inside the housing, the frame rate, and the image itself.
The image is the one that surprises people. Noise reduction that adapts to temperature, focus that drifts as the lens barrel warms, and exposure that shifts as the sensor warms are all real effects, and they only appear in the assembled unit.
If the product runs on PoE, measure the input power at the injector. The converter loss inside the camera is part of the thermal budget, and it is often larger than the SoC's own dissipation.
Bring-up failures that are not software
- A black frame with a working sensor is a lane or clock configuration, not a tuning file.
- A colour cast that appears only after a firmware update is a tuning file mismatch, not a sensor change.
- A bitrate that exceeds the plan is usually a scene with more motion than the test scene, not a broken encoder.
- A model that is accurate on the host and poor on the board is usually normalization or colour order.
- A camera that resets when the IR LEDs switch on is a supply or a ground problem.
- A unit that works on the bench and fogs in service is a housing and desiccant problem, not electronics.
What to settle before the design review
- Which ISP mode the product ships in, at which resolution.
- Which sensors have a driver and a tuning file from the vendor, in writing.
- The measured bitrate over real content, against the link budget.
- The temperature inside the housing at the end of an hour of real load.
- The PoE class and the converter loss, if the product is PoE powered.
- The provisioning process for device identity and keys.
Where to go next
The Buying Guide tab explains the ISP and the NPU budget in more detail. For the comparison against the general purpose SoCs, open the selection guide linked from this page.
API Reference — RKNN C Runtime (RV1126B)
The board-side interface is the same librknnrt and the same rknn_api.h used by the rest of the family. What differs is the envelope: this part is the newest platform in the toolchain, it quotes a single NPU figure without a per-core split, and it ships with a smaller runtime option. Those three facts change how the same header is used.
The version floor comes first
RV1126B is not supported by every toolkit release, and the support arrived recently enough that the version is a design constraint rather than an installation detail.
| Requirement | Release | Consequence if missed |
|---|---|---|
| RV1126B platform support | toolkit 2.3.2 | conversion cannot target this part |
| mini runtime container | toolkit 2.5.0 | full runtime only, larger footprint |
| MatMul API on this part | toolkit 2.5.0 | matmul-heavy graphs fall back |
An earlier toolkit does not fail loudly at the download step. It fails when you ask for a target platform it does not know, which is why the toolkit version belongs in the project plan next to the board schematic.
The six calls, unchanged
No project is better off memorising a second call sequence. Initialise, query the input and output counts, set the inputs, run, get the outputs, release.
rknn_context ctx;
rknn_init(&ctx, model_data, model_size, 0, NULL);
rknn_input_output_num io_num;
rknn_query(ctx, RKNN_QUERY_IN_OUT_NUM, &io_num, sizeof(io_num));
rknn_tensor_attr attr;
attr.index = 0;
rknn_query(ctx, RKNN_QUERY_INPUT_ATTR, &attr, sizeof(attr));
rknn_input in[1];
in[0].index = 0;
in[0].buf = frame;
in[0].size = frame_size;
in[0].type = RKNN_TENSOR_UINT8;
in[0].fmt = RKNN_TENSOR_NHWC;
rknn_inputs_set(ctx, 1, in);
rknn_run(ctx, NULL);
rknn_output out[8];
memset(out, 0, sizeof(out));
rknn_outputs_get(ctx, io_num.n_output, out, NULL);
rknn_outputs_release(ctx, io_num.n_output, out);
rknn_destroy(ctx);
The input attribute is worth reading on this part specifically, because the imaging pipeline upstream decides whether frames arrive already normalised. If the ISP delivers full-range RGB and the model was converted expecting raw sensor values, the failure is not a crash: detections get quietly worse, and the model takes the blame.
The core mask is conditional, so confirm before designing around it
rknn_set_core_mask is documented as supported only on multi-core NPU platforms. The vendor material for this part quotes a single TOPS figure and does not split it per core, so the honest position is that the mask may or may not be a lever here: confirm the engine count with the vendor before either pinning models to a core or assuming the pins do nothing.
If a single engine is exposed, throughput work stops being a parallelisation question and becomes a budget question. Two models on one engine compete directly, so running detection and classification together has to be justified by measured per-model cost rather than by the assumption that they overlap. If two engines are exposed, the opposite mistake is cheap to make: leaving everything at AUTO and quietly losing the parallelism the part was chosen for.
Either way the first measurement is the same. Run one model alone, then both, and compare the two latencies against the single-model numbers.
Zero-copy matters more when memory is tight
The zero-copy path is the same as elsewhere: rknn_create_mem to obtain a tensor the runtime owns, rknn_set_io_mem to attach it, RKNN_FLAG_MEM_ALLOC_OUTSIDE to stop the runtime allocating a second copy, and rknn_create_mem_from_fd to import a dma-buf that the camera or the decoder already filled.
On a part with a modest memory budget, the avoided copy is worth more than the saved microseconds. A pipeline that decodes, resizes, converts and then copies into the runtime holds two full frames per stage; importing the decoder buffer directly removes one of them.
Cache coherency is still the trap. Write with the CPU, sync with rknn_mem_sync, and the NPU sees fresh data. Skip it and the first frame is right, which is the worst possible symptom.
What this header does not reach
The imaging pipeline is configured outside rknn_api.h. The header describes tensors and their memory and contains no ISP controls at all, so exposure, tone mapping and noise reduction are set through the vendor ISP toolchain and baked into the BSP, not through the runtime.
That split has a practical consequence: image quality problems and detection quality problems are diagnosed with different tools. If a model underperforms on night footage, the first question is whether the frame that reached the runtime was already flat, and the ISP tuning is where that gets answered.
No GPU to fall back to
The header offers RKNN_FLAG_EXECUTE_FALLBACK_PRIOR_DEVICE_GPU, which tells the runtime to prefer a GPU for operators it cannot map to the NPU. This part has no 3D GPU, so the flag has nothing to prefer and unsupported operators land on the CPU instead.
That makes operator coverage a measurable design input rather than a footnote. A convolution that runs on the NPU and the same convolution emulated on four Cortex-A53 cores are not the same product, and the converter reports which is which before you commit.
MatMul is a separate header
Matrix multiplication on the NPU has its own interface, rknn_matmul_api.h, rather than being a function inside rknn_api.h. Support for this platform arrived in toolkit 2.5.0, alongside wider support for the same API on other parts.
If a model is dominated by matrix multiplication, check that interface before assuming the graph will map cleanly. It is the difference between a transformer that runs at the edge and one that runs on the CPU at a tenth of the rate.
Errors worth distinguishing
RKNN_ERR_TARGET_PLATFORM_UNMATCH means the container was built for another platform. RKNN_ERR_SOC_BIND_FAILED means it was bound to a specific SoC that is not this one. Neither is a subtle failure, and both belong in the factory test rather than in a field diagnosis.
SDK — RKNPU2 Toolchain (RV1126B)
The software stack is the same four pieces as on the larger parts, with one addition that exists specifically for this class of SoC: a reduced runtime. The version floor is also higher than on older platforms, so the toolkit release is a design input rather than an installation afterthought.
| Piece | Runs on | Job |
|---|---|---|
| BSP image | the board | kernel, NPU driver, root file system |
| RKNN Toolkit2 | the host workstation | converts a framework model into an RKNN container |
| librknnrt or mini runtime | the board | loads the container and executes it |
| RKNN Model Zoo | both | reference demos, per platform export scripts |
The version floor
| Requirement | Release |
|---|---|
| RV1126B platform support | toolkit 2.3.2 |
| mini runtime container | toolkit 2.5.0 |
| MatMul API support | toolkit 2.5.0 |
Two of the three rows are about this part being recent. Platform support landed in 2.3.2, and the reduced runtime plus the matrix multiplication interface landed together in 2.5.0. A project that pins an older toolkit inherits a toolchain that does not know the target platform at all, which is a cleaner failure than a subtle one but still a schedule risk if it surfaces late.
The reduced runtime is the interesting option
Toolkit 2.5.0 introduced a mini runtime container for this part and for the RK3562, produced by asking the converter for it. The reason to care is footprint: a full runtime carries support for every operator and every scheduling mode the family needs, and a camera that runs one fixed model and nothing else pays for all of it in image size and in resident memory.
The trade is capability, and it should be measured rather than assumed. Build the same model twice, once for the full runtime and once for the mini one, then compare three numbers: image size, resident memory after init, and per-inference latency. A reduced runtime that is smaller but slower is a bad trade on a device whose whole job is one model, and a larger one that is faster is a bad trade on a device with a fixed firmware partition.
Host to board
from rknn.api import RKNN
rknn = RKNN(verbose=True)
rknn.config(
target_platform='rv1126b',
mean_values=[[0, 0, 0]],
std_values=[[1, 1, 1]],
quantized_dtype='w8a8',
optimization_level=3,
)
rknn.load_onnx(model='detector.onnx')
rknn.build(do_quantization=True, dataset='calib.txt')
rknn.export_rknn('detector.rknn')
rknn.release()
The mean and standard deviation in that snippet are placeholders with a purpose: they must match what the imaging pipeline delivers. On a part with an integrated ISP the frames reaching the runtime may already be processed, so a conversion configured for raw sensor values produces a model that runs and detects badly. Get the normalisation right before tuning anything else, and confirm it by feeding one real frame through both the host simulator and the board and comparing the output tensors.
Calibration deserves more than a directory of images. A few hundred frames from the deployment scene, including the low-light and low-contrast cases, is the difference between a quantised model that holds up and one that degrades exactly where the product is used.
Two toolchains, not one
The imaging pipeline has its own tuning tool, separate from RKNN Toolkit2, and this is the most common source of confusion on this class of part. The NPU toolchain converts models. The ISP toolchain configures exposure, tone mapping and noise reduction, and its output is baked into the BSP.
They have independent versions and independent owners. A team that treats image quality as part of model tuning will spend weeks adjusting calibration for a problem that lives in the ISP configuration; a team that treats detection accuracy as purely an ISP problem will do the reverse. Keep the two workstreams separate and join them at one measurement: the frames that actually arrive at rknn_inputs_set.
Model zoo coverage
The zoo lists this platform among its supported targets and carries both export scripts and inference demos for it. That matters more here than on a mature part: a demo that runs end to end proves the BSP, the driver, the runtime and the converter agree, before your own model introduces a second variable.
Use it as the bring-up gate. If the reference model runs at the expected rate, any later shortfall is your model; if it does not, the platform is not yet ready and no amount of calibration work will fix it.
The language model track exists, with a caveat
RKLLM lists this platform among its supported targets, so the toolchain path for deploying a language model here is documented rather than improvised.
Whether a given model makes sense is a separate question, and the arithmetic is unforgiving. A fixed NPU budget shared with the vision pipeline, a memory budget that also holds the KV cache, and a token rate that a user will sit through: those three numbers decide it, and the third one is the only one the user experiences. Treat this as an option to measure, not a capability to assume.
Which component for which job
| Job | Component |
|---|---|
| neural network inference | librknnrt, rknn_api.h |
| H.264 and H.265 decode or encode | MPP, rk_mpi.h |
| resize, colour convert, compose | RGA, im2d |
| imaging pipeline | vendor ISP toolchain, in the BSP |
RGA is easy to overlook on a vision part and usually worth it. Resize and colour conversion on the general cores compete with the model for the same memory bandwidth, and moving them to the two-dimensional accelerator is often a larger gain than a smaller model.
What to pin
Toolkit version, runtime variant and version, driver version, target platform string, ISP configuration identifier, calibration set identifier. Six lines. They turn a performance complaint into a comparison, and they are the first thing to ask for when a board in the field behaves differently from the one on the bench.
FAQ — RV1126B Vision SoC
Is the RV1126B an application processor or a camera chip?
It is a camera chip with an application processor attached. The CPU is a quad-core Cortex-A53 and there is no 3D GPU, only a 2D engine. It runs Linux and it can host a modest application, but the design is centred on the image pipeline and the NPU.
What does the 2 billion parameter figure mean?
It is the ceiling Rockchip quotes for language models on the NPU, and it refers to quantized models. It does not mean a two billion parameter model runs at conversational speed. It means the memory and the operator set can accommodate a small model for tasks like scene description or attribute extraction alongside the detector.
What is the difference between the classic ISP and the AI-ISP path?
The classic path runs the full 12 MP pipeline at 30 frames per second with the conventional blocks. The AI path runs at 8 MP and applies learned processing to noise reduction and detail, which buys image quality in low light at a lower resolution. They are different operating points, they need different tuning, and a product should be tuned at the one it ships.
What does AI Remosaic do?
It reconstructs a full colour image from a quad Bayer sensor, where the colour filter array repeats in a 2 by 2 group instead of the usual pattern. Doing that reconstruction with a learned method recovers detail that a conventional remosaic softens. Whether it is available depends on the sensor and on the tuning the vendor has done, not only on the SoC.
Why does the part support five camera inputs?
The intended use is multi-sensor products: a visible camera plus a thermal detector, or several sensors stitched into a wider field of view. The stitching engine can join two 6 MP sensors into one image, or four 2 MP sensors into a panorama.
Which thermal sensors are supported?
The part documents interfaces for mainstream thermal detectors, but support in practice depends on the driver and the tuning the board vendor has done for a specific module. A thermal sensor that works over the interface and has no tuning will give a usable radiometric stream and a poor fused image, so confirm the module rather than the interface.
Can it encode 4K at 60 frames per second?
No. The encode block reaches 4K at 45 frames per second and the decode block reaches 4K at 30. A product that needs 4K at 60 belongs on a different part in the family.
Does it support 4K output?
No. The encode block reaches 4K at 45 frames per second and the decode block reaches 4K at 30, but the display output is a 4-lane MIPI DSI link that tops out at 1080p at 60 frames per second. This is a capture device.
What memory can be attached?
32-bit DDR3, DDR3L, DDR4, LPDDR3, LPDDR4 and LPDDR4X, with eMMC 4.51 for storage. The package is FCCSP and measures 14 by 14 millimetres.
Does the package size matter for design?
It sets two things. The first is how small the camera board can be, which decides whether the electronics fit behind the sensor in a compact housing. The second is the thermal path: a 14 by 14 millimetre package in a sealed dome needs the copper and the housing designed as a heat spreader, because there is no airflow to help.
Is there an audio path?
Yes. The part carries an integrated codec with two 32-bit ADCs and one 16-bit DAC, which is enough for a talk-down channel, an intercom or audio event detection without adding a codec chip. For a camera that has to carry voice, that removes a part and a driver from the design.
How much sensor work is the integrator responsible for?
Most of it. The SoC provides the ISP and the interfaces, but each sensor needs a driver and a tuning file, and those are specific to the sensor module. Ask the board vendor which sensors are already supported before choosing one.
Can it run on Power over Ethernet?
The SoC provides an RGMII interface, not the PHY. A PoE camera design adds an Ethernet PHY, magnetics and a PoE controller on the board, and the thermal budget has to account for the converter loss inside a sealed housing.
Is it suitable for a battery powered sensor?
The part is positioned as a low power 4K image processor and the encode block does most of the work before transmission, which is what battery products need. Whether a specific design meets its battery target depends on the duty cycle, the radio and the sleep behaviour of the board, so it has to be measured on the finished product.
Can it run a detector and a small language model at the same time?
On paper the NPU and the memory ceiling allow it, and in practice it depends on the frame period. A detector, a tracker and a small language model all compete for the same NPU time and the same memory bandwidth, so the honest answer is that it has to be measured with all three running. Budget the language model as an occasional task rather than as part of the frame loop.
What is the most common integration mistake here?
Choosing the sensor before checking that the vendor has a driver and a tuning file for it. The SoC supports the interface, the sensor supports the interface, and the product still ships with a mediocre image because nobody owned the tuning. That work has a lead time, and it belongs in the schedule next to the hardware bring-up rather than after it.