ShiqiYu / ShiqiYu/libfacedetection

按照示例使用Opencv-dnn载入.ptn权重检测图像时报错

Open
#371 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.8k
Forks
3k
PR merge metrics
No merged PRs in 30d

Description

image

opencv版本4.5.1,图像已经调整至640*640,使用的train仓库里的权重,代码来自作者给的detect.py
不知该如何解决

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 by reproducing the failure with the author's detect.py, the train-repository .ptn weights, OpenCV 4.5.1, and a 640×640 image. Inspect the attached screenshot and the exact model-loading path to identify the error; done means documenting a confirmed cause and a reproducible fix or compatibility requirement.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.