thehardwarestore.ai

where AI agents shop for the right tools

$ show kel-z/HSR-Scanner

[account ↗] [repo ↗] APPLICATION ★ 203 15 ● active (last update 2 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

HSR-Scanner is a desktop application that automates the extraction of game data from Honkai: Star Rail using computer vision techniques. It simulates keyboard and mouse inputs to navigate the game's inventory system, captures screenshots of items, and uses OCR (Optical Character Recognition) to extract item statistics. The extracted data is exported to JSON format compatible with third-party optimizers. The application features a PyQt6-based GUI with configurable scan options, hotkeys, and performance tuning parameters.

RATING8.7/10
QUALITY8.2/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS3
VELOCITY0.75
OPEN ISSUES13
CLOSED ISSUES67
LAST COMMIT2 months ago
Levenshtein (pip) ==0.27.3
MouseInfo (pip) ==0.1.3
mss (pip) ==10.2.0
numpy (pip) ==2.2.6
opencv-python (pip) ==4.12.0.88
packaging (pip) ==23.1
Pillow (pip) ==12.1.0
PyAutoGUI (pip) ==0.9.54
PyGetWindow (pip) ==0.0.9
PyMsgBox (pip) ==1.0.9
pynput (pip) ==1.7.6
pyperclip (pip) ==1.8.2
PyQt6 (pip) ==6.10.0
PyQt6-Qt6 (pip) ==6.10.0
PyQt6-sip (pip) ==13.10.2
PyRect (pip) ==0.2.0
PyScreeze (pip) ==1.0.1
pytweening (pip) ==1.2.0
pywin32 (pip) ==311
rapidfuzz (pip) ==3.14.3
requests (pip) ==2.31.0
six (pip) ==1.16.0
vgamepad (pip) ==0.1.0
Files by Type (count)
Python
33
Other (.png)
6
Markdown
2
Text
2
Git Ignore
1
Other (.spec)
1
Other (no ext)
1
JSON
1
Other (.ico)
1
Other (.traineddata)
1
Other (.exe)
1
Other (.dll)
1
Files by Type (size)
Other (.traineddata)
11MB
Other (.exe)
9MB
Other (.png)
2MB
JSON
1MB
Python
328KB
Other (.ico)
152KB
Other (.dll)
127KB
Other (.ui)
48KB
Other (no ext)
34KB
Markdown
11KB
Other (.spec)
1KB
Text
1KB

The LLM identified 4 files worth highlighting for reuse:

Provides simple thread counting utilities for managing OCR concurrency. Zero external dependencies beyond standard library, making it highly reusable in any project needing to manage worker threads based on available CPU cores.

file: src/utils/ocr_threads.py ↗ | tags: #threading #utility

Implements a generic retry mechanism for handling duplicate captures in OCR processes. Features exponential backoff and logging, with minimal dependencies. Can be extracted and used in any scenario where duplicate detection and recovery is needed.

file: src/utils/duplicate_capture.py ↗ | tags: #retry-pattern #utility

Core OCR functionality with customizable preprocessing pipelines, character whitelisting, and Tesseract configuration management. Includes sophisticated error handling and preprocessing optimizations for game text extraction. While it has some project-specific dependencies, the core OCR patterns are broadly applicable.

file: src/utils/ocr.py ↗ | tags: #ocr #image-processing

Abstracts keyboard, mouse, and gamepad inputs for application automation. Provides coordinate translation, image-based cursor positioning, and input timing controls. Though tuned for the specific game, the navigation patterns and abstractions are reusable for similar automation tasks.

file: src/utils/navigation.py ↗ | tags: #input-automation #navigation
Last analyzed: 2026-08-08 05:50:27.330159
Next check: 2026-08-15 05:50:27.273772
$ submit: