FG Camera Library  1.7.4.0 (2026-10-19)
Loading...
Searching...
No Matches
Sony Starvis 2

Overview

The following Sony Starvis 2 sensor model is available for the VisionSensor PV4:

Supported sensors
SensorTypeeFG_CAMERA_TYPENumber of
usable pixels
Pixel sizeOptical format
IMX678-AAQR1ColorFG_CAMERA_TYPE_3840_2160_IMAGO_VSx_IMX678C3840 x 21602 µm x 2 µm1/1.8"
Note
The SoC's MIPI CSI interface on the VisionSensor PV4 requires at least two image buffers in the aquisition queue to avoid dropped sensor frames. A third buffer is required at the end of a frame, so that there are still remaining at least two buffers after one is given back to the user.
In order to avoid any dropped frames during startup while adding the first buffers with FG_append_image(), the sensor aquisition start is delayed until the second buffer is added. A third buffer should be added before the first frame completes.

Features

  • Rolling shutter
  • Overlapped integration and readout in free-run mode
  • Maximum frame rate: 60 / s
  • Allows synchronization with PTP Hardware Clock

Supported pixel formats

The supported pixel formats are listed below:

Supported pixel types
eFG_PIXEL_TYPEOutput format
FG_PIXEL_TYPE_RGB_243 bytes per pixel (8 bit R/G/B)
Note
  • Uses the i.MX 95 NEO ISP pipeline for color conversion.
  • FG_set_gain_rgb() can be used to apply digital color gain in the NEO ISP pipeline.
  • The order of RGB components can be adjusted with FG_set_pixel_order()
  • The AOI width must be a multiple of 64 pixels.

Special features

The sensor supports the following special features:

Special features
Property nameDescription
MirrorFlips the image horizontally and / or vertically
0: no flipping (default)
1: flip horizontally
2: flip vertically
3: flip horizontally and vertically (rotation by 180°)
ImageModeControls the digital test pattern:
0: Video output
1: Enable test pattern
FrameRateSets the desired sensor frame rate in Hertz. This setting is only applied in free run mode. The actual frame rate may be lower if the exposure time setting is too high, or if the sensor's limit is exceeded.
0: Use maximum frame rate
≥ 1: Desired frame rate in Hertz
ScanPeriodSets the desired sensor frame period in microseconds (similar to FrameRate). This setting is only applied in free run mode. The actual frame period may be longer if the exposure time setting is too high, or if the sensor's limit is exceeded.
0: Use maximum frame rate
≥ 1: Desired frame period in µs

Additional features are described in the platform pages for the VisionSensor PV3 / PV4.