Initial Commit
This commit is contained in:
BIN
Day 1/HV18_Ball_Day1_color.png
Normal file
BIN
Day 1/HV18_Ball_Day1_color.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 642 KiB |
BIN
Day 1/data.png
Normal file
BIN
Day 1/data.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
14
Day 1/decode.py
Normal file
14
Day 1/decode.py
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from PIL import Image
|
||||
|
||||
# Load Image
|
||||
im = Image.open('HV18_Ball_Day1_color.png')
|
||||
offsetX = 307
|
||||
offsetY = 362
|
||||
imageSize = 364
|
||||
|
||||
# Crop Image
|
||||
im.crop((offsetX, offsetY, offsetX+imageSize, offsetY+imageSize)).save("data.png")
|
||||
|
||||
# Go on https://jabcode.org/scan/ and upload image :]
|
||||
Reference in New Issue
Block a user