🏳️🌈
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from PIL import Image | |
| import sys | |
| # Check arguments | |
| if len(sys.argv) < 3: | |
| print "Usage: python make3d.py <leftimage> <rightimage> <3doutputname>" | |
| quit() | |
| # Open the left and right images | |
| imLeft = Image.open(sys.argv[1]) |