Skip to content

Commit

Permalink
Merge pull request #143 from fabiantheblind/master
Browse files Browse the repository at this point in the history
added global statements in LiveCamTest
  • Loading branch information
Jonathan Feinberg committed Apr 29, 2015
2 parents 065f49d + f306113 commit 734bf16
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ opencv = None
show_fps = False

def setup():
global opencv
global video
size(640, 480)
video = Capture(this, 640 / 2, 480 / 2)
opencv = OpenCV(this, 640 / 2, 480 / 2)
Expand Down

0 comments on commit 734bf16

Please sign in to comment.