I ran the code attached at the end of the email, it' supposed to out put a string of characters,<br><br>yet I got only this <br><br>#######<br>2.4.3.3.8.5.<br>definition check:<br>3<br><br><br>#######<br><br><br>now, it's proper output, however, this part got run only once, when it's supposed to run multiple times to produce more portions like the one above, i don't know why this part got run only once:
<br><br><br><br><br><br>when that happens<br>
if box_v == 0:<br>
zero_count = zero_count + 1<br>
if zero_count == 2:<br>
zero_count = 0<br>
if one_char_box in<br>
loc_window_loc_definition:<br>
print one_char_box<br>
box_string = box_string +<br>
str(loc_window_loc_definition
<div style="direction: ltr;">[one_char_box])<br> print "definition check:"<br> print box_string</div><br><br><br><br><br><br><br>######################<br><br>for b in range(1,50,1):
<br><br> ## Next point to check<br> x = radar_loc_window_xx + b<br> y = radar_loc_window_yy<br><br> ## omit 0 when there are 2 zeros, and check def<br>when that happens<br> if box_v == 0:<br> zero_count = zero_count + 1
<br> if zero_count == 2:<br> zero_count = 0<br> if one_char_box in<br>loc_window_loc_definition:<br> print one_char_box<br> box_string = box_string +<br>str(loc_window_loc_definition
<div style="direction: ltr;">[one_char_box])<br> print "definition check:"<br> print box_string<br><br> else:<br> one_char_box = one_char_box + str(box_v) + "."<br>
box_v = 0<br> for a in range(0,10,1):<br> r, g, b = pixels[1030*(y-a) + x]<br> if g > r and g > b:<br> box_v = box_v + 1</div><br>