RT-Thread / RT-Thread/rt-thread

[Bug] k230 utest opencv 19_getStructuringElement 运行出错

Open
#9,902 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Arch: RISC-V BSP: K230
Dominant language
C
Stars
12.2k
Forks
5.4k
Avg merge
4d 12h
Merged PRs (30d)
40

Description

RT-Thread Version

c1166e0bf16aeda85e5facd01506973afcf6e8c6

Hardware Type/Architectures

k230

Develop Toolchain

GCC

Describe the bug

1.将 opencv 仓库中的 tests 文件夹复制到 software/userapps/testcases/opencv 中
2.将 opencv 仓库中的 build/install 文件夹复制到 software/userapps/testcases/opencv 中
3.编译:
cd software # 在 software 目 录 下
source ./smart-env.sh riscv64 # 运 行 smart-env.sh 脚 本, 配 置 为 riscv64 环 境
cd userapps/testcases/opencv
python3 build.py
4.生成的产物将存放在 software/userapps/testcases/opencv/root 中
5.root 目录可参照 maix3 仓库下的 readme 直接对其进行编译打包,并下载到 Maix3 平台上运行(注:
若是通过 romfs 打包方式,请一次只打包一个 elf 文件)tests.tar.gz

Other additional context

25_opencv_calib3d.elf 图像显示深度信息有问题

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in software/userapps/testcases/opencv and reproduce the reported k230 build and Maix3 packaging flow with the attached tests.tar.gz. Run 19_getStructuringElement and inspect the failure, then compare the displayed depth information noted for 25_opencv_calib3d. Done means the affected OpenCV tests run correctly on the k230 target.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, opencv
Domain
computer-vision, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.