#image-processing #minecraft #image #vision #process-information

minecraft_screenshot_parser

Process information from Minecraft screenshots

6 releases (breaking)

0.5.0 Apr 5, 2024
0.4.0 Aug 23, 2022
0.3.0 Sep 8, 2020
0.2.1 Aug 23, 2020
0.1.0 Aug 4, 2020

#262 in Images

Download history 2/week @ 2024-09-18 3/week @ 2024-09-25

241 downloads per month

GPL-3.0 license

250KB
1.5K SLoC

minecraft_screenshot_parser

Image processing utilities to obtain information from Minecraft screenshots.

To be used in slime_seed_finder.

Status

Under development. Currently only lossless PNG screenshots are supported, any kind of JPG noise will make the algorithms fail.

Current features:

  • Detect and remove crosshair
  • Detect and parse treasure maps

See the examples/ folder for usage examples.

Planned features:

  • Detect and parse terrain maps

Remove crosshair

cargo run --release --example remove_crosshair -- screenshot.png

This will create a file screenshot_nc.png with the crosshair removed:

5_c

5_nc

Detect treasure map

cargo run --release --example detect_map -- screenshot.png

Example image with markers

Example image extracted treasure map

Dependencies

~10MB
~196K SLoC