#image #vision #image-processing #minecraft

minecraft_screenshot_parser

Process information from Minecraft screenshots

4 releases (2 breaking)

0.3.0 Sep 8, 2020
0.2.1 Aug 23, 2020
0.2.0 Aug 23, 2020
0.1.0 Aug 4, 2020

#15 in #vision

GPL-3.0+

86KB
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

~6MB
~98K SLoC

X_