How to use Binning Mode on MV Series Camera

From wiki_veye
Revision as of 18:00, 20 March 2025 by Xumm (talk | contribs) (→‎Capability Verification and Configuration)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

查看中文


Applicable Camera Modules:  

Series Model
MV Series MV-MIPI-GMAX4002M

1 Capability Verification and Configuration

The "mv_mipi_i2c_new.sh" script can be used to verify the camera’s "readmode" capabilities and configure the current settings.  

1.1 readmodecap

  If bit1 in the read value is set to 1, the camera supports 2x2 binning mode.  

1.2 readmode

  Use the following command to enable binning mode:  

  ./mv_mipi_i2c_new.sh -w readmode 1 -b your_i2c_bus_number  

  After configuration, verify the mode with:  

  ./mv_mipi_i2c_new.sh -r readmode -b your_i2c_bus_number  

When 2x2 binning mode is enabled, the camera automatically adjusts parameters such as maximum resolution, current ROI region, and maximum frame rate.

Verify these parameters using:  

 ./mv_mipi_i2c_new.sh -r maxwh -b your_i2c_bus_number

./mv_mipi_i2c_new.sh -r roi -b your_i2c_bus_number

./mv_mipi_i2c_new.sh -r maxfps -b your_i2c_bus_number

./mv_mipi_i2c_new.sh -r fps -b your_i2c_bus_number  

For the MV-MIPI-GMAX4002M, you can still freely configure the ROI region, frame rate, and lanenum in 2x2 binning mode.  

1.3 paramsave

  After configuring "readmode", save the settings to the camera’s non-volatile memory with:  

  ./mv_mipi_i2c_new.sh -w paramsave -b your_i2c_bus_number  

2 Usage

For embedded platforms like Jetson, Raspberry Pi, and Rockchip, the camera drivers do not support direct "readmode" configuration. Use the script mentioned above.  

Recommendations:  

1. After saving the "readmode" settings, fully power off and restart the system.  

2. Upon reboot, the camera will operate in binning mode as seamlessly as in standard mode.