Skip to content

Commit 1e7e756

Browse files
committed
Added comments
1 parent 725d4ad commit 1e7e756

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

BlimpDetect-8-28_JB.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,15 @@ def getthresholdedimg(im):
188188
s = connect(ip,port)
189189

190190
while(1):
191+
#capture images from cameras, store images to file
191192
urllib.urlretrieve(url_west,fname_west)
192193
urllib.urlretrieve(url_east,fname_east)
193194

195+
#open the images from file
194196
frame_west = cv.LoadImageM(fname_west,cv.CV_LOAD_IMAGE_COLOR);
195197
frame_east = cv.LoadImageM(fname_east,cv.CV_LOAD_IMAGE_COLOR);
196198

199+
#creates empty images of the same size
197200
imdraw_west = cv.CreateImage(cv.GetSize(frame_west), 8, 3)
198201
imdraw_east = cv.CreateImage(cv.GetSize(frame_east), 8, 3)
199202

0 commit comments

Comments
 (0)