Skip to content

sunaguo/parse-atari

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Parse Atari game frames from ALE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages