Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(11)  |  Call(11)  |  Derive(0)  |  Import(0)

src/a/n/antispoofing.eyeblink-1.0.4/antispoofing/eyeblink/script/make_movie.py   antispoofing.eyeblink(Download)
    if use_annotation:
      x, y, width, height = use_annotation['bbox']
      bob.ip.draw_box(frames[k], x, y, width, height, 255)
      x, y, width, height = use_annotation['eyes'][0]
      bob.ip.draw_box(frames[k], x, y, width, height, 255)
      x, y, width, height = use_annotation['eyes'][1]
      bob.ip.draw_box(frames[k], x, y, width, height, 255)
      x, y, width, height = use_annotation['face_remainder']
      bob.ip.draw_box(frames[k], x, y, width, height, 255)

src/a/n/antispoofing.optflow-1.0.2/antispoofing/optflow/kolldraw.py   antispoofing.optflow(Download)
  if y_bot > image.shape[1]: y_bot = image.shape[1]
 
  bob.ip.draw_box(image, x_left, y_up, x_right-x_left, y_bot-y_up,
      (255,255,0))
  bob.ip.draw_box(image, x_left-1, y_up-1, x_right-x_left+2, y_bot-y_up+2,
      (255,255,0))
  bob.ip.draw_box(image, x_left-2, y_up-2, x_right-x_left+4, y_bot-y_up+4,
  if y_bot > image.shape[1]: y_up = image.shape[1]
 
  bob.ip.draw_box(image, x_left, y_up, x_right-x_left, y_bot-y_up,
      (255,255,0))
  bob.ip.draw_box(image, x_left-1, y_up-1, x_right-x_left+2, y_bot-y_up+2,

src/a/n/antispoofing.verification.gmm-1.0.2/antispoofing/verification/faceloc/__init__.py   antispoofing.verification.gmm(Download)
    # draws one line for each size of the bounding box
    for k in range(thickness):
      bob.ip.draw_box(image, self.x-k, self.y-k, self.width+2*k, 
          self.height+2*k)