logo
Send Message
Up to 5 files, each 10M size is supported. OK
Guangzhou Sincere Information Technology Ltd. 86-176-65309551 sales@cameramodule.cn
Imaging Solution Get a Quote
Home - News - What Is YUY2 Output in a Camera Module?

What Is YUY2 Output in a Camera Module?

September 21, 2026

YUY2 is an uncompressed YUV video format

YUY2 is a common way to transport video where luminance (Y) information is stored for each pixel and chroma information is shared between neighboring pixels using 4:2:2 sampling. In practical camera-module work, the important point is that YUY2 is not heavily compressed like MJPEG. The host receives a large amount of image data for every frame.

Why developers sometimes prefer it

Uncompressed output avoids JPEG compression artifacts and removes the need to decode each frame. This can be useful for computer vision, image analysis or applications where consistent pixel data is more important than saving bandwidth. The host can process frames directly after capture, although color conversion may still be needed.

Why frame rate drops at high resolution

Because YUY2 sends much more data than compressed MJPEG, interface bandwidth becomes a limit quickly. A USB2.0 module might offer 1080p at a modest YUY2 frame rate while providing a much higher frame rate in MJPEG. The same principle applies at 4K: uncompressed video can exceed the practical throughput of the interface.

This is why a specification table often shows different maximum frame rates for YUY2 and MJPEG.

A simple way to think about 4:2:2

Human vision is generally more sensitive to brightness detail than to color detail. 4:2:2 sampling keeps luminance information at full horizontal pixel frequency while sharing chroma samples across pairs of pixels. The result reduces color-data volume compared with full RGB while remaining much less compressed than JPEG.

YUY2 is not automatically 'better image quality'

Compression artifacts are one variable, but lens quality, exposure, noise, ISP processing and sensor output can dominate image quality. A noisy, poorly focused YUY2 frame can be less useful than a well-exposed MJPEG frame. The correct format depends on the downstream task.

When YUY2 is a good fit

It is useful when the host needs predictable frame data, the resolution/frame-rate combination fits within bandwidth, and CPU/GPU resources can process the stream. It is common in machine vision prototypes, measurement, algorithm development and systems that want to avoid JPEG decoding.

What to check in the specification

Look for the exact resolution and frame rate listed under YUY2, not only the module’s maximum sensor resolution. Also check USB version, whether the host supports the requested mode and whether multiple cameras share the bus.

A quick data-volume example

At the same resolution and frame rate, YUY2 typically requires far more transport data than MJPEG because each frame is sent with little or no image compression. This is why a USB camera can offer a high MJPEG frame rate while its YUY2 mode is much slower. The sensor has not changed; the transport burden has.

When YUY2 can simplify computer vision

If the algorithm already expects uncompressed YUV frames, YUY2 can remove a decode step and make pixel access predictable. That can be useful for measurement or prototyping. The trade-off is bus load, so designers should check whether the host has enough bandwidth for the desired resolution and number of cameras.

FAQ

Is YUY2 lossless?

It is generally transported without JPEG-style compression, but it uses 4:2:2 chroma subsampling, so it is not the same as full RGB sampling.

Why is YUY2 frame rate often lower than MJPEG?

The uncompressed stream requires much more USB bandwidth per frame.

Should machine vision always use YUY2?

No. Some applications can use MJPEG or other formats effectively. Choose based on bandwidth, latency, processing and image requirements.