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

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

src/x/b/xbob.example.faceverify-1.0.0/xbob/example/faceverify/gabor_graph.py   xbob.example.faceverify(Download)
 
# define a certain Gabor jet similarity function that should be used
SIMILARITY_FUNCTION = bob.machine.GaborJetSimilarity(bob.machine.gabor_jet_similarity_type.PHASE_DIFF_PLUS_CANBERRA, gabor_wavelet_transform)
 
def main():
      for model_feature_index in range(len(model)):
        for gabor_jet_index in range(probe_feature.shape[0]):
          scores[model_feature_index, gabor_jet_index] = SIMILARITY_FUNCTION(model[model_feature_index][gabor_jet_index], probe_feature[gabor_jet_index])
 
      # the final score is computed as the average over all positions, taking the most similar model jet

src/f/a/facereclib-1.2.1/facereclib/tools/GaborJets.py   facereclib(Download)
 
    # jet comparison function
    self.m_similarity_function = bob.machine.GaborJetSimilarity(gabor_jet_similarity_type, gwt)
 
    # how to proceed with multiple features per model

src/f/a/facereclib-HEAD/facereclib/tools/GaborJets.py   facereclib(Download)
 
    # jet comparison function
    self.m_similarity_function = bob.machine.GaborJetSimilarity(gabor_jet_similarity_type, gwt)
 
    # how to proceed with multiple features per model