Skip to content
Snippets Groups Projects
Commit 8b47188a authored by Frederic Aust's avatar Frederic Aust
Browse files

Image Format an default Format von Battle Pong angepasst

parent 6b3f4240
Branches
Tags
1 merge request!6Binding all settings to game
...@@ -15,7 +15,8 @@ async def main(): ...@@ -15,7 +15,8 @@ async def main():
recieved_values = await gym.reset() recieved_values = await gym.reset()
data = recieved_values[0] data = recieved_values[0]
print('main data', data) print('main data', data)
image_mode = 'RGB' #image_mode = 'RGB'
image_mode = 'L'
try: try:
# Test show Image # Test show Image
si.show_image(image_mode, data['info']['screenshot']['width'], data['info']['screenshot']['height'], si.show_image(image_mode, data['info']['screenshot']['width'], data['info']['screenshot']['height'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment