Skip to content

使用 camera_->SetVFlip(1); 垂直翻转 画面会泛红,其它板子有相同问题吗? #1367

@PanYFeng

Description

@PanYFeng

Answers checklist.

  • I have read the documentation XiaoZhi AI Programming Guide and the issue is not addressed there.
  • I have updated my firmware to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

XiaoZhi AI firmware version.

V2.0.4

Operating System used.

Windows

How did you build your project?

VS Code IDE/Cursor

If you are using Windows, please specify command line type.

None

Power Supply used.

USB

What is the expected behavior?

V2.0.4重构摄像头代码后
GC0308 使用 camera_->SetVFlip(1); 垂直翻转 画面会泛红。
勾选 Enable software camera buffer endianness swapping (USE WITH CAUTION) 又泛绿。
看起来是写camera_->SetVFlip(1);地址时,把摄像头的颜色配置弄乱了。
现在临时使用软垂直翻转顶着。
V2.0.3之前是没有这个问题的。
不知道其它板子有没有相同问题?

Image

What is the actual behavior?

GC0308 使用 camera_->SetVFlip(1); 垂直翻转 画面会泛红

Steps to reproduce.

  1. Step
  2. Step
  3. Step
    ...

Debug Logs.


More Information.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions