code: public double getScore() {
          verifyPropertyPresence(SCORE);
          //noinspection unchecked
          if (getCommandResult().get(SCORE) instanceof Long) {
              return ((Long) getCommandResult().get(SCORE)).doubleValue();
          }
          return (double) getCommandResult().get(SCORE);
      }
docs: Returns the similarity score as a float number in range [0.0, 1.0].
  
  @return The similarity score as a float number in range [0.0, 1.0].
  1.0 is the highest score (means both images are totally equal).