登录
首页 » 图形图像 » English OCR recognition controls, can be identified on the Verification Code. De...

English OCR recognition controls, can be identified on the Verification Code. De...

于 2023-04-27 发布 文件大小:5.13 MB
0 39
下载积分: 2 下载次数: 1

代码说明:

英文OCR识别控件,可对验证码进行识别。带有演示源码。 int startX = 0 int startY = 0 int width = -1 int height = -1 try { startX = Convert.ToInt32(textStartX.Text) startY = Convert.ToInt32(textStartY.Text) width = Convert.ToInt32(textWidth.Text) height = Convert.ToInt32(textHeight.Text) } catch (Exception ex) { Console.WriteLine(ex.StackTrace) } String result = Marshal.PtrToStringAnsi(OCRpart(textImage.Text, -1, startX, startY, width, height)) textResults.Text = result -English OCR recognition controls, can be identified on the Verification Code. Demonstration with source code. int startX = 0 int startY = 0 int width =-1 int height =-1 try (startX = Convert.ToInt32 (textStartX.Text) startY = Convert.ToInt32 (textStartY.Text) width = Convert. ToInt32 (textWidth.Text) height = Convert.ToInt32 (textHeight.Text) ) catch (Exception ex) (Console.WriteLine (ex.StackTrace) ) String result = Marshal.PtrToStringAnsi (OCRpar

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696522资源总数
  • 104038会员总数
  • 40今日下载