정방 교무 시스템 인증 코드 자동 식별 (비 코드 플랫폼)
자세히 설명해 주세요. http://www.unique-liu.com/181.html
ImagePreProcess.srcPath = ctrackcode_srcimg;
ImagePreProcess.trainPath = ctrackcode_trainimg;
String name = request.getParameter("c").toString(); //
String checkcodeUrl = request.getParameter("url").toString(); //
String checkCodeImg="a";
String secretcode = "";
try{
checkCodeImg = ImagePreProcess.downloadImage(checkcodeUrl+"?", name+".png");
}catch(Exception e){
}
if (checkCodeImg != "a" ||checkCodeImg != null ) {
secretcode = ImagePreProcess.getAllOcr(checkCodeImg);
File ml =new File(checkCodeImg);
ml.delete();
out.print(secretcode);}
테스트 주소:
http://www.kejibu.org:8080/WhxyJw/yzm.jsp?c=312fz&url=http://61.142.33.204/CheckCode.aspx