Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ignore regions to object detector #244

Open
Pbatch opened this issue Sep 17, 2024 · 0 comments
Open

Add ignore regions to object detector #244

Pbatch opened this issue Sep 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working game-detection Is about the bot's screen-scrapping / features detector
Milestone

Comments

@Pbatch
Copy link
Owner

Pbatch commented Sep 17, 2024

Problem statement

Various regions of the image are getting unit detections when they shouldn't be

image

Simple Solution

Crop the image to remove the decoration at the sides.

Advanced Solution

Create an ignore region that includes:

  • The edge of the image
  • The princess towers (when they have >0 HP)
  • The king tower

Throw away unit bboxes which have 50% of their area inside an ignore region.

@Pbatch Pbatch added the enhancement New feature or request label Sep 17, 2024
@Pbatch Pbatch self-assigned this Sep 17, 2024
@fe-art fe-art added game-detection Is about the bot's screen-scrapping / features detector bug Something isn't working and removed enhancement New feature or request labels Sep 19, 2024
@fe-art fe-art added this to the V1.1 milestone Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working game-detection Is about the bot's screen-scrapping / features detector
Projects
None yet
Development

No branches or pull requests

2 participants