예제 #1
0
파일: test_scripts.py 프로젝트: binyam/bob
  def test04_keypoint_localization(self):
   
    # sanity checks
    self.assertTrue(os.path.exists(IMAGE))

    from bob.visioner.script.facepoints import main
    cmdline = '%s --self-test=2' % (IMAGE)
    self.assertEqual(main(cmdline.split()), 0)
예제 #2
0
파일: test_scripts.py 프로젝트: binyam/bob
  def test02_face_detect(self):
   
    # sanity checks
    self.assertTrue(os.path.exists(IMAGE))

    from bob.visioner.script.facebox import main
    cmdline = '%s --self-test=2' % (IMAGE)
    self.assertEqual(main(cmdline.split()), 0)