09 November 2015

CST205 Week 3

Fun with Green Screen

Code:


Images (not to scale):

Commands:
pic = chromakey("C:\\Path\\to\\Images\\alien.jpg", "C:\\Path\\to\\Images\\newsBackground.jpg", 992, 170)
pic = chromakey("C:\\Path\\to\\Images\\apolloReal.jpg", "C:\\Path\\to\\Images\\newsBackground.jpg", 591, 107)
pic = chromakey("C:\\Path\\to\\Images\\johnl.png", "C:\\Path\\to\\Images\\newsBackground.jpg", 165, 175, True)
pic = chromakey("C:\\Path\\to\\Images\\ticker.jpg", "C:\\Path\\to\\Images\\newsBackground.jpg", 0, 0, True)

Result:


No comments: