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

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

src/a/n/antispoofing.competition_icb2013-1.1.0/antispoofing/competition_icb2013/script/calcglcm.py   antispoofing.competition_icb2013(Download)
  # prepare the GLCM operators
  if not args. matlab_compatible:
    glcm_op = bob.ip.GLCM('uint8', num_levels=8)
  else:
    glcm_op = bob.ip.GLCM('uint8', numpy.array([0,19,55,92,128,164,201,237], dtype='uint8')) # thresholds selected according to matlab quantization thresholds