test_class.declarator: LIVE_LOGIN_DATA = ""
test_class.modifier: public static final
test_class.original_string: public static final String LIVE_LOGIN_DATA = "";
test_class.type: String
test_class.var_name: LIVE_LOGIN_DATA
test_class.declarator: DEDE_USER_ID = ""
test_class.modifier: public static final
test_class.original_string: public static final String DEDE_USER_ID = "";
test_class.type: String
test_class.var_name: DEDE_USER_ID
test_class.declarator: SESS_DATA = ""
test_class.modifier: public static final
test_class.original_string: public static final String SESS_DATA = "";
test_class.type: String
test_class.var_name: SESS_DATA
test_class.declarator: CK_PV = ""
test_class.modifier: public static final
test_class.original_string: public static final String CK_PV = "";
test_class.type: String
test_class.var_name: CK_PV
test_class.declarator: DEDE_USER_ID_CKMD5 = ""
test_class.modifier: public static final
test_class.original_string: public static final String DEDE_USER_ID_CKMD5 = "";
test_class.type: String
test_class.var_name: DEDE_USER_ID_CKMD5
test_class.file: BiliLiveLib/src/test/java/charlie/bililivelib/internalutil/OCRUtilTest.java
test_class.identifier: OCRUtilTest
test_case.body: @Test
      public void ocrCalcCaptcha() throws Exception {
          OCRUtil util = new OCRUtil();
          List<String> excepted = Files.readAllLines(Paths.get(
                  getClass().getResource("/captcha/excepted.txt").toURI()));
          //PROBLEM:CAPTCHA NO.13 CAN'T WORK!
          for (int i = 0; i < 50;i++) {
              String str = util.ocrCalcCaptcha(ImageIO.read(
                      getClass().getResource("/captcha/captcha" + i + ".png")));
              System.out.println(str.trim());
              assertEquals(excepted.get(i).trim(), str.trim());
          }
      }
test_case.class_method_signature: OCRUtilTest.ocrCalcCaptcha()
test_case.full_signature: @Test public void ocrCalcCaptcha()
test_case.identifier: ocrCalcCaptcha
test_case.invocations: readAllLines get toURI getResource getClass ocrCalcCaptcha read getResource getClass println trim assertEquals trim get trim
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void ocrCalcCaptcha()
focal_class.declarator: SINGLE_LINE_MODE = 7
focal_class.modifier: public static final
focal_class.original_string: public static final int SINGLE_LINE_MODE = 7;
focal_class.type: int
focal_class.var_name: SINGLE_LINE_MODE
focal_class.declarator: tesseract
focal_class.modifier: private
focal_class.original_string: private Tesseract tesseract;
focal_class.type: Tesseract
focal_class.var_name: tesseract
focal_class.file: BiliLiveLib/src/main/java/charlie/bililivelib/internalutil/OCRUtil.java
focal_class.identifier: OCRUtil
focal_class.class_method_signature: OCRUtil.OCRUtil()
focal_class.full_signature: public  OCRUtil()
focal_class.identifier: OCRUtil
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  OCRUtil()
focal_class.class_method_signature: OCRUtil.ocrCalcCaptcha(@NotNull BufferedImage image)
focal_class.full_signature: @Contract(pure = true) public String ocrCalcCaptcha(@NotNull BufferedImage image)
focal_class.identifier: ocrCalcCaptcha
focal_class.modifiers: @Contract(pure = true) public
focal_class.parameters: (@NotNull BufferedImage image)
focal_class.return: String
focal_class.signature: String ocrCalcCaptcha(@NotNull BufferedImage image)
focal_method.body: @Contract(pure = true)
      public String ocrCalcCaptcha(@NotNull BufferedImage image) {
          try {
              return tesseract.doOCR(image);
          } catch (TesseractException e) {
              return null;
          }
      }
focal_method.class_method_signature: OCRUtil.ocrCalcCaptcha(@NotNull BufferedImage image)
focal_method.full_signature: @Contract(pure = true) public String ocrCalcCaptcha(@NotNull BufferedImage image)
focal_method.identifier: ocrCalcCaptcha
focal_method.invocations: doOCR
focal_method.modifiers: @Contract(pure = true) public
focal_method.parameters: (@NotNull BufferedImage image)
focal_method.return: String
focal_method.signature: String ocrCalcCaptcha(@NotNull BufferedImage image)