How nitrosaccharose/star-rail-rater works
星铁评分器 is an in-development Honkai: Star Rail relic-reading tool. Its visible workflow captures the game screen, navigates relic inventory entries, recognizes relic details with OCR, and validates the resulting records. The README names scoring as the product goal, but the sampled source does not establish a scoring stage or its wiring. The tree contains text data files that may support domain lookups, but their contents and use are not evidenced here.
Main entry points: main.py Relic detection
Components 15
Game interaction
- Inventory scan
main.py - Screen capture
main.py - Window control
main.py - List navigation
main.py
Image recognition
- Image processing
main.py - OCR recognition
main.py - Relic detection
main.py
Relic processing
- Name matching
main.py - Record assembly
main.py - Record validation
main.py - Name data
词条.txt - Relic data
遗器.txt
Other components
- Player
- Game window
- PaddleOCR
Connections 15
- Inventory scan → Screen capture: captures screens
- Inventory scan → List navigation: navigates inventory
- Inventory scan → Window control: controls window
- Window control → Game window: foregrounds window
- List navigation → Game window: clicks and scrolls
- Screen capture → Game window: captures display
- Inventory scan → Relic detection: processes captures
- Relic detection → Image processing: prepares regions
- Relic detection → OCR recognition: recognizes fields
- Image processing → OCR recognition: supplies images
- OCR recognition → PaddleOCR: invokes OCR
- Relic detection → Name matching: matches names
- Relic detection → Record assembly: assembles results
- Record assembly → Record validation: validates records
- Player → Inventory scan: uses tool