Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 727 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 727 Bytes

Parsing Atari game frames from ALE

Parses input RGB image from ALE to state dictionary, using predefined object groups.

Currently includes parsing functions for Freeway and Asterix in parse.py.
Use function in visualize.py to see parsed state.

Dependencies: cv2; numpy

Games

  • Freeway:

    • Groups: agent; car; dest(ination)
    • Templates needed: freeway_center_line.png
    • Sample parsed state:
      freeway_sample
  • Asterix:

    • Groups: agent; target (rewarding objects); demon (punishing objects)
    • templates needed: everything in asterix_templ/
    • Sample parsed state:
      asterix_sample

See docstring for details.