logo

OpenMV4 H7 Plus 连接后画面整体呈绿色(固件5.0.0)

2026-08-10 12:40
E
e398zfij2io5

OpenMV4 H7 Plus 连接后画面整体呈绿色(固件5.0.0)

问题概述

用户使用 OpenMV4 H7 Plus,固件版本为 5.0.0,连接 IDE 后实时画面整体呈现异常绿色,疑似色彩通道或传感器配置问题。

硬件与环境信息

  • 硬件型号:OpenMV4 H7 Plus
  • 固件版本:5.0.0(当前最新版)
  • 现象:摄像头连接后预览画面整体偏绿,非局部色偏,疑似底层色彩空间或CSI初始化异常

复现代码

# This work is licensed under the MIT license.

# Copyright (c) 2013-2023 OpenMV LLC. All rights reserved.

# <https://github.com/openmv/openmv/blob/master/LICENSE>

#
# Hello World Example
#
# Welcome to the OpenMV IDE! Click on the green run arrow button below to run the script!

import csi
import time
csi0 = csi.CSI()
csi0.reset() # Reset and initialize the sensor.
csi0.pixformat(csi.RGB565) # Set pixel format to RGB565 (or GRAYSCALE)
csi0.framesize(csi.QVGA) # Set frame size to QVGA (320x240)
csi0.snapshot(time=2000) # Wait for settings take effect.
clock = time.clock() # Create a clock object to track the FPS.

while True:
    clock.tick() # Update the FPS clock.
    img = csi0.snapshot() # Take a picture and return the image.
    print(clock.fps()) # Note: OpenMV Cam runs about half as fast when connected
    # to the IDE. The FPS should increase once disconnected.

附件

image
E
e398zfij2io5

我现在该怎么做?

2026-08-10 13:32
Z
星小瞳xs

你烧录错固件了,你H7P的设备烧录了H7的固件,重新烧录会plus的固件就行