sipeed / sipeed/MaixPy

关于and_landmarks.md的问题

Open
#186 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
850
Forks
128
Avg merge
1m
Merged PRs (30d)
2

Description

为什么使用Maixpy/docs/doc/zh/vision/hand_landmarks.md的例程会出现: RuntimeError: Invalid arguments: model input channel not match image channel,实际错误信息 model need image channel is 192, but image have 0
表明:模型期望输入图像尺寸(可能是高度或宽度)为 192,但传入的图像尺寸为 0, detector.detect() 收到的图像 img 是无效的
我的固件版本为4.11.8

Contributor guide

No contributing guide indexed for this repository

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 with Maixpy/docs/doc/zh/vision/hand_landmarks.md and reproduce the example on firmware 4.11.8. Inspect the image passed to detector.detect() and the reported channel mismatch. Done means the cause is confirmed and the example or its documented requirements no longer produces this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.