Skip to content

fix: BufferedImage <-> Mat conversion; refacfor: MouseOverText extraction#65

Merged
StaticSweep merged 2 commits into
mainfrom
development
May 21, 2026
Merged

fix: BufferedImage <-> Mat conversion; refacfor: MouseOverText extraction#65
StaticSweep merged 2 commits into
mainfrom
development

Conversation

@StaticSweep

Copy link
Copy Markdown
Owner
  • Fix BufferedImage <-> Mat conversion
    • Java2DFrameUtils caused the channel order to unpredictably change, breaking template matching, OCR and many other functionalities silently
    • Implementing custom convertors results in far greater template matching accuracy and better performance
  • MouseOverText extraction
    • Using the shadow pixels diagonal to character pixels allows for dynamic filtering
    • This approach does not require input colours or thresholds as previously attempted
    • Reliability should be greatly improved

@StaticSweep StaticSweep merged commit cad0847 into main May 21, 2026
1 check passed
@StaticSweep StaticSweep deleted the development branch May 21, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant