code: public GeneralRecognitionResponse generalRecognition(String image, String granularity,
                                                           String mask, String langType, Boolean direction) {
          GeneralRecognitionRequest request = new GeneralRecognitionRequest().withImage(image)
                  .withGranularity(granularity).withMask(mask).withLangType(langType).withDirection(direction);
          return generalRecognition(request);
      }
docs: Gets the general recognition properties of specific image resource.
  
  <p>
  The caller <i>must</i> authenticate with a valid BCE Access Key / Private Key pair.
  
  @param image The image data which needs to be base64
  @param granularity Decide if recognize single character (big/small)
  @param mask Represent the gray/white/black shade image area (base64 data)
  @param langType Language type, detail to be CHN_ENG (ENG/POR/FRE/GER/ITA/SPA/RUS/JAP)
  @param direction Decide if the image has been rotated (true/false)
  @return The general recognition properties of the image resource