Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

license_plate_detection_yunet: fix NMSBoxes input (use [x,y,w,h] from 4-point corners)#298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Hariom-Nagar211 wants to merge1 commit intoopencv:main
base:main
Choose a base branch
Loading
fromHariom-Nagar211:fix/lpd_yunet-nmsboxes-format

Conversation

@Hariom-Nagar211
Copy link

What

FixNMSBoxes usage inlpd_yunet.py.
Previously, it passed[x1, y1, x2, y2] (corner coords), butcv.dnn.NMSBoxes expects[x, y, w, h].

How

  • Convert the 4-point quadrilateral into axis-aligned[x, y, w, h] rectangles only for NMS.
  • Use returned indices (keepIdx) to filter the original quadrilateral detections.
  • NormalizekeepIdx across OpenCV versions (tuple vs array).

Why

Notes

  • Tested with sample images: overlapping plates are suppressed correctly, and detections remain quadrilateral-shaped.

…t from 4-point corners); keep original quad dets.Fixesopencv#275
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@Hariom-Nagar211

[8]ページ先頭

©2009-2025 Movatter.jp