Skip to content

带带弟弟 通用验证码识别OCR nodejs版

Notifications You must be signed in to change notification settings

J3n5en/ddddocr-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ddddocr

带带弟弟OCR通用验证码识别SDK nodejs版 原版ddddocr

feature:

  • OCR识别
  • 自定义模型
  • 类型识别
  • 滑块
import Ddddocr from "ddddocr";

const img = "/xxxx=="
Ddddocr.create().then(async ddddocr => {
  const result = await ddddocr.classification(Buffer.from(img, "base64"));
  console.log(result)
})

自定义模型

import Ddddocr from "ddddocr";

const img = "/xxxx=="
Ddddocr.create({charsetsPath:"/xxx",onnxPath:"xxx"}).then(async ddddocr => {
  const result = await ddddocr.classification(Buffer.from(img, "base64"));
  console.log(result)
})

About

带带弟弟 通用验证码识别OCR nodejs版

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published